@czi-sds/mcp 0.5.3 → 0.6.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.
Files changed (37) hide show
  1. package/data/component-list.json +1 -0
  2. package/data/component-props/ComplexFilter.json +8 -0
  3. package/data/component-props/Dialog.json +2 -2
  4. package/data/component-props/Dropdown.json +1 -1
  5. package/data/component-props/Hero.json +82 -0
  6. package/data/component-props/InputCheckbox.json +5 -0
  7. package/data/component-props/InputDropdown.json +5 -1
  8. package/data/component-props/InputRadio.json +6 -1
  9. package/data/component-props/InputSearch.json +5 -0
  10. package/data/component-props/InputText.json +5 -0
  11. package/data/component-props/NavigationHeader.json +4 -0
  12. package/data/tailwind.json +448 -366
  13. package/data/zeroheight-exports/Accordion.md +0 -4
  14. package/data/zeroheight-exports/Banner.md +0 -2
  15. package/data/zeroheight-exports/Buttons.md +0 -26
  16. package/data/zeroheight-exports/Callout.md +0 -12
  17. package/data/zeroheight-exports/Control-Inputs.md +0 -18
  18. package/data/zeroheight-exports/Dialog.md +0 -12
  19. package/data/zeroheight-exports/Downloads.md +0 -4
  20. package/data/zeroheight-exports/Dropdown-Input.md +0 -8
  21. package/data/zeroheight-exports/Dropdown-Menus.md +147 -362
  22. package/data/zeroheight-exports/Field-Inputs.md +0 -20
  23. package/data/zeroheight-exports/Filters.md +0 -6
  24. package/data/zeroheight-exports/Getting-Started.md +0 -6
  25. package/data/zeroheight-exports/Lists.md +0 -4
  26. package/data/zeroheight-exports/Loading-Indicator.md +0 -4
  27. package/data/zeroheight-exports/Navigation.md +0 -6
  28. package/data/zeroheight-exports/Notification.md +0 -10
  29. package/data/zeroheight-exports/Panel.md +0 -8
  30. package/data/zeroheight-exports/Search-Input.md +0 -6
  31. package/data/zeroheight-exports/Search.md +0 -18
  32. package/data/zeroheight-exports/Table.md +0 -20
  33. package/data/zeroheight-exports/Tabs.md +0 -10
  34. package/data/zeroheight-exports/Tags.md +0 -2
  35. package/data/zeroheight-exports/Text-Link.md +0 -16
  36. package/data/zeroheight-exports/Tooltips.md +0 -16
  37. package/package.json +2 -2
@@ -18,6 +18,7 @@
18
18
  "Dialog",
19
19
  "Dropdown",
20
20
  "DropdownMenu",
21
+ "Hero",
21
22
  "Icon",
22
23
  "InputCheckbox",
23
24
  "InputDropdown",
@@ -33,6 +33,14 @@
33
33
  "search": {
34
34
  "type": "any",
35
35
  "isRequired": false
36
+ },
37
+ "buttonPosition": {
38
+ "type": "any",
39
+ "isRequired": false
40
+ },
41
+ "buttons": {
42
+ "type": "any",
43
+ "isRequired": false
36
44
  }
37
45
  }
38
46
  }
@@ -6,7 +6,7 @@
6
6
  "isRequired": false
7
7
  },
8
8
  "canClickOutsideClose": {
9
- "type": "any",
9
+ "type": "\"false\" | \"true\"",
10
10
  "isRequired": false
11
11
  },
12
12
  "longContent": {
@@ -14,7 +14,7 @@
14
14
  "isRequired": false
15
15
  },
16
16
  "sdsSize": {
17
- "type": "any",
17
+ "type": "\"s\" | \"m\" | \"xs\" | \"l\"",
18
18
  "isRequired": false
19
19
  },
20
20
  "titleOnClose": {
@@ -47,7 +47,7 @@
47
47
  "description": "Callback fired when the value changes.\n@param event The event source of the callback.\n@param value The new value of the component.\n@param reason One of \"createOption\", \"selectOption\", \"removeOption\", \"blur\" or \"clear\".\n@param details"
48
48
  },
49
49
  "onClose": {
50
- "type": "(event: SyntheticEvent<Element, Event>, reason: AutocompleteCloseReason) => void",
50
+ "type": "\"(event: SyntheticEvent<Element, Event>, reason: AutocompleteCloseReason) => void\" | \"(event: SyntheticEvent<Element, Event>, reason: AutocompleteCloseReason) => void\"",
51
51
  "isRequired": false,
52
52
  "description": "Callback fired when the popup requests to be closed.\nUse in controlled mode (see open).\n@param event The event source of the callback.\n@param reason Can be: `\"toggleInput\"`, `\"escape\"`, `\"selectOption\"`, `\"removeOption\"`, `\"blur\"`."
53
53
  },
@@ -0,0 +1,82 @@
1
+ {
2
+ "Hero": {
3
+ "props": {
4
+ "backgroundFill": {
5
+ "type": "ReactNode",
6
+ "isRequired": false
7
+ },
8
+ "captionText": {
9
+ "type": "string",
10
+ "isRequired": false
11
+ },
12
+ "darkeningMask": {
13
+ "type": "\"false\" | \"true\"",
14
+ "isRequired": false
15
+ },
16
+ "darkeningMaskColor": {
17
+ "type": "string",
18
+ "isRequired": false
19
+ },
20
+ "darkeningMaskOpacity": {
21
+ "type": "number",
22
+ "isRequired": false
23
+ },
24
+ "darkeningVignette": {
25
+ "type": "\"false\" | \"true\"",
26
+ "isRequired": false
27
+ },
28
+ "hasInvertTextColor": {
29
+ "type": "\"false\" | \"true\"",
30
+ "isRequired": false
31
+ },
32
+ "headerFontSize": {
33
+ "type": "\"s\" | \"m\" | \"l\"",
34
+ "isRequired": false
35
+ },
36
+ "headerText": {
37
+ "type": "string",
38
+ "isRequired": false
39
+ },
40
+ "heroHeight": {
41
+ "type": "string",
42
+ "isRequired": false
43
+ },
44
+ "overlayContainerMinMargin": {
45
+ "type": "{ small: number; medium: number; large: number; }",
46
+ "isRequired": false
47
+ },
48
+ "overlayContentWidth": {
49
+ "type": "string",
50
+ "isRequired": false
51
+ },
52
+ "overlayContentPosition": {
53
+ "type": "\"left\" | \"center\" | \"right\" | \"top-left\" | \"top\" | \"top-right\" | \"bottom-left\" | \"bottom\" | \"bottom-right\"",
54
+ "isRequired": false
55
+ },
56
+ "overlayMedia": {
57
+ "type": "ReactNode",
58
+ "isRequired": false
59
+ },
60
+ "overlayMediaPosition": {
61
+ "type": "\"left\" | \"center\" | \"right\" | \"top-left\" | \"top\" | \"top-right\" | \"bottom-left\" | \"bottom\" | \"bottom-right\"",
62
+ "isRequired": false
63
+ },
64
+ "overlayMediaMaxHeight": {
65
+ "type": "string",
66
+ "isRequired": false
67
+ },
68
+ "overlayMediaMaxWidth": {
69
+ "type": "string",
70
+ "isRequired": false
71
+ },
72
+ "overlayMediaMargin": {
73
+ "type": "\"string\" | \"{ small: string; medium: string; large: string; }\"",
74
+ "isRequired": false
75
+ },
76
+ "textAlignment": {
77
+ "type": "\"left\" | \"center\" | \"right\"",
78
+ "isRequired": false
79
+ }
80
+ }
81
+ }
82
+ }
@@ -22,6 +22,11 @@
22
22
  "stage": {
23
23
  "type": "\"indeterminate\" | \"checked\" | \"unchecked\"",
24
24
  "isRequired": false
25
+ },
26
+ "classes": {
27
+ "type": "complex",
28
+ "isRequired": false,
29
+ "description": "Override or extend the styles applied to the component."
25
30
  }
26
31
  }
27
32
  }
@@ -5,6 +5,10 @@
5
5
  "type": "ReactNode",
6
6
  "isRequired": false
7
7
  },
8
+ "classes": {
9
+ "type": "complex",
10
+ "isRequired": false
11
+ },
8
12
  "disabled": {
9
13
  "type": "\"false\" | \"true\"",
10
14
  "isRequired": false
@@ -42,7 +46,7 @@
42
46
  "isRequired": false
43
47
  },
44
48
  "width": {
45
- "type": "number",
49
+ "type": "string",
46
50
  "isRequired": false
47
51
  }
48
52
  }
@@ -2,7 +2,7 @@
2
2
  "InputRadio": {
3
3
  "props": {
4
4
  "caption": {
5
- "type": "string",
5
+ "type": "ReactNode",
6
6
  "isRequired": false
7
7
  },
8
8
  "disabled": {
@@ -21,6 +21,11 @@
21
21
  "stage": {
22
22
  "type": "\"checked\" | \"unchecked\"",
23
23
  "isRequired": false
24
+ },
25
+ "classes": {
26
+ "type": "complex",
27
+ "isRequired": false,
28
+ "description": "Override or extend the styles applied to the component."
24
29
  }
25
30
  }
26
31
  }
@@ -29,6 +29,11 @@
29
29
  "sdsStyle": {
30
30
  "type": "\"rounded\" | \"square\"",
31
31
  "isRequired": false
32
+ },
33
+ "classes": {
34
+ "type": "Partial",
35
+ "isRequired": false,
36
+ "description": "Override or extend the styles applied to the component."
32
37
  }
33
38
  }
34
39
  }
@@ -33,6 +33,11 @@
33
33
  "sdsType": {
34
34
  "type": "\"textField\" | \"textArea\"",
35
35
  "isRequired": false
36
+ },
37
+ "classes": {
38
+ "type": "Partial<TextFieldClasses> & { root?: string; label?: string; input?: string; }",
39
+ "isRequired": false,
40
+ "description": "Override or extend the styles applied to the component."
36
41
  }
37
42
  }
38
43
  }
@@ -5,6 +5,10 @@
5
5
  "type": "ReactNode",
6
6
  "isRequired": false
7
7
  },
8
+ "menuProps": {
9
+ "type": "Partial<MenuProps>",
10
+ "isRequired": false
11
+ },
8
12
  "hasInvertedStyle": {
9
13
  "type": "\"false\" | \"true\"",
10
14
  "isRequired": false