@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
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"isRequired": false
|
|
7
7
|
},
|
|
8
8
|
"canClickOutsideClose": {
|
|
9
|
-
"type": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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
|
}
|
|
@@ -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
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"NavigationFooter": {
|
|
3
3
|
"props": {
|
|
4
|
-
"
|
|
5
|
-
"type": "\"
|
|
6
|
-
"isRequired": false
|
|
4
|
+
"backgroundAppearance": {
|
|
5
|
+
"type": "\"matchBackground\" | \"dark\"",
|
|
6
|
+
"isRequired": false,
|
|
7
|
+
"defaultValue": "matchBackground"
|
|
7
8
|
},
|
|
8
9
|
"images": {
|
|
9
10
|
"type": "FooterImage[]",
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"type": "Partial<MenuProps>",
|
|
10
10
|
"isRequired": false
|
|
11
11
|
},
|
|
12
|
-
"
|
|
13
|
-
"type": "\"
|
|
12
|
+
"backgroundAppearance": {
|
|
13
|
+
"type": "\"matchBackground\" | \"dark\"",
|
|
14
14
|
"isRequired": false
|
|
15
15
|
},
|
|
16
16
|
"logo": {
|
|
@@ -25,11 +25,13 @@
|
|
|
25
25
|
"type": "string",
|
|
26
26
|
"isRequired": false
|
|
27
27
|
},
|
|
28
|
-
"
|
|
29
|
-
"type": "\"
|
|
30
|
-
"isRequired": false
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
"isSticky": {
|
|
29
|
+
"type": "\"false\" | \"true\"",
|
|
30
|
+
"isRequired": false
|
|
31
|
+
},
|
|
32
|
+
"topComponentSlot": {
|
|
33
|
+
"type": "ReactNode",
|
|
34
|
+
"isRequired": false
|
|
33
35
|
},
|
|
34
36
|
"primaryNavItems": {
|
|
35
37
|
"type": "NavigationHeaderPrimaryNavItem<string>[]",
|
|
@@ -39,6 +41,10 @@
|
|
|
39
41
|
"type": "\"left\" | \"right\"",
|
|
40
42
|
"isRequired": false
|
|
41
43
|
},
|
|
44
|
+
"sdsStyle": {
|
|
45
|
+
"type": "\"dropdown\" | \"drawer\"",
|
|
46
|
+
"isRequired": false
|
|
47
|
+
},
|
|
42
48
|
"scrollElevation": {
|
|
43
49
|
"type": "\"false\" | \"true\"",
|
|
44
50
|
"isRequired": false
|