@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.
Files changed (264) hide show
  1. package/LICENSE +190 -0
  2. package/README.en.md +142 -0
  3. package/README.md +156 -18
  4. package/dist/index.d.mts +1166 -37
  5. package/dist/index.d.ts +1166 -37
  6. package/dist/index.js +3055 -130
  7. package/dist/index.js.map +1 -1
  8. package/dist/index.mjs +3016 -27
  9. package/dist/index.mjs.map +1 -1
  10. package/package.json +24 -143
  11. package/dist/Button-CMenVfb7.d.mts +0 -35
  12. package/dist/Button-CMenVfb7.d.ts +0 -35
  13. package/dist/Select-DMvWV_rF.d.mts +0 -94
  14. package/dist/Select-DMvWV_rF.d.ts +0 -94
  15. package/dist/avatar/index.d.mts +0 -37
  16. package/dist/avatar/index.d.ts +0 -37
  17. package/dist/avatar/index.js +0 -13
  18. package/dist/avatar/index.js.map +0 -1
  19. package/dist/avatar/index.mjs +0 -4
  20. package/dist/avatar/index.mjs.map +0 -1
  21. package/dist/badge/index.d.mts +0 -29
  22. package/dist/badge/index.d.ts +0 -29
  23. package/dist/badge/index.js +0 -12
  24. package/dist/badge/index.js.map +0 -1
  25. package/dist/badge/index.mjs +0 -3
  26. package/dist/badge/index.mjs.map +0 -1
  27. package/dist/breadcrumb/index.d.mts +0 -43
  28. package/dist/breadcrumb/index.d.ts +0 -43
  29. package/dist/breadcrumb/index.js +0 -13
  30. package/dist/breadcrumb/index.js.map +0 -1
  31. package/dist/breadcrumb/index.mjs +0 -4
  32. package/dist/breadcrumb/index.mjs.map +0 -1
  33. package/dist/button/index.d.mts +0 -9
  34. package/dist/button/index.d.ts +0 -9
  35. package/dist/button/index.js +0 -29
  36. package/dist/button/index.js.map +0 -1
  37. package/dist/button/index.mjs +0 -12
  38. package/dist/button/index.mjs.map +0 -1
  39. package/dist/checkbox/index.d.mts +0 -54
  40. package/dist/checkbox/index.d.ts +0 -54
  41. package/dist/checkbox/index.js +0 -13
  42. package/dist/checkbox/index.js.map +0 -1
  43. package/dist/checkbox/index.mjs +0 -4
  44. package/dist/checkbox/index.mjs.map +0 -1
  45. package/dist/chunk-34QIGWCT.mjs +0 -10
  46. package/dist/chunk-34QIGWCT.mjs.map +0 -1
  47. package/dist/chunk-3FPMWAQT.js +0 -30
  48. package/dist/chunk-3FPMWAQT.js.map +0 -1
  49. package/dist/chunk-3HMT3DQV.js +0 -104
  50. package/dist/chunk-3HMT3DQV.js.map +0 -1
  51. package/dist/chunk-4WAO7CUT.mjs +0 -95
  52. package/dist/chunk-4WAO7CUT.mjs.map +0 -1
  53. package/dist/chunk-5QX4TO4F.js +0 -61
  54. package/dist/chunk-5QX4TO4F.js.map +0 -1
  55. package/dist/chunk-5TEFN2CW.js +0 -97
  56. package/dist/chunk-5TEFN2CW.js.map +0 -1
  57. package/dist/chunk-5TES5PG6.js +0 -41
  58. package/dist/chunk-5TES5PG6.js.map +0 -1
  59. package/dist/chunk-5TVMECVF.js +0 -148
  60. package/dist/chunk-5TVMECVF.js.map +0 -1
  61. package/dist/chunk-5WGNZX7Z.mjs +0 -27
  62. package/dist/chunk-5WGNZX7Z.mjs.map +0 -1
  63. package/dist/chunk-AQ3OIM2T.js +0 -103
  64. package/dist/chunk-AQ3OIM2T.js.map +0 -1
  65. package/dist/chunk-AU5NTBK3.js +0 -361
  66. package/dist/chunk-AU5NTBK3.js.map +0 -1
  67. package/dist/chunk-DJHGCJR4.mjs +0 -224
  68. package/dist/chunk-DJHGCJR4.mjs.map +0 -1
  69. package/dist/chunk-DPUTW5KD.mjs +0 -74
  70. package/dist/chunk-DPUTW5KD.mjs.map +0 -1
  71. package/dist/chunk-E53FHDVN.mjs +0 -336
  72. package/dist/chunk-E53FHDVN.mjs.map +0 -1
  73. package/dist/chunk-ECRQD7UU.js +0 -82
  74. package/dist/chunk-ECRQD7UU.js.map +0 -1
  75. package/dist/chunk-FB4ESGOX.mjs +0 -59
  76. package/dist/chunk-FB4ESGOX.mjs.map +0 -1
  77. package/dist/chunk-FDX4IQK5.js +0 -76
  78. package/dist/chunk-FDX4IQK5.js.map +0 -1
  79. package/dist/chunk-FOMIUDRM.js +0 -96
  80. package/dist/chunk-FOMIUDRM.js.map +0 -1
  81. package/dist/chunk-FR5F3VTU.js +0 -139
  82. package/dist/chunk-FR5F3VTU.js.map +0 -1
  83. package/dist/chunk-GW53LH3I.mjs +0 -81
  84. package/dist/chunk-GW53LH3I.mjs.map +0 -1
  85. package/dist/chunk-GXMRIT5E.mjs +0 -94
  86. package/dist/chunk-GXMRIT5E.mjs.map +0 -1
  87. package/dist/chunk-IANSI7F7.mjs +0 -393
  88. package/dist/chunk-IANSI7F7.mjs.map +0 -1
  89. package/dist/chunk-IDM6MZHF.js +0 -415
  90. package/dist/chunk-IDM6MZHF.js.map +0 -1
  91. package/dist/chunk-J5ZYQ3TP.js +0 -104
  92. package/dist/chunk-J5ZYQ3TP.js.map +0 -1
  93. package/dist/chunk-KPAUBWZA.mjs +0 -39
  94. package/dist/chunk-KPAUBWZA.mjs.map +0 -1
  95. package/dist/chunk-L7P2NDST.mjs +0 -124
  96. package/dist/chunk-L7P2NDST.mjs.map +0 -1
  97. package/dist/chunk-M6OWN7QH.js +0 -118
  98. package/dist/chunk-M6OWN7QH.js.map +0 -1
  99. package/dist/chunk-MQVHREEI.js +0 -448
  100. package/dist/chunk-MQVHREEI.js.map +0 -1
  101. package/dist/chunk-MT47ECUN.js +0 -127
  102. package/dist/chunk-MT47ECUN.js.map +0 -1
  103. package/dist/chunk-N6U54JI4.mjs +0 -126
  104. package/dist/chunk-N6U54JI4.mjs.map +0 -1
  105. package/dist/chunk-NDG4LR3Q.js +0 -139
  106. package/dist/chunk-NDG4LR3Q.js.map +0 -1
  107. package/dist/chunk-PPD4BU4W.mjs +0 -80
  108. package/dist/chunk-PPD4BU4W.mjs.map +0 -1
  109. package/dist/chunk-PU5NO5EZ.js +0 -4
  110. package/dist/chunk-PU5NO5EZ.js.map +0 -1
  111. package/dist/chunk-Q442ZDTI.mjs +0 -117
  112. package/dist/chunk-Q442ZDTI.mjs.map +0 -1
  113. package/dist/chunk-QH23RO3C.mjs +0 -137
  114. package/dist/chunk-QH23RO3C.mjs.map +0 -1
  115. package/dist/chunk-REBHUF4L.js +0 -226
  116. package/dist/chunk-REBHUF4L.js.map +0 -1
  117. package/dist/chunk-RGB3QLQT.js +0 -275
  118. package/dist/chunk-RGB3QLQT.js.map +0 -1
  119. package/dist/chunk-T7U2QRLC.js +0 -94
  120. package/dist/chunk-T7U2QRLC.js.map +0 -1
  121. package/dist/chunk-TEHHJ3CS.mjs +0 -73
  122. package/dist/chunk-TEHHJ3CS.mjs.map +0 -1
  123. package/dist/chunk-TJY4MIBC.js +0 -117
  124. package/dist/chunk-TJY4MIBC.js.map +0 -1
  125. package/dist/chunk-VCMZQOQM.mjs +0 -102
  126. package/dist/chunk-VCMZQOQM.mjs.map +0 -1
  127. package/dist/chunk-VKN4H4WI.mjs +0 -3
  128. package/dist/chunk-VKN4H4WI.mjs.map +0 -1
  129. package/dist/chunk-VSB25XTY.js +0 -12
  130. package/dist/chunk-VSB25XTY.js.map +0 -1
  131. package/dist/chunk-VWTE74UT.mjs +0 -96
  132. package/dist/chunk-VWTE74UT.mjs.map +0 -1
  133. package/dist/chunk-WBTL7PBV.js +0 -105
  134. package/dist/chunk-WBTL7PBV.js.map +0 -1
  135. package/dist/chunk-WOK3EP3O.js +0 -83
  136. package/dist/chunk-WOK3EP3O.js.map +0 -1
  137. package/dist/chunk-WWT73GGM.mjs +0 -83
  138. package/dist/chunk-WWT73GGM.mjs.map +0 -1
  139. package/dist/chunk-XBDXTRK3.mjs +0 -102
  140. package/dist/chunk-XBDXTRK3.mjs.map +0 -1
  141. package/dist/chunk-YGBEKZWU.mjs +0 -81
  142. package/dist/chunk-YGBEKZWU.mjs.map +0 -1
  143. package/dist/chunk-YVFLRPFV.mjs +0 -72
  144. package/dist/chunk-YVFLRPFV.mjs.map +0 -1
  145. package/dist/chunk-ZMVBIQ2Z.mjs +0 -253
  146. package/dist/chunk-ZMVBIQ2Z.mjs.map +0 -1
  147. package/dist/chunk-ZWCMSHDP.mjs +0 -425
  148. package/dist/chunk-ZWCMSHDP.mjs.map +0 -1
  149. package/dist/flat/index.d.mts +0 -13
  150. package/dist/flat/index.d.ts +0 -13
  151. package/dist/flat/index.js +0 -31
  152. package/dist/flat/index.js.map +0 -1
  153. package/dist/flat/index.mjs +0 -10
  154. package/dist/flat/index.mjs.map +0 -1
  155. package/dist/flat/segment.d.mts +0 -39
  156. package/dist/flat/segment.d.ts +0 -39
  157. package/dist/flat/segment.js +0 -13
  158. package/dist/flat/segment.js.map +0 -1
  159. package/dist/flat/segment.mjs +0 -4
  160. package/dist/flat/segment.mjs.map +0 -1
  161. package/dist/flat/select.d.mts +0 -58
  162. package/dist/flat/select.d.ts +0 -58
  163. package/dist/flat/select.js +0 -14
  164. package/dist/flat/select.js.map +0 -1
  165. package/dist/flat/select.mjs +0 -5
  166. package/dist/flat/select.mjs.map +0 -1
  167. package/dist/flat/tooltip.d.mts +0 -98
  168. package/dist/flat/tooltip.d.ts +0 -98
  169. package/dist/flat/tooltip.js +0 -17
  170. package/dist/flat/tooltip.js.map +0 -1
  171. package/dist/flat/tooltip.mjs +0 -4
  172. package/dist/flat/tooltip.mjs.map +0 -1
  173. package/dist/index-CXip5Wb1.d.mts +0 -62
  174. package/dist/index-Drz3P-6Y.d.ts +0 -62
  175. package/dist/input/index.d.mts +0 -82
  176. package/dist/input/index.d.ts +0 -82
  177. package/dist/input/index.js +0 -22
  178. package/dist/input/index.js.map +0 -1
  179. package/dist/input/index.mjs +0 -5
  180. package/dist/input/index.mjs.map +0 -1
  181. package/dist/loading/index.d.mts +0 -54
  182. package/dist/loading/index.d.ts +0 -54
  183. package/dist/loading/index.js +0 -12
  184. package/dist/loading/index.js.map +0 -1
  185. package/dist/loading/index.mjs +0 -3
  186. package/dist/loading/index.mjs.map +0 -1
  187. package/dist/messageBox/index.d.mts +0 -33
  188. package/dist/messageBox/index.d.ts +0 -33
  189. package/dist/messageBox/index.js +0 -13
  190. package/dist/messageBox/index.js.map +0 -1
  191. package/dist/messageBox/index.mjs +0 -4
  192. package/dist/messageBox/index.mjs.map +0 -1
  193. package/dist/modal/index.d.mts +0 -97
  194. package/dist/modal/index.d.ts +0 -97
  195. package/dist/modal/index.js +0 -15
  196. package/dist/modal/index.js.map +0 -1
  197. package/dist/modal/index.mjs +0 -6
  198. package/dist/modal/index.mjs.map +0 -1
  199. package/dist/picker/index.d.mts +0 -12
  200. package/dist/picker/index.d.ts +0 -12
  201. package/dist/picker/index.js +0 -13
  202. package/dist/picker/index.js.map +0 -1
  203. package/dist/picker/index.mjs +0 -4
  204. package/dist/picker/index.mjs.map +0 -1
  205. package/dist/progress/index.d.mts +0 -36
  206. package/dist/progress/index.d.ts +0 -36
  207. package/dist/progress/index.js +0 -12
  208. package/dist/progress/index.js.map +0 -1
  209. package/dist/progress/index.mjs +0 -3
  210. package/dist/progress/index.mjs.map +0 -1
  211. package/dist/radio/index.d.mts +0 -39
  212. package/dist/radio/index.d.ts +0 -39
  213. package/dist/radio/index.js +0 -12
  214. package/dist/radio/index.js.map +0 -1
  215. package/dist/radio/index.mjs +0 -3
  216. package/dist/radio/index.mjs.map +0 -1
  217. package/dist/scrollArea/index.d.mts +0 -31
  218. package/dist/scrollArea/index.d.ts +0 -31
  219. package/dist/scrollArea/index.js +0 -16
  220. package/dist/scrollArea/index.js.map +0 -1
  221. package/dist/scrollArea/index.mjs +0 -3
  222. package/dist/scrollArea/index.mjs.map +0 -1
  223. package/dist/segment/index.d.mts +0 -46
  224. package/dist/segment/index.d.ts +0 -46
  225. package/dist/segment/index.js +0 -12
  226. package/dist/segment/index.js.map +0 -1
  227. package/dist/segment/index.mjs +0 -3
  228. package/dist/segment/index.mjs.map +0 -1
  229. package/dist/star/index.d.mts +0 -30
  230. package/dist/star/index.d.ts +0 -30
  231. package/dist/star/index.js +0 -12
  232. package/dist/star/index.js.map +0 -1
  233. package/dist/star/index.mjs +0 -3
  234. package/dist/star/index.mjs.map +0 -1
  235. package/dist/switch/index.d.mts +0 -32
  236. package/dist/switch/index.d.ts +0 -32
  237. package/dist/switch/index.js +0 -12
  238. package/dist/switch/index.js.map +0 -1
  239. package/dist/switch/index.mjs +0 -3
  240. package/dist/switch/index.mjs.map +0 -1
  241. package/dist/tabs/index.d.mts +0 -52
  242. package/dist/tabs/index.d.ts +0 -52
  243. package/dist/tabs/index.js +0 -12
  244. package/dist/tabs/index.js.map +0 -1
  245. package/dist/tabs/index.mjs +0 -3
  246. package/dist/tabs/index.mjs.map +0 -1
  247. package/dist/tag/index.d.mts +0 -68
  248. package/dist/tag/index.d.ts +0 -68
  249. package/dist/tag/index.js +0 -17
  250. package/dist/tag/index.js.map +0 -1
  251. package/dist/tag/index.mjs +0 -4
  252. package/dist/tag/index.mjs.map +0 -1
  253. package/dist/toast/index.d.mts +0 -175
  254. package/dist/toast/index.d.ts +0 -175
  255. package/dist/toast/index.js +0 -25
  256. package/dist/toast/index.js.map +0 -1
  257. package/dist/toast/index.mjs +0 -4
  258. package/dist/toast/index.mjs.map +0 -1
  259. package/dist/tooltip/index.d.mts +0 -26
  260. package/dist/tooltip/index.d.ts +0 -26
  261. package/dist/tooltip/index.js +0 -12
  262. package/dist/tooltip/index.js.map +0 -1
  263. package/dist/tooltip/index.mjs +0 -3
  264. 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.1.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": ["styles.css"],
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 };
@@ -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 };
@@ -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 };
@@ -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
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -1,4 +0,0 @@
1
- export { Avatar } from '../chunk-VCMZQOQM.mjs';
2
- import '../chunk-LZWKMQJL.mjs';
3
- //# sourceMappingURL=index.mjs.map
4
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
@@ -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 };
@@ -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 };
@@ -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
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -1,3 +0,0 @@
1
- export { Badge } from '../chunk-KPAUBWZA.mjs';
2
- //# sourceMappingURL=index.mjs.map
3
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}