@nexus-cross/design-system 1.0.0 → 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-D6FII7HW.js → chunk-BBLBTOP4.js} +8 -5
- 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-54RBL7J4.mjs → chunk-UKRU46PH.mjs} +8 -5
- 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 +5 -5
- package/dist/index.mjs +2 -2
- package/dist/schemas/_all.json +870 -373
- package/dist/schemas/accordion.json +12 -12
- package/dist/schemas/avatar.json +9 -9
- package/dist/schemas/button.json +27 -9
- 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 +28 -10
- package/dist/schemas/chip.json +13 -7
- package/dist/schemas/clientOnly.json +3 -3
- package/dist/schemas/countdown.json +8 -8
- package/dist/schemas/counter.json +13 -10
- package/dist/schemas/dataList.json +10 -10
- package/dist/schemas/divider.json +8 -5
- package/dist/schemas/drawer.json +22 -3
- package/dist/schemas/drawerClose.json +24 -0
- package/dist/schemas/drawerContent.json +7 -7
- package/dist/schemas/drawerDescription.json +20 -0
- package/dist/schemas/drawerTitle.json +20 -0
- package/dist/schemas/drawerTrigger.json +24 -0
- 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 +10 -7
- package/dist/schemas/modalCall.json +81 -3
- package/dist/schemas/modalTemplate.json +28 -25
- package/dist/schemas/numberInput.json +32 -14
- package/dist/schemas/pagination.json +8 -8
- package/dist/schemas/popover.json +12 -12
- package/dist/schemas/radioGroup.json +17 -10
- package/dist/schemas/radioItem.json +12 -5
- package/dist/schemas/select.json +11 -11
- package/dist/schemas/selectItem.json +5 -5
- package/dist/schemas/skeleton.json +10 -7
- package/dist/schemas/spinner.json +11 -4
- package/dist/schemas/switch.json +18 -7
- 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 +42 -9
- package/dist/schemas/textInput.json +55 -15
- package/dist/schemas/themeProvider.json +10 -10
- package/dist/schemas/toastOptions.json +81 -0
- package/dist/schemas/toaster.json +48 -3
- package/dist/schemas/tooltip.json +10 -10
- package/dist/schemas/virtualGrid.json +19 -16
- package/dist/schemas/virtualList.json +12 -9
- package/dist/schemas.d.mts +420 -56
- package/dist/schemas.d.ts +420 -56
- package/dist/schemas.js +502 -367
- package/dist/schemas.mjs +498 -368
- package/dist/styles/layer.js +2 -2
- package/dist/styles/layer.mjs +1 -1
- package/dist/styles.css +56 -45
- package/dist/styles.js +2 -2
- package/dist/styles.layered.css +56 -45
- package/dist/styles.mjs +1 -1
- package/dist/text-input.d.mts +1 -1
- package/dist/text-input.d.ts +1 -1
- package/dist/text-input.js +3 -3
- package/dist/text-input.mjs +1 -1
- package/package.json +8 -6
- package/scripts/setup-cursor-rules.cjs +6 -6
- package/dist/chunks/chunk-7AISZYWL.js +0 -7
- package/dist/chunks/chunk-V5OTJP6H.mjs +0 -5
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"children": {
|
|
8
|
-
"description": "
|
|
8
|
+
"description": "Trigger element (ReactNode, required)"
|
|
9
9
|
},
|
|
10
10
|
"content": {
|
|
11
|
-
"description": "
|
|
11
|
+
"description": "Tooltip content (ReactNode, required)"
|
|
12
12
|
},
|
|
13
13
|
"variant": {
|
|
14
14
|
"type": "string",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"light"
|
|
18
18
|
],
|
|
19
19
|
"default": "dark",
|
|
20
|
-
"description": "
|
|
20
|
+
"description": "Style"
|
|
21
21
|
},
|
|
22
22
|
"side": {
|
|
23
23
|
"type": "string",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"left"
|
|
29
29
|
],
|
|
30
30
|
"default": "top",
|
|
31
|
-
"description": "
|
|
31
|
+
"description": "Position"
|
|
32
32
|
},
|
|
33
33
|
"align": {
|
|
34
34
|
"type": "string",
|
|
@@ -38,29 +38,29 @@
|
|
|
38
38
|
"end"
|
|
39
39
|
],
|
|
40
40
|
"default": "center",
|
|
41
|
-
"description": "
|
|
41
|
+
"description": "Alignment"
|
|
42
42
|
},
|
|
43
43
|
"delayDuration": {
|
|
44
44
|
"type": "number",
|
|
45
45
|
"default": 200,
|
|
46
|
-
"description": "
|
|
46
|
+
"description": "Show delay (ms)"
|
|
47
47
|
},
|
|
48
48
|
"disabled": {
|
|
49
49
|
"type": "boolean",
|
|
50
50
|
"default": false,
|
|
51
|
-
"description": "
|
|
51
|
+
"description": "Disabled"
|
|
52
52
|
},
|
|
53
53
|
"className": {
|
|
54
54
|
"type": "string",
|
|
55
|
-
"description": "Content
|
|
55
|
+
"description": "Content style"
|
|
56
56
|
},
|
|
57
57
|
"triggerClassName": {
|
|
58
58
|
"type": "string",
|
|
59
|
-
"description": "Trigger
|
|
59
|
+
"description": "Trigger style"
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
"additionalProperties": false,
|
|
63
|
-
"description": "
|
|
63
|
+
"description": "Tooltip. Based on Radix Tooltip. Built-in Provider."
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -6,7 +6,11 @@
|
|
|
6
6
|
"properties": {
|
|
7
7
|
"items": {
|
|
8
8
|
"type": "array",
|
|
9
|
-
"description": "
|
|
9
|
+
"description": "Data array (required)"
|
|
10
|
+
},
|
|
11
|
+
"columns": {
|
|
12
|
+
"type": "number",
|
|
13
|
+
"description": "Column count (required)"
|
|
10
14
|
},
|
|
11
15
|
"estimateSize": {
|
|
12
16
|
"anyOf": [
|
|
@@ -15,36 +19,35 @@
|
|
|
15
19
|
},
|
|
16
20
|
{}
|
|
17
21
|
],
|
|
18
|
-
"description": "
|
|
19
|
-
},
|
|
20
|
-
"columns": {
|
|
21
|
-
"type": "number",
|
|
22
|
-
"description": "열 수 (필수)"
|
|
22
|
+
"description": "Estimated item height (required)"
|
|
23
23
|
},
|
|
24
24
|
"renderItem": {
|
|
25
|
-
"description": "
|
|
25
|
+
"description": "Item renderer (item, index) => ReactNode (required)"
|
|
26
26
|
},
|
|
27
27
|
"overscan": {
|
|
28
28
|
"type": "number",
|
|
29
29
|
"default": 3,
|
|
30
|
-
"description": "
|
|
30
|
+
"description": "Overscan count"
|
|
31
31
|
},
|
|
32
32
|
"gap": {
|
|
33
33
|
"type": "number",
|
|
34
34
|
"default": 0,
|
|
35
|
-
"description": "
|
|
35
|
+
"description": "Item gap (px)"
|
|
36
|
+
},
|
|
37
|
+
"className": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"description": "Scroll container style"
|
|
40
|
+
},
|
|
41
|
+
"style": {
|
|
42
|
+
"description": "Inline style (CSSProperties)"
|
|
36
43
|
},
|
|
37
44
|
"endReachedThreshold": {
|
|
38
45
|
"type": "number",
|
|
39
46
|
"default": 200,
|
|
40
|
-
"description": "
|
|
47
|
+
"description": "End detection threshold (px)"
|
|
41
48
|
},
|
|
42
49
|
"onEndReached": {
|
|
43
|
-
"description": "
|
|
44
|
-
},
|
|
45
|
-
"className": {
|
|
46
|
-
"type": "string",
|
|
47
|
-
"description": "스크롤 컨테이너 스타일"
|
|
50
|
+
"description": "End reached callback () => void"
|
|
48
51
|
}
|
|
49
52
|
},
|
|
50
53
|
"required": [
|
|
@@ -52,7 +55,7 @@
|
|
|
52
55
|
"columns"
|
|
53
56
|
],
|
|
54
57
|
"additionalProperties": false,
|
|
55
|
-
"description": "
|
|
58
|
+
"description": "Virtual scroll grid. Based on @tanstack/react-virtual."
|
|
56
59
|
}
|
|
57
60
|
},
|
|
58
61
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"properties": {
|
|
7
7
|
"items": {
|
|
8
8
|
"type": "array",
|
|
9
|
-
"description": "
|
|
9
|
+
"description": "Data array (required)"
|
|
10
10
|
},
|
|
11
11
|
"estimateSize": {
|
|
12
12
|
"anyOf": [
|
|
@@ -15,39 +15,42 @@
|
|
|
15
15
|
},
|
|
16
16
|
{}
|
|
17
17
|
],
|
|
18
|
-
"description": "
|
|
18
|
+
"description": "Estimated item height (number or (index) => number, required)"
|
|
19
19
|
},
|
|
20
20
|
"renderItem": {
|
|
21
|
-
"description": "
|
|
21
|
+
"description": "Item renderer (item, index, virtualItem) => ReactNode (required)"
|
|
22
22
|
},
|
|
23
23
|
"overscan": {
|
|
24
24
|
"type": "number",
|
|
25
25
|
"default": 5,
|
|
26
|
-
"description": "
|
|
26
|
+
"description": "Overscan count"
|
|
27
27
|
},
|
|
28
28
|
"gap": {
|
|
29
29
|
"type": "number",
|
|
30
30
|
"default": 0,
|
|
31
|
-
"description": "
|
|
31
|
+
"description": "Item gap (px)"
|
|
32
32
|
},
|
|
33
33
|
"className": {
|
|
34
34
|
"type": "string",
|
|
35
|
-
"description": "
|
|
35
|
+
"description": "Scroll container style"
|
|
36
|
+
},
|
|
37
|
+
"style": {
|
|
38
|
+
"description": "Inline style (CSSProperties)"
|
|
36
39
|
},
|
|
37
40
|
"endReachedThreshold": {
|
|
38
41
|
"type": "number",
|
|
39
42
|
"default": 200,
|
|
40
|
-
"description": "
|
|
43
|
+
"description": "End detection threshold (px)"
|
|
41
44
|
},
|
|
42
45
|
"onEndReached": {
|
|
43
|
-
"description": "
|
|
46
|
+
"description": "End reached callback () => void"
|
|
44
47
|
}
|
|
45
48
|
},
|
|
46
49
|
"required": [
|
|
47
50
|
"items"
|
|
48
51
|
],
|
|
49
52
|
"additionalProperties": false,
|
|
50
|
-
"description": "
|
|
53
|
+
"description": "Virtual scroll list. Based on @tanstack/react-virtual."
|
|
51
54
|
}
|
|
52
55
|
},
|
|
53
56
|
"$schema": "http://json-schema.org/draft-07/schema#"
|