@czi-sds/mcp 0.5.4 → 0.7.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/data/component-props/ComplexFilter.json +8 -0
- package/data/component-props/Dialog.json +2 -2
- package/data/component-props/Dropdown.json +1 -1
- package/data/component-props/Hero.json +82 -0
- package/data/component-props/Icon.json +1 -1
- package/data/component-props/InputCheckbox.json +5 -0
- package/data/component-props/InputDropdown.json +5 -1
- package/data/component-props/InputRadio.json +6 -1
- package/data/component-props/InputSearch.json +5 -0
- package/data/component-props/InputText.json +5 -0
- package/data/component-props/NavigationFooter.json +4 -3
- package/data/component-props/NavigationHeader.json +13 -7
- package/data/tailwind.json +570 -432
- package/data/zeroheight-exports/Navigation.md +20 -20
- package/package.json +2 -2
|
@@ -641,26 +641,26 @@ The component's source code in the SDS codebase can be found here.
|
|
|
641
641
|
|
|
642
642
|
Any custom SDS props and MUI props required for implementation are found on the table below. See the MUI documentation for additional optional props.
|
|
643
643
|
|
|
644
|
-
| Name | Type | Default
|
|
645
|
-
| ------------------------ | ------------------------------------- |
|
|
646
|
-
| `activePrimaryNavKey` | `string` | -
|
|
647
|
-
| `setActivePrimaryNavKey` | `(key: string) => void` | -
|
|
648
|
-
| `buttons` | `ButtonProps[]` | -
|
|
649
|
-
| `hasInvertedStyle` | `boolean` | `false`
|
|
650
|
-
| `logo` | `ReactNode` | -
|
|
651
|
-
| `logoUrl` | `string` | -
|
|
652
|
-
| `logoLinkComponent` | `ElementType` | `a`
|
|
653
|
-
| `logoLinkProps` | `LinkProps` | -
|
|
654
|
-
| `primaryNavItems` | `NavigationHeaderPrimaryNavItem<T>[]` | -
|
|
655
|
-
| `primaryNavPosition` | `"left"` | `"right"`
|
|
656
|
-
| `
|
|
657
|
-
| `showSearch` | `boolean` | `true`
|
|
658
|
-
| `searchProps` | `Partial<InputSearchProps>` | -
|
|
659
|
-
| `secondaryNavItems` | `NavigationHeaderSecondaryNavItem[]` | -
|
|
660
|
-
| `scrollElevation` | `boolean` | `true`
|
|
661
|
-
| `tag` | `string` | -
|
|
662
|
-
| `tagColor` | ` | "info"` `
|
|
663
|
-
| `title` | `string` | -
|
|
644
|
+
| Name | Type | Default | Description |
|
|
645
|
+
| ------------------------ | ------------------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- | ------------ | --------- | ------------------- | ------------------------- | --------- | --------------------------- |
|
|
646
|
+
| `activePrimaryNavKey` | `string` | - | The key of the currently active primary navigation item. |
|
|
647
|
+
| `setActivePrimaryNavKey` | `(key: string) => void` | - | Callback function to set the active primary navigation key. |
|
|
648
|
+
| `buttons` | `ButtonProps[]` | - | An array of buttons displayed in the header. |
|
|
649
|
+
| `hasInvertedStyle` | `boolean` | `false` | When set to `true`, applies an inverted color scheme to the header component. |
|
|
650
|
+
| `logo` | `ReactNode` | - | The logo displayed in the header. Can be an image, icon, svg or any ReactNode. |
|
|
651
|
+
| `logoUrl` | `string` | - | URL for the logo link. If provided, clicking the logo navigates to this URL. |
|
|
652
|
+
| `logoLinkComponent` | `ElementType` | `a` | Specifies the component to use for the logo link. |
|
|
653
|
+
| `logoLinkProps` | `LinkProps` | - | Props to pass to the logo link component. |
|
|
654
|
+
| `primaryNavItems` | `NavigationHeaderPrimaryNavItem<T>[]` | - | List of items for the primary navigation section. |
|
|
655
|
+
| `primaryNavPosition` | `"left"` | `"right"` | `"left"` | Position of the primaryNavItems list. If set to `"left"`, the items appear to the left of the search bar. If set to `"right"`, they are positioned next to the secondaryNavItems on the right. |
|
|
656
|
+
| `isSticky` | `boolean` | `true` | When true, the navigation header sticks to the top of the page on scroll. When false, it scrolls up with the rest of the page. |
|
|
657
|
+
| `showSearch` | `boolean` | `true` | Whether to display the search input in the header. |
|
|
658
|
+
| `searchProps` | `Partial<InputSearchProps>` | - | Props passed to the search input component. |
|
|
659
|
+
| `secondaryNavItems` | `NavigationHeaderSecondaryNavItem[]` | - | List of items for the secondary navigation section. |
|
|
660
|
+
| `scrollElevation` | `boolean` | `true` | Controls whether a shadow is shown under the Nav when scrolling. |
|
|
661
|
+
| `tag` | `string` | - | A small label displayed next to the title. |
|
|
662
|
+
| `tagColor` | ` | "info"` ` | "positive"` ` | "notice"` ` | "negative"` ` | "neutral"` ` | "beta"` ` | [string, string]` ` | [string, string, string]` | `neutral` | The color of the tag label. |
|
|
663
|
+
| `title` | `string` | - | The main title displayed in the header. |
|
|
664
664
|
|
|
665
665
|
> **Important Note!**
|
|
666
666
|
>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@czi-sds/mcp",
|
|
3
3
|
"description": "The official MCP server for SDS",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.7.0",
|
|
5
5
|
"main": "dist/stdio.js",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"tsx": "^4.20.3",
|
|
63
63
|
"typescript": "^5.9.2"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "033b64c29517b2a9b2b007b1a03d8b01a1ff540c"
|
|
66
66
|
}
|