@edo-w/flatline-solid 0.2.1 → 0.3.1

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 (501) hide show
  1. package/dist/button/index.css +124 -0
  2. package/dist/button/index.d.ts +2 -0
  3. package/dist/button/index.js +51 -0
  4. package/dist/button/index.js.map +1 -0
  5. package/dist/card/index.css +112 -0
  6. package/dist/card/index.d.ts +68 -0
  7. package/dist/card/index.js +181 -0
  8. package/dist/card/index.js.map +1 -0
  9. package/dist/checkbox/index.css +75 -0
  10. package/dist/checkbox/index.d.ts +55 -0
  11. package/dist/checkbox/index.js +156 -0
  12. package/dist/checkbox/index.js.map +1 -0
  13. package/dist/combobox/index.css +184 -0
  14. package/dist/combobox/index.d.ts +145 -0
  15. package/dist/combobox/index.js +894 -0
  16. package/dist/combobox/index.js.map +1 -0
  17. package/dist/dialog/index.css +218 -0
  18. package/dist/dialog/index.d.ts +65 -0
  19. package/dist/dialog/index.js +124 -0
  20. package/dist/dialog/index.js.map +1 -0
  21. package/dist/dropdown-menu/index.css +238 -0
  22. package/dist/dropdown-menu/index.d.ts +122 -0
  23. package/dist/dropdown-menu/index.js +199 -0
  24. package/dist/dropdown-menu/index.js.map +1 -0
  25. package/dist/icons-CH4ghH8L.js +41 -0
  26. package/dist/icons-CH4ghH8L.js.map +1 -0
  27. package/dist/index-D-CV7Jz5.d.ts +30 -0
  28. package/dist/index.d.ts +1 -0
  29. package/dist/index.js +0 -0
  30. package/dist/input/index.css +23 -0
  31. package/dist/input/index.d.ts +14 -0
  32. package/dist/input/index.js +24 -0
  33. package/dist/input/index.js.map +1 -0
  34. package/dist/label/index.css +11 -0
  35. package/dist/label/index.d.ts +14 -0
  36. package/dist/label/index.js +25 -0
  37. package/dist/label/index.js.map +1 -0
  38. package/dist/lite-CiFvU804.js +9 -0
  39. package/dist/lite-CiFvU804.js.map +1 -0
  40. package/dist/progress-bar/index.css +34 -0
  41. package/dist/progress-bar/index.d.ts +19 -0
  42. package/dist/progress-bar/index.js +61 -0
  43. package/dist/progress-bar/index.js.map +1 -0
  44. package/dist/radio/index.css +64 -0
  45. package/dist/radio/index.d.ts +55 -0
  46. package/dist/radio/index.js +143 -0
  47. package/dist/radio/index.js.map +1 -0
  48. package/dist/select/index.css +53 -0
  49. package/dist/select/index.d.ts +16 -0
  50. package/dist/select/index.js +51 -0
  51. package/dist/select/index.js.map +1 -0
  52. package/dist/slider/index.css +59 -0
  53. package/dist/slider/index.d.ts +16 -0
  54. package/dist/slider/index.js +37 -0
  55. package/dist/slider/index.js.map +1 -0
  56. package/dist/spinner/index.css +44 -0
  57. package/dist/spinner/index.d.ts +24 -0
  58. package/dist/spinner/index.js +48 -0
  59. package/dist/spinner/index.js.map +1 -0
  60. package/dist/{src/style → style}/flatline.css +0 -1
  61. package/dist/switch/index.css +69 -0
  62. package/dist/switch/index.d.ts +22 -0
  63. package/dist/switch/index.js +75 -0
  64. package/dist/switch/index.js.map +1 -0
  65. package/dist/table/index.css +50 -0
  66. package/dist/table/index.d.ts +64 -0
  67. package/dist/table/index.js +142 -0
  68. package/dist/table/index.js.map +1 -0
  69. package/dist/tabs/index.css +114 -0
  70. package/dist/tabs/index.d.ts +40 -0
  71. package/dist/tabs/index.js +67 -0
  72. package/dist/tabs/index.js.map +1 -0
  73. package/dist/textarea/index.css +35 -0
  74. package/dist/textarea/index.d.ts +14 -0
  75. package/dist/textarea/index.js +24 -0
  76. package/dist/textarea/index.js.map +1 -0
  77. package/dist/xstack/index.d.ts +1 -0
  78. package/dist/xstack/index.js +0 -0
  79. package/dist/ystack/index.css +26 -0
  80. package/dist/ystack/index.d.ts +25 -0
  81. package/dist/ystack/index.js +47 -0
  82. package/dist/ystack/index.js.map +1 -0
  83. package/package.json +31 -5
  84. package/dist/src/components/button/button.css +0 -156
  85. package/dist/src/components/button/button.d.ts +0 -9
  86. package/dist/src/components/button/button.jsx +0 -21
  87. package/dist/src/components/button/button.jsx.map +0 -1
  88. package/dist/src/components/button/class.d.ts +0 -16
  89. package/dist/src/components/button/class.js +0 -15
  90. package/dist/src/components/button/class.js.map +0 -1
  91. package/dist/src/components/button/index.d.ts +0 -2
  92. package/dist/src/components/button/index.js +0 -3
  93. package/dist/src/components/button/index.js.map +0 -1
  94. package/dist/src/components/card/card-action.css +0 -15
  95. package/dist/src/components/card/card-content.css +0 -13
  96. package/dist/src/components/card/card-footer.css +0 -39
  97. package/dist/src/components/card/card-header.css +0 -13
  98. package/dist/src/components/card/card-root.css +0 -31
  99. package/dist/src/components/card/card-subtitle.css +0 -12
  100. package/dist/src/components/card/card-title.css +0 -33
  101. package/dist/src/components/card/card.d.ts +0 -42
  102. package/dist/src/components/card/card.jsx +0 -86
  103. package/dist/src/components/card/card.jsx.map +0 -1
  104. package/dist/src/components/card/class.d.ts +0 -28
  105. package/dist/src/components/card/class.js +0 -27
  106. package/dist/src/components/card/class.js.map +0 -1
  107. package/dist/src/components/card/index.d.ts +0 -2
  108. package/dist/src/components/card/index.js +0 -3
  109. package/dist/src/components/card/index.js.map +0 -1
  110. package/dist/src/components/checkbox/checkbox-group.css +0 -9
  111. package/dist/src/components/checkbox/checkbox-group.d.ts +0 -3
  112. package/dist/src/components/checkbox/checkbox-group.jsx +0 -43
  113. package/dist/src/components/checkbox/checkbox-group.jsx.map +0 -1
  114. package/dist/src/components/checkbox/checkbox-root.css +0 -85
  115. package/dist/src/components/checkbox/checkbox-root.d.ts +0 -4
  116. package/dist/src/components/checkbox/checkbox-root.jsx +0 -55
  117. package/dist/src/components/checkbox/checkbox-root.jsx.map +0 -1
  118. package/dist/src/components/checkbox/checkbox.d.ts +0 -9
  119. package/dist/src/components/checkbox/checkbox.jsx +0 -6
  120. package/dist/src/components/checkbox/checkbox.jsx.map +0 -1
  121. package/dist/src/components/checkbox/class.d.ts +0 -8
  122. package/dist/src/components/checkbox/class.js +0 -9
  123. package/dist/src/components/checkbox/class.js.map +0 -1
  124. package/dist/src/components/checkbox/context.d.ts +0 -9
  125. package/dist/src/components/checkbox/context.js +0 -6
  126. package/dist/src/components/checkbox/context.js.map +0 -1
  127. package/dist/src/components/checkbox/index.d.ts +0 -6
  128. package/dist/src/components/checkbox/index.js +0 -7
  129. package/dist/src/components/checkbox/index.js.map +0 -1
  130. package/dist/src/components/checkbox/types.d.ts +0 -16
  131. package/dist/src/components/checkbox/types.js +0 -1
  132. package/dist/src/components/checkbox/types.js.map +0 -1
  133. package/dist/src/components/combobox/class.d.ts +0 -13
  134. package/dist/src/components/combobox/class.js +0 -14
  135. package/dist/src/components/combobox/class.js.map +0 -1
  136. package/dist/src/components/combobox/combobox-content.css +0 -20
  137. package/dist/src/components/combobox/combobox-content.d.ts +0 -2
  138. package/dist/src/components/combobox/combobox-content.jsx +0 -15
  139. package/dist/src/components/combobox/combobox-content.jsx.map +0 -1
  140. package/dist/src/components/combobox/combobox-control.css +0 -29
  141. package/dist/src/components/combobox/combobox-control.d.ts +0 -3
  142. package/dist/src/components/combobox/combobox-control.jsx +0 -19
  143. package/dist/src/components/combobox/combobox-control.jsx.map +0 -1
  144. package/dist/src/components/combobox/combobox-group.css +0 -32
  145. package/dist/src/components/combobox/combobox-group.d.ts +0 -2
  146. package/dist/src/components/combobox/combobox-group.jsx +0 -12
  147. package/dist/src/components/combobox/combobox-group.jsx.map +0 -1
  148. package/dist/src/components/combobox/combobox-hidden-select.d.ts +0 -2
  149. package/dist/src/components/combobox/combobox-hidden-select.jsx +0 -8
  150. package/dist/src/components/combobox/combobox-hidden-select.jsx.map +0 -1
  151. package/dist/src/components/combobox/combobox-icon.css +0 -11
  152. package/dist/src/components/combobox/combobox-icon.d.ts +0 -2
  153. package/dist/src/components/combobox/combobox-icon.jsx +0 -12
  154. package/dist/src/components/combobox/combobox-icon.jsx.map +0 -1
  155. package/dist/src/components/combobox/combobox-input.css +0 -32
  156. package/dist/src/components/combobox/combobox-input.d.ts +0 -3
  157. package/dist/src/components/combobox/combobox-input.jsx +0 -101
  158. package/dist/src/components/combobox/combobox-input.jsx.map +0 -1
  159. package/dist/src/components/combobox/combobox-item-indicator.css +0 -11
  160. package/dist/src/components/combobox/combobox-item-indicator.d.ts +0 -2
  161. package/dist/src/components/combobox/combobox-item-indicator.jsx +0 -16
  162. package/dist/src/components/combobox/combobox-item-indicator.jsx.map +0 -1
  163. package/dist/src/components/combobox/combobox-item-label.d.ts +0 -2
  164. package/dist/src/components/combobox/combobox-item-label.jsx +0 -13
  165. package/dist/src/components/combobox/combobox-item-label.jsx.map +0 -1
  166. package/dist/src/components/combobox/combobox-item.css +0 -48
  167. package/dist/src/components/combobox/combobox-item.d.ts +0 -3
  168. package/dist/src/components/combobox/combobox-item.jsx +0 -37
  169. package/dist/src/components/combobox/combobox-item.jsx.map +0 -1
  170. package/dist/src/components/combobox/combobox-listbox.css +0 -21
  171. package/dist/src/components/combobox/combobox-listbox.d.ts +0 -2
  172. package/dist/src/components/combobox/combobox-listbox.jsx +0 -39
  173. package/dist/src/components/combobox/combobox-listbox.jsx.map +0 -1
  174. package/dist/src/components/combobox/combobox-portal.d.ts +0 -2
  175. package/dist/src/components/combobox/combobox-portal.jsx +0 -6
  176. package/dist/src/components/combobox/combobox-portal.jsx.map +0 -1
  177. package/dist/src/components/combobox/combobox-root.css +0 -12
  178. package/dist/src/components/combobox/combobox-root.d.ts +0 -3
  179. package/dist/src/components/combobox/combobox-root.jsx +0 -407
  180. package/dist/src/components/combobox/combobox-root.jsx.map +0 -1
  181. package/dist/src/components/combobox/combobox-trigger.css +0 -31
  182. package/dist/src/components/combobox/combobox-trigger.d.ts +0 -3
  183. package/dist/src/components/combobox/combobox-trigger.jsx +0 -30
  184. package/dist/src/components/combobox/combobox-trigger.jsx.map +0 -1
  185. package/dist/src/components/combobox/combobox.d.ts +0 -43
  186. package/dist/src/components/combobox/combobox.jsx +0 -39
  187. package/dist/src/components/combobox/combobox.jsx.map +0 -1
  188. package/dist/src/components/combobox/context.d.ts +0 -47
  189. package/dist/src/components/combobox/context.js +0 -18
  190. package/dist/src/components/combobox/context.js.map +0 -1
  191. package/dist/src/components/combobox/index.d.ts +0 -2
  192. package/dist/src/components/combobox/index.js +0 -3
  193. package/dist/src/components/combobox/index.js.map +0 -1
  194. package/dist/src/components/combobox/types.d.ts +0 -68
  195. package/dist/src/components/combobox/types.js +0 -1
  196. package/dist/src/components/combobox/types.js.map +0 -1
  197. package/dist/src/components/combobox/util.d.ts +0 -6
  198. package/dist/src/components/combobox/util.js +0 -58
  199. package/dist/src/components/combobox/util.js.map +0 -1
  200. package/dist/src/components/dialog/class.d.ts +0 -18
  201. package/dist/src/components/dialog/class.js +0 -18
  202. package/dist/src/components/dialog/class.js.map +0 -1
  203. package/dist/src/components/dialog/dialog-close-button.css +0 -48
  204. package/dist/src/components/dialog/dialog-content.css +0 -89
  205. package/dist/src/components/dialog/dialog-description.css +0 -6
  206. package/dist/src/components/dialog/dialog-header.css +0 -12
  207. package/dist/src/components/dialog/dialog-overlay.css +0 -43
  208. package/dist/src/components/dialog/dialog-positioner.css +0 -14
  209. package/dist/src/components/dialog/dialog-title.css +0 -6
  210. package/dist/src/components/dialog/dialog-trigger.css +0 -63
  211. package/dist/src/components/dialog/dialog.d.ts +0 -50
  212. package/dist/src/components/dialog/dialog.jsx +0 -89
  213. package/dist/src/components/dialog/dialog.jsx.map +0 -1
  214. package/dist/src/components/dialog/index.d.ts +0 -2
  215. package/dist/src/components/dialog/index.js +0 -3
  216. package/dist/src/components/dialog/index.js.map +0 -1
  217. package/dist/src/components/dropdown-menu/class.d.ts +0 -16
  218. package/dist/src/components/dropdown-menu/class.js +0 -17
  219. package/dist/src/components/dropdown-menu/class.js.map +0 -1
  220. package/dist/src/components/dropdown-menu/dropdown-menu-arrow.css +0 -7
  221. package/dist/src/components/dropdown-menu/dropdown-menu-arrow.d.ts +0 -3
  222. package/dist/src/components/dropdown-menu/dropdown-menu-arrow.jsx +0 -10
  223. package/dist/src/components/dropdown-menu/dropdown-menu-arrow.jsx.map +0 -1
  224. package/dist/src/components/dropdown-menu/dropdown-menu-checkbox-item.css +0 -38
  225. package/dist/src/components/dropdown-menu/dropdown-menu-checkbox-item.d.ts +0 -3
  226. package/dist/src/components/dropdown-menu/dropdown-menu-checkbox-item.jsx +0 -10
  227. package/dist/src/components/dropdown-menu/dropdown-menu-checkbox-item.jsx.map +0 -1
  228. package/dist/src/components/dropdown-menu/dropdown-menu-content.css +0 -50
  229. package/dist/src/components/dropdown-menu/dropdown-menu-content.d.ts +0 -3
  230. package/dist/src/components/dropdown-menu/dropdown-menu-content.jsx +0 -10
  231. package/dist/src/components/dropdown-menu/dropdown-menu-content.jsx.map +0 -1
  232. package/dist/src/components/dropdown-menu/dropdown-menu-group-label.css +0 -15
  233. package/dist/src/components/dropdown-menu/dropdown-menu-group-label.d.ts +0 -3
  234. package/dist/src/components/dropdown-menu/dropdown-menu-group-label.jsx +0 -10
  235. package/dist/src/components/dropdown-menu/dropdown-menu-group-label.jsx.map +0 -1
  236. package/dist/src/components/dropdown-menu/dropdown-menu-group.d.ts +0 -2
  237. package/dist/src/components/dropdown-menu/dropdown-menu-group.jsx +0 -7
  238. package/dist/src/components/dropdown-menu/dropdown-menu-group.jsx.map +0 -1
  239. package/dist/src/components/dropdown-menu/dropdown-menu-icon.css +0 -21
  240. package/dist/src/components/dropdown-menu/dropdown-menu-icon.d.ts +0 -3
  241. package/dist/src/components/dropdown-menu/dropdown-menu-icon.jsx +0 -10
  242. package/dist/src/components/dropdown-menu/dropdown-menu-icon.jsx.map +0 -1
  243. package/dist/src/components/dropdown-menu/dropdown-menu-item-indicator.css +0 -12
  244. package/dist/src/components/dropdown-menu/dropdown-menu-item-indicator.d.ts +0 -3
  245. package/dist/src/components/dropdown-menu/dropdown-menu-item-indicator.jsx +0 -10
  246. package/dist/src/components/dropdown-menu/dropdown-menu-item-indicator.jsx.map +0 -1
  247. package/dist/src/components/dropdown-menu/dropdown-menu-item-right-slot.css +0 -18
  248. package/dist/src/components/dropdown-menu/dropdown-menu-item-right-slot.d.ts +0 -3
  249. package/dist/src/components/dropdown-menu/dropdown-menu-item-right-slot.jsx +0 -11
  250. package/dist/src/components/dropdown-menu/dropdown-menu-item-right-slot.jsx.map +0 -1
  251. package/dist/src/components/dropdown-menu/dropdown-menu-item.css +0 -37
  252. package/dist/src/components/dropdown-menu/dropdown-menu-item.d.ts +0 -3
  253. package/dist/src/components/dropdown-menu/dropdown-menu-item.jsx +0 -10
  254. package/dist/src/components/dropdown-menu/dropdown-menu-item.jsx.map +0 -1
  255. package/dist/src/components/dropdown-menu/dropdown-menu-portal.d.ts +0 -2
  256. package/dist/src/components/dropdown-menu/dropdown-menu-portal.jsx +0 -5
  257. package/dist/src/components/dropdown-menu/dropdown-menu-portal.jsx.map +0 -1
  258. package/dist/src/components/dropdown-menu/dropdown-menu-radio-group.d.ts +0 -2
  259. package/dist/src/components/dropdown-menu/dropdown-menu-radio-group.jsx +0 -7
  260. package/dist/src/components/dropdown-menu/dropdown-menu-radio-group.jsx.map +0 -1
  261. package/dist/src/components/dropdown-menu/dropdown-menu-radio-item.css +0 -38
  262. package/dist/src/components/dropdown-menu/dropdown-menu-radio-item.d.ts +0 -3
  263. package/dist/src/components/dropdown-menu/dropdown-menu-radio-item.jsx +0 -10
  264. package/dist/src/components/dropdown-menu/dropdown-menu-radio-item.jsx.map +0 -1
  265. package/dist/src/components/dropdown-menu/dropdown-menu-root.d.ts +0 -2
  266. package/dist/src/components/dropdown-menu/dropdown-menu-root.jsx +0 -5
  267. package/dist/src/components/dropdown-menu/dropdown-menu-root.jsx.map +0 -1
  268. package/dist/src/components/dropdown-menu/dropdown-menu-separator.css +0 -11
  269. package/dist/src/components/dropdown-menu/dropdown-menu-separator.d.ts +0 -3
  270. package/dist/src/components/dropdown-menu/dropdown-menu-separator.jsx +0 -10
  271. package/dist/src/components/dropdown-menu/dropdown-menu-separator.jsx.map +0 -1
  272. package/dist/src/components/dropdown-menu/dropdown-menu-sub-content.css +0 -26
  273. package/dist/src/components/dropdown-menu/dropdown-menu-sub-content.d.ts +0 -3
  274. package/dist/src/components/dropdown-menu/dropdown-menu-sub-content.jsx +0 -10
  275. package/dist/src/components/dropdown-menu/dropdown-menu-sub-content.jsx.map +0 -1
  276. package/dist/src/components/dropdown-menu/dropdown-menu-sub-trigger.css +0 -43
  277. package/dist/src/components/dropdown-menu/dropdown-menu-sub-trigger.d.ts +0 -3
  278. package/dist/src/components/dropdown-menu/dropdown-menu-sub-trigger.jsx +0 -10
  279. package/dist/src/components/dropdown-menu/dropdown-menu-sub-trigger.jsx.map +0 -1
  280. package/dist/src/components/dropdown-menu/dropdown-menu-sub.d.ts +0 -2
  281. package/dist/src/components/dropdown-menu/dropdown-menu-sub.jsx +0 -5
  282. package/dist/src/components/dropdown-menu/dropdown-menu-sub.jsx.map +0 -1
  283. package/dist/src/components/dropdown-menu/dropdown-menu-trigger.css +0 -7
  284. package/dist/src/components/dropdown-menu/dropdown-menu-trigger.d.ts +0 -3
  285. package/dist/src/components/dropdown-menu/dropdown-menu-trigger.jsx +0 -16
  286. package/dist/src/components/dropdown-menu/dropdown-menu-trigger.jsx.map +0 -1
  287. package/dist/src/components/dropdown-menu/dropdown-menu.d.ts +0 -43
  288. package/dist/src/components/dropdown-menu/dropdown-menu.jsx +0 -39
  289. package/dist/src/components/dropdown-menu/dropdown-menu.jsx.map +0 -1
  290. package/dist/src/components/dropdown-menu/index.d.ts +0 -21
  291. package/dist/src/components/dropdown-menu/index.js +0 -22
  292. package/dist/src/components/dropdown-menu/index.js.map +0 -1
  293. package/dist/src/components/dropdown-menu/types.d.ts +0 -21
  294. package/dist/src/components/dropdown-menu/types.js +0 -1
  295. package/dist/src/components/dropdown-menu/types.js.map +0 -1
  296. package/dist/src/components/input/class.d.ts +0 -3
  297. package/dist/src/components/input/class.js +0 -4
  298. package/dist/src/components/input/class.js.map +0 -1
  299. package/dist/src/components/input/index.d.ts +0 -2
  300. package/dist/src/components/input/index.js +0 -3
  301. package/dist/src/components/input/index.js.map +0 -1
  302. package/dist/src/components/input/input.css +0 -34
  303. package/dist/src/components/input/input.d.ts +0 -6
  304. package/dist/src/components/input/input.jsx +0 -10
  305. package/dist/src/components/input/input.jsx.map +0 -1
  306. package/dist/src/components/label/class.d.ts +0 -3
  307. package/dist/src/components/label/class.js +0 -4
  308. package/dist/src/components/label/class.js.map +0 -1
  309. package/dist/src/components/label/index.d.ts +0 -2
  310. package/dist/src/components/label/index.js +0 -3
  311. package/dist/src/components/label/index.js.map +0 -1
  312. package/dist/src/components/label/label.css +0 -16
  313. package/dist/src/components/label/label.d.ts +0 -6
  314. package/dist/src/components/label/label.jsx +0 -12
  315. package/dist/src/components/label/label.jsx.map +0 -1
  316. package/dist/src/components/progress-bar/class.d.ts +0 -4
  317. package/dist/src/components/progress-bar/class.js +0 -5
  318. package/dist/src/components/progress-bar/class.js.map +0 -1
  319. package/dist/src/components/progress-bar/index.d.ts +0 -2
  320. package/dist/src/components/progress-bar/index.js +0 -3
  321. package/dist/src/components/progress-bar/index.js.map +0 -1
  322. package/dist/src/components/progress-bar/progress-bar.css +0 -43
  323. package/dist/src/components/progress-bar/progress-bar.d.ts +0 -9
  324. package/dist/src/components/progress-bar/progress-bar.jsx +0 -24
  325. package/dist/src/components/progress-bar/progress-bar.jsx.map +0 -1
  326. package/dist/src/components/radio/class.d.ts +0 -8
  327. package/dist/src/components/radio/class.js +0 -9
  328. package/dist/src/components/radio/class.js.map +0 -1
  329. package/dist/src/components/radio/context.d.ts +0 -9
  330. package/dist/src/components/radio/context.js +0 -6
  331. package/dist/src/components/radio/context.js.map +0 -1
  332. package/dist/src/components/radio/index.d.ts +0 -6
  333. package/dist/src/components/radio/index.js +0 -7
  334. package/dist/src/components/radio/index.js.map +0 -1
  335. package/dist/src/components/radio/radio-group.css +0 -9
  336. package/dist/src/components/radio/radio-group.d.ts +0 -3
  337. package/dist/src/components/radio/radio-group.jsx +0 -33
  338. package/dist/src/components/radio/radio-group.jsx.map +0 -1
  339. package/dist/src/components/radio/radio-root.css +0 -75
  340. package/dist/src/components/radio/radio-root.d.ts +0 -4
  341. package/dist/src/components/radio/radio-root.jsx +0 -51
  342. package/dist/src/components/radio/radio-root.jsx.map +0 -1
  343. package/dist/src/components/radio/radio.d.ts +0 -11
  344. package/dist/src/components/radio/radio.jsx +0 -7
  345. package/dist/src/components/radio/radio.jsx.map +0 -1
  346. package/dist/src/components/radio/types.d.ts +0 -16
  347. package/dist/src/components/radio/types.js +0 -1
  348. package/dist/src/components/radio/types.js.map +0 -1
  349. package/dist/src/components/select/class.d.ts +0 -5
  350. package/dist/src/components/select/class.js +0 -6
  351. package/dist/src/components/select/class.js.map +0 -1
  352. package/dist/src/components/select/index.d.ts +0 -2
  353. package/dist/src/components/select/index.js +0 -3
  354. package/dist/src/components/select/index.js.map +0 -1
  355. package/dist/src/components/select/select.css +0 -76
  356. package/dist/src/components/select/select.d.ts +0 -6
  357. package/dist/src/components/select/select.jsx +0 -16
  358. package/dist/src/components/select/select.jsx.map +0 -1
  359. package/dist/src/components/slider/class.d.ts +0 -3
  360. package/dist/src/components/slider/class.js +0 -4
  361. package/dist/src/components/slider/class.js.map +0 -1
  362. package/dist/src/components/slider/index.d.ts +0 -2
  363. package/dist/src/components/slider/index.js +0 -3
  364. package/dist/src/components/slider/index.js.map +0 -1
  365. package/dist/src/components/slider/slider.css +0 -83
  366. package/dist/src/components/slider/slider.d.ts +0 -7
  367. package/dist/src/components/slider/slider.jsx +0 -19
  368. package/dist/src/components/slider/slider.jsx.map +0 -1
  369. package/dist/src/components/spinner/class.d.ts +0 -10
  370. package/dist/src/components/spinner/class.js +0 -10
  371. package/dist/src/components/spinner/class.js.map +0 -1
  372. package/dist/src/components/spinner/index.d.ts +0 -2
  373. package/dist/src/components/spinner/index.js +0 -3
  374. package/dist/src/components/spinner/index.js.map +0 -1
  375. package/dist/src/components/spinner/spinner.css +0 -51
  376. package/dist/src/components/spinner/spinner.d.ts +0 -9
  377. package/dist/src/components/spinner/spinner.jsx +0 -22
  378. package/dist/src/components/spinner/spinner.jsx.map +0 -1
  379. package/dist/src/components/switch/class.d.ts +0 -7
  380. package/dist/src/components/switch/class.js +0 -8
  381. package/dist/src/components/switch/class.js.map +0 -1
  382. package/dist/src/components/switch/index.d.ts +0 -2
  383. package/dist/src/components/switch/index.js +0 -3
  384. package/dist/src/components/switch/index.js.map +0 -1
  385. package/dist/src/components/switch/switch.css +0 -90
  386. package/dist/src/components/switch/switch.d.ts +0 -9
  387. package/dist/src/components/switch/switch.jsx +0 -28
  388. package/dist/src/components/switch/switch.jsx.map +0 -1
  389. package/dist/src/components/table/class.d.ts +0 -10
  390. package/dist/src/components/table/class.js +0 -11
  391. package/dist/src/components/table/class.js.map +0 -1
  392. package/dist/src/components/table/index.d.ts +0 -11
  393. package/dist/src/components/table/index.js +0 -12
  394. package/dist/src/components/table/index.js.map +0 -1
  395. package/dist/src/components/table/table-body.d.ts +0 -2
  396. package/dist/src/components/table/table-body.jsx +0 -10
  397. package/dist/src/components/table/table-body.jsx.map +0 -1
  398. package/dist/src/components/table/table-caption.css +0 -11
  399. package/dist/src/components/table/table-caption.d.ts +0 -3
  400. package/dist/src/components/table/table-caption.jsx +0 -11
  401. package/dist/src/components/table/table-caption.jsx.map +0 -1
  402. package/dist/src/components/table/table-cell.css +0 -12
  403. package/dist/src/components/table/table-cell.d.ts +0 -3
  404. package/dist/src/components/table/table-cell.jsx +0 -11
  405. package/dist/src/components/table/table-cell.jsx.map +0 -1
  406. package/dist/src/components/table/table-footer.css +0 -15
  407. package/dist/src/components/table/table-footer.d.ts +0 -3
  408. package/dist/src/components/table/table-footer.jsx +0 -11
  409. package/dist/src/components/table/table-footer.jsx.map +0 -1
  410. package/dist/src/components/table/table-head.css +0 -16
  411. package/dist/src/components/table/table-head.d.ts +0 -3
  412. package/dist/src/components/table/table-head.jsx +0 -11
  413. package/dist/src/components/table/table-head.jsx.map +0 -1
  414. package/dist/src/components/table/table-header.d.ts +0 -2
  415. package/dist/src/components/table/table-header.jsx +0 -10
  416. package/dist/src/components/table/table-header.jsx.map +0 -1
  417. package/dist/src/components/table/table-root.css +0 -12
  418. package/dist/src/components/table/table-root.d.ts +0 -3
  419. package/dist/src/components/table/table-root.jsx +0 -11
  420. package/dist/src/components/table/table-root.jsx.map +0 -1
  421. package/dist/src/components/table/table-row.css +0 -6
  422. package/dist/src/components/table/table-row.d.ts +0 -3
  423. package/dist/src/components/table/table-row.jsx +0 -11
  424. package/dist/src/components/table/table-row.jsx.map +0 -1
  425. package/dist/src/components/table/table.d.ts +0 -23
  426. package/dist/src/components/table/table.jsx +0 -19
  427. package/dist/src/components/table/table.jsx.map +0 -1
  428. package/dist/src/components/table/types.d.ts +0 -9
  429. package/dist/src/components/table/types.js +0 -1
  430. package/dist/src/components/table/types.js.map +0 -1
  431. package/dist/src/components/tabs/class.d.ts +0 -12
  432. package/dist/src/components/tabs/class.js +0 -12
  433. package/dist/src/components/tabs/class.js.map +0 -1
  434. package/dist/src/components/tabs/index.d.ts +0 -2
  435. package/dist/src/components/tabs/index.js +0 -3
  436. package/dist/src/components/tabs/index.js.map +0 -1
  437. package/dist/src/components/tabs/tabs-content.css +0 -24
  438. package/dist/src/components/tabs/tabs-indicator.css +0 -32
  439. package/dist/src/components/tabs/tabs-list.css +0 -26
  440. package/dist/src/components/tabs/tabs-root.css +0 -34
  441. package/dist/src/components/tabs/tabs-trigger.css +0 -58
  442. package/dist/src/components/tabs/tabs.d.ts +0 -27
  443. package/dist/src/components/tabs/tabs.jsx +0 -47
  444. package/dist/src/components/tabs/tabs.jsx.map +0 -1
  445. package/dist/src/components/textarea/class.d.ts +0 -3
  446. package/dist/src/components/textarea/class.js +0 -4
  447. package/dist/src/components/textarea/class.js.map +0 -1
  448. package/dist/src/components/textarea/index.d.ts +0 -2
  449. package/dist/src/components/textarea/index.js +0 -3
  450. package/dist/src/components/textarea/index.js.map +0 -1
  451. package/dist/src/components/textarea/textarea.css +0 -46
  452. package/dist/src/components/textarea/textarea.d.ts +0 -6
  453. package/dist/src/components/textarea/textarea.jsx +0 -10
  454. package/dist/src/components/textarea/textarea.jsx.map +0 -1
  455. package/dist/src/components/xstack/class.d.ts +0 -12
  456. package/dist/src/components/xstack/class.js +0 -12
  457. package/dist/src/components/xstack/class.js.map +0 -1
  458. package/dist/src/components/xstack/index.d.ts +0 -1
  459. package/dist/src/components/xstack/index.js +0 -1
  460. package/dist/src/components/xstack/index.js.map +0 -1
  461. package/dist/src/components/xstack/xstack.css +0 -34
  462. package/dist/src/components/xstack/xstack.d.ts +0 -9
  463. package/dist/src/components/xstack/xstack.jsx +0 -15
  464. package/dist/src/components/xstack/xstack.jsx.map +0 -1
  465. package/dist/src/components/ystack/class.d.ts +0 -11
  466. package/dist/src/components/ystack/class.js +0 -11
  467. package/dist/src/components/ystack/class.js.map +0 -1
  468. package/dist/src/components/ystack/index.d.ts +0 -2
  469. package/dist/src/components/ystack/index.js +0 -3
  470. package/dist/src/components/ystack/index.js.map +0 -1
  471. package/dist/src/components/ystack/ystack.css +0 -31
  472. package/dist/src/components/ystack/ystack.d.ts +0 -9
  473. package/dist/src/components/ystack/ystack.jsx +0 -15
  474. package/dist/src/components/ystack/ystack.jsx.map +0 -1
  475. package/dist/src/icons/check-icon.d.ts +0 -2
  476. package/dist/src/icons/check-icon.jsx +0 -8
  477. package/dist/src/icons/check-icon.jsx.map +0 -1
  478. package/dist/src/icons/chevron-down-icon.d.ts +0 -2
  479. package/dist/src/icons/chevron-down-icon.jsx +0 -8
  480. package/dist/src/icons/chevron-down-icon.jsx.map +0 -1
  481. package/dist/src/icons/chevron-right-icon.d.ts +0 -2
  482. package/dist/src/icons/chevron-right-icon.jsx +0 -8
  483. package/dist/src/icons/chevron-right-icon.jsx.map +0 -1
  484. package/dist/src/icons/dot-filled-icon.d.ts +0 -2
  485. package/dist/src/icons/dot-filled-icon.jsx +0 -8
  486. package/dist/src/icons/dot-filled-icon.jsx.map +0 -1
  487. package/dist/src/icons/index.d.ts +0 -5
  488. package/dist/src/icons/index.js +0 -6
  489. package/dist/src/icons/index.js.map +0 -1
  490. package/dist/src/icons/types.d.ts +0 -5
  491. package/dist/src/icons/types.js +0 -1
  492. package/dist/src/icons/types.js.map +0 -1
  493. package/dist/src/index.d.ts +0 -19
  494. package/dist/src/index.js +0 -20
  495. package/dist/src/index.js.map +0 -1
  496. package/dist/src/lib/reflect.d.ts +0 -1
  497. package/dist/src/lib/reflect.js +0 -4
  498. package/dist/src/lib/reflect.js.map +0 -1
  499. /package/dist/{src/style → style}/colors.css +0 -0
  500. /package/dist/{src/style → style}/reset.css +0 -0
  501. /package/dist/{src/style → style}/tokens.css +0 -0
@@ -1,89 +0,0 @@
1
- import { Dialog as KDialog, } from '@kobalte/core/dialog';
2
- import clsx from 'clsx/lite';
3
- import { mergeProps, splitProps } from 'solid-js';
4
- import { Button } from '../button';
5
- import { dialogClass } from './class';
6
- import './dialog-trigger.css';
7
- import './dialog-overlay.css';
8
- import './dialog-positioner.css';
9
- import './dialog-content.css';
10
- import './dialog-header.css';
11
- import './dialog-close-button.css';
12
- import './dialog-title.css';
13
- import './dialog-description.css';
14
- export function DialogRoot(props) {
15
- return <KDialog {...props}/>;
16
- }
17
- export function DialogPortal(props) {
18
- return <KDialog.Portal {...props}/>;
19
- }
20
- export function DialogTrigger(props) {
21
- const [local, rest] = splitProps(props, ['class']);
22
- const rootClass = () => clsx(dialogClass.trigger, local.class);
23
- return (<KDialog.Trigger class={rootClass()} {...rest}/>);
24
- }
25
- export function DialogButtonTrigger(props) {
26
- const merged = mergeProps({
27
- type: 'button',
28
- variant: 'solid',
29
- color: 'primary',
30
- }, props);
31
- return (<KDialog.Trigger as={Button} {...merged}/>);
32
- }
33
- export function DialogOverlay(props) {
34
- const [local, rest] = splitProps(props, ['class']);
35
- const rootClass = () => clsx(dialogClass.overlay, local.class);
36
- return (<KDialog.Overlay class={rootClass()} {...rest}/>);
37
- }
38
- export function DialogPositioner(props) {
39
- const [local, rest] = splitProps(props, ['class']);
40
- const rootClass = () => clsx(dialogClass.positioner, local.class);
41
- return (<div class={rootClass()} {...rest}/>);
42
- }
43
- export function DialogContent(props) {
44
- const merged = mergeProps({
45
- size: 'md',
46
- }, props);
47
- const [local, rest] = splitProps(merged, ['class', 'size']);
48
- const rootClass = () => {
49
- const sizeClass = dialogClass.contentSize[local.size];
50
- return clsx(dialogClass.content, sizeClass, local.class);
51
- };
52
- return (<KDialog.Content class={rootClass()} {...rest}/>);
53
- }
54
- export function DialogHeader(props) {
55
- const [local, rest] = splitProps(props, ['class']);
56
- const rootClass = () => clsx(dialogClass.header, local.class);
57
- return (<div class={rootClass()} {...rest}/>);
58
- }
59
- export function DialogTitle(props) {
60
- const [local, rest] = splitProps(props, ['class']);
61
- const rootClass = () => clsx(dialogClass.title, local.class);
62
- return (<KDialog.Title class={rootClass()} {...rest}/>);
63
- }
64
- export function DialogDescription(props) {
65
- const [local, rest] = splitProps(props, ['class']);
66
- const rootClass = () => clsx(dialogClass.description, local.class);
67
- return (<KDialog.Description class={rootClass()} {...rest}/>);
68
- }
69
- export function DialogCloseButton(props) {
70
- const merged = mergeProps({
71
- 'aria-label': 'Close dialog',
72
- }, props);
73
- const [local, rest] = splitProps(merged, ['class']);
74
- const rootClass = () => clsx(dialogClass.closeButton, local.class);
75
- return (<KDialog.CloseButton class={rootClass()} {...rest}/>);
76
- }
77
- export const Dialog = Object.assign(DialogRoot, {
78
- Portal: DialogPortal,
79
- Trigger: DialogTrigger,
80
- ButtonTrigger: DialogButtonTrigger,
81
- Overlay: DialogOverlay,
82
- Positioner: DialogPositioner,
83
- Content: DialogContent,
84
- Header: DialogHeader,
85
- Title: DialogTitle,
86
- Description: DialogDescription,
87
- CloseButton: DialogCloseButton,
88
- });
89
- //# sourceMappingURL=dialog.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dialog.jsx","sourceRoot":"","sources":["../../../../src/components/dialog/dialog.tsx"],"names":[],"mappings":"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","sourcesContent":["import {\n\tDialog as KDialog,\n\ttype DialogCloseButtonProps as KDialogCloseButtonProps,\n\ttype DialogContentProps as KDialogContentProps,\n\ttype DialogDescriptionProps as KDialogDescriptionProps,\n\ttype DialogOverlayProps as KDialogOverlayProps,\n\ttype DialogPortalProps as KDialogPortalProps,\n\ttype DialogRootProps as KDialogRootProps,\n\ttype DialogTitleProps as KDialogTitleProps,\n\ttype DialogTriggerProps as KDialogTriggerProps,\n} from '@kobalte/core/dialog';\nimport clsx from 'clsx/lite';\nimport { type JSX, mergeProps, splitProps } from 'solid-js';\nimport { Button, type ButtonProps } from '../button';\nimport { type DialogContentSize, dialogClass } from './class';\nimport './dialog-trigger.css';\nimport './dialog-overlay.css';\nimport './dialog-positioner.css';\nimport './dialog-content.css';\nimport './dialog-header.css';\nimport './dialog-close-button.css';\nimport './dialog-title.css';\nimport './dialog-description.css';\n\nexport interface DialogRootProps extends KDialogRootProps {}\n\nexport type DialogPortalProps = KDialogPortalProps;\nexport type DialogTriggerProps = KDialogTriggerProps & JSX.ButtonHTMLAttributes<HTMLButtonElement>;\nexport type DialogOverlayProps = KDialogOverlayProps & JSX.HTMLAttributes<HTMLDivElement>;\nexport type DialogContentBaseProps = KDialogContentProps & Omit<JSX.HTMLAttributes<HTMLDivElement>, 'ref'>;\n\nexport interface DialogContentProps extends DialogContentBaseProps {\n\tsize?: DialogContentSize;\n}\nexport type DialogTitleProps = KDialogTitleProps & JSX.HTMLAttributes<HTMLHeadingElement>;\nexport type DialogDescriptionProps = KDialogDescriptionProps & JSX.HTMLAttributes<HTMLParagraphElement>;\nexport type DialogCloseButtonProps = KDialogCloseButtonProps & JSX.ButtonHTMLAttributes<HTMLButtonElement>;\nexport type DialogButtonTriggerProps = KDialogTriggerProps & Omit<ButtonProps, 'type'>;\nexport type DialogPositionerProps = JSX.HTMLAttributes<HTMLDivElement>;\nexport type DialogHeaderProps = JSX.HTMLAttributes<HTMLDivElement>;\n\nexport function DialogRoot(props: DialogRootProps) {\n\treturn <KDialog {...props} />;\n}\n\nexport function DialogPortal(props: DialogPortalProps) {\n\treturn <KDialog.Portal {...props} />;\n}\n\nexport function DialogTrigger(props: DialogTriggerProps) {\n\tconst [local, rest] = splitProps(props, ['class']);\n\n\tconst rootClass = () => clsx(dialogClass.trigger, local.class);\n\n\treturn (\n\t\t<KDialog.Trigger\n\t\t\tclass={rootClass()}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n\nexport function DialogButtonTrigger(props: DialogButtonTriggerProps) {\n\tconst merged = mergeProps(\n\t\t{\n\t\t\ttype: 'button',\n\t\t\tvariant: 'solid',\n\t\t\tcolor: 'primary',\n\t\t} as const,\n\t\tprops,\n\t);\n\n\treturn (\n\t\t<KDialog.Trigger\n\t\t\tas={Button}\n\t\t\t{...merged}\n\t\t/>\n\t);\n}\n\nexport function DialogOverlay(props: DialogOverlayProps) {\n\tconst [local, rest] = splitProps(props, ['class']);\n\n\tconst rootClass = () => clsx(dialogClass.overlay, local.class);\n\n\treturn (\n\t\t<KDialog.Overlay\n\t\t\tclass={rootClass()}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n\nexport function DialogPositioner(props: DialogPositionerProps) {\n\tconst [local, rest] = splitProps(props, ['class']);\n\n\tconst rootClass = () => clsx(dialogClass.positioner, local.class);\n\n\treturn (\n\t\t<div\n\t\t\tclass={rootClass()}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n\nexport function DialogContent(props: DialogContentProps) {\n\tconst merged = mergeProps(\n\t\t{\n\t\t\tsize: 'md',\n\t\t} as const,\n\t\tprops,\n\t);\n\tconst [local, rest] = splitProps(merged, ['class', 'size']);\n\n\tconst rootClass = () => {\n\t\tconst sizeClass = dialogClass.contentSize[local.size];\n\n\t\treturn clsx(dialogClass.content, sizeClass, local.class);\n\t};\n\n\treturn (\n\t\t<KDialog.Content\n\t\t\tclass={rootClass()}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n\nexport function DialogHeader(props: DialogHeaderProps) {\n\tconst [local, rest] = splitProps(props, ['class']);\n\n\tconst rootClass = () => clsx(dialogClass.header, local.class);\n\n\treturn (\n\t\t<div\n\t\t\tclass={rootClass()}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n\nexport function DialogTitle(props: DialogTitleProps) {\n\tconst [local, rest] = splitProps(props, ['class']);\n\n\tconst rootClass = () => clsx(dialogClass.title, local.class);\n\n\treturn (\n\t\t<KDialog.Title\n\t\t\tclass={rootClass()}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n\nexport function DialogDescription(props: DialogDescriptionProps) {\n\tconst [local, rest] = splitProps(props, ['class']);\n\n\tconst rootClass = () => clsx(dialogClass.description, local.class);\n\n\treturn (\n\t\t<KDialog.Description\n\t\t\tclass={rootClass()}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n\nexport function DialogCloseButton(props: DialogCloseButtonProps) {\n\tconst merged = mergeProps(\n\t\t{\n\t\t\t'aria-label': 'Close dialog',\n\t\t} as const,\n\t\tprops,\n\t);\n\tconst [local, rest] = splitProps(merged, ['class']);\n\n\tconst rootClass = () => clsx(dialogClass.closeButton, local.class);\n\n\treturn (\n\t\t<KDialog.CloseButton\n\t\t\tclass={rootClass()}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n\nexport const Dialog = Object.assign(DialogRoot, {\n\tPortal: DialogPortal,\n\tTrigger: DialogTrigger,\n\tButtonTrigger: DialogButtonTrigger,\n\tOverlay: DialogOverlay,\n\tPositioner: DialogPositioner,\n\tContent: DialogContent,\n\tHeader: DialogHeader,\n\tTitle: DialogTitle,\n\tDescription: DialogDescription,\n\tCloseButton: DialogCloseButton,\n});\n"]}
@@ -1,2 +0,0 @@
1
- export * from './class';
2
- export * from './dialog';
@@ -1,3 +0,0 @@
1
- export * from './class';
2
- export * from './dialog';
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/dialog/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC","sourcesContent":["export * from './class';\nexport * from './dialog';\n"]}
@@ -1,16 +0,0 @@
1
- export declare const dropdownMenuClass: {
2
- readonly root: 'fl-dropdown-menu';
3
- readonly trigger: 'fl-dropdown-menu_trigger';
4
- readonly icon: 'fl-dropdown-menu_icon';
5
- readonly content: 'fl-dropdown-menu_content';
6
- readonly subContent: 'fl-dropdown-menu_sub-content';
7
- readonly item: 'fl-dropdown-menu_item';
8
- readonly checkboxItem: 'fl-dropdown-menu_checkbox-item';
9
- readonly radioItem: 'fl-dropdown-menu_radio-item';
10
- readonly subTrigger: 'fl-dropdown-menu_sub-trigger';
11
- readonly groupLabel: 'fl-dropdown-menu_group-label';
12
- readonly separator: 'fl-dropdown-menu_separator';
13
- readonly itemIndicator: 'fl-dropdown-menu_item-indicator';
14
- readonly itemRightSlot: 'fl-dropdown-menu_item-right-slot';
15
- readonly arrow: 'fl-dropdown-menu_arrow';
16
- };
@@ -1,17 +0,0 @@
1
- export const dropdownMenuClass = {
2
- root: 'fl-dropdown-menu',
3
- trigger: 'fl-dropdown-menu_trigger',
4
- icon: 'fl-dropdown-menu_icon',
5
- content: 'fl-dropdown-menu_content',
6
- subContent: 'fl-dropdown-menu_sub-content',
7
- item: 'fl-dropdown-menu_item',
8
- checkboxItem: 'fl-dropdown-menu_checkbox-item',
9
- radioItem: 'fl-dropdown-menu_radio-item',
10
- subTrigger: 'fl-dropdown-menu_sub-trigger',
11
- groupLabel: 'fl-dropdown-menu_group-label',
12
- separator: 'fl-dropdown-menu_separator',
13
- itemIndicator: 'fl-dropdown-menu_item-indicator',
14
- itemRightSlot: 'fl-dropdown-menu_item-right-slot',
15
- arrow: 'fl-dropdown-menu_arrow',
16
- };
17
- //# sourceMappingURL=class.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"class.js","sourceRoot":"","sources":["../../../../src/components/dropdown-menu/class.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAChC,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,0BAA0B;IACnC,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,0BAA0B;IACnC,UAAU,EAAE,8BAA8B;IAC1C,IAAI,EAAE,uBAAuB;IAC7B,YAAY,EAAE,gCAAgC;IAC9C,SAAS,EAAE,6BAA6B;IACxC,UAAU,EAAE,8BAA8B;IAC1C,UAAU,EAAE,8BAA8B;IAC1C,SAAS,EAAE,4BAA4B;IACvC,aAAa,EAAE,iCAAiC;IAChD,aAAa,EAAE,kCAAkC;IACjD,KAAK,EAAE,wBAAwB;CACtB,CAAC","sourcesContent":["export const dropdownMenuClass = {\n\troot: 'fl-dropdown-menu',\n\ttrigger: 'fl-dropdown-menu_trigger',\n\ticon: 'fl-dropdown-menu_icon',\n\tcontent: 'fl-dropdown-menu_content',\n\tsubContent: 'fl-dropdown-menu_sub-content',\n\titem: 'fl-dropdown-menu_item',\n\tcheckboxItem: 'fl-dropdown-menu_checkbox-item',\n\tradioItem: 'fl-dropdown-menu_radio-item',\n\tsubTrigger: 'fl-dropdown-menu_sub-trigger',\n\tgroupLabel: 'fl-dropdown-menu_group-label',\n\tseparator: 'fl-dropdown-menu_separator',\n\titemIndicator: 'fl-dropdown-menu_item-indicator',\n\titemRightSlot: 'fl-dropdown-menu_item-right-slot',\n\tarrow: 'fl-dropdown-menu_arrow',\n} as const;\n"]}
@@ -1,7 +0,0 @@
1
- @layer components {
2
- .fl-dropdown-menu_arrow {
3
- /* background */
4
- fill: var(--fl-body-bg-color);
5
- stroke: var(--fl-border-color);
6
- }
7
- }
@@ -1,3 +0,0 @@
1
- import type { DropdownMenuArrowProps } from './types';
2
- import './dropdown-menu-arrow.css';
3
- export declare function DropdownMenuArrow(props: DropdownMenuArrowProps): import("solid-js").JSX.Element;
@@ -1,10 +0,0 @@
1
- import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';
2
- import clsx from 'clsx/lite';
3
- import { splitProps } from 'solid-js';
4
- import { dropdownMenuClass } from './class';
5
- import './dropdown-menu-arrow.css';
6
- export function DropdownMenuArrow(props) {
7
- const [local, rest] = splitProps(props, ['class']);
8
- return (<KDropdownMenu.Arrow class={clsx(dropdownMenuClass.arrow, local.class)} size={8} {...rest}/>);
9
- }
10
- //# sourceMappingURL=dropdown-menu-arrow.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dropdown-menu-arrow.jsx","sourceRoot":"","sources":["../../../../src/components/dropdown-menu/dropdown-menu-arrow.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,2BAA2B,CAAC;AAEnC,MAAM,UAAU,iBAAiB,CAAC,KAA6B;IAC9D,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACnD,OAAO,CACN,CAAC,aAAa,CAAC,KAAK,CACnB,KAAK,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAClD,IAAI,CAAC,CAAC,CAAC,CAAC,CACR,IAAI,IAAI,CAAC,EACR,CACF,CAAC;AACH,CAAC","sourcesContent":["import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';\nimport clsx from 'clsx/lite';\nimport { splitProps } from 'solid-js';\nimport { dropdownMenuClass } from './class';\nimport type { DropdownMenuArrowProps } from './types';\nimport './dropdown-menu-arrow.css';\n\nexport function DropdownMenuArrow(props: DropdownMenuArrowProps) {\n\tconst [local, rest] = splitProps(props, ['class']);\n\treturn (\n\t\t<KDropdownMenu.Arrow\n\t\t\tclass={clsx(dropdownMenuClass.arrow, local.class)}\n\t\t\tsize={8}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n"]}
@@ -1,38 +0,0 @@
1
- @layer components {
2
- .fl-dropdown-menu_checkbox-item {
3
- /* reset */
4
- outline: none;
5
-
6
- /* layout */
7
- position: relative;
8
- display: flex;
9
- align-items: center;
10
- min-height: var(--fl-size-8);
11
-
12
- /* spacing */
13
- padding-inline: var(--fl-size-2);
14
- padding-left: var(--fl-size-6);
15
-
16
- /* background */
17
- border-radius: var(--fl-radius-sm);
18
-
19
- /* text */
20
- color: var(--fl-body-text-color);
21
- font-size: var(--fl-text-size-sm);
22
- line-height: 1.2;
23
-
24
- /* pointer */
25
- cursor: pointer;
26
- user-select: none;
27
- }
28
-
29
- .fl-dropdown-menu_checkbox-item[data-disabled] {
30
- opacity: var(--fl-disabled-opacity);
31
- pointer-events: none;
32
- }
33
-
34
- .fl-dropdown-menu_checkbox-item[data-highlighted] {
35
- background: var(--fl-primary-color);
36
- color: var(--fl-primary-text-color);
37
- }
38
- }
@@ -1,3 +0,0 @@
1
- import type { DropdownMenuCheckboxItemProps } from './types';
2
- import './dropdown-menu-checkbox-item.css';
3
- export declare function DropdownMenuCheckboxItem(props: DropdownMenuCheckboxItemProps): import("solid-js").JSX.Element;
@@ -1,10 +0,0 @@
1
- import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';
2
- import clsx from 'clsx/lite';
3
- import { splitProps } from 'solid-js';
4
- import { dropdownMenuClass } from './class';
5
- import './dropdown-menu-checkbox-item.css';
6
- export function DropdownMenuCheckboxItem(props) {
7
- const [local, rest] = splitProps(props, ['class']);
8
- return (<KDropdownMenu.CheckboxItem class={clsx(dropdownMenuClass.checkboxItem, local.class)} {...rest}/>);
9
- }
10
- //# sourceMappingURL=dropdown-menu-checkbox-item.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dropdown-menu-checkbox-item.jsx","sourceRoot":"","sources":["../../../../src/components/dropdown-menu/dropdown-menu-checkbox-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,mCAAmC,CAAC;AAE3C,MAAM,UAAU,wBAAwB,CAAC,KAAoC;IAC5E,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACnD,OAAO,CACN,CAAC,aAAa,CAAC,YAAY,CAC1B,KAAK,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CACzD,IAAI,IAAI,CAAC,EACR,CACF,CAAC;AACH,CAAC","sourcesContent":["import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';\nimport clsx from 'clsx/lite';\nimport { splitProps } from 'solid-js';\nimport { dropdownMenuClass } from './class';\nimport type { DropdownMenuCheckboxItemProps } from './types';\nimport './dropdown-menu-checkbox-item.css';\n\nexport function DropdownMenuCheckboxItem(props: DropdownMenuCheckboxItemProps) {\n\tconst [local, rest] = splitProps(props, ['class']);\n\treturn (\n\t\t<KDropdownMenu.CheckboxItem\n\t\t\tclass={clsx(dropdownMenuClass.checkboxItem, local.class)}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n"]}
@@ -1,50 +0,0 @@
1
- @layer components {
2
- .fl-dropdown-menu_content {
3
- /* reset */
4
- outline: none;
5
-
6
- /* layout */
7
- min-width: 13.75rem;
8
-
9
- /* spacing */
10
- padding: var(--fl-size-2);
11
-
12
- /* background */
13
- background: var(--fl-body-bg-color);
14
- border: var(--fl-border-size, 1px) solid var(--fl-border-color);
15
- border-radius: var(--fl-border-radius);
16
-
17
- /* effects */
18
- box-shadow: var(--fl-shadow-lg);
19
- transform-origin: var(--kb-menu-content-transform-origin);
20
- animation: fl-dropdown-menu-content-hide 180ms ease-in forwards;
21
- }
22
-
23
- .fl-dropdown-menu_content[data-expanded] {
24
- animation: fl-dropdown-menu-content-show 180ms ease-out;
25
- }
26
-
27
- @keyframes fl-dropdown-menu-content-show {
28
- from {
29
- opacity: 0;
30
- transform: scale(0.96);
31
- }
32
-
33
- to {
34
- opacity: 1;
35
- transform: scale(1);
36
- }
37
- }
38
-
39
- @keyframes fl-dropdown-menu-content-hide {
40
- from {
41
- opacity: 1;
42
- transform: scale(1);
43
- }
44
-
45
- to {
46
- opacity: 0;
47
- transform: scale(0.96);
48
- }
49
- }
50
- }
@@ -1,3 +0,0 @@
1
- import type { DropdownMenuContentProps } from './types';
2
- import './dropdown-menu-content.css';
3
- export declare function DropdownMenuContent(props: DropdownMenuContentProps): import("solid-js").JSX.Element;
@@ -1,10 +0,0 @@
1
- import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';
2
- import clsx from 'clsx/lite';
3
- import { splitProps } from 'solid-js';
4
- import { dropdownMenuClass } from './class';
5
- import './dropdown-menu-content.css';
6
- export function DropdownMenuContent(props) {
7
- const [local, rest] = splitProps(props, ['class']);
8
- return (<KDropdownMenu.Content class={clsx(dropdownMenuClass.content, local.class)} {...rest}/>);
9
- }
10
- //# sourceMappingURL=dropdown-menu-content.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dropdown-menu-content.jsx","sourceRoot":"","sources":["../../../../src/components/dropdown-menu/dropdown-menu-content.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,6BAA6B,CAAC;AAErC,MAAM,UAAU,mBAAmB,CAAC,KAA+B;IAClE,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACnD,OAAO,CACN,CAAC,aAAa,CAAC,OAAO,CACrB,KAAK,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CACpD,IAAI,IAAI,CAAC,EACR,CACF,CAAC;AACH,CAAC","sourcesContent":["import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';\nimport clsx from 'clsx/lite';\nimport { splitProps } from 'solid-js';\nimport { dropdownMenuClass } from './class';\nimport type { DropdownMenuContentProps } from './types';\nimport './dropdown-menu-content.css';\n\nexport function DropdownMenuContent(props: DropdownMenuContentProps) {\n\tconst [local, rest] = splitProps(props, ['class']);\n\treturn (\n\t\t<KDropdownMenu.Content\n\t\t\tclass={clsx(dropdownMenuClass.content, local.class)}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n"]}
@@ -1,15 +0,0 @@
1
- @layer components {
2
- .fl-dropdown-menu_group-label {
3
- /* layout */
4
- display: block;
5
-
6
- /* spacing */
7
- padding-inline: var(--fl-size-1);
8
- padding-block: var(--fl-size-1);
9
-
10
- /* text */
11
- color: var(--fl-body-muted-text-color);
12
- font-size: var(--fl-text-size-xs);
13
- font-weight: var(--fl-font-weight-semibold);
14
- }
15
- }
@@ -1,3 +0,0 @@
1
- import type { DropdownMenuGroupLabelProps } from './types';
2
- import './dropdown-menu-group-label.css';
3
- export declare function DropdownMenuGroupLabel(props: DropdownMenuGroupLabelProps): import("solid-js").JSX.Element;
@@ -1,10 +0,0 @@
1
- import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';
2
- import clsx from 'clsx/lite';
3
- import { splitProps } from 'solid-js';
4
- import { dropdownMenuClass } from './class';
5
- import './dropdown-menu-group-label.css';
6
- export function DropdownMenuGroupLabel(props) {
7
- const [local, rest] = splitProps(props, ['class']);
8
- return (<KDropdownMenu.GroupLabel class={clsx(dropdownMenuClass.groupLabel, local.class)} {...rest}/>);
9
- }
10
- //# sourceMappingURL=dropdown-menu-group-label.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dropdown-menu-group-label.jsx","sourceRoot":"","sources":["../../../../src/components/dropdown-menu/dropdown-menu-group-label.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,iCAAiC,CAAC;AAEzC,MAAM,UAAU,sBAAsB,CAAC,KAAkC;IACxE,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACnD,OAAO,CACN,CAAC,aAAa,CAAC,UAAU,CACxB,KAAK,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,UAAU,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CACvD,IAAI,IAAI,CAAC,EACR,CACF,CAAC;AACH,CAAC","sourcesContent":["import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';\nimport clsx from 'clsx/lite';\nimport { splitProps } from 'solid-js';\nimport { dropdownMenuClass } from './class';\nimport type { DropdownMenuGroupLabelProps } from './types';\nimport './dropdown-menu-group-label.css';\n\nexport function DropdownMenuGroupLabel(props: DropdownMenuGroupLabelProps) {\n\tconst [local, rest] = splitProps(props, ['class']);\n\treturn (\n\t\t<KDropdownMenu.GroupLabel\n\t\t\tclass={clsx(dropdownMenuClass.groupLabel, local.class)}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n"]}
@@ -1,2 +0,0 @@
1
- import type { DropdownMenuGroupProps } from './types';
2
- export declare function DropdownMenuGroup(props: DropdownMenuGroupProps): import("solid-js").JSX.Element;
@@ -1,7 +0,0 @@
1
- import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';
2
- import { splitProps } from 'solid-js';
3
- export function DropdownMenuGroup(props) {
4
- const [local, rest] = splitProps(props, ['class']);
5
- return (<KDropdownMenu.Group class={local.class} {...rest}/>);
6
- }
7
- //# sourceMappingURL=dropdown-menu-group.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dropdown-menu-group.jsx","sourceRoot":"","sources":["../../../../src/components/dropdown-menu/dropdown-menu-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAGtC,MAAM,UAAU,iBAAiB,CAAC,KAA6B;IAC9D,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACnD,OAAO,CACN,CAAC,aAAa,CAAC,KAAK,CACnB,KAAK,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CACnB,IAAI,IAAI,CAAC,EACR,CACF,CAAC;AACH,CAAC","sourcesContent":["import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';\nimport { splitProps } from 'solid-js';\nimport type { DropdownMenuGroupProps } from './types';\n\nexport function DropdownMenuGroup(props: DropdownMenuGroupProps) {\n\tconst [local, rest] = splitProps(props, ['class']);\n\treturn (\n\t\t<KDropdownMenu.Group\n\t\t\tclass={local.class}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n"]}
@@ -1,21 +0,0 @@
1
- @layer components {
2
- .fl-dropdown-menu_icon {
3
- /* layout */
4
- display: inline-flex;
5
- align-items: center;
6
- justify-content: center;
7
- width: var(--fl-size-5);
8
- height: var(--fl-size-5);
9
- flex: 0 0 var(--fl-size-5);
10
-
11
- /* spacing */
12
- margin-right: calc(var(--fl-size-1-5) * -1);
13
-
14
- /* effects */
15
- transition: transform var(--fl-animation-duration) ease;
16
- }
17
-
18
- .fl-dropdown-menu_icon[data-expanded] {
19
- transform: rotate(180deg);
20
- }
21
- }
@@ -1,3 +0,0 @@
1
- import type { DropdownMenuIconProps } from './types';
2
- import './dropdown-menu-icon.css';
3
- export declare function DropdownMenuIcon(props: DropdownMenuIconProps): import("solid-js").JSX.Element;
@@ -1,10 +0,0 @@
1
- import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';
2
- import clsx from 'clsx/lite';
3
- import { splitProps } from 'solid-js';
4
- import { dropdownMenuClass } from './class';
5
- import './dropdown-menu-icon.css';
6
- export function DropdownMenuIcon(props) {
7
- const [local, rest] = splitProps(props, ['class']);
8
- return (<KDropdownMenu.Icon class={clsx(dropdownMenuClass.icon, local.class)} {...rest}/>);
9
- }
10
- //# sourceMappingURL=dropdown-menu-icon.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dropdown-menu-icon.jsx","sourceRoot":"","sources":["../../../../src/components/dropdown-menu/dropdown-menu-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,0BAA0B,CAAC;AAElC,MAAM,UAAU,gBAAgB,CAAC,KAA4B;IAC5D,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACnD,OAAO,CACN,CAAC,aAAa,CAAC,IAAI,CAClB,KAAK,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CACjD,IAAI,IAAI,CAAC,EACR,CACF,CAAC;AACH,CAAC","sourcesContent":["import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';\nimport clsx from 'clsx/lite';\nimport { splitProps } from 'solid-js';\nimport { dropdownMenuClass } from './class';\nimport type { DropdownMenuIconProps } from './types';\nimport './dropdown-menu-icon.css';\n\nexport function DropdownMenuIcon(props: DropdownMenuIconProps) {\n\tconst [local, rest] = splitProps(props, ['class']);\n\treturn (\n\t\t<KDropdownMenu.Icon\n\t\t\tclass={clsx(dropdownMenuClass.icon, local.class)}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n"]}
@@ -1,12 +0,0 @@
1
- @layer components {
2
- .fl-dropdown-menu_item-indicator {
3
- /* layout */
4
- position: absolute;
5
- left: var(--fl-size-0-5);
6
- display: inline-flex;
7
- align-items: center;
8
- justify-content: center;
9
- width: var(--fl-size-4);
10
- height: var(--fl-size-4);
11
- }
12
- }
@@ -1,3 +0,0 @@
1
- import type { DropdownMenuItemIndicatorProps } from './types';
2
- import './dropdown-menu-item-indicator.css';
3
- export declare function DropdownMenuItemIndicator(props: DropdownMenuItemIndicatorProps): import("solid-js").JSX.Element;
@@ -1,10 +0,0 @@
1
- import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';
2
- import clsx from 'clsx/lite';
3
- import { splitProps } from 'solid-js';
4
- import { dropdownMenuClass } from './class';
5
- import './dropdown-menu-item-indicator.css';
6
- export function DropdownMenuItemIndicator(props) {
7
- const [local, rest] = splitProps(props, ['class']);
8
- return (<KDropdownMenu.ItemIndicator class={clsx(dropdownMenuClass.itemIndicator, local.class)} {...rest}/>);
9
- }
10
- //# sourceMappingURL=dropdown-menu-item-indicator.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dropdown-menu-item-indicator.jsx","sourceRoot":"","sources":["../../../../src/components/dropdown-menu/dropdown-menu-item-indicator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,oCAAoC,CAAC;AAE5C,MAAM,UAAU,yBAAyB,CAAC,KAAqC;IAC9E,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACnD,OAAO,CACN,CAAC,aAAa,CAAC,aAAa,CAC3B,KAAK,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,aAAa,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAC1D,IAAI,IAAI,CAAC,EACR,CACF,CAAC;AACH,CAAC","sourcesContent":["import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';\nimport clsx from 'clsx/lite';\nimport { splitProps } from 'solid-js';\nimport { dropdownMenuClass } from './class';\nimport type { DropdownMenuItemIndicatorProps } from './types';\nimport './dropdown-menu-item-indicator.css';\n\nexport function DropdownMenuItemIndicator(props: DropdownMenuItemIndicatorProps) {\n\tconst [local, rest] = splitProps(props, ['class']);\n\treturn (\n\t\t<KDropdownMenu.ItemIndicator\n\t\t\tclass={clsx(dropdownMenuClass.itemIndicator, local.class)}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n"]}
@@ -1,18 +0,0 @@
1
- @layer components {
2
- .fl-dropdown-menu_item-right-slot {
3
- /* layout */
4
- margin-left: auto;
5
-
6
- /* spacing */
7
- padding-left: var(--fl-size-5);
8
-
9
- /* text */
10
- color: var(--fl-body-muted-text-color);
11
- font-size: var(--fl-text-size-xs);
12
- }
13
-
14
- [data-highlighted] > .fl-dropdown-menu_item-right-slot {
15
- /* text */
16
- color: inherit;
17
- }
18
- }
@@ -1,3 +0,0 @@
1
- import type { DropdownMenuItemRightSlotProps } from './types';
2
- import './dropdown-menu-item-right-slot.css';
3
- export declare function DropdownMenuItemRightSlot(props: DropdownMenuItemRightSlotProps): import("solid-js").JSX.Element;
@@ -1,11 +0,0 @@
1
- import clsx from 'clsx/lite';
2
- import { splitProps } from 'solid-js';
3
- import { dropdownMenuClass } from './class';
4
- import './dropdown-menu-item-right-slot.css';
5
- export function DropdownMenuItemRightSlot(props) {
6
- const [local, rest] = splitProps(props, ['class', 'children']);
7
- return (<span class={clsx(dropdownMenuClass.itemRightSlot, local.class)} {...rest}>
8
- {local.children}
9
- </span>);
10
- }
11
- //# sourceMappingURL=dropdown-menu-item-right-slot.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dropdown-menu-item-right-slot.jsx","sourceRoot":"","sources":["../../../../src/components/dropdown-menu/dropdown-menu-item-right-slot.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,qCAAqC,CAAC;AAE7C,MAAM,UAAU,yBAAyB,CAAC,KAAqC;IAC9E,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC;IAC/D,OAAO,CACN,CAAC,IAAI,CACJ,KAAK,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,aAAa,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAC1D,IAAI,IAAI,CAAC,CAET;GAAA,CAAC,KAAK,CAAC,QAAQ,CAChB;EAAA,EAAE,IAAI,CAAC,CACP,CAAC;AACH,CAAC","sourcesContent":["import clsx from 'clsx/lite';\nimport { splitProps } from 'solid-js';\nimport { dropdownMenuClass } from './class';\nimport type { DropdownMenuItemRightSlotProps } from './types';\nimport './dropdown-menu-item-right-slot.css';\n\nexport function DropdownMenuItemRightSlot(props: DropdownMenuItemRightSlotProps) {\n\tconst [local, rest] = splitProps(props, ['class', 'children']);\n\treturn (\n\t\t<span\n\t\t\tclass={clsx(dropdownMenuClass.itemRightSlot, local.class)}\n\t\t\t{...rest}\n\t\t>\n\t\t\t{local.children}\n\t\t</span>\n\t);\n}\n"]}
@@ -1,37 +0,0 @@
1
- @layer components {
2
- .fl-dropdown-menu_item {
3
- /* reset */
4
- outline: none;
5
-
6
- /* layout */
7
- position: relative;
8
- display: flex;
9
- align-items: center;
10
- min-height: var(--fl-size-8);
11
-
12
- /* spacing */
13
- padding-inline: var(--fl-size-2);
14
-
15
- /* background */
16
- border-radius: var(--fl-radius-sm);
17
-
18
- /* text */
19
- color: var(--fl-body-text-color);
20
- font-size: var(--fl-text-size-sm);
21
- line-height: 1.2;
22
-
23
- /* pointer */
24
- cursor: pointer;
25
- user-select: none;
26
- }
27
-
28
- .fl-dropdown-menu_item[data-disabled] {
29
- opacity: var(--fl-disabled-opacity);
30
- pointer-events: none;
31
- }
32
-
33
- .fl-dropdown-menu_item[data-highlighted] {
34
- background: var(--fl-primary-color);
35
- color: var(--fl-primary-text-color);
36
- }
37
- }
@@ -1,3 +0,0 @@
1
- import type { DropdownMenuItemProps } from './types';
2
- import './dropdown-menu-item.css';
3
- export declare function DropdownMenuItem(props: DropdownMenuItemProps): import("solid-js").JSX.Element;
@@ -1,10 +0,0 @@
1
- import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';
2
- import clsx from 'clsx/lite';
3
- import { splitProps } from 'solid-js';
4
- import { dropdownMenuClass } from './class';
5
- import './dropdown-menu-item.css';
6
- export function DropdownMenuItem(props) {
7
- const [local, rest] = splitProps(props, ['class']);
8
- return (<KDropdownMenu.Item class={clsx(dropdownMenuClass.item, local.class)} {...rest}/>);
9
- }
10
- //# sourceMappingURL=dropdown-menu-item.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dropdown-menu-item.jsx","sourceRoot":"","sources":["../../../../src/components/dropdown-menu/dropdown-menu-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,0BAA0B,CAAC;AAElC,MAAM,UAAU,gBAAgB,CAAC,KAA4B;IAC5D,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACnD,OAAO,CACN,CAAC,aAAa,CAAC,IAAI,CAClB,KAAK,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CACjD,IAAI,IAAI,CAAC,EACR,CACF,CAAC;AACH,CAAC","sourcesContent":["import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';\nimport clsx from 'clsx/lite';\nimport { splitProps } from 'solid-js';\nimport { dropdownMenuClass } from './class';\nimport type { DropdownMenuItemProps } from './types';\nimport './dropdown-menu-item.css';\n\nexport function DropdownMenuItem(props: DropdownMenuItemProps) {\n\tconst [local, rest] = splitProps(props, ['class']);\n\treturn (\n\t\t<KDropdownMenu.Item\n\t\t\tclass={clsx(dropdownMenuClass.item, local.class)}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n"]}
@@ -1,2 +0,0 @@
1
- import type { DropdownMenuPortalProps } from './types';
2
- export declare function DropdownMenuPortal(props: DropdownMenuPortalProps): import("solid-js").JSX.Element;
@@ -1,5 +0,0 @@
1
- import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';
2
- export function DropdownMenuPortal(props) {
3
- return <KDropdownMenu.Portal {...props}/>;
4
- }
5
- //# sourceMappingURL=dropdown-menu-portal.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dropdown-menu-portal.jsx","sourceRoot":"","sources":["../../../../src/components/dropdown-menu/dropdown-menu-portal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAG5E,MAAM,UAAU,kBAAkB,CAAC,KAA8B;IAChE,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AAC5C,CAAC","sourcesContent":["import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';\nimport type { DropdownMenuPortalProps } from './types';\n\nexport function DropdownMenuPortal(props: DropdownMenuPortalProps) {\n\treturn <KDropdownMenu.Portal {...props} />;\n}\n"]}
@@ -1,2 +0,0 @@
1
- import type { DropdownMenuRadioGroupProps } from './types';
2
- export declare function DropdownMenuRadioGroup(props: DropdownMenuRadioGroupProps): import("solid-js").JSX.Element;
@@ -1,7 +0,0 @@
1
- import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';
2
- import { splitProps } from 'solid-js';
3
- export function DropdownMenuRadioGroup(props) {
4
- const [local, rest] = splitProps(props, ['class']);
5
- return (<KDropdownMenu.RadioGroup class={local.class} {...rest}/>);
6
- }
7
- //# sourceMappingURL=dropdown-menu-radio-group.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dropdown-menu-radio-group.jsx","sourceRoot":"","sources":["../../../../src/components/dropdown-menu/dropdown-menu-radio-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAGtC,MAAM,UAAU,sBAAsB,CAAC,KAAkC;IACxE,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACnD,OAAO,CACN,CAAC,aAAa,CAAC,UAAU,CACxB,KAAK,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CACnB,IAAI,IAAI,CAAC,EACR,CACF,CAAC;AACH,CAAC","sourcesContent":["import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';\nimport { splitProps } from 'solid-js';\nimport type { DropdownMenuRadioGroupProps } from './types';\n\nexport function DropdownMenuRadioGroup(props: DropdownMenuRadioGroupProps) {\n\tconst [local, rest] = splitProps(props, ['class']);\n\treturn (\n\t\t<KDropdownMenu.RadioGroup\n\t\t\tclass={local.class}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n"]}