@exem-ui/react 0.1.0 → 0.2.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/LICENSE +190 -0
- package/README.en.md +142 -0
- package/README.md +156 -18
- package/dist/index.d.mts +1166 -37
- package/dist/index.d.ts +1166 -37
- package/dist/index.js +3055 -130
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3016 -27
- package/dist/index.mjs.map +1 -1
- package/package.json +24 -143
- package/dist/Button-CMenVfb7.d.mts +0 -35
- package/dist/Button-CMenVfb7.d.ts +0 -35
- package/dist/Select-DMvWV_rF.d.mts +0 -94
- package/dist/Select-DMvWV_rF.d.ts +0 -94
- package/dist/avatar/index.d.mts +0 -37
- package/dist/avatar/index.d.ts +0 -37
- package/dist/avatar/index.js +0 -13
- package/dist/avatar/index.js.map +0 -1
- package/dist/avatar/index.mjs +0 -4
- package/dist/avatar/index.mjs.map +0 -1
- package/dist/badge/index.d.mts +0 -29
- package/dist/badge/index.d.ts +0 -29
- package/dist/badge/index.js +0 -12
- package/dist/badge/index.js.map +0 -1
- package/dist/badge/index.mjs +0 -3
- package/dist/badge/index.mjs.map +0 -1
- package/dist/breadcrumb/index.d.mts +0 -43
- package/dist/breadcrumb/index.d.ts +0 -43
- package/dist/breadcrumb/index.js +0 -13
- package/dist/breadcrumb/index.js.map +0 -1
- package/dist/breadcrumb/index.mjs +0 -4
- package/dist/breadcrumb/index.mjs.map +0 -1
- package/dist/button/index.d.mts +0 -9
- package/dist/button/index.d.ts +0 -9
- package/dist/button/index.js +0 -29
- package/dist/button/index.js.map +0 -1
- package/dist/button/index.mjs +0 -12
- package/dist/button/index.mjs.map +0 -1
- package/dist/checkbox/index.d.mts +0 -54
- package/dist/checkbox/index.d.ts +0 -54
- package/dist/checkbox/index.js +0 -13
- package/dist/checkbox/index.js.map +0 -1
- package/dist/checkbox/index.mjs +0 -4
- package/dist/checkbox/index.mjs.map +0 -1
- package/dist/chunk-34QIGWCT.mjs +0 -10
- package/dist/chunk-34QIGWCT.mjs.map +0 -1
- package/dist/chunk-3FPMWAQT.js +0 -30
- package/dist/chunk-3FPMWAQT.js.map +0 -1
- package/dist/chunk-3HMT3DQV.js +0 -104
- package/dist/chunk-3HMT3DQV.js.map +0 -1
- package/dist/chunk-4WAO7CUT.mjs +0 -95
- package/dist/chunk-4WAO7CUT.mjs.map +0 -1
- package/dist/chunk-5QX4TO4F.js +0 -61
- package/dist/chunk-5QX4TO4F.js.map +0 -1
- package/dist/chunk-5TEFN2CW.js +0 -97
- package/dist/chunk-5TEFN2CW.js.map +0 -1
- package/dist/chunk-5TES5PG6.js +0 -41
- package/dist/chunk-5TES5PG6.js.map +0 -1
- package/dist/chunk-5TVMECVF.js +0 -148
- package/dist/chunk-5TVMECVF.js.map +0 -1
- package/dist/chunk-5WGNZX7Z.mjs +0 -27
- package/dist/chunk-5WGNZX7Z.mjs.map +0 -1
- package/dist/chunk-AQ3OIM2T.js +0 -103
- package/dist/chunk-AQ3OIM2T.js.map +0 -1
- package/dist/chunk-AU5NTBK3.js +0 -361
- package/dist/chunk-AU5NTBK3.js.map +0 -1
- package/dist/chunk-DJHGCJR4.mjs +0 -224
- package/dist/chunk-DJHGCJR4.mjs.map +0 -1
- package/dist/chunk-DPUTW5KD.mjs +0 -74
- package/dist/chunk-DPUTW5KD.mjs.map +0 -1
- package/dist/chunk-E53FHDVN.mjs +0 -336
- package/dist/chunk-E53FHDVN.mjs.map +0 -1
- package/dist/chunk-ECRQD7UU.js +0 -82
- package/dist/chunk-ECRQD7UU.js.map +0 -1
- package/dist/chunk-FB4ESGOX.mjs +0 -59
- package/dist/chunk-FB4ESGOX.mjs.map +0 -1
- package/dist/chunk-FDX4IQK5.js +0 -76
- package/dist/chunk-FDX4IQK5.js.map +0 -1
- package/dist/chunk-FOMIUDRM.js +0 -96
- package/dist/chunk-FOMIUDRM.js.map +0 -1
- package/dist/chunk-FR5F3VTU.js +0 -139
- package/dist/chunk-FR5F3VTU.js.map +0 -1
- package/dist/chunk-GW53LH3I.mjs +0 -81
- package/dist/chunk-GW53LH3I.mjs.map +0 -1
- package/dist/chunk-GXMRIT5E.mjs +0 -94
- package/dist/chunk-GXMRIT5E.mjs.map +0 -1
- package/dist/chunk-IANSI7F7.mjs +0 -393
- package/dist/chunk-IANSI7F7.mjs.map +0 -1
- package/dist/chunk-IDM6MZHF.js +0 -415
- package/dist/chunk-IDM6MZHF.js.map +0 -1
- package/dist/chunk-J5ZYQ3TP.js +0 -104
- package/dist/chunk-J5ZYQ3TP.js.map +0 -1
- package/dist/chunk-KPAUBWZA.mjs +0 -39
- package/dist/chunk-KPAUBWZA.mjs.map +0 -1
- package/dist/chunk-L7P2NDST.mjs +0 -124
- package/dist/chunk-L7P2NDST.mjs.map +0 -1
- package/dist/chunk-M6OWN7QH.js +0 -118
- package/dist/chunk-M6OWN7QH.js.map +0 -1
- package/dist/chunk-MQVHREEI.js +0 -448
- package/dist/chunk-MQVHREEI.js.map +0 -1
- package/dist/chunk-MT47ECUN.js +0 -127
- package/dist/chunk-MT47ECUN.js.map +0 -1
- package/dist/chunk-N6U54JI4.mjs +0 -126
- package/dist/chunk-N6U54JI4.mjs.map +0 -1
- package/dist/chunk-NDG4LR3Q.js +0 -139
- package/dist/chunk-NDG4LR3Q.js.map +0 -1
- package/dist/chunk-PPD4BU4W.mjs +0 -80
- package/dist/chunk-PPD4BU4W.mjs.map +0 -1
- package/dist/chunk-PU5NO5EZ.js +0 -4
- package/dist/chunk-PU5NO5EZ.js.map +0 -1
- package/dist/chunk-Q442ZDTI.mjs +0 -117
- package/dist/chunk-Q442ZDTI.mjs.map +0 -1
- package/dist/chunk-QH23RO3C.mjs +0 -137
- package/dist/chunk-QH23RO3C.mjs.map +0 -1
- package/dist/chunk-REBHUF4L.js +0 -226
- package/dist/chunk-REBHUF4L.js.map +0 -1
- package/dist/chunk-RGB3QLQT.js +0 -275
- package/dist/chunk-RGB3QLQT.js.map +0 -1
- package/dist/chunk-T7U2QRLC.js +0 -94
- package/dist/chunk-T7U2QRLC.js.map +0 -1
- package/dist/chunk-TEHHJ3CS.mjs +0 -73
- package/dist/chunk-TEHHJ3CS.mjs.map +0 -1
- package/dist/chunk-TJY4MIBC.js +0 -117
- package/dist/chunk-TJY4MIBC.js.map +0 -1
- package/dist/chunk-VCMZQOQM.mjs +0 -102
- package/dist/chunk-VCMZQOQM.mjs.map +0 -1
- package/dist/chunk-VKN4H4WI.mjs +0 -3
- package/dist/chunk-VKN4H4WI.mjs.map +0 -1
- package/dist/chunk-VSB25XTY.js +0 -12
- package/dist/chunk-VSB25XTY.js.map +0 -1
- package/dist/chunk-VWTE74UT.mjs +0 -96
- package/dist/chunk-VWTE74UT.mjs.map +0 -1
- package/dist/chunk-WBTL7PBV.js +0 -105
- package/dist/chunk-WBTL7PBV.js.map +0 -1
- package/dist/chunk-WOK3EP3O.js +0 -83
- package/dist/chunk-WOK3EP3O.js.map +0 -1
- package/dist/chunk-WWT73GGM.mjs +0 -83
- package/dist/chunk-WWT73GGM.mjs.map +0 -1
- package/dist/chunk-XBDXTRK3.mjs +0 -102
- package/dist/chunk-XBDXTRK3.mjs.map +0 -1
- package/dist/chunk-YGBEKZWU.mjs +0 -81
- package/dist/chunk-YGBEKZWU.mjs.map +0 -1
- package/dist/chunk-YVFLRPFV.mjs +0 -72
- package/dist/chunk-YVFLRPFV.mjs.map +0 -1
- package/dist/chunk-ZMVBIQ2Z.mjs +0 -253
- package/dist/chunk-ZMVBIQ2Z.mjs.map +0 -1
- package/dist/chunk-ZWCMSHDP.mjs +0 -425
- package/dist/chunk-ZWCMSHDP.mjs.map +0 -1
- package/dist/flat/index.d.mts +0 -13
- package/dist/flat/index.d.ts +0 -13
- package/dist/flat/index.js +0 -31
- package/dist/flat/index.js.map +0 -1
- package/dist/flat/index.mjs +0 -10
- package/dist/flat/index.mjs.map +0 -1
- package/dist/flat/segment.d.mts +0 -39
- package/dist/flat/segment.d.ts +0 -39
- package/dist/flat/segment.js +0 -13
- package/dist/flat/segment.js.map +0 -1
- package/dist/flat/segment.mjs +0 -4
- package/dist/flat/segment.mjs.map +0 -1
- package/dist/flat/select.d.mts +0 -58
- package/dist/flat/select.d.ts +0 -58
- package/dist/flat/select.js +0 -14
- package/dist/flat/select.js.map +0 -1
- package/dist/flat/select.mjs +0 -5
- package/dist/flat/select.mjs.map +0 -1
- package/dist/flat/tooltip.d.mts +0 -98
- package/dist/flat/tooltip.d.ts +0 -98
- package/dist/flat/tooltip.js +0 -17
- package/dist/flat/tooltip.js.map +0 -1
- package/dist/flat/tooltip.mjs +0 -4
- package/dist/flat/tooltip.mjs.map +0 -1
- package/dist/index-CXip5Wb1.d.mts +0 -62
- package/dist/index-Drz3P-6Y.d.ts +0 -62
- package/dist/input/index.d.mts +0 -82
- package/dist/input/index.d.ts +0 -82
- package/dist/input/index.js +0 -22
- package/dist/input/index.js.map +0 -1
- package/dist/input/index.mjs +0 -5
- package/dist/input/index.mjs.map +0 -1
- package/dist/loading/index.d.mts +0 -54
- package/dist/loading/index.d.ts +0 -54
- package/dist/loading/index.js +0 -12
- package/dist/loading/index.js.map +0 -1
- package/dist/loading/index.mjs +0 -3
- package/dist/loading/index.mjs.map +0 -1
- package/dist/messageBox/index.d.mts +0 -33
- package/dist/messageBox/index.d.ts +0 -33
- package/dist/messageBox/index.js +0 -13
- package/dist/messageBox/index.js.map +0 -1
- package/dist/messageBox/index.mjs +0 -4
- package/dist/messageBox/index.mjs.map +0 -1
- package/dist/modal/index.d.mts +0 -97
- package/dist/modal/index.d.ts +0 -97
- package/dist/modal/index.js +0 -15
- package/dist/modal/index.js.map +0 -1
- package/dist/modal/index.mjs +0 -6
- package/dist/modal/index.mjs.map +0 -1
- package/dist/picker/index.d.mts +0 -12
- package/dist/picker/index.d.ts +0 -12
- package/dist/picker/index.js +0 -13
- package/dist/picker/index.js.map +0 -1
- package/dist/picker/index.mjs +0 -4
- package/dist/picker/index.mjs.map +0 -1
- package/dist/progress/index.d.mts +0 -36
- package/dist/progress/index.d.ts +0 -36
- package/dist/progress/index.js +0 -12
- package/dist/progress/index.js.map +0 -1
- package/dist/progress/index.mjs +0 -3
- package/dist/progress/index.mjs.map +0 -1
- package/dist/radio/index.d.mts +0 -39
- package/dist/radio/index.d.ts +0 -39
- package/dist/radio/index.js +0 -12
- package/dist/radio/index.js.map +0 -1
- package/dist/radio/index.mjs +0 -3
- package/dist/radio/index.mjs.map +0 -1
- package/dist/scrollArea/index.d.mts +0 -31
- package/dist/scrollArea/index.d.ts +0 -31
- package/dist/scrollArea/index.js +0 -16
- package/dist/scrollArea/index.js.map +0 -1
- package/dist/scrollArea/index.mjs +0 -3
- package/dist/scrollArea/index.mjs.map +0 -1
- package/dist/segment/index.d.mts +0 -46
- package/dist/segment/index.d.ts +0 -46
- package/dist/segment/index.js +0 -12
- package/dist/segment/index.js.map +0 -1
- package/dist/segment/index.mjs +0 -3
- package/dist/segment/index.mjs.map +0 -1
- package/dist/star/index.d.mts +0 -30
- package/dist/star/index.d.ts +0 -30
- package/dist/star/index.js +0 -12
- package/dist/star/index.js.map +0 -1
- package/dist/star/index.mjs +0 -3
- package/dist/star/index.mjs.map +0 -1
- package/dist/switch/index.d.mts +0 -32
- package/dist/switch/index.d.ts +0 -32
- package/dist/switch/index.js +0 -12
- package/dist/switch/index.js.map +0 -1
- package/dist/switch/index.mjs +0 -3
- package/dist/switch/index.mjs.map +0 -1
- package/dist/tabs/index.d.mts +0 -52
- package/dist/tabs/index.d.ts +0 -52
- package/dist/tabs/index.js +0 -12
- package/dist/tabs/index.js.map +0 -1
- package/dist/tabs/index.mjs +0 -3
- package/dist/tabs/index.mjs.map +0 -1
- package/dist/tag/index.d.mts +0 -68
- package/dist/tag/index.d.ts +0 -68
- package/dist/tag/index.js +0 -17
- package/dist/tag/index.js.map +0 -1
- package/dist/tag/index.mjs +0 -4
- package/dist/tag/index.mjs.map +0 -1
- package/dist/toast/index.d.mts +0 -175
- package/dist/toast/index.d.ts +0 -175
- package/dist/toast/index.js +0 -25
- package/dist/toast/index.js.map +0 -1
- package/dist/toast/index.mjs +0 -4
- package/dist/toast/index.mjs.map +0 -1
- package/dist/tooltip/index.d.mts +0 -26
- package/dist/tooltip/index.d.ts +0 -26
- package/dist/tooltip/index.js +0 -12
- package/dist/tooltip/index.js.map +0 -1
- package/dist/tooltip/index.mjs +0 -3
- package/dist/tooltip/index.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exem-ui/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "EXEM Design System - React Components",
|
|
5
5
|
"author": "EXEM Design Team",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -13,134 +13,16 @@
|
|
|
13
13
|
"import": "./dist/index.mjs",
|
|
14
14
|
"require": "./dist/index.js"
|
|
15
15
|
},
|
|
16
|
-
"./avatar": {
|
|
17
|
-
"types": "./dist/avatar/index.d.ts",
|
|
18
|
-
"import": "./dist/avatar/index.mjs",
|
|
19
|
-
"require": "./dist/avatar/index.js"
|
|
20
|
-
},
|
|
21
|
-
"./badge": {
|
|
22
|
-
"types": "./dist/badge/index.d.ts",
|
|
23
|
-
"import": "./dist/badge/index.mjs",
|
|
24
|
-
"require": "./dist/badge/index.js"
|
|
25
|
-
},
|
|
26
|
-
"./breadcrumb": {
|
|
27
|
-
"types": "./dist/breadcrumb/index.d.ts",
|
|
28
|
-
"import": "./dist/breadcrumb/index.mjs",
|
|
29
|
-
"require": "./dist/breadcrumb/index.js"
|
|
30
|
-
},
|
|
31
|
-
"./button": {
|
|
32
|
-
"types": "./dist/button/index.d.ts",
|
|
33
|
-
"import": "./dist/button/index.mjs",
|
|
34
|
-
"require": "./dist/button/index.js"
|
|
35
|
-
},
|
|
36
|
-
"./checkbox": {
|
|
37
|
-
"types": "./dist/checkbox/index.d.ts",
|
|
38
|
-
"import": "./dist/checkbox/index.mjs",
|
|
39
|
-
"require": "./dist/checkbox/index.js"
|
|
40
|
-
},
|
|
41
|
-
"./flat": {
|
|
42
|
-
"types": "./dist/flat/index.d.ts",
|
|
43
|
-
"import": "./dist/flat/index.mjs",
|
|
44
|
-
"require": "./dist/flat/index.js"
|
|
45
|
-
},
|
|
46
|
-
"./flat/select": {
|
|
47
|
-
"types": "./dist/flat/select.d.ts",
|
|
48
|
-
"import": "./dist/flat/select.mjs",
|
|
49
|
-
"require": "./dist/flat/select.js"
|
|
50
|
-
},
|
|
51
|
-
"./flat/segment": {
|
|
52
|
-
"types": "./dist/flat/segment.d.ts",
|
|
53
|
-
"import": "./dist/flat/segment.mjs",
|
|
54
|
-
"require": "./dist/flat/segment.js"
|
|
55
|
-
},
|
|
56
|
-
"./flat/tooltip": {
|
|
57
|
-
"types": "./dist/flat/tooltip.d.ts",
|
|
58
|
-
"import": "./dist/flat/tooltip.mjs",
|
|
59
|
-
"require": "./dist/flat/tooltip.js"
|
|
60
|
-
},
|
|
61
16
|
"./icon": {
|
|
62
17
|
"types": "./dist/icon/index.d.ts",
|
|
63
18
|
"import": "./dist/icon/index.mjs",
|
|
64
19
|
"require": "./dist/icon/index.js"
|
|
65
20
|
},
|
|
66
|
-
"./input": {
|
|
67
|
-
"types": "./dist/input/index.d.ts",
|
|
68
|
-
"import": "./dist/input/index.mjs",
|
|
69
|
-
"require": "./dist/input/index.js"
|
|
70
|
-
},
|
|
71
|
-
"./loading": {
|
|
72
|
-
"types": "./dist/loading/index.d.ts",
|
|
73
|
-
"import": "./dist/loading/index.mjs",
|
|
74
|
-
"require": "./dist/loading/index.js"
|
|
75
|
-
},
|
|
76
|
-
"./picker": {
|
|
77
|
-
"types": "./dist/picker/index.d.ts",
|
|
78
|
-
"import": "./dist/picker/index.mjs",
|
|
79
|
-
"require": "./dist/picker/index.js"
|
|
80
|
-
},
|
|
81
|
-
"./messageBox": {
|
|
82
|
-
"types": "./dist/messageBox/index.d.ts",
|
|
83
|
-
"import": "./dist/messageBox/index.mjs",
|
|
84
|
-
"require": "./dist/messageBox/index.js"
|
|
85
|
-
},
|
|
86
|
-
"./modal": {
|
|
87
|
-
"types": "./dist/modal/index.d.ts",
|
|
88
|
-
"import": "./dist/modal/index.mjs",
|
|
89
|
-
"require": "./dist/modal/index.js"
|
|
90
|
-
},
|
|
91
|
-
"./radio": {
|
|
92
|
-
"types": "./dist/radio/index.d.ts",
|
|
93
|
-
"import": "./dist/radio/index.mjs",
|
|
94
|
-
"require": "./dist/radio/index.js"
|
|
95
|
-
},
|
|
96
|
-
"./scrollArea": {
|
|
97
|
-
"types": "./dist/scrollArea/index.d.ts",
|
|
98
|
-
"import": "./dist/scrollArea/index.mjs",
|
|
99
|
-
"require": "./dist/scrollArea/index.js"
|
|
100
|
-
},
|
|
101
|
-
"./segment": {
|
|
102
|
-
"types": "./dist/segment/index.d.ts",
|
|
103
|
-
"import": "./dist/segment/index.mjs",
|
|
104
|
-
"require": "./dist/segment/index.js"
|
|
105
|
-
},
|
|
106
|
-
"./star": {
|
|
107
|
-
"types": "./dist/star/index.d.ts",
|
|
108
|
-
"import": "./dist/star/index.mjs",
|
|
109
|
-
"require": "./dist/star/index.js"
|
|
110
|
-
},
|
|
111
|
-
"./switch": {
|
|
112
|
-
"types": "./dist/switch/index.d.ts",
|
|
113
|
-
"import": "./dist/switch/index.mjs",
|
|
114
|
-
"require": "./dist/switch/index.js"
|
|
115
|
-
},
|
|
116
|
-
"./tabs": {
|
|
117
|
-
"types": "./dist/tabs/index.d.ts",
|
|
118
|
-
"import": "./dist/tabs/index.mjs",
|
|
119
|
-
"require": "./dist/tabs/index.js"
|
|
120
|
-
},
|
|
121
|
-
"./tag": {
|
|
122
|
-
"types": "./dist/tag/index.d.ts",
|
|
123
|
-
"import": "./dist/tag/index.mjs",
|
|
124
|
-
"require": "./dist/tag/index.js"
|
|
125
|
-
},
|
|
126
|
-
"./toast": {
|
|
127
|
-
"types": "./dist/toast/index.d.ts",
|
|
128
|
-
"import": "./dist/toast/index.mjs",
|
|
129
|
-
"require": "./dist/toast/index.js"
|
|
130
|
-
},
|
|
131
|
-
"./tooltip": {
|
|
132
|
-
"types": "./dist/tooltip/index.d.ts",
|
|
133
|
-
"import": "./dist/tooltip/index.mjs",
|
|
134
|
-
"require": "./dist/tooltip/index.js"
|
|
135
|
-
},
|
|
136
|
-
"./progress": {
|
|
137
|
-
"types": "./dist/progress/index.d.ts",
|
|
138
|
-
"import": "./dist/progress/index.mjs",
|
|
139
|
-
"require": "./dist/progress/index.js"
|
|
140
|
-
},
|
|
141
21
|
"./styles": "./styles.css"
|
|
142
22
|
},
|
|
143
|
-
"sideEffects": [
|
|
23
|
+
"sideEffects": [
|
|
24
|
+
"styles.css"
|
|
25
|
+
],
|
|
144
26
|
"files": [
|
|
145
27
|
"dist",
|
|
146
28
|
"styles.css"
|
|
@@ -148,22 +30,6 @@
|
|
|
148
30
|
"publishConfig": {
|
|
149
31
|
"access": "public"
|
|
150
32
|
},
|
|
151
|
-
"scripts": {
|
|
152
|
-
"generate": "node scripts/generate-icons.js",
|
|
153
|
-
"prebuild": "pnpm generate",
|
|
154
|
-
"build": "tsup",
|
|
155
|
-
"dev": "pnpm generate && tsup --watch",
|
|
156
|
-
"pretypecheck": "pnpm generate",
|
|
157
|
-
"typecheck": "tsc --noEmit",
|
|
158
|
-
"test": "vitest run",
|
|
159
|
-
"test:watch": "vitest watch",
|
|
160
|
-
"test:coverage": "vitest run --coverage",
|
|
161
|
-
"test:ui": "vitest --ui",
|
|
162
|
-
"lint": "biome check src",
|
|
163
|
-
"lint:fix": "biome check --write src",
|
|
164
|
-
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
|
|
165
|
-
"prepublishOnly": "pnpm generate && pnpm build"
|
|
166
|
-
},
|
|
167
33
|
"keywords": [
|
|
168
34
|
"react",
|
|
169
35
|
"components",
|
|
@@ -191,7 +57,6 @@
|
|
|
191
57
|
"@dnd-kit/core": "^6.3.1",
|
|
192
58
|
"@dnd-kit/sortable": "^10.0.0",
|
|
193
59
|
"@dnd-kit/utilities": "^3.2.2",
|
|
194
|
-
"@exem-ui/core": "workspace:*",
|
|
195
60
|
"@radix-ui/react-checkbox": "^1.2.3",
|
|
196
61
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
197
62
|
"@radix-ui/react-radio-group": "^1.2.3",
|
|
@@ -210,11 +75,11 @@
|
|
|
210
75
|
"sonner": "^2.0.7",
|
|
211
76
|
"tailwind-merge": "^3.3.1",
|
|
212
77
|
"tailwind-scrollbar-hide": "^4.0.0",
|
|
213
|
-
"tiny-invariant": "^1.3.3"
|
|
78
|
+
"tiny-invariant": "^1.3.3",
|
|
79
|
+
"@exem-ui/core": "0.2.0"
|
|
214
80
|
},
|
|
215
81
|
"devDependencies": {
|
|
216
82
|
"@eslint/js": "^9.15.0",
|
|
217
|
-
"@exem-ui/tailwindcss3": "workspace:*",
|
|
218
83
|
"@svgr/core": "^8.1.0",
|
|
219
84
|
"@svgr/plugin-jsx": "^8.1.0",
|
|
220
85
|
"@types/lodash-es": "^4.17.12",
|
|
@@ -244,6 +109,22 @@
|
|
|
244
109
|
"tailwindcss-animate": "^1.0.7",
|
|
245
110
|
"tsup": "^8.5.0",
|
|
246
111
|
"typescript": "^5.8.2",
|
|
247
|
-
"typescript-eslint": "^8.16.0"
|
|
112
|
+
"typescript-eslint": "^8.16.0",
|
|
113
|
+
"@exem-ui/tailwindcss3": "0.2.0"
|
|
114
|
+
},
|
|
115
|
+
"scripts": {
|
|
116
|
+
"generate": "node scripts/generate-icons.js",
|
|
117
|
+
"prebuild": "pnpm generate",
|
|
118
|
+
"build": "tsup",
|
|
119
|
+
"dev": "pnpm generate && tsup --watch",
|
|
120
|
+
"pretypecheck": "pnpm generate",
|
|
121
|
+
"typecheck": "tsc --noEmit",
|
|
122
|
+
"test": "vitest run",
|
|
123
|
+
"test:watch": "vitest watch",
|
|
124
|
+
"test:coverage": "vitest run --coverage",
|
|
125
|
+
"test:ui": "vitest --ui",
|
|
126
|
+
"lint": "biome check src",
|
|
127
|
+
"lint:fix": "biome check --write src",
|
|
128
|
+
"format": "prettier --write \"src/**/*.{ts,tsx}\""
|
|
248
129
|
}
|
|
249
|
-
}
|
|
130
|
+
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import { VariantProps } from '@exem-ui/core/utils';
|
|
3
|
-
import React__default from 'react';
|
|
4
|
-
|
|
5
|
-
type ButtonColorVariantCombination = {
|
|
6
|
-
color?: 'primary';
|
|
7
|
-
variant?: 'contained' | 'outlined' | 'invisible';
|
|
8
|
-
} | {
|
|
9
|
-
color?: 'accent';
|
|
10
|
-
variant?: 'contained' | 'outlined' | 'invisible';
|
|
11
|
-
} | {
|
|
12
|
-
color?: 'critical';
|
|
13
|
-
variant?: 'contained' | 'outlined' | 'invisible';
|
|
14
|
-
} | {
|
|
15
|
-
color?: 'assistive';
|
|
16
|
-
variant?: 'contained';
|
|
17
|
-
} | {
|
|
18
|
-
color?: 'inverse';
|
|
19
|
-
variant?: 'contained';
|
|
20
|
-
};
|
|
21
|
-
type ButtonProps = React__default.ButtonHTMLAttributes<HTMLButtonElement> & Omit<VariantProps<typeof buttonVariants>, 'variant' | 'color'> & ButtonColorVariantCombination & {
|
|
22
|
-
size?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
23
|
-
icon?: React__default.ReactElement<{
|
|
24
|
-
className?: string;
|
|
25
|
-
}>;
|
|
26
|
-
};
|
|
27
|
-
type ButtonComponent = React__default.ForwardRefExoticComponent<ButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
28
|
-
declare const buttonVariants: (props?: ({
|
|
29
|
-
color?: "accent" | "primary" | "critical" | "assistive" | "inverse" | null | undefined;
|
|
30
|
-
size?: "small" | "xsmall" | "medium" | "large" | "xlarge" | null | undefined;
|
|
31
|
-
variant?: "contained" | "outlined" | "invisible" | null | undefined;
|
|
32
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
33
|
-
declare const Button: ButtonComponent;
|
|
34
|
-
|
|
35
|
-
export { Button as B, type ButtonComponent as a, type ButtonProps as b };
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import { VariantProps } from '@exem-ui/core/utils';
|
|
3
|
-
import React__default from 'react';
|
|
4
|
-
|
|
5
|
-
type ButtonColorVariantCombination = {
|
|
6
|
-
color?: 'primary';
|
|
7
|
-
variant?: 'contained' | 'outlined' | 'invisible';
|
|
8
|
-
} | {
|
|
9
|
-
color?: 'accent';
|
|
10
|
-
variant?: 'contained' | 'outlined' | 'invisible';
|
|
11
|
-
} | {
|
|
12
|
-
color?: 'critical';
|
|
13
|
-
variant?: 'contained' | 'outlined' | 'invisible';
|
|
14
|
-
} | {
|
|
15
|
-
color?: 'assistive';
|
|
16
|
-
variant?: 'contained';
|
|
17
|
-
} | {
|
|
18
|
-
color?: 'inverse';
|
|
19
|
-
variant?: 'contained';
|
|
20
|
-
};
|
|
21
|
-
type ButtonProps = React__default.ButtonHTMLAttributes<HTMLButtonElement> & Omit<VariantProps<typeof buttonVariants>, 'variant' | 'color'> & ButtonColorVariantCombination & {
|
|
22
|
-
size?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
23
|
-
icon?: React__default.ReactElement<{
|
|
24
|
-
className?: string;
|
|
25
|
-
}>;
|
|
26
|
-
};
|
|
27
|
-
type ButtonComponent = React__default.ForwardRefExoticComponent<ButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
28
|
-
declare const buttonVariants: (props?: ({
|
|
29
|
-
color?: "accent" | "primary" | "critical" | "assistive" | "inverse" | null | undefined;
|
|
30
|
-
size?: "small" | "xsmall" | "medium" | "large" | "xlarge" | null | undefined;
|
|
31
|
-
variant?: "contained" | "outlined" | "invisible" | null | undefined;
|
|
32
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
33
|
-
declare const Button: ButtonComponent;
|
|
34
|
-
|
|
35
|
-
export { Button as B, type ButtonComponent as a, type ButtonProps as b };
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
2
|
-
import * as React$1 from 'react';
|
|
3
|
-
|
|
4
|
-
type Size = 'xsmall' | 'small' | 'medium' | 'large';
|
|
5
|
-
type Variant = 'fill' | 'line';
|
|
6
|
-
type Icon = React.ReactElement<{
|
|
7
|
-
className?: string;
|
|
8
|
-
}>;
|
|
9
|
-
|
|
10
|
-
/** Select 라벨 Props */
|
|
11
|
-
type SelectLabelProps = {
|
|
12
|
-
children: React$1.ReactNode;
|
|
13
|
-
required?: boolean;
|
|
14
|
-
size?: Size;
|
|
15
|
-
className?: string;
|
|
16
|
-
};
|
|
17
|
-
/** Select 트리거 Props */
|
|
18
|
-
type SelectTriggerProps = {
|
|
19
|
-
children?: React$1.ReactNode;
|
|
20
|
-
/** 트리거 왼쪽에 표시할 아이콘 */
|
|
21
|
-
leftIcon?: Icon;
|
|
22
|
-
className?: string;
|
|
23
|
-
} & Omit<React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, 'children'>;
|
|
24
|
-
/** Select Box (Trigger + Value 조합) Props */
|
|
25
|
-
type SelectBoxProps = {
|
|
26
|
-
placeholder?: string;
|
|
27
|
-
/** 트리거 왼쪽에 표시할 아이콘 */
|
|
28
|
-
leftIcon?: Icon;
|
|
29
|
-
className?: string;
|
|
30
|
-
} & Omit<React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, 'children'>;
|
|
31
|
-
/** Select 아이템 Props */
|
|
32
|
-
type SelectItemProps = {
|
|
33
|
-
children?: React$1.ReactNode;
|
|
34
|
-
/** 아이템 왼쪽에 표시할 아이콘 */
|
|
35
|
-
leftIcon?: Icon;
|
|
36
|
-
/** 아이템 오른쪽에 표시할 아이콘 */
|
|
37
|
-
rightIcon?: Icon;
|
|
38
|
-
/** 왼쪽 아이콘 크기 */
|
|
39
|
-
leftIconSize?: Size;
|
|
40
|
-
/** 오른쪽 아이콘 크기 */
|
|
41
|
-
rightIconSize?: Size;
|
|
42
|
-
size?: Size;
|
|
43
|
-
className?: string;
|
|
44
|
-
} & Omit<React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>, 'children'>;
|
|
45
|
-
type SelectEmptyProps = {
|
|
46
|
-
children?: React$1.ReactNode;
|
|
47
|
-
className?: string;
|
|
48
|
-
};
|
|
49
|
-
type SelectDescriptionProps = {
|
|
50
|
-
children?: React$1.ReactNode;
|
|
51
|
-
size?: Size;
|
|
52
|
-
className?: string;
|
|
53
|
-
};
|
|
54
|
-
type SelectGroupProps = {
|
|
55
|
-
children: React$1.ReactNode;
|
|
56
|
-
size?: Size;
|
|
57
|
-
/** 셀렉트 그룹 스타일 변형 */
|
|
58
|
-
variant?: Variant;
|
|
59
|
-
/** 불투명 배경 (elevation-0) 사용 여부. 반투명 배경이 비쳐보이는 것을 방지합니다. */
|
|
60
|
-
hasBackground?: boolean;
|
|
61
|
-
className?: string;
|
|
62
|
-
};
|
|
63
|
-
/** Select 루트 Props */
|
|
64
|
-
type SelectRootProps = {
|
|
65
|
-
children?: React$1.ReactNode;
|
|
66
|
-
/** 셀렉트 크기 */
|
|
67
|
-
size?: Size;
|
|
68
|
-
/** 셀렉트 스타일 변형 */
|
|
69
|
-
variant?: Variant;
|
|
70
|
-
/** 에러 상태 */
|
|
71
|
-
error?: boolean;
|
|
72
|
-
/** 포커스 상태 (line variant에서만 적용) */
|
|
73
|
-
focus?: boolean;
|
|
74
|
-
/** 활성화 상태 (필터 적용 등 내부 상태가 활성화됨을 표시) */
|
|
75
|
-
active?: boolean;
|
|
76
|
-
/** 비활성화 상태 */
|
|
77
|
-
disabled?: boolean;
|
|
78
|
-
className?: string;
|
|
79
|
-
} & Omit<React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Root>, 'disabled' | 'children'>;
|
|
80
|
-
type SelectListProps = Omit<React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>, 'position'>;
|
|
81
|
-
type SelectComponent = React$1.ForwardRefExoticComponent<SelectRootProps & React$1.RefAttributes<HTMLDivElement>> & {
|
|
82
|
-
Label: React$1.ForwardRefExoticComponent<SelectLabelProps & React$1.RefAttributes<HTMLLabelElement>>;
|
|
83
|
-
Trigger: React$1.ForwardRefExoticComponent<SelectTriggerProps & React$1.RefAttributes<React$1.ComponentRef<typeof SelectPrimitive.Trigger>>>;
|
|
84
|
-
Box: React$1.ForwardRefExoticComponent<SelectBoxProps & React$1.RefAttributes<React$1.ComponentRef<typeof SelectPrimitive.Trigger>>>;
|
|
85
|
-
Value: React$1.ForwardRefExoticComponent<React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Value> & React$1.RefAttributes<React$1.ComponentRef<typeof SelectPrimitive.Value>>>;
|
|
86
|
-
List: React$1.ForwardRefExoticComponent<SelectListProps & React$1.RefAttributes<React$1.ComponentRef<typeof SelectPrimitive.Content>>>;
|
|
87
|
-
Item: React$1.ForwardRefExoticComponent<SelectItemProps & React$1.RefAttributes<React$1.ComponentRef<typeof SelectPrimitive.Item>>>;
|
|
88
|
-
Empty: React$1.ForwardRefExoticComponent<SelectEmptyProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
89
|
-
Description: React$1.ForwardRefExoticComponent<SelectDescriptionProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
90
|
-
Group: React$1.ForwardRefExoticComponent<SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
91
|
-
};
|
|
92
|
-
declare const Select: SelectComponent;
|
|
93
|
-
|
|
94
|
-
export { type Icon as I, Select as S, type Variant as V, type SelectBoxProps as a, type SelectComponent as b, type SelectDescriptionProps as c, type SelectEmptyProps as d, type SelectGroupProps as e, type SelectItemProps as f, type SelectLabelProps as g, type SelectListProps as h, type SelectRootProps as i, type SelectTriggerProps as j, type Size as k };
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
2
|
-
import * as React$1 from 'react';
|
|
3
|
-
|
|
4
|
-
type Size = 'xsmall' | 'small' | 'medium' | 'large';
|
|
5
|
-
type Variant = 'fill' | 'line';
|
|
6
|
-
type Icon = React.ReactElement<{
|
|
7
|
-
className?: string;
|
|
8
|
-
}>;
|
|
9
|
-
|
|
10
|
-
/** Select 라벨 Props */
|
|
11
|
-
type SelectLabelProps = {
|
|
12
|
-
children: React$1.ReactNode;
|
|
13
|
-
required?: boolean;
|
|
14
|
-
size?: Size;
|
|
15
|
-
className?: string;
|
|
16
|
-
};
|
|
17
|
-
/** Select 트리거 Props */
|
|
18
|
-
type SelectTriggerProps = {
|
|
19
|
-
children?: React$1.ReactNode;
|
|
20
|
-
/** 트리거 왼쪽에 표시할 아이콘 */
|
|
21
|
-
leftIcon?: Icon;
|
|
22
|
-
className?: string;
|
|
23
|
-
} & Omit<React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, 'children'>;
|
|
24
|
-
/** Select Box (Trigger + Value 조합) Props */
|
|
25
|
-
type SelectBoxProps = {
|
|
26
|
-
placeholder?: string;
|
|
27
|
-
/** 트리거 왼쪽에 표시할 아이콘 */
|
|
28
|
-
leftIcon?: Icon;
|
|
29
|
-
className?: string;
|
|
30
|
-
} & Omit<React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, 'children'>;
|
|
31
|
-
/** Select 아이템 Props */
|
|
32
|
-
type SelectItemProps = {
|
|
33
|
-
children?: React$1.ReactNode;
|
|
34
|
-
/** 아이템 왼쪽에 표시할 아이콘 */
|
|
35
|
-
leftIcon?: Icon;
|
|
36
|
-
/** 아이템 오른쪽에 표시할 아이콘 */
|
|
37
|
-
rightIcon?: Icon;
|
|
38
|
-
/** 왼쪽 아이콘 크기 */
|
|
39
|
-
leftIconSize?: Size;
|
|
40
|
-
/** 오른쪽 아이콘 크기 */
|
|
41
|
-
rightIconSize?: Size;
|
|
42
|
-
size?: Size;
|
|
43
|
-
className?: string;
|
|
44
|
-
} & Omit<React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>, 'children'>;
|
|
45
|
-
type SelectEmptyProps = {
|
|
46
|
-
children?: React$1.ReactNode;
|
|
47
|
-
className?: string;
|
|
48
|
-
};
|
|
49
|
-
type SelectDescriptionProps = {
|
|
50
|
-
children?: React$1.ReactNode;
|
|
51
|
-
size?: Size;
|
|
52
|
-
className?: string;
|
|
53
|
-
};
|
|
54
|
-
type SelectGroupProps = {
|
|
55
|
-
children: React$1.ReactNode;
|
|
56
|
-
size?: Size;
|
|
57
|
-
/** 셀렉트 그룹 스타일 변형 */
|
|
58
|
-
variant?: Variant;
|
|
59
|
-
/** 불투명 배경 (elevation-0) 사용 여부. 반투명 배경이 비쳐보이는 것을 방지합니다. */
|
|
60
|
-
hasBackground?: boolean;
|
|
61
|
-
className?: string;
|
|
62
|
-
};
|
|
63
|
-
/** Select 루트 Props */
|
|
64
|
-
type SelectRootProps = {
|
|
65
|
-
children?: React$1.ReactNode;
|
|
66
|
-
/** 셀렉트 크기 */
|
|
67
|
-
size?: Size;
|
|
68
|
-
/** 셀렉트 스타일 변형 */
|
|
69
|
-
variant?: Variant;
|
|
70
|
-
/** 에러 상태 */
|
|
71
|
-
error?: boolean;
|
|
72
|
-
/** 포커스 상태 (line variant에서만 적용) */
|
|
73
|
-
focus?: boolean;
|
|
74
|
-
/** 활성화 상태 (필터 적용 등 내부 상태가 활성화됨을 표시) */
|
|
75
|
-
active?: boolean;
|
|
76
|
-
/** 비활성화 상태 */
|
|
77
|
-
disabled?: boolean;
|
|
78
|
-
className?: string;
|
|
79
|
-
} & Omit<React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Root>, 'disabled' | 'children'>;
|
|
80
|
-
type SelectListProps = Omit<React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>, 'position'>;
|
|
81
|
-
type SelectComponent = React$1.ForwardRefExoticComponent<SelectRootProps & React$1.RefAttributes<HTMLDivElement>> & {
|
|
82
|
-
Label: React$1.ForwardRefExoticComponent<SelectLabelProps & React$1.RefAttributes<HTMLLabelElement>>;
|
|
83
|
-
Trigger: React$1.ForwardRefExoticComponent<SelectTriggerProps & React$1.RefAttributes<React$1.ComponentRef<typeof SelectPrimitive.Trigger>>>;
|
|
84
|
-
Box: React$1.ForwardRefExoticComponent<SelectBoxProps & React$1.RefAttributes<React$1.ComponentRef<typeof SelectPrimitive.Trigger>>>;
|
|
85
|
-
Value: React$1.ForwardRefExoticComponent<React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Value> & React$1.RefAttributes<React$1.ComponentRef<typeof SelectPrimitive.Value>>>;
|
|
86
|
-
List: React$1.ForwardRefExoticComponent<SelectListProps & React$1.RefAttributes<React$1.ComponentRef<typeof SelectPrimitive.Content>>>;
|
|
87
|
-
Item: React$1.ForwardRefExoticComponent<SelectItemProps & React$1.RefAttributes<React$1.ComponentRef<typeof SelectPrimitive.Item>>>;
|
|
88
|
-
Empty: React$1.ForwardRefExoticComponent<SelectEmptyProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
89
|
-
Description: React$1.ForwardRefExoticComponent<SelectDescriptionProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
90
|
-
Group: React$1.ForwardRefExoticComponent<SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
91
|
-
};
|
|
92
|
-
declare const Select: SelectComponent;
|
|
93
|
-
|
|
94
|
-
export { type Icon as I, Select as S, type Variant as V, type SelectBoxProps as a, type SelectComponent as b, type SelectDescriptionProps as c, type SelectEmptyProps as d, type SelectGroupProps as e, type SelectItemProps as f, type SelectLabelProps as g, type SelectListProps as h, type SelectRootProps as i, type SelectTriggerProps as j, type Size as k };
|
package/dist/avatar/index.d.mts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import { VariantProps } from '@exem-ui/core/utils';
|
|
3
|
-
import React__default from 'react';
|
|
4
|
-
|
|
5
|
-
interface AvatarProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof avatarVariants> {
|
|
6
|
-
/** 사용자 이름. 이미지가 없을 때 이니셜 폴백에 사용됩니다. */
|
|
7
|
-
name?: string;
|
|
8
|
-
/** 아바타 이미지 URL */
|
|
9
|
-
src?: string;
|
|
10
|
-
/** 이미지 대체 텍스트 */
|
|
11
|
-
alt?: string;
|
|
12
|
-
}
|
|
13
|
-
type AvatarComponent = React__default.ForwardRefExoticComponent<AvatarProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
14
|
-
declare const avatarVariants: (props?: ({
|
|
15
|
-
size?: "small" | "xsmall" | "medium" | "large" | null | undefined;
|
|
16
|
-
type?: "image" | "initial" | null | undefined;
|
|
17
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
18
|
-
/**
|
|
19
|
-
* 사용자 아바타를 표시하는 컴포넌트입니다. 이니셜, 이미지, 아이콘 폴백을 지원합니다.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```tsx
|
|
23
|
-
* // 이니셜 표시
|
|
24
|
-
* <Avatar name="홍길동" size="large" />
|
|
25
|
-
*
|
|
26
|
-
* // 이미지 표시
|
|
27
|
-
* <Avatar type="image" src="/avatar.png" name="홍길동" />
|
|
28
|
-
*
|
|
29
|
-
* // 이미지 없을 때 아이콘 폴백
|
|
30
|
-
* <Avatar type="image" name="홍길동" />
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @see {@link AvatarProps} props 상세
|
|
34
|
-
*/
|
|
35
|
-
declare const Avatar: AvatarComponent;
|
|
36
|
-
|
|
37
|
-
export { Avatar, type AvatarComponent, type AvatarProps };
|
package/dist/avatar/index.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import { VariantProps } from '@exem-ui/core/utils';
|
|
3
|
-
import React__default from 'react';
|
|
4
|
-
|
|
5
|
-
interface AvatarProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof avatarVariants> {
|
|
6
|
-
/** 사용자 이름. 이미지가 없을 때 이니셜 폴백에 사용됩니다. */
|
|
7
|
-
name?: string;
|
|
8
|
-
/** 아바타 이미지 URL */
|
|
9
|
-
src?: string;
|
|
10
|
-
/** 이미지 대체 텍스트 */
|
|
11
|
-
alt?: string;
|
|
12
|
-
}
|
|
13
|
-
type AvatarComponent = React__default.ForwardRefExoticComponent<AvatarProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
14
|
-
declare const avatarVariants: (props?: ({
|
|
15
|
-
size?: "small" | "xsmall" | "medium" | "large" | null | undefined;
|
|
16
|
-
type?: "image" | "initial" | null | undefined;
|
|
17
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
18
|
-
/**
|
|
19
|
-
* 사용자 아바타를 표시하는 컴포넌트입니다. 이니셜, 이미지, 아이콘 폴백을 지원합니다.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```tsx
|
|
23
|
-
* // 이니셜 표시
|
|
24
|
-
* <Avatar name="홍길동" size="large" />
|
|
25
|
-
*
|
|
26
|
-
* // 이미지 표시
|
|
27
|
-
* <Avatar type="image" src="/avatar.png" name="홍길동" />
|
|
28
|
-
*
|
|
29
|
-
* // 이미지 없을 때 아이콘 폴백
|
|
30
|
-
* <Avatar type="image" name="홍길동" />
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @see {@link AvatarProps} props 상세
|
|
34
|
-
*/
|
|
35
|
-
declare const Avatar: AvatarComponent;
|
|
36
|
-
|
|
37
|
-
export { Avatar, type AvatarComponent, type AvatarProps };
|
package/dist/avatar/index.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkJ5ZYQ3TP_js = require('../chunk-J5ZYQ3TP.js');
|
|
4
|
-
require('../chunk-5M47B2XJ.js');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "Avatar", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return chunkJ5ZYQ3TP_js.Avatar; }
|
|
11
|
-
});
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
13
|
-
//# sourceMappingURL=index.js.map
|
package/dist/avatar/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
package/dist/avatar/index.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
package/dist/badge/index.d.mts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
|
|
3
|
-
interface BadgeProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
/**
|
|
5
|
-
* 배지 스타일 변형
|
|
6
|
-
* @default 'default'
|
|
7
|
-
*/
|
|
8
|
-
variant?: 'default' | 'accent';
|
|
9
|
-
/**
|
|
10
|
-
* 비활성화 상태
|
|
11
|
-
* @default false
|
|
12
|
-
*/
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
}
|
|
15
|
-
type BadgeComponent = React__default.ForwardRefExoticComponent<BadgeProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
16
|
-
/**
|
|
17
|
-
* 상태나 카운트를 표시하는 배지 컴포넌트입니다.
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```tsx
|
|
21
|
-
* <Badge variant="accent">3</Badge>
|
|
22
|
-
* <Badge variant="default" disabled>0</Badge>
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link BadgeProps} props 상세
|
|
26
|
-
*/
|
|
27
|
-
declare const Badge: BadgeComponent;
|
|
28
|
-
|
|
29
|
-
export { Badge, type BadgeComponent, type BadgeProps };
|
package/dist/badge/index.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
|
|
3
|
-
interface BadgeProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
/**
|
|
5
|
-
* 배지 스타일 변형
|
|
6
|
-
* @default 'default'
|
|
7
|
-
*/
|
|
8
|
-
variant?: 'default' | 'accent';
|
|
9
|
-
/**
|
|
10
|
-
* 비활성화 상태
|
|
11
|
-
* @default false
|
|
12
|
-
*/
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
}
|
|
15
|
-
type BadgeComponent = React__default.ForwardRefExoticComponent<BadgeProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
16
|
-
/**
|
|
17
|
-
* 상태나 카운트를 표시하는 배지 컴포넌트입니다.
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```tsx
|
|
21
|
-
* <Badge variant="accent">3</Badge>
|
|
22
|
-
* <Badge variant="default" disabled>0</Badge>
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link BadgeProps} props 상세
|
|
26
|
-
*/
|
|
27
|
-
declare const Badge: BadgeComponent;
|
|
28
|
-
|
|
29
|
-
export { Badge, type BadgeComponent, type BadgeProps };
|
package/dist/badge/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunk5TES5PG6_js = require('../chunk-5TES5PG6.js');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, "Badge", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function () { return chunk5TES5PG6_js.Badge; }
|
|
10
|
-
});
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
package/dist/badge/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
package/dist/badge/index.mjs
DELETED
package/dist/badge/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|