@ksp-gonogo/ui-kit 1.0.0-rc.47 → 1.1.0-rc.50
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 +1 -1
- package/dist/{chunk-WR3644JL.js → chunk-OS7L3ATF.js} +1607 -1068
- package/dist/chunk-OS7L3ATF.js.map +1 -0
- package/dist/chunk-ZG7NEDVU.js +7 -0
- package/dist/chunk-ZG7NEDVU.js.map +1 -0
- package/dist/guards.js +1 -0
- package/dist/guards.js.map +1 -1
- package/dist/index.d.ts +898 -65
- package/dist/index.js +3836 -1416
- package/dist/index.js.map +1 -1
- package/dist/nullDisplay.d.ts +16 -0
- package/dist/nullDisplay.js +8 -0
- package/dist/nullDisplay.js.map +1 -0
- package/dist/reads-index.json +126 -0
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +4 -3
- package/dist/testing.js.map +1 -1
- package/dist/tokens.css +135 -48
- package/dist/{units-DjIjtO5v.d.ts → units-BmcQi-WX.d.ts} +26 -4
- package/package.json +8 -3
- package/dist/chunk-WR3644JL.js.map +0 -1
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ They are peers because the app must hold exactly one copy of each: styled-compon
|
|
|
34
34
|
|
|
35
35
|
## Theme and tokens
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
An Uplink loaded by the app already has the tokens. Outside the app, import `@ksp-gonogo/ui-kit/tokens.css` once, or every colour and size is unset. Components read `theme.space` and `theme.colors` and need a `ThemeProvider` in scope. Inside the Gonogo dashboard the host has mounted one. For a test or a preview outside the app:
|
|
38
38
|
|
|
39
39
|
```tsx
|
|
40
40
|
import "@ksp-gonogo/ui-kit/tokens.css";
|