@nexub/mcp 7.8.0 → 8.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.
@@ -12,7 +12,6 @@ Expands and collapses content along the block axis.
12
12
  | --- | --- | --- | --- |
13
13
  | `in` (required) | `boolean` | | When true, expands the content to its natural height. When false, collapses it to zero height. |
14
14
  | `duration` | `'instant' \| 'fast' \| 'normal' \| 'slow' \| 'slower'` | `'normal'` | Controls the animation speed using the design token scale. |
15
- | `easing` | `'linear' \| 'in' \| 'out' \| 'in-out' \| 'out-expo' \| 'spring'` | `'out'` | Easing curve applied to the animation. |
16
15
  | `unmountOnExit` | `boolean` | `false` | Removes the element from the DOM after the collapse animation completes. |
17
16
  | `as` | `React.ElementType` | `'div'` | The HTML element or component to render as the wrapper. |
18
17
  | `children` (required) | `React.ReactNode` | | Content to expand and collapse. |
@@ -12,7 +12,6 @@ Animates opacity between 0 and 1 based on the `in` prop.
12
12
  | --- | --- | --- | --- |
13
13
  | `in` (required) | `boolean` | | When true, fades content in. When false, fades it out. |
14
14
  | `duration` | `'instant' \| 'fast' \| 'normal' \| 'slow' \| 'slower'` | `'normal'` | Controls the animation speed using the design token scale. |
15
- | `easing` | `'linear' \| 'in' \| 'out' \| 'in-out' \| 'out-expo' \| 'spring'` | `'out'` | Easing curve applied to the animation. |
16
15
  | `unmountOnExit` | `boolean` | `false` | Removes the element from the DOM after the exit animation completes. |
17
16
  | `as` | `React.ElementType` | `'div'` | The HTML element or component to render as the wrapper. |
18
17
  | `children` (required) | `React.ReactNode` | | Content to animate. |
@@ -48,7 +47,7 @@ export default function Example() {
48
47
  }
49
48
  ```
50
49
 
51
- ## Example: Slow with spring easing
50
+ ## Example: Slow spring
52
51
 
53
52
  ```tsx
54
53
  import * as React from 'react';
@@ -59,7 +58,7 @@ export default function Example() {
59
58
  return (
60
59
  <div className="flex flex-col gap-3 items-start">
61
60
  <Button variant="outline" onClick={() => setVisible((v) => !v)}>Toggle</Button>
62
- <Fade in={visible} duration="slow" easing="spring">
61
+ <Fade in={visible} duration="slow">
63
62
  <Card className="w-[200px]"><Text size="body-sm">Slow spring fade animation.</Text></Card>
64
63
  </Fade>
65
64
  </div>
@@ -12,7 +12,6 @@ Scales content in/out from its center.
12
12
  | --- | --- | --- | --- |
13
13
  | `in` (required) | `boolean` | | When true, scales content in from 0 to 1. When false, scales it back down to 0. |
14
14
  | `duration` | `'instant' \| 'fast' \| 'normal' \| 'slow' \| 'slower'` | `'normal'` | Controls the animation speed using the design token scale. |
15
- | `easing` | `'linear' \| 'in' \| 'out' \| 'in-out' \| 'out-expo' \| 'spring'` | `'out'` | Easing curve applied to the animation. |
16
15
  | `unmountOnExit` | `boolean` | `false` | Removes the element from the DOM after the exit animation completes. |
17
16
  | `as` | `React.ElementType` | `'div'` | The HTML element or component to render as the wrapper. |
18
17
  | `children` (required) | `React.ReactNode` | | Content to animate. |
@@ -13,7 +13,6 @@ Slides content in from a direction based on the `in` prop.
13
13
  | `in` (required) | `boolean` | | When true, slides content in. When false, slides it out. |
14
14
  | `direction` | `'up' \| 'down' \| 'left' \| 'right'` | `'up'` | The direction from which the content slides in. |
15
15
  | `duration` | `'instant' \| 'fast' \| 'normal' \| 'slow' \| 'slower'` | `'normal'` | Controls the animation speed using the design token scale. |
16
- | `easing` | `'linear' \| 'in' \| 'out' \| 'in-out' \| 'out-expo' \| 'spring'` | `'out'` | Easing curve applied to the animation. |
17
16
  | `unmountOnExit` | `boolean` | `false` | Removes the element from the DOM after the exit animation completes. |
18
17
  | `as` | `React.ElementType` | `'div'` | The HTML element or component to render as the wrapper. |
19
18
  | `children` (required) | `React.ReactNode` | | Content to animate. |
@@ -1,6 +1,6 @@
1
1
  # Component index
2
2
 
3
- Nexub DS v7.8.0. Open `components/<slug>.md` for props, examples and accessibility notes.
3
+ Nexub DS v8.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
@@ -1,6 +1,6 @@
1
1
  # Tokens
2
2
 
3
- Nexub DS v7.8.0. Every token is a CSS custom property from `@nexub/tokens/css` (loaded by `@nexub/themes/base`).
3
+ Nexub DS v8.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": "7.8.0",
3
+ "version": "8.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",