@nexus-cross/design-system 1.0.1 → 1.0.2
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/cursor-rules/nexus-project-setup.mdc +150 -150
- package/cursor-rules/nexus-ui-api.mdc +659 -316
- package/cursor-rules/nexus-ui-components.mdc +162 -96
- package/dist/chunks/chunk-55IEEVNR.js +7 -0
- package/dist/chunks/{chunk-5JHN4FCY.mjs → chunk-K2TBLM3F.mjs} +1 -4
- package/dist/chunks/{chunk-MTX7GD3H.js → chunk-PEIEVKD5.js} +1 -4
- package/dist/chunks/chunk-XMG7ZEYY.mjs +5 -0
- package/dist/data-list.js +2 -2
- package/dist/data-list.mjs +1 -1
- package/dist/error-boundary.d.mts +1 -1
- package/dist/error-boundary.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/schemas/_all.json +480 -480
- package/dist/schemas/accordion.json +12 -12
- package/dist/schemas/avatar.json +9 -9
- package/dist/schemas/button.json +13 -13
- package/dist/schemas/carousel.json +6 -6
- package/dist/schemas/carouselButton.json +3 -3
- package/dist/schemas/carouselDots.json +2 -2
- package/dist/schemas/carouselSlide.json +3 -3
- package/dist/schemas/checkBox.json +15 -15
- package/dist/schemas/chip.json +9 -9
- package/dist/schemas/clientOnly.json +3 -3
- package/dist/schemas/countdown.json +8 -8
- package/dist/schemas/counter.json +11 -11
- package/dist/schemas/dataList.json +10 -10
- package/dist/schemas/divider.json +6 -6
- package/dist/schemas/drawer.json +8 -8
- package/dist/schemas/drawerClose.json +4 -4
- package/dist/schemas/drawerContent.json +7 -7
- package/dist/schemas/drawerDescription.json +3 -3
- package/dist/schemas/drawerTitle.json +3 -3
- package/dist/schemas/drawerTrigger.json +4 -4
- package/dist/schemas/ellipsis.json +9 -9
- package/dist/schemas/errorBoundary.json +4 -4
- package/dist/schemas/infiniteScroll.json +12 -12
- package/dist/schemas/marquee.json +8 -8
- package/dist/schemas/modalCall.json +20 -20
- package/dist/schemas/modalTemplate.json +26 -26
- package/dist/schemas/numberInput.json +19 -19
- package/dist/schemas/pagination.json +8 -8
- package/dist/schemas/popover.json +12 -12
- package/dist/schemas/radioGroup.json +12 -12
- package/dist/schemas/radioItem.json +7 -7
- package/dist/schemas/select.json +11 -11
- package/dist/schemas/selectItem.json +5 -5
- package/dist/schemas/skeleton.json +8 -8
- package/dist/schemas/spinner.json +6 -6
- package/dist/schemas/switch.json +10 -10
- package/dist/schemas/tab.json +15 -15
- package/dist/schemas/table.json +14 -14
- package/dist/schemas/tableRow.json +5 -5
- package/dist/schemas/tdColumn.json +17 -17
- package/dist/schemas/textArea.json +18 -18
- package/dist/schemas/textInput.json +25 -25
- package/dist/schemas/themeProvider.json +10 -10
- package/dist/schemas/toastOptions.json +17 -17
- package/dist/schemas/toaster.json +12 -12
- package/dist/schemas/tooltip.json +10 -10
- package/dist/schemas/virtualGrid.json +11 -11
- package/dist/schemas/virtualList.json +10 -10
- package/dist/schemas.js +475 -475
- package/dist/schemas.mjs +475 -475
- package/dist/styles/layer.js +2 -2
- package/dist/styles/layer.mjs +1 -1
- package/dist/styles.css +28 -15
- package/dist/styles.js +2 -2
- package/dist/styles.layered.css +28 -15
- package/dist/styles.mjs +1 -1
- package/package.json +8 -6
- package/scripts/setup-cursor-rules.cjs +6 -6
- package/dist/chunks/chunk-GMGG4VZM.mjs +0 -5
- package/dist/chunks/chunk-N75GAGAG.js +0 -7
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"vertical"
|
|
12
12
|
],
|
|
13
13
|
"default": "horizontal",
|
|
14
|
-
"description": "
|
|
14
|
+
"description": "Direction"
|
|
15
15
|
},
|
|
16
16
|
"variant": {
|
|
17
17
|
"type": "string",
|
|
@@ -21,22 +21,22 @@
|
|
|
21
21
|
"dotted"
|
|
22
22
|
],
|
|
23
23
|
"default": "solid",
|
|
24
|
-
"description": "
|
|
24
|
+
"description": "Line style"
|
|
25
25
|
},
|
|
26
26
|
"color": {
|
|
27
27
|
"type": "string",
|
|
28
|
-
"description": "
|
|
28
|
+
"description": "Custom color (CSS value)"
|
|
29
29
|
},
|
|
30
30
|
"style": {
|
|
31
|
-
"description": "
|
|
31
|
+
"description": "Inline style (CSSProperties)"
|
|
32
32
|
},
|
|
33
33
|
"className": {
|
|
34
34
|
"type": "string",
|
|
35
|
-
"description": "
|
|
35
|
+
"description": "Style override"
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"additionalProperties": false,
|
|
39
|
-
"description": "
|
|
39
|
+
"description": "Divider. Supports horizontal/vertical, solid/dashed/dotted."
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
package/dist/schemas/drawer.json
CHANGED
|
@@ -13,33 +13,33 @@
|
|
|
13
13
|
"right"
|
|
14
14
|
],
|
|
15
15
|
"default": "bottom",
|
|
16
|
-
"description": "
|
|
16
|
+
"description": "Direction"
|
|
17
17
|
},
|
|
18
18
|
"open": {
|
|
19
19
|
"type": "boolean",
|
|
20
|
-
"description": "
|
|
20
|
+
"description": "Open state (controlled mode)"
|
|
21
21
|
},
|
|
22
22
|
"onOpenChange": {
|
|
23
|
-
"description": "
|
|
23
|
+
"description": "Open state change callback (open: boolean) => void"
|
|
24
24
|
},
|
|
25
25
|
"dismissible": {
|
|
26
26
|
"type": "boolean",
|
|
27
|
-
"description": "
|
|
27
|
+
"description": "Allow close via swipe/outside click (default true)"
|
|
28
28
|
},
|
|
29
29
|
"modal": {
|
|
30
30
|
"type": "boolean",
|
|
31
|
-
"description": "
|
|
31
|
+
"description": "Modal mode (default true). If false, background is interactive"
|
|
32
32
|
},
|
|
33
33
|
"shouldScaleBackground": {
|
|
34
34
|
"type": "boolean",
|
|
35
|
-
"description": "
|
|
35
|
+
"description": "Background scale effect (default false)"
|
|
36
36
|
},
|
|
37
37
|
"children": {
|
|
38
|
-
"description": "Drawer
|
|
38
|
+
"description": "Drawer sub-components (ReactNode, required)"
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"additionalProperties": false,
|
|
42
|
-
"description": "
|
|
42
|
+
"description": "Drawer/bottom sheet. Based on Vaul. Compound component pattern."
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -6,18 +6,18 @@
|
|
|
6
6
|
"properties": {
|
|
7
7
|
"asChild": {
|
|
8
8
|
"type": "boolean",
|
|
9
|
-
"description": "
|
|
9
|
+
"description": "Render as child element"
|
|
10
10
|
},
|
|
11
11
|
"children": {
|
|
12
|
-
"description": "
|
|
12
|
+
"description": "Close element (ReactNode, required)"
|
|
13
13
|
},
|
|
14
14
|
"className": {
|
|
15
15
|
"type": "string",
|
|
16
|
-
"description": "
|
|
16
|
+
"description": "Style override"
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"additionalProperties": false,
|
|
20
|
-
"description": "Drawer
|
|
20
|
+
"description": "Drawer close button."
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"right"
|
|
14
14
|
],
|
|
15
15
|
"default": "bottom",
|
|
16
|
-
"description": "
|
|
16
|
+
"description": "Direction (Context takes priority)"
|
|
17
17
|
},
|
|
18
18
|
"blur": {
|
|
19
19
|
"type": "string",
|
|
@@ -23,27 +23,27 @@
|
|
|
23
23
|
"md"
|
|
24
24
|
],
|
|
25
25
|
"default": "none",
|
|
26
|
-
"description": "
|
|
26
|
+
"description": "Overlay blur"
|
|
27
27
|
},
|
|
28
28
|
"showHandle": {
|
|
29
29
|
"type": "boolean",
|
|
30
30
|
"default": true,
|
|
31
|
-
"description": "
|
|
31
|
+
"description": "Show handle bar"
|
|
32
32
|
},
|
|
33
33
|
"children": {
|
|
34
|
-
"description": "
|
|
34
|
+
"description": "Content area (ReactNode)"
|
|
35
35
|
},
|
|
36
36
|
"overlayClassName": {
|
|
37
37
|
"type": "string",
|
|
38
|
-
"description": "
|
|
38
|
+
"description": "Overlay style"
|
|
39
39
|
},
|
|
40
40
|
"className": {
|
|
41
41
|
"type": "string",
|
|
42
|
-
"description": "
|
|
42
|
+
"description": "Panel style"
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"additionalProperties": false,
|
|
46
|
-
"description": "Drawer.Content
|
|
46
|
+
"description": "Drawer.Content area."
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"children": {
|
|
8
|
-
"description": "
|
|
8
|
+
"description": "Description text (ReactNode, required)"
|
|
9
9
|
},
|
|
10
10
|
"className": {
|
|
11
11
|
"type": "string",
|
|
12
|
-
"description": "
|
|
12
|
+
"description": "Style override"
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"additionalProperties": false,
|
|
16
|
-
"description": "Drawer
|
|
16
|
+
"description": "Drawer description."
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"children": {
|
|
8
|
-
"description": "
|
|
8
|
+
"description": "Title text (ReactNode, required)"
|
|
9
9
|
},
|
|
10
10
|
"className": {
|
|
11
11
|
"type": "string",
|
|
12
|
-
"description": "
|
|
12
|
+
"description": "Style override"
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"additionalProperties": false,
|
|
16
|
-
"description": "Drawer
|
|
16
|
+
"description": "Drawer title (required for accessibility)."
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -6,18 +6,18 @@
|
|
|
6
6
|
"properties": {
|
|
7
7
|
"asChild": {
|
|
8
8
|
"type": "boolean",
|
|
9
|
-
"description": "
|
|
9
|
+
"description": "Render as child element"
|
|
10
10
|
},
|
|
11
11
|
"children": {
|
|
12
|
-
"description": "
|
|
12
|
+
"description": "Trigger element (ReactNode, required)"
|
|
13
13
|
},
|
|
14
14
|
"className": {
|
|
15
15
|
"type": "string",
|
|
16
|
-
"description": "
|
|
16
|
+
"description": "Style override"
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"additionalProperties": false,
|
|
20
|
-
"description": "Drawer
|
|
20
|
+
"description": "Drawer open trigger."
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -6,43 +6,43 @@
|
|
|
6
6
|
"properties": {
|
|
7
7
|
"content": {
|
|
8
8
|
"default": "",
|
|
9
|
-
"description": "
|
|
9
|
+
"description": "Body text (ReactNode)"
|
|
10
10
|
},
|
|
11
11
|
"lineClamp": {
|
|
12
12
|
"type": "number",
|
|
13
13
|
"default": 2,
|
|
14
|
-
"description": "
|
|
14
|
+
"description": "Line clamp limit"
|
|
15
15
|
},
|
|
16
16
|
"triggerMore": {
|
|
17
17
|
"default": "more",
|
|
18
|
-
"description": "
|
|
18
|
+
"description": "Show more text (ReactNode)"
|
|
19
19
|
},
|
|
20
20
|
"triggerLess": {
|
|
21
21
|
"default": "less",
|
|
22
|
-
"description": "
|
|
22
|
+
"description": "Show less text (ReactNode)"
|
|
23
23
|
},
|
|
24
24
|
"defaultShortened": {
|
|
25
25
|
"type": "boolean",
|
|
26
26
|
"default": true,
|
|
27
|
-
"description": "
|
|
27
|
+
"description": "Initial collapsed state"
|
|
28
28
|
},
|
|
29
29
|
"observingEnvs": {
|
|
30
30
|
"type": "array",
|
|
31
31
|
"items": {
|
|
32
32
|
"type": "boolean"
|
|
33
33
|
},
|
|
34
|
-
"description": "
|
|
34
|
+
"description": "Re-measure on external condition change"
|
|
35
35
|
},
|
|
36
36
|
"onShowMoreLessClick": {
|
|
37
|
-
"description": "
|
|
37
|
+
"description": "Show more/less click callback () => void"
|
|
38
38
|
},
|
|
39
39
|
"className": {
|
|
40
40
|
"type": "string",
|
|
41
|
-
"description": "
|
|
41
|
+
"description": "Style override"
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"additionalProperties": false,
|
|
45
|
-
"description": "
|
|
45
|
+
"description": "Text ellipsis. Built-in show more/less toggle."
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"children": {
|
|
8
|
-
"description": "
|
|
8
|
+
"description": "Child elements to wrap (ReactNode, required)"
|
|
9
9
|
},
|
|
10
10
|
"fallback": {
|
|
11
|
-
"description": "
|
|
11
|
+
"description": "Fallback UI on error (ReactNode)"
|
|
12
12
|
},
|
|
13
13
|
"onError": {
|
|
14
|
-
"description": "
|
|
14
|
+
"description": "Error callback (error: Error, errorInfo: ErrorInfo) => void"
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"additionalProperties": false,
|
|
18
|
-
"description": "
|
|
18
|
+
"description": "Error boundary. Catches child component render errors and displays fallback UI."
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -13,52 +13,52 @@
|
|
|
13
13
|
"type": "null"
|
|
14
14
|
}
|
|
15
15
|
],
|
|
16
|
-
"description": "
|
|
16
|
+
"description": "Current data array (required)"
|
|
17
17
|
},
|
|
18
18
|
"totalCount": {
|
|
19
19
|
"type": "number",
|
|
20
|
-
"description": "
|
|
20
|
+
"description": "Total count (mutually exclusive with hasMore)"
|
|
21
21
|
},
|
|
22
22
|
"hasMore": {
|
|
23
23
|
"type": "boolean",
|
|
24
|
-
"description": "
|
|
24
|
+
"description": "Has more items (mutually exclusive with totalCount)"
|
|
25
25
|
},
|
|
26
26
|
"tag": {
|
|
27
27
|
"type": "string",
|
|
28
28
|
"default": "div",
|
|
29
|
-
"description": "
|
|
29
|
+
"description": "Children wrapper tag"
|
|
30
30
|
},
|
|
31
31
|
"rootMargin": {
|
|
32
32
|
"type": "number",
|
|
33
33
|
"default": 100,
|
|
34
|
-
"description": "
|
|
34
|
+
"description": "Detection margin (px)"
|
|
35
35
|
},
|
|
36
36
|
"loading": {
|
|
37
37
|
"type": "boolean",
|
|
38
|
-
"description": "
|
|
38
|
+
"description": "Loading state"
|
|
39
39
|
},
|
|
40
40
|
"loadingElement": {
|
|
41
|
-
"description": "
|
|
41
|
+
"description": "Custom loading element"
|
|
42
42
|
},
|
|
43
43
|
"handleLoadMore": {
|
|
44
|
-
"description": "
|
|
44
|
+
"description": "Load more callback () => void, required"
|
|
45
45
|
},
|
|
46
46
|
"scrollTarget": {
|
|
47
|
-
"description": "
|
|
47
|
+
"description": "Scroll target element (HTMLElement | Document | MutableRefObject)"
|
|
48
48
|
},
|
|
49
49
|
"children": {
|
|
50
|
-
"description": "
|
|
50
|
+
"description": "List item rendering (ReactNode, required)"
|
|
51
51
|
},
|
|
52
52
|
"className": {
|
|
53
53
|
"type": "string",
|
|
54
|
-
"description": "
|
|
54
|
+
"description": "Style override"
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
57
|
"required": [
|
|
58
58
|
"list"
|
|
59
59
|
],
|
|
60
60
|
"additionalProperties": false,
|
|
61
|
-
"description": "
|
|
61
|
+
"description": "Infinite scroll. Based on IntersectionObserver."
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -13,36 +13,36 @@
|
|
|
13
13
|
"down"
|
|
14
14
|
],
|
|
15
15
|
"default": "left",
|
|
16
|
-
"description": "
|
|
16
|
+
"description": "Direction"
|
|
17
17
|
},
|
|
18
18
|
"speed": {
|
|
19
19
|
"type": "number",
|
|
20
20
|
"default": 40,
|
|
21
|
-
"description": "
|
|
21
|
+
"description": "Animation speed (seconds)"
|
|
22
22
|
},
|
|
23
23
|
"pauseOnHover": {
|
|
24
24
|
"type": "boolean",
|
|
25
25
|
"default": false,
|
|
26
|
-
"description": "
|
|
26
|
+
"description": "Pause on hover"
|
|
27
27
|
},
|
|
28
28
|
"gap": {
|
|
29
29
|
"type": "number",
|
|
30
30
|
"default": 16,
|
|
31
|
-
"description": "
|
|
31
|
+
"description": "Item gap (px)"
|
|
32
32
|
},
|
|
33
33
|
"children": {
|
|
34
|
-
"description": "
|
|
34
|
+
"description": "Content to repeat (ReactNode, required)"
|
|
35
35
|
},
|
|
36
36
|
"style": {
|
|
37
|
-
"description": "
|
|
37
|
+
"description": "Inline style (CSSProperties)"
|
|
38
38
|
},
|
|
39
39
|
"className": {
|
|
40
40
|
"type": "string",
|
|
41
|
-
"description": "
|
|
41
|
+
"description": "Style override"
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"additionalProperties": false,
|
|
45
|
-
"description": "
|
|
45
|
+
"description": "Marquee (scrolling text/elements)."
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"component": {
|
|
8
|
-
"description": "
|
|
8
|
+
"description": "Modal component (required). Automatically receives close/resolve as props"
|
|
9
9
|
},
|
|
10
10
|
"props": {
|
|
11
11
|
"type": "object",
|
|
12
12
|
"additionalProperties": {},
|
|
13
|
-
"description": "
|
|
13
|
+
"description": "Props to pass to component"
|
|
14
14
|
},
|
|
15
15
|
"id": {
|
|
16
16
|
"type": "string",
|
|
17
|
-
"description": "
|
|
17
|
+
"description": "Modal ID (used for duplicate check)"
|
|
18
18
|
},
|
|
19
19
|
"layout": {
|
|
20
20
|
"type": "string",
|
|
@@ -27,72 +27,72 @@
|
|
|
27
27
|
"full-page-reverse",
|
|
28
28
|
"draggable"
|
|
29
29
|
],
|
|
30
|
-
"description": "
|
|
30
|
+
"description": "Layout"
|
|
31
31
|
},
|
|
32
32
|
"animation": {
|
|
33
33
|
"type": "object",
|
|
34
34
|
"properties": {
|
|
35
35
|
"name": {
|
|
36
36
|
"type": "string",
|
|
37
|
-
"description": "
|
|
37
|
+
"description": "Animation name"
|
|
38
38
|
},
|
|
39
39
|
"mobile": {
|
|
40
40
|
"type": "string",
|
|
41
|
-
"description": "
|
|
41
|
+
"description": "Mobile animation name"
|
|
42
42
|
},
|
|
43
43
|
"delay": {
|
|
44
44
|
"type": "number",
|
|
45
|
-
"description": "
|
|
45
|
+
"description": "Delay (ms)"
|
|
46
46
|
},
|
|
47
47
|
"duration": {
|
|
48
48
|
"type": "number",
|
|
49
|
-
"description": "
|
|
49
|
+
"description": "Duration (ms)"
|
|
50
50
|
},
|
|
51
51
|
"timingFunc": {
|
|
52
52
|
"type": "string",
|
|
53
|
-
"description": "
|
|
53
|
+
"description": "Timing function"
|
|
54
54
|
},
|
|
55
55
|
"leaveTimingFunc": {
|
|
56
56
|
"type": "string",
|
|
57
|
-
"description": "
|
|
57
|
+
"description": "Exit timing function"
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
"additionalProperties": false,
|
|
61
|
-
"description": "
|
|
61
|
+
"description": "Modal animation"
|
|
62
62
|
},
|
|
63
63
|
"scrollEnable": {
|
|
64
64
|
"type": "boolean",
|
|
65
|
-
"description": "
|
|
65
|
+
"description": "Allow background scroll"
|
|
66
66
|
},
|
|
67
67
|
"isToggle": {
|
|
68
68
|
"type": "boolean",
|
|
69
|
-
"description": "
|
|
69
|
+
"description": "Toggle mode (close on re-call of same modal)"
|
|
70
70
|
},
|
|
71
71
|
"isAlone": {
|
|
72
72
|
"type": "boolean",
|
|
73
|
-
"description": "
|
|
73
|
+
"description": "Alone mode (close all existing modals before opening)"
|
|
74
74
|
},
|
|
75
75
|
"duplicateCheck": {
|
|
76
76
|
"type": "boolean",
|
|
77
|
-
"description": "
|
|
77
|
+
"description": "Prevent duplicate opening of same component"
|
|
78
78
|
},
|
|
79
79
|
"disableEscapeKeyPress": {
|
|
80
80
|
"type": "boolean",
|
|
81
|
-
"description": "
|
|
81
|
+
"description": "Disable close via ESC key"
|
|
82
82
|
},
|
|
83
83
|
"componentName": {
|
|
84
84
|
"type": "string",
|
|
85
|
-
"description": "
|
|
85
|
+
"description": "Modal identifier name (used for duplicate check, modal search)"
|
|
86
86
|
},
|
|
87
87
|
"onOpen": {
|
|
88
|
-
"description": "
|
|
88
|
+
"description": "Callback when modal opens"
|
|
89
89
|
},
|
|
90
90
|
"onClose": {
|
|
91
|
-
"description": "
|
|
91
|
+
"description": "Callback when modal closes"
|
|
92
92
|
}
|
|
93
93
|
},
|
|
94
94
|
"additionalProperties": false,
|
|
95
|
-
"description": "modal()
|
|
95
|
+
"description": "modal() function call options. component automatically receives close/resolve as props."
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"$schema": "http://json-schema.org/draft-07/schema#"
|