@nexus-cross/design-system 1.0.4-beta.1 → 1.0.4
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 +167 -145
- package/cursor-rules/nexus-ui-api.mdc +894 -311
- package/cursor-rules/nexus-ui-components.mdc +179 -91
- package/dist/accordion.js +7 -7
- package/dist/accordion.mjs +2 -2
- package/dist/alert.d.mts +17 -0
- package/dist/alert.d.ts +17 -0
- package/dist/alert.js +16 -0
- package/dist/alert.mjs +3 -0
- package/dist/avatar.js +4 -4
- package/dist/avatar.mjs +2 -2
- package/dist/badge.d.mts +18 -0
- package/dist/badge.d.ts +18 -0
- package/dist/badge.js +16 -0
- package/dist/badge.mjs +3 -0
- package/dist/breadcrumb.d.mts +15 -0
- package/dist/breadcrumb.d.ts +15 -0
- package/dist/breadcrumb.js +12 -0
- package/dist/breadcrumb.mjs +3 -0
- package/dist/button.js +4 -4
- package/dist/button.mjs +2 -2
- package/dist/carousel.js +8 -8
- package/dist/carousel.mjs +2 -2
- package/dist/checkbox.js +5 -5
- package/dist/checkbox.mjs +2 -2
- package/dist/chip.d.mts +1 -1
- package/dist/chip.d.ts +1 -1
- package/dist/chip.js +4 -4
- package/dist/chip.mjs +2 -2
- package/dist/chunks/{chunk-5TBXVD56.js → chunk-2MC7XJSE.js} +16 -6
- package/dist/chunks/chunk-2N2EPBO4.js +120 -0
- package/dist/chunks/{chunk-BEA727LO.mjs → chunk-2RPRCWKV.mjs} +57 -26
- package/dist/chunks/chunk-2UPGFY6E.mjs +76 -0
- package/dist/chunks/{chunk-5I2VRWWU.js → chunk-2ZXDXO4I.js} +32 -38
- package/dist/chunks/{chunk-RLP3U52D.mjs → chunk-33UFQJIO.mjs} +22 -40
- package/dist/chunks/{chunk-AOVU67NI.mjs → chunk-3HHJORN7.mjs} +23 -25
- package/dist/chunks/{chunk-TWHDXCKR.js → chunk-3PCNRCTB.js} +8 -8
- package/dist/chunks/chunk-3ZWN66YH.js +53 -0
- package/dist/chunks/chunk-4ENXP7WH.js +224 -0
- package/dist/chunks/{chunk-YEGPB7A7.js → chunk-5JHJNN2K.js} +4 -4
- package/dist/chunks/chunk-5PQ3UCKF.js +99 -0
- package/dist/chunks/chunk-6BWOKTVQ.mjs +87 -0
- package/dist/chunks/chunk-6DBRL6NA.mjs +81 -0
- package/dist/chunks/{chunk-C3E7CSKG.mjs → chunk-6FMDO6TT.mjs} +7 -8
- package/dist/chunks/{chunk-76CY4STF.js → chunk-7G65JBTN.js} +34 -66
- package/dist/chunks/{chunk-GMIGQ5VP.mjs → chunk-ADO7PDLY.mjs} +15 -35
- package/dist/chunks/{chunk-ZINDMFOI.js → chunk-AFSEYJZT.js} +24 -32
- package/dist/chunks/chunk-B5O6W3Z4.mjs +73 -0
- package/dist/chunks/{chunk-6FHK6CBR.js → chunk-B6G5TJRO.js} +7 -8
- package/dist/chunks/chunk-BBLBTOP4.js +205 -0
- package/dist/chunks/{chunk-5XVEYVYA.js → chunk-BLGQHR3M.js} +5 -8
- package/dist/chunks/{chunk-LVTD2UQN.mjs → chunk-BPUQ2CO2.mjs} +2 -2
- package/dist/chunks/{chunk-AWBGWBFS.js → chunk-BSZ2LN6E.js} +21 -27
- package/dist/chunks/chunk-C2DSAJTL.js +109 -0
- package/dist/chunks/{chunk-KWPIEHD2.mjs → chunk-CA3SOLI3.mjs} +1 -1
- package/dist/chunks/{chunk-MPKRXMCJ.js → chunk-CSJDDREF.js} +7 -10
- package/dist/chunks/chunk-CUTMLBC3.mjs +86 -0
- package/dist/chunks/chunk-CV4GMFWP.js +174 -0
- package/dist/chunks/{chunk-SXLMI7CZ.mjs → chunk-CWMLTXOH.mjs} +162 -234
- package/dist/chunks/chunk-CZC76ZD5.js +10 -0
- package/dist/chunks/chunk-DICN6GKE.js +99 -0
- package/dist/chunks/{chunk-TLTEUIBY.js → chunk-DLFV7ZZV.js} +4 -4
- package/dist/chunks/chunk-DO6VK2QQ.mjs +108 -0
- package/dist/chunks/chunk-DYPPVXQF.js +143 -0
- package/dist/chunks/{chunk-GQP7IXH2.mjs → chunk-ECVAVQUY.mjs} +23 -31
- package/dist/chunks/{chunk-3CHRUKSJ.mjs → chunk-EHAUUUWB.mjs} +3 -3
- package/dist/chunks/chunk-EJY7IVSK.mjs +31 -0
- package/dist/chunks/{chunk-G4XJG7XI.js → chunk-EVOOTSY5.js} +3 -10
- package/dist/chunks/chunk-FUIBYZZ4.mjs +98 -0
- package/dist/chunks/{chunk-VH5FF6DZ.mjs → chunk-GX6GSWX3.mjs} +7 -7
- package/dist/chunks/chunk-H2G5FMRN.mjs +75 -0
- package/dist/chunks/chunk-H2V7RHYV.mjs +120 -0
- package/dist/chunks/{chunk-DDMZSNTG.js → chunk-HFBTS42N.js} +168 -240
- package/dist/chunks/{chunk-OGUTGD4J.mjs → chunk-HNLI646G.mjs} +71 -39
- package/dist/chunks/{chunk-C6H2UNOX.js → chunk-IE4DGLMH.js} +13 -21
- package/dist/chunks/{chunk-U76LT5GE.js → chunk-IOSIQLZL.js} +2 -2
- package/dist/chunks/{chunk-ZCMKIB5U.js → chunk-J5ZKGPBY.js} +33 -41
- package/dist/chunks/{chunk-JUZHWKGS.mjs → chunk-K2TBLM3F.mjs} +6 -12
- package/dist/chunks/chunk-KZ7S5VN2.js +7 -0
- package/dist/chunks/{chunk-FHPHDK3O.mjs → chunk-LI7SFBUQ.mjs} +4 -4
- package/dist/chunks/{chunk-7OEK2KX3.mjs → chunk-LMMON5AU.mjs} +4 -4
- package/dist/chunks/{chunk-6DZVNFVY.js → chunk-LOQXCHKL.js} +4 -12
- package/dist/chunks/{chunk-377KBJQG.js → chunk-MA2VCCIY.js} +19 -22
- package/dist/chunks/chunk-MCKOWMLS.mjs +8 -0
- package/dist/chunks/chunk-MMCA33FW.mjs +85 -0
- package/dist/chunks/{chunk-TR5JBBEA.mjs → chunk-MRRKW5QN.mjs} +31 -39
- package/dist/chunks/{chunk-76K6KXCT.js → chunk-NFIPQZ4O.js} +1 -1
- package/dist/chunks/chunk-NZHK76R3.js +109 -0
- package/dist/chunks/{chunk-I7YJB2F5.js → chunk-OMN5YQCE.js} +3 -3
- package/dist/chunks/{chunk-B7UU3FSS.mjs → chunk-P2T72N62.mjs} +4 -7
- package/dist/chunks/chunk-P3DZKXG4.js +116 -0
- package/dist/chunks/chunk-P73MEU7N.mjs +150 -0
- package/dist/chunks/chunk-PDJTSQOC.js +59 -0
- package/dist/chunks/{chunk-RXVYL4AU.js → chunk-PEIEVKD5.js} +7 -13
- package/dist/chunks/chunk-PI464222.mjs +5 -0
- package/dist/chunks/{chunk-IJG7J2VU.mjs → chunk-QZ4QR3XV.mjs} +30 -36
- package/dist/chunks/{chunk-6NTASYZO.js → chunk-RS3SBY3I.js} +61 -30
- package/dist/chunks/{chunk-AKIBUO5A.mjs → chunk-RX5UKRYK.mjs} +19 -26
- package/dist/chunks/chunk-S2GMEC43.js +109 -0
- package/dist/chunks/{chunk-WJ2OVQD3.mjs → chunk-SGNRVYYQ.mjs} +19 -25
- package/dist/chunks/{chunk-IB5UCYQY.mjs → chunk-SJMCPSVH.mjs} +15 -5
- package/dist/chunks/chunk-UKRU46PH.mjs +182 -0
- package/dist/chunks/{chunk-WNFJ4NJN.mjs → chunk-ULGYTBCT.mjs} +3 -11
- package/dist/chunks/{chunk-TXYYBJBQ.js → chunk-VGO4Z2WH.js} +73 -41
- package/dist/chunks/{chunk-LBKBCI2K.mjs → chunk-VIGRCJAE.mjs} +3 -10
- package/dist/chunks/chunk-VVXQZ4XH.mjs +93 -0
- package/dist/chunks/{chunk-Z7OKV6NW.mjs → chunk-W4GG5A7K.mjs} +12 -20
- package/dist/chunks/chunk-WGGBE4ZD.mjs +201 -0
- package/dist/chunks/{chunk-WSWD5ZUJ.js → chunk-WKCXACMZ.js} +20 -27
- package/dist/chunks/{chunk-GSLIY6WW.js → chunk-X2SHTVZQ.js} +17 -37
- package/dist/chunks/chunk-X3CTJ7TD.js +108 -0
- package/dist/chunks/{chunk-U6KOUYWX.mjs → chunk-XG6QG65W.mjs} +7 -10
- package/dist/chunks/chunk-XGIJZ3NZ.js +160 -0
- package/dist/chunks/chunk-YB5ZKHVB.js +64 -0
- package/dist/chunks/{chunk-Q7H6LCNN.js → chunk-YCG4FZC3.js} +23 -25
- package/dist/chunks/{chunk-JZ3PWHKS.mjs → chunk-YLO4UKSC.mjs} +18 -21
- package/dist/chunks/chunk-YO5MSDPX.mjs +36 -0
- package/dist/chunks/{chunk-Q2TMXHPK.js → chunk-YZV6FWE7.js} +25 -43
- package/dist/chunks/chunk-ZI4LN2B2.js +96 -0
- package/dist/chunks/chunk-ZU4AWAFT.mjs +137 -0
- package/dist/chunks/chunk-ZWSIIGA3.mjs +58 -0
- package/dist/countdown.js +4 -4
- package/dist/countdown.mjs +2 -2
- package/dist/counter.js +2 -2
- package/dist/counter.mjs +1 -1
- package/dist/data-list.js +5 -5
- package/dist/data-list.mjs +4 -4
- package/dist/date-picker.d.mts +17 -0
- package/dist/date-picker.d.ts +17 -0
- package/dist/date-picker.js +12 -0
- package/dist/date-picker.mjs +3 -0
- package/dist/divider.js +4 -4
- package/dist/divider.mjs +2 -2
- package/dist/drawer.d.mts +1 -1
- package/dist/drawer.d.ts +1 -1
- package/dist/drawer.js +11 -11
- package/dist/drawer.mjs +2 -2
- package/dist/dropdown-menu.d.mts +30 -0
- package/dist/dropdown-menu.d.ts +30 -0
- package/dist/dropdown-menu.js +32 -0
- package/dist/dropdown-menu.mjs +3 -0
- package/dist/ellipsis.js +3 -3
- package/dist/ellipsis.mjs +2 -2
- package/dist/empty-state.d.mts +16 -0
- package/dist/empty-state.d.ts +16 -0
- package/dist/empty-state.js +16 -0
- package/dist/empty-state.mjs +3 -0
- package/dist/error-boundary.d.mts +1 -1
- package/dist/error-boundary.d.ts +1 -1
- package/dist/error-boundary.js +2 -2
- package/dist/error-boundary.mjs +1 -1
- package/dist/index.d.mts +15 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +322 -200
- package/dist/index.mjs +49 -35
- package/dist/infinite-scroll.js +3 -3
- package/dist/infinite-scroll.mjs +2 -2
- package/dist/marquee.js +3 -3
- package/dist/marquee.mjs +2 -2
- package/dist/modal/index.js +13 -13
- package/dist/modal/index.mjs +4 -4
- package/dist/number-input.d.mts +1 -1
- package/dist/number-input.d.ts +1 -1
- package/dist/number-input.js +5 -5
- package/dist/number-input.mjs +2 -2
- package/dist/nx-image.d.mts +13 -0
- package/dist/nx-image.d.ts +13 -0
- package/dist/nx-image.js +12 -0
- package/dist/nx-image.mjs +3 -0
- package/dist/pagination.d.mts +1 -0
- package/dist/pagination.d.ts +1 -0
- package/dist/pagination.js +5 -5
- package/dist/pagination.mjs +2 -2
- package/dist/popover.d.mts +1 -1
- package/dist/popover.d.ts +1 -1
- package/dist/popover.js +8 -8
- package/dist/popover.mjs +2 -2
- package/dist/price-input.d.mts +36 -0
- package/dist/price-input.d.ts +36 -0
- package/dist/price-input.js +16 -0
- package/dist/price-input.mjs +3 -0
- package/dist/progress.d.mts +18 -0
- package/dist/progress.d.ts +18 -0
- package/dist/progress.js +16 -0
- package/dist/progress.mjs +3 -0
- package/dist/radio-group.js +6 -6
- package/dist/radio-group.mjs +2 -2
- package/dist/schemas/_all.json +2356 -404
- package/dist/schemas/accordion.json +14 -11
- package/dist/schemas/alert.json +49 -0
- package/dist/schemas/avatar.json +13 -7
- package/dist/schemas/badge.json +76 -0
- package/dist/schemas/breadcrumb.json +47 -0
- package/dist/schemas/button.json +27 -9
- package/dist/schemas/carousel.json +10 -4
- package/dist/schemas/carouselButton.json +20 -0
- package/dist/schemas/carouselDots.json +17 -0
- package/dist/schemas/carouselSlide.json +20 -0
- package/dist/schemas/checkBox.json +33 -8
- package/dist/schemas/chip.json +15 -6
- package/dist/schemas/clientOnly.json +19 -0
- package/dist/schemas/countdown.json +10 -7
- package/dist/schemas/counter.json +15 -9
- package/dist/schemas/dataList.json +10 -10
- package/dist/schemas/datePicker.json +56 -0
- package/dist/schemas/divider.json +8 -5
- package/dist/schemas/drawer.json +24 -2
- package/dist/schemas/drawerClose.json +24 -0
- package/dist/schemas/drawerContent.json +9 -6
- package/dist/schemas/drawerDescription.json +20 -0
- package/dist/schemas/drawerTitle.json +20 -0
- package/dist/schemas/drawerTrigger.json +24 -0
- package/dist/schemas/dropdownMenu.json +83 -0
- package/dist/schemas/ellipsis.json +17 -7
- package/dist/schemas/emptyState.json +44 -0
- package/dist/schemas/errorBoundary.json +22 -0
- package/dist/schemas/infiniteScroll.json +18 -9
- package/dist/schemas/marquee.json +12 -6
- package/dist/schemas/modalCall.json +81 -3
- package/dist/schemas/modalTemplate.json +67 -14
- package/dist/schemas/numberInput.json +42 -12
- package/dist/schemas/nxImage.json +56 -0
- package/dist/schemas/pagination.json +13 -6
- package/dist/schemas/popover.json +18 -9
- package/dist/schemas/priceInput.json +104 -0
- package/dist/schemas/progress.json +63 -0
- package/dist/schemas/radioGroup.json +19 -9
- package/dist/schemas/radioItem.json +12 -5
- package/dist/schemas/select.json +15 -9
- package/dist/schemas/selectItem.json +7 -4
- package/dist/schemas/skeleton.json +12 -6
- package/dist/schemas/slider.json +78 -0
- package/dist/schemas/spinner.json +11 -4
- package/dist/schemas/stepper.json +73 -0
- package/dist/schemas/switch.json +23 -5
- package/dist/schemas/tab.json +17 -14
- package/dist/schemas/table.json +75 -0
- package/dist/schemas/tableRow.json +32 -0
- package/dist/schemas/tagInput.json +70 -0
- package/dist/schemas/tdColumn.json +107 -0
- package/dist/schemas/textArea.json +72 -7
- package/dist/schemas/textInput.json +72 -10
- package/dist/schemas/themeProvider.json +65 -0
- package/dist/schemas/toastOptions.json +81 -0
- package/dist/schemas/toaster.json +76 -0
- package/dist/schemas/toggleGroup.json +88 -0
- package/dist/schemas/tooltip.json +12 -9
- package/dist/schemas/virtualGrid.json +22 -11
- package/dist/schemas/virtualList.json +14 -8
- package/dist/schemas.d.mts +1360 -81
- package/dist/schemas.d.ts +1360 -81
- package/dist/schemas.js +725 -273
- package/dist/schemas.mjs +698 -273
- package/dist/select.js +6 -6
- package/dist/select.mjs +2 -2
- package/dist/skeleton.js +3 -3
- package/dist/skeleton.mjs +2 -2
- package/dist/slider.d.mts +20 -0
- package/dist/slider.d.ts +20 -0
- package/dist/slider.js +16 -0
- package/dist/slider.mjs +3 -0
- package/dist/spinner.js +3 -3
- package/dist/spinner.mjs +2 -2
- package/dist/stepper.d.mts +20 -0
- package/dist/stepper.d.ts +20 -0
- package/dist/stepper.js +16 -0
- package/dist/stepper.mjs +3 -0
- package/dist/styles/layer.d.mts +3 -0
- package/dist/styles/layer.d.ts +3 -0
- package/dist/styles/layer.js +18 -0
- package/dist/styles/layer.mjs +16 -0
- package/dist/styles.css +3872 -2
- package/dist/styles.js +2 -5
- package/dist/styles.layered.css +3875 -0
- package/dist/styles.mjs +1 -4
- package/dist/switch.js +4 -4
- package/dist/switch.mjs +2 -2
- package/dist/tab.js +5 -5
- package/dist/tab.mjs +2 -2
- package/dist/table.d.mts +2 -2
- package/dist/table.d.ts +2 -2
- package/dist/table.js +9 -9
- package/dist/table.mjs +3 -3
- package/dist/tag-input.d.mts +21 -0
- package/dist/tag-input.d.ts +21 -0
- package/dist/tag-input.js +16 -0
- package/dist/tag-input.mjs +3 -0
- package/dist/text-area.d.mts +5 -1
- package/dist/text-area.d.ts +5 -1
- package/dist/text-area.js +4 -4
- package/dist/text-area.mjs +2 -2
- package/dist/text-input.d.mts +5 -1
- package/dist/text-input.d.ts +5 -1
- package/dist/text-input.js +4 -4
- package/dist/text-input.mjs +2 -2
- package/dist/toast.js +5 -5
- package/dist/toast.mjs +2 -2
- package/dist/toggle-group.d.mts +36 -0
- package/dist/toggle-group.d.ts +36 -0
- package/dist/toggle-group.js +16 -0
- package/dist/toggle-group.mjs +3 -0
- package/dist/tooltip.js +5 -5
- package/dist/tooltip.mjs +2 -2
- package/dist/utils/cn.d.mts +0 -10
- package/dist/utils/cn.d.ts +0 -10
- package/dist/utils/cn.js +2 -2
- package/dist/utils/cn.mjs +1 -1
- package/dist/virtual-scroll.js +4 -4
- package/dist/virtual-scroll.mjs +2 -2
- package/package.json +90 -17
- package/scripts/setup-cursor-rules.cjs +6 -6
- package/dist/chunks/chunk-7MT3QYE6.js +0 -92
- package/dist/chunks/chunk-FA2OPP3U.mjs +0 -140
- package/dist/chunks/chunk-FKZI2HTI.js +0 -104
- package/dist/chunks/chunk-NCQDOPBR.mjs +0 -86
- package/dist/chunks/chunk-NTN55ZIX.mjs +0 -113
- package/dist/chunks/chunk-Q7GQVAYY.js +0 -88
- package/dist/chunks/chunk-QJNQCLMV.js +0 -25
- package/dist/chunks/chunk-UDQXLI5Y.mjs +0 -81
- package/dist/chunks/chunk-UR6JOKVB.mjs +0 -65
- package/dist/chunks/chunk-WVIEIRK2.js +0 -136
- package/dist/chunks/chunk-XALPBGSC.mjs +0 -23
- package/dist/schemas/typography.json +0 -70
- package/dist/typography.d.mts +0 -19
- package/dist/typography.d.ts +0 -19
- package/dist/typography.js +0 -102
- package/dist/typography.mjs +0 -79
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/tablePropsSchema",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"tablePropsSchema": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"list": {
|
|
8
|
+
"anyOf": [
|
|
9
|
+
{
|
|
10
|
+
"type": "array"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"type": "null"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"description": "Data array. null/undefined = loading state (required)"
|
|
17
|
+
},
|
|
18
|
+
"children": {
|
|
19
|
+
"description": "Row render function ({ item, index }) => ReactNode (required)"
|
|
20
|
+
},
|
|
21
|
+
"hideThead": {
|
|
22
|
+
"type": "boolean",
|
|
23
|
+
"description": "Hide table header"
|
|
24
|
+
},
|
|
25
|
+
"loading": {
|
|
26
|
+
"type": "boolean",
|
|
27
|
+
"description": "Force loading state"
|
|
28
|
+
},
|
|
29
|
+
"loadingType": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"enum": [
|
|
32
|
+
"loading",
|
|
33
|
+
"skeleton"
|
|
34
|
+
],
|
|
35
|
+
"default": "skeleton",
|
|
36
|
+
"description": "Loading display type"
|
|
37
|
+
},
|
|
38
|
+
"loadingElement": {
|
|
39
|
+
"description": "Custom loading element (ReactElement)"
|
|
40
|
+
},
|
|
41
|
+
"skeletonCount": {
|
|
42
|
+
"type": "number",
|
|
43
|
+
"default": 10,
|
|
44
|
+
"description": "Skeleton row count"
|
|
45
|
+
},
|
|
46
|
+
"noDataMsg": {
|
|
47
|
+
"description": "No data message (ReactElement | string)"
|
|
48
|
+
},
|
|
49
|
+
"notification": {
|
|
50
|
+
"description": "Table top notification area (ReactNode)"
|
|
51
|
+
},
|
|
52
|
+
"sortUpElement": {
|
|
53
|
+
"description": "Ascending sort icon (ReactElement)"
|
|
54
|
+
},
|
|
55
|
+
"sortDownElement": {
|
|
56
|
+
"description": "Descending sort icon (ReactElement)"
|
|
57
|
+
},
|
|
58
|
+
"className": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"description": "Table wrapper style"
|
|
61
|
+
},
|
|
62
|
+
"theadClassName": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"description": "Header row style"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"required": [
|
|
68
|
+
"list"
|
|
69
|
+
],
|
|
70
|
+
"additionalProperties": false,
|
|
71
|
+
"description": "Table. Column definitions via TdColumn, row wrapping via TableRow. Built-in sorting/skeleton loading."
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
75
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/tableRowPropsSchema",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"tableRowPropsSchema": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"variant": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": [
|
|
10
|
+
"default",
|
|
11
|
+
"accent"
|
|
12
|
+
],
|
|
13
|
+
"default": "default",
|
|
14
|
+
"description": "Row style"
|
|
15
|
+
},
|
|
16
|
+
"className": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "Style override"
|
|
19
|
+
},
|
|
20
|
+
"children": {
|
|
21
|
+
"description": "TdColumn list (ReactNode, required)"
|
|
22
|
+
},
|
|
23
|
+
"onClick": {
|
|
24
|
+
"description": "Row click callback (e: MouseEvent) => void"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"additionalProperties": false,
|
|
28
|
+
"description": "Table row. Used inside Table."
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
32
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/tagInputPropsSchema",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"tagInputPropsSchema": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"value": {
|
|
8
|
+
"type": "array",
|
|
9
|
+
"items": {
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"description": "Controlled tags array"
|
|
13
|
+
},
|
|
14
|
+
"defaultValue": {
|
|
15
|
+
"type": "array",
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"description": "Default tags"
|
|
20
|
+
},
|
|
21
|
+
"onChange": {
|
|
22
|
+
"description": "Tags change callback (tags: string[]) => void"
|
|
23
|
+
},
|
|
24
|
+
"placeholder": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"default": "태그 입력 후 Enter",
|
|
27
|
+
"description": "Input placeholder"
|
|
28
|
+
},
|
|
29
|
+
"max": {
|
|
30
|
+
"type": "number",
|
|
31
|
+
"description": "Maximum number of tags"
|
|
32
|
+
},
|
|
33
|
+
"disabled": {
|
|
34
|
+
"type": "boolean",
|
|
35
|
+
"description": "Disabled"
|
|
36
|
+
},
|
|
37
|
+
"allowDuplicates": {
|
|
38
|
+
"type": "boolean",
|
|
39
|
+
"default": false,
|
|
40
|
+
"description": "Allow duplicate tags"
|
|
41
|
+
},
|
|
42
|
+
"label": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"description": "Label text"
|
|
45
|
+
},
|
|
46
|
+
"description": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"description": "Helper text below input"
|
|
49
|
+
},
|
|
50
|
+
"size": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"enum": [
|
|
53
|
+
"sm",
|
|
54
|
+
"md",
|
|
55
|
+
"lg"
|
|
56
|
+
],
|
|
57
|
+
"default": "md",
|
|
58
|
+
"description": "Size"
|
|
59
|
+
},
|
|
60
|
+
"className": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"description": "Style override"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"additionalProperties": false,
|
|
66
|
+
"description": "Tag input. Enter key to add, Backspace to delete last tag."
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
70
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/tdColumnPropsSchema",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"tdColumnPropsSchema": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"label": {
|
|
8
|
+
"description": "Header label (ReactElement | string)"
|
|
9
|
+
},
|
|
10
|
+
"fieldId": {
|
|
11
|
+
"type": [
|
|
12
|
+
"string",
|
|
13
|
+
"null"
|
|
14
|
+
],
|
|
15
|
+
"description": "Column identifier (sort key, required)"
|
|
16
|
+
},
|
|
17
|
+
"size": {
|
|
18
|
+
"type": [
|
|
19
|
+
"number",
|
|
20
|
+
"string"
|
|
21
|
+
],
|
|
22
|
+
"description": "Column width (number → px, string → CSS value)"
|
|
23
|
+
},
|
|
24
|
+
"align": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"enum": [
|
|
27
|
+
"left",
|
|
28
|
+
"center",
|
|
29
|
+
"right"
|
|
30
|
+
],
|
|
31
|
+
"default": "left",
|
|
32
|
+
"description": "Text alignment"
|
|
33
|
+
},
|
|
34
|
+
"textOverflow": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"enum": [
|
|
37
|
+
"auto",
|
|
38
|
+
"truncate",
|
|
39
|
+
"wrap",
|
|
40
|
+
"break-all"
|
|
41
|
+
],
|
|
42
|
+
"default": "truncate",
|
|
43
|
+
"description": "Text overflow handling"
|
|
44
|
+
},
|
|
45
|
+
"highlightKey": {
|
|
46
|
+
"type": [
|
|
47
|
+
"string",
|
|
48
|
+
"null"
|
|
49
|
+
],
|
|
50
|
+
"description": "Hover highlight group key"
|
|
51
|
+
},
|
|
52
|
+
"colSpan": {
|
|
53
|
+
"type": "number",
|
|
54
|
+
"description": "Column span"
|
|
55
|
+
},
|
|
56
|
+
"rowSpan": {
|
|
57
|
+
"type": "number",
|
|
58
|
+
"description": "Row span"
|
|
59
|
+
},
|
|
60
|
+
"thColSpan": {
|
|
61
|
+
"type": "number",
|
|
62
|
+
"description": "Header colSpan (<th>)"
|
|
63
|
+
},
|
|
64
|
+
"thRowSpan": {
|
|
65
|
+
"type": "number",
|
|
66
|
+
"description": "Header rowSpan (<th>)"
|
|
67
|
+
},
|
|
68
|
+
"enableSorting": {
|
|
69
|
+
"type": "boolean",
|
|
70
|
+
"description": "Enable sorting"
|
|
71
|
+
},
|
|
72
|
+
"order": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"enum": [
|
|
75
|
+
"desc",
|
|
76
|
+
"asc",
|
|
77
|
+
""
|
|
78
|
+
],
|
|
79
|
+
"description": "Current sort direction"
|
|
80
|
+
},
|
|
81
|
+
"sortValue": {
|
|
82
|
+
"type": [
|
|
83
|
+
"string",
|
|
84
|
+
"number"
|
|
85
|
+
],
|
|
86
|
+
"description": "Sort criterion value"
|
|
87
|
+
},
|
|
88
|
+
"handleClickSort": {
|
|
89
|
+
"description": "Sort click callback ({ index, fieldId, order }) => void"
|
|
90
|
+
},
|
|
91
|
+
"children": {
|
|
92
|
+
"description": "Cell content (ReactNode, required)"
|
|
93
|
+
},
|
|
94
|
+
"className": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"description": "Style override"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"required": [
|
|
100
|
+
"fieldId"
|
|
101
|
+
],
|
|
102
|
+
"additionalProperties": false,
|
|
103
|
+
"description": "Table cell/column definition. Used inside TableRow."
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
107
|
+
}
|
|
@@ -4,33 +4,98 @@
|
|
|
4
4
|
"textAreaPropsSchema": {
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
|
+
"label": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Label text above the textarea"
|
|
10
|
+
},
|
|
11
|
+
"description": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "Helper/error description below the textarea"
|
|
14
|
+
},
|
|
15
|
+
"size": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"enum": [
|
|
18
|
+
"lg",
|
|
19
|
+
"md"
|
|
20
|
+
],
|
|
21
|
+
"description": "Font size variant (lg: 16px, md: 14px)"
|
|
22
|
+
},
|
|
23
|
+
"resize": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"enum": [
|
|
26
|
+
"default",
|
|
27
|
+
"auto",
|
|
28
|
+
"none"
|
|
29
|
+
],
|
|
30
|
+
"description": "Resize mode (default: manual, auto: auto-grow, none: fixed)"
|
|
31
|
+
},
|
|
7
32
|
"error": {
|
|
8
33
|
"type": "boolean",
|
|
9
|
-
"description": "
|
|
34
|
+
"description": "Error state (auto aria-invalid)"
|
|
10
35
|
},
|
|
11
36
|
"showCount": {
|
|
12
37
|
"type": "boolean",
|
|
13
|
-
"description": "
|
|
38
|
+
"description": "Show character count (requires maxLength)"
|
|
14
39
|
},
|
|
15
40
|
"maxLength": {
|
|
16
41
|
"type": "number",
|
|
17
|
-
"description": "
|
|
42
|
+
"description": "Maximum character count"
|
|
18
43
|
},
|
|
19
44
|
"placeholder": {
|
|
20
45
|
"type": "string",
|
|
21
|
-
"description": "
|
|
46
|
+
"description": "Placeholder"
|
|
22
47
|
},
|
|
23
48
|
"rows": {
|
|
24
49
|
"type": "number",
|
|
25
|
-
"description": "
|
|
50
|
+
"description": "Visible row count"
|
|
51
|
+
},
|
|
52
|
+
"disabled": {
|
|
53
|
+
"type": "boolean",
|
|
54
|
+
"description": "Disabled"
|
|
55
|
+
},
|
|
56
|
+
"readOnly": {
|
|
57
|
+
"type": "boolean",
|
|
58
|
+
"description": "Read-only"
|
|
59
|
+
},
|
|
60
|
+
"value": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"description": "Input value (controlled mode)"
|
|
63
|
+
},
|
|
64
|
+
"defaultValue": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"description": "Initial value (uncontrolled mode)"
|
|
67
|
+
},
|
|
68
|
+
"name": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"description": "Form field name"
|
|
71
|
+
},
|
|
72
|
+
"id": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"description": "Element ID"
|
|
75
|
+
},
|
|
76
|
+
"autoFocus": {
|
|
77
|
+
"type": "boolean",
|
|
78
|
+
"description": "Auto focus"
|
|
79
|
+
},
|
|
80
|
+
"onValueChange": {
|
|
81
|
+
"description": "Value change callback (value: string) => void"
|
|
82
|
+
},
|
|
83
|
+
"onChange": {
|
|
84
|
+
"description": "Native change event handler"
|
|
85
|
+
},
|
|
86
|
+
"onBlur": {
|
|
87
|
+
"description": "Blur callback"
|
|
88
|
+
},
|
|
89
|
+
"onFocus": {
|
|
90
|
+
"description": "Focus callback"
|
|
26
91
|
},
|
|
27
92
|
"className": {
|
|
28
93
|
"type": "string",
|
|
29
|
-
"description": "
|
|
94
|
+
"description": "Style override"
|
|
30
95
|
}
|
|
31
96
|
},
|
|
32
97
|
"additionalProperties": false,
|
|
33
|
-
"description": "
|
|
98
|
+
"description": "Multi-line text input with label, description, character counter, and resize modes."
|
|
34
99
|
}
|
|
35
100
|
},
|
|
36
101
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -7,38 +7,100 @@
|
|
|
7
7
|
"size": {
|
|
8
8
|
"type": "string",
|
|
9
9
|
"enum": [
|
|
10
|
-
"sm",
|
|
11
10
|
"md",
|
|
12
|
-
"lg"
|
|
11
|
+
"lg",
|
|
12
|
+
"xl"
|
|
13
13
|
],
|
|
14
14
|
"default": "md",
|
|
15
|
-
"description": "
|
|
15
|
+
"description": "Size"
|
|
16
16
|
},
|
|
17
17
|
"error": {
|
|
18
18
|
"type": "boolean",
|
|
19
|
-
"description": "
|
|
19
|
+
"description": "Error state (auto aria-invalid)"
|
|
20
20
|
},
|
|
21
21
|
"prefixIcon": {
|
|
22
|
-
"description": "
|
|
22
|
+
"description": "Prefix icon (ReactNode)"
|
|
23
23
|
},
|
|
24
24
|
"suffixIcon": {
|
|
25
|
-
"description": "
|
|
25
|
+
"description": "Suffix icon (ReactNode)"
|
|
26
|
+
},
|
|
27
|
+
"label": {
|
|
28
|
+
"description": "Label above input field (ReactNode)"
|
|
29
|
+
},
|
|
30
|
+
"description": {
|
|
31
|
+
"description": "Description below input field (ReactNode, red on error)"
|
|
32
|
+
},
|
|
33
|
+
"showCount": {
|
|
34
|
+
"type": "boolean",
|
|
35
|
+
"description": "Show character count (requires maxLength)"
|
|
36
|
+
},
|
|
37
|
+
"maxLength": {
|
|
38
|
+
"type": "number",
|
|
39
|
+
"description": "Maximum character count"
|
|
40
|
+
},
|
|
41
|
+
"clearable": {
|
|
42
|
+
"type": "boolean",
|
|
43
|
+
"description": "Clear input via X button"
|
|
26
44
|
},
|
|
27
45
|
"placeholder": {
|
|
28
46
|
"type": "string",
|
|
29
|
-
"description": "
|
|
47
|
+
"description": "Placeholder"
|
|
30
48
|
},
|
|
31
49
|
"disabled": {
|
|
32
50
|
"type": "boolean",
|
|
33
|
-
"description": "
|
|
51
|
+
"description": "Disabled"
|
|
52
|
+
},
|
|
53
|
+
"readOnly": {
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"description": "Read-only"
|
|
56
|
+
},
|
|
57
|
+
"value": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"description": "Input value (controlled mode)"
|
|
60
|
+
},
|
|
61
|
+
"defaultValue": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "Initial value (uncontrolled mode)"
|
|
64
|
+
},
|
|
65
|
+
"type": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"description": "Input type (text, password, email, url, etc.)"
|
|
68
|
+
},
|
|
69
|
+
"name": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"description": "Form field name"
|
|
72
|
+
},
|
|
73
|
+
"id": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"description": "Element ID (for label htmlFor binding)"
|
|
76
|
+
},
|
|
77
|
+
"autoFocus": {
|
|
78
|
+
"type": "boolean",
|
|
79
|
+
"description": "Auto focus"
|
|
80
|
+
},
|
|
81
|
+
"autoComplete": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"description": "Autocomplete hint (on, off, email, etc.)"
|
|
84
|
+
},
|
|
85
|
+
"onValueChange": {
|
|
86
|
+
"description": "Value change callback (value: string) => void"
|
|
87
|
+
},
|
|
88
|
+
"onChange": {
|
|
89
|
+
"description": "Native change event handler"
|
|
90
|
+
},
|
|
91
|
+
"onBlur": {
|
|
92
|
+
"description": "Blur callback"
|
|
93
|
+
},
|
|
94
|
+
"onFocus": {
|
|
95
|
+
"description": "Focus callback"
|
|
34
96
|
},
|
|
35
97
|
"className": {
|
|
36
98
|
"type": "string",
|
|
37
|
-
"description": "
|
|
99
|
+
"description": "Style override"
|
|
38
100
|
}
|
|
39
101
|
},
|
|
40
102
|
"additionalProperties": false,
|
|
41
|
-
"description": "
|
|
103
|
+
"description": "Text input field. Supports label, description, prefix/suffix icons, clearable, character counter."
|
|
42
104
|
}
|
|
43
105
|
},
|
|
44
106
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/themeProviderPropsSchema",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"themeProviderPropsSchema": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"children": {
|
|
8
|
+
"description": "App root element (ReactNode, required)"
|
|
9
|
+
},
|
|
10
|
+
"defaultTheme": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"description": "Default theme (e.g. \"dark\", \"light\")"
|
|
13
|
+
},
|
|
14
|
+
"storageKey": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "localStorage storage key (default: \"theme\")"
|
|
17
|
+
},
|
|
18
|
+
"themes": {
|
|
19
|
+
"type": "array",
|
|
20
|
+
"items": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"description": "Available theme list (default: [\"light\", \"dark\"])"
|
|
24
|
+
},
|
|
25
|
+
"attribute": {
|
|
26
|
+
"anyOf": [
|
|
27
|
+
{
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"type": "array",
|
|
32
|
+
"items": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"description": "Theme HTML attribute (default: \"data-theme\")"
|
|
38
|
+
},
|
|
39
|
+
"enableSystem": {
|
|
40
|
+
"type": "boolean",
|
|
41
|
+
"description": "Enable system theme detection"
|
|
42
|
+
},
|
|
43
|
+
"disableTransitionOnChange": {
|
|
44
|
+
"type": "boolean",
|
|
45
|
+
"description": "Disable transitions on theme change"
|
|
46
|
+
},
|
|
47
|
+
"forcedTheme": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"description": "Forced theme (user cannot change)"
|
|
50
|
+
},
|
|
51
|
+
"enableColorScheme": {
|
|
52
|
+
"type": "boolean",
|
|
53
|
+
"description": "Auto-set color-scheme CSS property"
|
|
54
|
+
},
|
|
55
|
+
"nonce": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"description": "CSP nonce"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"additionalProperties": false,
|
|
61
|
+
"description": "Theme provider. Based on next-themes. Access theme state via useTheme() hook."
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
65
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/toastOptionsSchema",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"toastOptionsSchema": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"description": {
|
|
8
|
+
"description": "Toast subtitle (ReactNode)"
|
|
9
|
+
},
|
|
10
|
+
"duration": {
|
|
11
|
+
"type": "number",
|
|
12
|
+
"description": "Auto-dismiss duration (ms). Default 4000"
|
|
13
|
+
},
|
|
14
|
+
"icon": {
|
|
15
|
+
"description": "Custom icon (ReactNode)"
|
|
16
|
+
},
|
|
17
|
+
"action": {
|
|
18
|
+
"description": "Action button. { label: ReactNode, onClick: () => void }"
|
|
19
|
+
},
|
|
20
|
+
"cancel": {
|
|
21
|
+
"description": "Cancel button. { label: ReactNode, onClick: () => void }"
|
|
22
|
+
},
|
|
23
|
+
"closeButton": {
|
|
24
|
+
"type": "boolean",
|
|
25
|
+
"description": "Show close (X) button"
|
|
26
|
+
},
|
|
27
|
+
"dismissible": {
|
|
28
|
+
"type": "boolean",
|
|
29
|
+
"description": "Allow dismiss via swipe/click"
|
|
30
|
+
},
|
|
31
|
+
"richColors": {
|
|
32
|
+
"type": "boolean",
|
|
33
|
+
"description": "Apply strong colors for success/error/warning/info"
|
|
34
|
+
},
|
|
35
|
+
"invert": {
|
|
36
|
+
"type": "boolean",
|
|
37
|
+
"description": "Invert colors (dark↔light)"
|
|
38
|
+
},
|
|
39
|
+
"position": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"enum": [
|
|
42
|
+
"top-left",
|
|
43
|
+
"top-center",
|
|
44
|
+
"top-right",
|
|
45
|
+
"bottom-left",
|
|
46
|
+
"bottom-center",
|
|
47
|
+
"bottom-right"
|
|
48
|
+
],
|
|
49
|
+
"description": "Individual position for this toast"
|
|
50
|
+
},
|
|
51
|
+
"onDismiss": {
|
|
52
|
+
"description": "Dismiss callback (toast: ToastT) => void"
|
|
53
|
+
},
|
|
54
|
+
"onAutoClose": {
|
|
55
|
+
"description": "Auto-close callback (toast: ToastT) => void"
|
|
56
|
+
},
|
|
57
|
+
"className": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"description": "Toast custom class"
|
|
60
|
+
},
|
|
61
|
+
"style": {
|
|
62
|
+
"description": "Toast inline style (CSSProperties)"
|
|
63
|
+
},
|
|
64
|
+
"unstyled": {
|
|
65
|
+
"type": "boolean",
|
|
66
|
+
"description": "Remove default styles (for custom styling)"
|
|
67
|
+
},
|
|
68
|
+
"id": {
|
|
69
|
+
"type": [
|
|
70
|
+
"string",
|
|
71
|
+
"number"
|
|
72
|
+
],
|
|
73
|
+
"description": "Toast ID (for deduplication or updates)"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"additionalProperties": false,
|
|
77
|
+
"description": "toast() call options. Used as toast(message, options). Fully customizable via toast.custom(jsx)."
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
81
|
+
}
|