@nexub/mcp 3.8.0 → 4.0.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/dist/skill/SKILL.md
CHANGED
|
@@ -30,21 +30,8 @@ import '@nexub/themes/light';
|
|
|
30
30
|
import '@nexub/themes/glass'; // only if you use Liquid Glass
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
```ts
|
|
34
|
-
// tailwind.config.ts (Tailwind v3)
|
|
35
|
-
import nexub from '@nexub/tokens/tailwind';
|
|
36
|
-
export default {
|
|
37
|
-
presets: [nexub],
|
|
38
|
-
content: [
|
|
39
|
-
'./src/**/*.{ts,tsx}',
|
|
40
|
-
'./node_modules/@nexub/react/dist/**/*.js',
|
|
41
|
-
'./node_modules/@nexub/patterns/dist/**/*.js',
|
|
42
|
-
],
|
|
43
|
-
};
|
|
44
|
-
```
|
|
45
|
-
|
|
46
33
|
```css
|
|
47
|
-
/* Tailwind
|
|
34
|
+
/* Tailwind 4 (Tailwind 3 is not supported from 4.0): no config file. Load the theme CSS here, in the base layer, instead of from JS */
|
|
48
35
|
@layer theme, base, components, utilities;
|
|
49
36
|
@import "@nexub/themes/base" layer(base);
|
|
50
37
|
@import "@nexub/themes/light" layer(base);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Component index
|
|
2
2
|
|
|
3
|
-
Nexub DS
|
|
3
|
+
Nexub DS v4.0.0. Open `components/<slug>.md` for props, examples and accessibility notes.
|
|
4
4
|
Never use a component marked deprecated.
|
|
5
5
|
|
|
6
6
|
## Components — Actions
|
|
@@ -4,7 +4,7 @@ React Native components and screen patterns for Nexub Design System. They use th
|
|
|
4
4
|
|
|
5
5
|
**Native chrome, Nexub content.** The system draws the tab bar, stack header, back gesture, action sheets, pickers and iOS 26 Liquid Glass; Nexub themes them. Everything inside a screen (lists, cards, buttons, inputs, money) is drawn by Nexub, so it looks the same on iOS, Android and the web.
|
|
6
6
|
|
|
7
|
-
Status: **alpha**. Built for Expo SDK
|
|
7
|
+
Status: **alpha**. Built for Expo SDK 58+ / React Native 0.86+ (New Architecture). Works in Expo apps and bare React Native apps.
|
|
8
8
|
|
|
9
9
|
## Install
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Tokens
|
|
2
2
|
|
|
3
|
-
Nexub DS
|
|
3
|
+
Nexub DS v4.0.0. Every token is a CSS custom property from `@nexub/tokens/css` (loaded by `@nexub/themes/base`).
|
|
4
4
|
The Tailwind preset (`@nexub/tokens/tailwind`) maps them to utilities. Never hardcode a hex, px spacing or shadow that a token covers.
|
|
5
5
|
|
|
6
6
|
## Color roles
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexub/mcp",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "MCP server for Nexub Design System: gives Claude, Cursor and any MCP client the components, patterns, tokens and design rules of the installed release.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|