@uxf/ui 10.0.0-beta.9 → 10.0.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 (385) hide show
  1. package/_file-input-base/file-input-base.js +15 -1
  2. package/_file-input-base/index.d.ts +1 -1
  3. package/_input-with-popover/input-with-popover.d.ts +4 -3
  4. package/_input-with-popover/input-with-popover.js +26 -26
  5. package/_select-base/_select-base.d.ts +2 -2
  6. package/_select-base/_select-base.js +4 -3
  7. package/_select-base/index.d.ts +1 -1
  8. package/alert-bubble/alert-bubble.d.ts +8 -0
  9. package/alert-bubble/alert-bubble.js +22 -0
  10. package/alert-bubble/alert-bubble.spec.d.ts +1 -0
  11. package/alert-bubble/alert-bubble.spec.js +9 -0
  12. package/alert-bubble/alert-bubble.stories.d.ts +7 -0
  13. package/alert-bubble/alert-bubble.stories.js +50 -0
  14. package/alert-bubble/index.d.ts +3 -0
  15. package/alert-bubble/index.js +5 -0
  16. package/alert-bubble/theme.d.ts +16 -0
  17. package/alert-bubble/theme.js +2 -0
  18. package/avatar/README.md +8 -0
  19. package/avatar/avatar.stories.js +1 -1
  20. package/avatar/index.d.ts +1 -1
  21. package/avatar-file-input/README.md +1 -0
  22. package/avatar-file-input/avatar-file-input.d.ts +3 -0
  23. package/avatar-file-input/avatar-file-input.js +12 -6
  24. package/avatar-file-input/avatar-file-input.stories.js +5 -5
  25. package/avatar-file-input/index.d.ts +1 -1
  26. package/avatar-file-input/theme.d.ts +5 -0
  27. package/avatar-file-input/theme.js +2 -0
  28. package/badge/README.md +1 -0
  29. package/badge/badge.d.ts +1 -1
  30. package/badge/badge.stories.js +1 -1
  31. package/badge/index.d.ts +1 -1
  32. package/button/README.md +68 -0
  33. package/button/button.stories.js +0 -1
  34. package/button/index.d.ts +1 -1
  35. package/button/theme.d.ts +1 -0
  36. package/button-group/README.md +1 -0
  37. package/button-group/button-group.js +1 -1
  38. package/button-group/button-group.stories.js +1 -1
  39. package/button-group/index.d.ts +1 -1
  40. package/button-list/README.md +1 -0
  41. package/button-list/button-list.d.ts +1 -1
  42. package/button-list/button-list.js +22 -22
  43. package/button-list/index.d.ts +1 -1
  44. package/calendar/README.md +1 -0
  45. package/calendar/calendar-day-cell.d.ts +4 -1
  46. package/calendar/calendar-day-cell.js +18 -18
  47. package/{date-picker/date-picker-navigation.d.ts → calendar/calendar-navigation.d.ts} +2 -3
  48. package/{date-picker/date-picker-navigation.js → calendar/calendar-navigation.js} +6 -6
  49. package/calendar/calendar-provider.js +2 -2
  50. package/calendar/calendar.d.ts +5 -0
  51. package/calendar/calendar.js +6 -9
  52. package/calendar/calendar.stories.js +1 -1
  53. package/calendar/index.d.ts +4 -1
  54. package/calendar/index.js +5 -15
  55. package/checkbox/README.md +1 -0
  56. package/checkbox/checkbox.stories.js +1 -1
  57. package/checkbox/index.d.ts +1 -1
  58. package/checkbox-button/README.md +1 -0
  59. package/checkbox-button/checkbox-button.js +2 -2
  60. package/checkbox-button/checkbox-button.stories.js +1 -1
  61. package/checkbox-button/index.d.ts +1 -1
  62. package/checkbox-input/README.md +1 -0
  63. package/checkbox-input/checkbox-input.d.ts +1 -1
  64. package/checkbox-input/checkbox-input.stories.js +1 -1
  65. package/checkbox-input/index.d.ts +1 -1
  66. package/chip/README.md +1 -0
  67. package/chip/chip.d.ts +1 -1
  68. package/chip/chip.js +5 -3
  69. package/chip/chip.stories.js +37 -31
  70. package/chip/index.d.ts +2 -2
  71. package/color-radio/README.md +8 -0
  72. package/color-radio/color-radio.js +1 -1
  73. package/color-radio/index.d.ts +1 -1
  74. package/color-radio-group/README.md +9 -0
  75. package/color-radio-group/color-radio-group.js +3 -3
  76. package/color-radio-group/color-radio-group.stories.js +1 -1
  77. package/color-radio-group/index.d.ts +1 -1
  78. package/combobox/README.md +12 -0
  79. package/combobox/combobox.d.ts +1 -1
  80. package/combobox/combobox.stories.d.ts +2 -1
  81. package/combobox/combobox.stories.js +7 -3
  82. package/combobox/index.d.ts +1 -1
  83. package/config/icons-config.d.ts +1 -1
  84. package/config/icons-config.js +1 -1
  85. package/config/icons.d.ts +13 -3
  86. package/config/icons.js +3 -1
  87. package/content/types.d.ts +1 -1
  88. package/context/provider.js +1 -1
  89. package/create-component-preview-page/create-component-preview-page.d.ts +8 -0
  90. package/create-component-preview-page/create-component-preview-page.js +40 -0
  91. package/create-component-preview-page/index.d.ts +2 -0
  92. package/create-component-preview-page/index.js +18 -0
  93. package/create-component-preview-page/ui-components.d.ts +237 -0
  94. package/create-component-preview-page/ui-components.js +263 -0
  95. package/create-component-preview-page/ui-readmes.d.ts +2 -0
  96. package/create-component-preview-page/ui-readmes.js +102 -0
  97. package/css/alert-bubble.css +100 -0
  98. package/css/avatar-file-input.css +54 -20
  99. package/css/avatar.css +4 -4
  100. package/css/badge.css +5 -5
  101. package/css/button-group.css +1 -1
  102. package/css/button-list.css +2 -2
  103. package/css/button.css +78 -32
  104. package/css/calendar.css +115 -51
  105. package/css/checkbox-button.css +10 -10
  106. package/css/checkbox.css +9 -9
  107. package/css/chip.css +5 -3
  108. package/css/color-radio-group.css +1 -1
  109. package/css/color-radio.css +3 -3
  110. package/css/component-structure-analyzer.css +12 -12
  111. package/css/date-picker.css +10 -3
  112. package/css/date-range-picker.css +21 -0
  113. package/css/datetime-picker.css +2 -2
  114. package/css/dialog.css +55 -0
  115. package/css/dropdown.css +11 -3
  116. package/css/dropzone.css +6 -6
  117. package/css/error-message.css +1 -1
  118. package/css/file-input.css +2 -2
  119. package/css/flash-messages.css +133 -9
  120. package/css/icon.css +1 -1
  121. package/css/image-gallery.css +8 -8
  122. package/css/input-with-popover.css +1 -1
  123. package/css/input.css +10 -10
  124. package/css/layout.css +4 -4
  125. package/css/list-item.css +2 -2
  126. package/css/message.css +92 -0
  127. package/css/modal.css +10 -54
  128. package/css/multi-combobox.css +12 -12
  129. package/css/pagination.css +14 -14
  130. package/css/paper.css +1 -1
  131. package/css/radio-group.css +3 -3
  132. package/css/radio.css +7 -7
  133. package/css/raster-image.css +1 -1
  134. package/css/select-base.css +1 -1
  135. package/css/tabs.css +16 -16
  136. package/css/text-link.css +4 -4
  137. package/css/textarea.css +68 -76
  138. package/css/time-picker.css +12 -16
  139. package/css/toggle.css +3 -3
  140. package/css/tooltip.css +2 -2
  141. package/date-picker/README.md +9 -0
  142. package/date-picker/date-picker-content.d.ts +5 -2
  143. package/date-picker/date-picker-content.js +4 -3
  144. package/date-picker/date-picker-decade.js +10 -10
  145. package/date-picker/date-picker-month.js +6 -6
  146. package/date-picker/date-picker-year.js +2 -2
  147. package/date-picker/date-picker.d.ts +4 -1
  148. package/date-picker/date-picker.js +4 -2
  149. package/date-picker/date-picker.stories.js +2 -1
  150. package/date-picker/index.d.ts +1 -1
  151. package/date-picker-input/README.md +11 -0
  152. package/date-picker-input/date-picker-input.d.ts +2 -0
  153. package/date-picker-input/date-picker-input.js +5 -3
  154. package/date-picker-input/date-picker-input.stories.js +1 -1
  155. package/date-picker-input/index.d.ts +1 -1
  156. package/date-picker-input/index.js +3 -3
  157. package/date-range-picker/README.md +1 -0
  158. package/date-range-picker/date-range-picker-content.d.ts +5 -0
  159. package/date-range-picker/date-range-picker-content.js +56 -0
  160. package/date-range-picker/date-range-picker-decade.d.ts +6 -0
  161. package/date-range-picker/date-range-picker-decade.js +72 -0
  162. package/date-range-picker/date-range-picker-month.d.ts +8 -0
  163. package/date-range-picker/date-range-picker-month.js +69 -0
  164. package/date-range-picker/date-range-picker-year.d.ts +7 -0
  165. package/date-range-picker/date-range-picker-year.js +80 -0
  166. package/date-range-picker/date-range-picker.d.ts +11 -0
  167. package/date-range-picker/date-range-picker.js +51 -0
  168. package/date-range-picker/date-range-picker.spec.d.ts +1 -0
  169. package/date-range-picker/date-range-picker.spec.js +9 -0
  170. package/date-range-picker/date-range-picker.stories.d.ts +7 -0
  171. package/date-range-picker/date-range-picker.stories.js +43 -0
  172. package/date-range-picker/index.d.ts +3 -0
  173. package/date-range-picker/index.js +5 -0
  174. package/date-range-picker/types.d.ts +5 -0
  175. package/date-range-picker/types.js +2 -0
  176. package/date-range-picker-input/README.md +1 -0
  177. package/date-range-picker-input/date-range-picker-input.d.ts +17 -0
  178. package/date-range-picker-input/date-range-picker-input.js +62 -0
  179. package/date-range-picker-input/date-range-picker-input.spec.d.ts +1 -0
  180. package/date-range-picker-input/date-range-picker-input.spec.js +9 -0
  181. package/date-range-picker-input/date-range-picker-input.stories.d.ts +10 -0
  182. package/date-range-picker-input/date-range-picker-input.stories.js +53 -0
  183. package/date-range-picker-input/index.d.ts +2 -0
  184. package/date-range-picker-input/index.js +5 -0
  185. package/datetime-picker/README.md +13 -0
  186. package/datetime-picker/datetime-picker.d.ts +3 -1
  187. package/datetime-picker/datetime-picker.js +5 -5
  188. package/datetime-picker/index.d.ts +1 -1
  189. package/datetime-picker/index.js +2 -2
  190. package/datetime-picker-input/README.md +1 -0
  191. package/datetime-picker-input/datetime-picker-input.d.ts +2 -0
  192. package/datetime-picker-input/datetime-picker-input.js +5 -3
  193. package/datetime-picker-input/datetime-picker-input.stories.js +1 -1
  194. package/datetime-picker-input/index.d.ts +1 -1
  195. package/datetime-picker-input/index.js +2 -2
  196. package/dialog/dialog.d.ts +11 -0
  197. package/{modal/modal-dialog.js → dialog/dialog.js} +9 -10
  198. package/dialog/dialog.spec.d.ts +1 -0
  199. package/dialog/dialog.spec.js +9 -0
  200. package/dialog/dialog.stories.d.ts +7 -0
  201. package/dialog/dialog.stories.js +47 -0
  202. package/dialog/index.d.ts +2 -0
  203. package/dialog/index.js +5 -0
  204. package/dialog/theme.d.ts +4 -0
  205. package/dialog/theme.js +2 -0
  206. package/dropdown/README.md +1 -0
  207. package/dropdown/dropdown.stories.js +2 -2
  208. package/dropdown/index.d.ts +1 -1
  209. package/dropzone/README.md +8 -0
  210. package/dropzone/dropzone-input.js +10 -6
  211. package/dropzone/dropzone-list.js +2 -16
  212. package/dropzone/dropzone.stories.js +7 -7
  213. package/error-message/README.md +7 -0
  214. package/error-message/error-message.stories.js +1 -1
  215. package/file-input/README.md +11 -0
  216. package/file-input/file-input.d.ts +3 -0
  217. package/file-input/file-input.js +10 -22
  218. package/file-input/file-input.stories.js +5 -5
  219. package/file-input/index.d.ts +1 -1
  220. package/flash-messages/README.md +23 -0
  221. package/flash-messages/flash-message.d.ts +1 -1
  222. package/flash-messages/flash-message.js +1 -1
  223. package/flash-messages/flash-messages.js +52 -18
  224. package/flash-messages/flash-messages.stories.js +12 -0
  225. package/flash-messages/index.d.ts +2 -2
  226. package/flash-messages/index.js +4 -4
  227. package/form-component/README.md +7 -0
  228. package/form-component/index.d.ts +1 -1
  229. package/hooks/use-dropdown.d.ts +16 -8
  230. package/icon/README.md +11 -0
  231. package/icon/icon.stories.js +1 -1
  232. package/icon/index.d.ts +1 -1
  233. package/image-gallery/components/close-button.d.ts +2 -1
  234. package/image-gallery/components/close-button.js +2 -3
  235. package/image-gallery/components/gallery.d.ts +4 -1
  236. package/image-gallery/components/gallery.js +6 -5
  237. package/image-gallery/components/next-button.d.ts +7 -0
  238. package/image-gallery/components/next-button.js +14 -0
  239. package/image-gallery/components/prev-button.d.ts +7 -0
  240. package/image-gallery/components/prev-button.js +14 -0
  241. package/image-gallery/image-gallery.d.ts +4 -1
  242. package/image-gallery/image-gallery.js +2 -2
  243. package/image-gallery/image-gallery.stories.js +5 -1
  244. package/image-gallery/image.d.ts +1 -1
  245. package/image-gallery/image.js +1 -1
  246. package/image-gallery/use-image.js +1 -1
  247. package/input/README.md +8 -0
  248. package/input/input-element.d.ts +1 -0
  249. package/input/input-element.js +1 -1
  250. package/input/input.d.ts +2 -2
  251. package/input/input.js +3 -3
  252. package/input/input.stories.js +3 -3
  253. package/label/README.md +7 -0
  254. package/label/index.d.ts +1 -1
  255. package/label/label.stories.js +1 -1
  256. package/layout/index.d.ts +1 -1
  257. package/layout/layout.js +28 -28
  258. package/list-item/README.md +7 -0
  259. package/list-item/index.d.ts +1 -1
  260. package/list-item/list-item.stories.js +1 -1
  261. package/loader/README.md +7 -0
  262. package/loader/index.d.ts +1 -1
  263. package/message/README.md +1 -0
  264. package/message/index.d.ts +3 -0
  265. package/message/index.js +7 -0
  266. package/message/message-content.d.ts +17 -0
  267. package/message/message-content.js +41 -0
  268. package/message/message-service.d.ts +13 -0
  269. package/message/message-service.js +29 -0
  270. package/message/message.d.ts +20 -0
  271. package/message/message.js +47 -0
  272. package/message/message.spec.d.ts +1 -0
  273. package/message/message.spec.js +9 -0
  274. package/message/message.stories.d.ts +7 -0
  275. package/message/message.stories.js +82 -0
  276. package/message/theme.d.ts +12 -0
  277. package/message/theme.js +2 -0
  278. package/modal/README.md +24 -0
  279. package/modal/index.d.ts +3 -2
  280. package/modal/index.js +3 -3
  281. package/modal/modal.d.ts +6 -4
  282. package/modal/modal.js +9 -9
  283. package/modal/modal.stories.js +12 -0
  284. package/modal/theme.d.ts +7 -0
  285. package/multi-combobox/README.md +10 -0
  286. package/multi-combobox/_multi-combobox-base.js +28 -22
  287. package/multi-combobox/multi-combobox.js +1 -1
  288. package/multi-combobox/multi-combobox.stories.js +7 -4
  289. package/multi-combobox/types.d.ts +5 -1
  290. package/multi-select/README.md +11 -0
  291. package/multi-select/_multi-select-base.js +21 -21
  292. package/multi-select/index.d.ts +1 -1
  293. package/multi-select/multi-select.js +1 -1
  294. package/multi-select/multi-select.stories.js +6 -3
  295. package/multi-select/types.d.ts +1 -1
  296. package/package.json +17 -12
  297. package/pagination/README.md +31 -0
  298. package/pagination/index.d.ts +1 -1
  299. package/pagination/pagination.d.ts +1 -1
  300. package/pagination/pagination.js +2 -2
  301. package/pagination/pagination.stories.d.ts +0 -3
  302. package/pagination/pagination.stories.js +14 -30
  303. package/paper/README.md +7 -0
  304. package/paper/index.d.ts +1 -1
  305. package/paper/paper.stories.js +1 -1
  306. package/radio/README.md +7 -0
  307. package/radio/index.d.ts +1 -1
  308. package/radio/radio.stories.js +1 -1
  309. package/radio-group/README.md +8 -0
  310. package/radio-group/index.d.ts +2 -2
  311. package/radio-group/radio-group.d.ts +3 -3
  312. package/radio-group/radio-group.js +2 -2
  313. package/radio-group/radio-group.stories.js +5 -5
  314. package/raster-image/README.md +7 -0
  315. package/raster-image/index.d.ts +1 -1
  316. package/raster-image/raster-image.js +1 -1
  317. package/scripts/generate-tw-tokens.js +40 -32
  318. package/select/README.md +11 -0
  319. package/select/index.d.ts +1 -1
  320. package/select/select.d.ts +1 -1
  321. package/select/select.js +1 -1
  322. package/select/select.stories.d.ts +2 -1
  323. package/select/select.stories.js +9 -3
  324. package/tabs/README.md +7 -0
  325. package/tabs/index.d.ts +1 -1
  326. package/text-input/README.md +10 -0
  327. package/text-input/index.d.ts +1 -1
  328. package/text-input/text-input.d.ts +1 -0
  329. package/text-input/text-input.js +2 -2
  330. package/text-link/README.md +19 -0
  331. package/text-link/index.d.ts +1 -1
  332. package/text-link/text-link.d.ts +1 -1
  333. package/textarea/README.md +9 -0
  334. package/textarea/index.d.ts +1 -1
  335. package/textarea/textarea.js +5 -5
  336. package/textarea/textarea.stories.js +1 -1
  337. package/time-picker/README.md +8 -0
  338. package/time-picker/index.d.ts +1 -1
  339. package/time-picker/time-picker-hour.js +6 -6
  340. package/time-picker/time-picker-hours.js +2 -2
  341. package/time-picker/time-picker-input.stories.js +2 -1
  342. package/time-picker/time-picker-minute.js +6 -6
  343. package/time-picker/time-picker-minutes.js +2 -2
  344. package/time-picker/time-picker.d.ts +2 -1
  345. package/time-picker/time-picker.js +7 -6
  346. package/time-picker-input/README.md +9 -0
  347. package/time-picker-input/index.d.ts +1 -1
  348. package/time-picker-input/index.js +3 -3
  349. package/time-picker-input/time-picker-input.js +6 -4
  350. package/time-picker-input/time-picker-input.stories.js +1 -1
  351. package/toggle/README.md +7 -0
  352. package/toggle/index.d.ts +1 -1
  353. package/toggle/toggle.js +8 -8
  354. package/toggle/toggle.stories.js +1 -1
  355. package/tooltip/README.md +7 -0
  356. package/tooltip/index.d.ts +2 -2
  357. package/tooltip/tooltip.js +27 -25
  358. package/tooltip/tooltip.stories.js +1 -1
  359. package/tooltip/use-tooltip.d.ts +19 -11
  360. package/tooltip/use-tooltip.js +15 -15
  361. package/tw-tokens/tw-colors.d.ts +283 -282
  362. package/tw-tokens/tw-colors.js +283 -282
  363. package/tw-tokens/tw-line-height.d.ts +8 -8
  364. package/tw-tokens/tw-line-height.js +8 -8
  365. package/tw-tokens/tw-spacing.d.ts +34 -34
  366. package/tw-tokens/tw-spacing.js +34 -34
  367. package/tw-tokens/tw-z-index.d.ts +7 -7
  368. package/tw-tokens/tw-z-index.js +7 -7
  369. package/types/index.d.ts +1 -1
  370. package/types/index.js +1 -1
  371. package/typography/README.md +7 -0
  372. package/utils/action.d.ts +2 -1
  373. package/utils/action.js +2 -2
  374. package/utils/files/get-file-icon.d.ts +2 -0
  375. package/utils/files/get-file-icon.js +19 -0
  376. package/utils/icons-config.js +13 -3
  377. package/utils/mocks/{uploadFIle.mock.js → upload-file.mock.js} +1 -1
  378. package/utils/snap-test.js +1 -1
  379. package/utils/storybook-config.d.ts +12 -2
  380. package/utils/storybook-config.js +9 -1
  381. package/utils/tailwind-config.js +10 -1
  382. package/image-gallery/components/arrow-button.d.ts +0 -7
  383. package/image-gallery/components/arrow-button.js +0 -14
  384. package/modal/modal-dialog.d.ts +0 -11
  385. /package/utils/mocks/{uploadFIle.mock.d.ts → upload-file.mock.d.ts} +0 -0
@@ -0,0 +1,263 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.uiComponents = void 0;
27
+ const AvatarFileInputStories = __importStar(require("@uxf/ui/avatar-file-input/avatar-file-input.stories"));
28
+ const AvatarStories = __importStar(require("@uxf/ui/avatar/avatar.stories"));
29
+ const BadgeStories = __importStar(require("@uxf/ui/badge/badge.stories"));
30
+ const ButtonGroupStories = __importStar(require("@uxf/ui/button-group/button-group.stories"));
31
+ const ButtonListStories = __importStar(require("@uxf/ui/button-list/button-list.stories"));
32
+ const ButtonStories = __importStar(require("@uxf/ui/button/button.stories"));
33
+ const CalendarStories = __importStar(require("@uxf/ui/calendar/calendar.stories"));
34
+ const CheckboxButtonStories = __importStar(require("@uxf/ui/checkbox-button/checkbox-button.stories"));
35
+ const CheckboxInputStories = __importStar(require("@uxf/ui/checkbox-input/checkbox-input.stories"));
36
+ const CheckboxStories = __importStar(require("@uxf/ui/checkbox/checkbox.stories"));
37
+ const ChipStories = __importStar(require("@uxf/ui/chip/chip.stories"));
38
+ const ColorRadioGroupStories = __importStar(require("@uxf/ui/color-radio-group/color-radio-group.stories"));
39
+ const ColorRadioStories = __importStar(require("@uxf/ui/color-radio/color-radio.stories"));
40
+ const ComboboxStories = __importStar(require("@uxf/ui/combobox/combobox.stories"));
41
+ const DatePickerInputStories = __importStar(require("@uxf/ui/date-picker-input/date-picker-input.stories"));
42
+ const DatePickerStories = __importStar(require("@uxf/ui/date-picker/date-picker.stories"));
43
+ const DatetimePickerInputStories = __importStar(require("@uxf/ui/datetime-picker-input/datetime-picker-input.stories"));
44
+ const DatetimePickerStories = __importStar(require("@uxf/ui/datetime-picker/datetime-picker.stories"));
45
+ const DropdownStories = __importStar(require("@uxf/ui/dropdown/dropdown.stories"));
46
+ const DropzoneStories = __importStar(require("@uxf/ui/dropzone/dropzone.stories"));
47
+ const ErrorMessageStories = __importStar(require("@uxf/ui/error-message/error-message.stories"));
48
+ const FileInputStories = __importStar(require("@uxf/ui/file-input/file-input.stories"));
49
+ const FlashMessagesStories = __importStar(require("@uxf/ui/flash-messages/flash-messages.stories"));
50
+ const FormComponentStories = __importStar(require("@uxf/ui/form-component/form-component.stories"));
51
+ const IconStories = __importStar(require("@uxf/ui/icon/icon.stories"));
52
+ const InputStories = __importStar(require("@uxf/ui/input/input.stories"));
53
+ const LabelStories = __importStar(require("@uxf/ui/label/label.stories"));
54
+ const ListItemStories = __importStar(require("@uxf/ui/list-item/list-item.stories"));
55
+ const LoaderStories = __importStar(require("@uxf/ui/loader/loader.stories"));
56
+ const ModalStories = __importStar(require("@uxf/ui/modal/modal.stories"));
57
+ const MultiComboboxStories = __importStar(require("@uxf/ui/multi-combobox/multi-combobox.stories"));
58
+ const MultiSelectStories = __importStar(require("@uxf/ui/multi-select/multi-select.stories"));
59
+ const PaginationStories = __importStar(require("@uxf/ui/pagination/pagination.stories"));
60
+ const PaperStories = __importStar(require("@uxf/ui/paper/paper.stories"));
61
+ const RadioGroupStories = __importStar(require("@uxf/ui/radio-group/radio-group.stories"));
62
+ const RadioStories = __importStar(require("@uxf/ui/radio/radio.stories"));
63
+ const RasterImageStories = __importStar(require("@uxf/ui/raster-image/raster-image.stories"));
64
+ const SelectStories = __importStar(require("@uxf/ui/select/select.stories"));
65
+ const TabsStories = __importStar(require("@uxf/ui/tabs/tabs.stories"));
66
+ const TextInputStories = __importStar(require("@uxf/ui/text-input/text-input.stories"));
67
+ const TextLinkStories = __importStar(require("@uxf/ui/text-link/text-link.stories"));
68
+ const TextareaStories = __importStar(require("@uxf/ui/textarea/textarea.stories"));
69
+ const TimePickerInputStories = __importStar(require("@uxf/ui/time-picker-input/time-picker-input.stories"));
70
+ const TimePickerStories = __importStar(require("@uxf/ui/time-picker/time-picker-input.stories"));
71
+ const ToggleStories = __importStar(require("@uxf/ui/toggle/toggle.stories"));
72
+ const TooltipStories = __importStar(require("@uxf/ui/tooltip/tooltip.stories"));
73
+ const TypographyStories = __importStar(require("@uxf/ui/typography/typography.stories"));
74
+ exports.uiComponents = {
75
+ avatar: {
76
+ title: "Avatar",
77
+ stories: AvatarStories,
78
+ },
79
+ "avatar-file-input": {
80
+ title: "AvatarFileInput",
81
+ stories: AvatarFileInputStories,
82
+ },
83
+ badge: {
84
+ title: "Badge",
85
+ stories: BadgeStories,
86
+ },
87
+ button: {
88
+ title: "Button",
89
+ stories: ButtonStories,
90
+ },
91
+ "button-group": {
92
+ title: "ButtonGroup",
93
+ stories: ButtonGroupStories,
94
+ },
95
+ "button-list": {
96
+ title: "ButtonList",
97
+ stories: ButtonListStories,
98
+ },
99
+ calendar: {
100
+ title: "Calendar",
101
+ stories: CalendarStories,
102
+ },
103
+ checkbox: {
104
+ title: "Checkbox",
105
+ stories: CheckboxStories,
106
+ },
107
+ "checkbox-button": {
108
+ title: "CheckboxButton",
109
+ stories: CheckboxButtonStories,
110
+ },
111
+ "checkbox-input": {
112
+ title: "CheckboxInput",
113
+ stories: CheckboxInputStories,
114
+ },
115
+ chip: {
116
+ title: "Chip",
117
+ stories: ChipStories,
118
+ },
119
+ "color-radio": {
120
+ title: "ColorRadio",
121
+ stories: ColorRadioStories,
122
+ },
123
+ "color-radio-group": {
124
+ title: "ColorRadioGroup",
125
+ stories: ColorRadioGroupStories,
126
+ },
127
+ combobox: {
128
+ title: "Combobox",
129
+ stories: ComboboxStories,
130
+ },
131
+ "date-picker": {
132
+ title: "DatePicker",
133
+ stories: DatePickerStories,
134
+ },
135
+ "date-picker-input": {
136
+ title: "DatePickerInput",
137
+ stories: DatePickerInputStories,
138
+ },
139
+ "datetime-picker": {
140
+ title: "DatetimePicker",
141
+ stories: DatetimePickerStories,
142
+ },
143
+ "datetime-picker-input": {
144
+ title: "DatetimePickerInput",
145
+ stories: DatetimePickerInputStories,
146
+ },
147
+ dropdown: {
148
+ title: "Dropdown",
149
+ stories: DropdownStories,
150
+ },
151
+ dropzone: {
152
+ title: "Dropzone",
153
+ stories: DropzoneStories,
154
+ },
155
+ "error-message": {
156
+ title: "ErrorMessage",
157
+ stories: ErrorMessageStories,
158
+ },
159
+ "file-input": {
160
+ title: "FileInput",
161
+ stories: FileInputStories,
162
+ },
163
+ "flash-messages": {
164
+ title: "FlashMessages",
165
+ stories: FlashMessagesStories,
166
+ },
167
+ "form-component": {
168
+ title: "FormComponent",
169
+ stories: FormComponentStories,
170
+ },
171
+ icon: {
172
+ title: "Icon",
173
+ stories: IconStories,
174
+ },
175
+ input: {
176
+ title: "Input",
177
+ stories: InputStories,
178
+ },
179
+ label: {
180
+ title: "Label",
181
+ stories: LabelStories,
182
+ },
183
+ "list-item": {
184
+ title: "ListItem",
185
+ stories: ListItemStories,
186
+ },
187
+ loader: {
188
+ title: "Loader",
189
+ stories: LoaderStories,
190
+ },
191
+ modal: {
192
+ title: "Modal",
193
+ stories: ModalStories,
194
+ },
195
+ "multi-combobox": {
196
+ title: "MultiCombobox",
197
+ stories: MultiComboboxStories,
198
+ },
199
+ "multi-select": {
200
+ title: "MultiSelect",
201
+ stories: MultiSelectStories,
202
+ },
203
+ pagination: {
204
+ title: "Pagination",
205
+ stories: PaginationStories,
206
+ },
207
+ paper: {
208
+ title: "Paper",
209
+ stories: PaperStories,
210
+ },
211
+ radio: {
212
+ title: "Radio",
213
+ stories: RadioStories,
214
+ },
215
+ "radio-group": {
216
+ title: "RadioGroup",
217
+ stories: RadioGroupStories,
218
+ },
219
+ "raster-image": {
220
+ title: "RasterImage",
221
+ stories: RasterImageStories,
222
+ },
223
+ select: {
224
+ title: "Select",
225
+ stories: SelectStories,
226
+ },
227
+ tabs: {
228
+ title: "Tabs",
229
+ stories: TabsStories,
230
+ },
231
+ "text-input": {
232
+ title: "TextInput",
233
+ stories: TextInputStories,
234
+ },
235
+ "text-link": {
236
+ title: "TextLink",
237
+ stories: TextLinkStories,
238
+ },
239
+ textarea: {
240
+ title: "Textarea",
241
+ stories: TextareaStories,
242
+ },
243
+ "time-picker": {
244
+ title: "TimePicker",
245
+ stories: TimePickerStories,
246
+ },
247
+ "time-picker-input": {
248
+ title: "TimePickerInput",
249
+ stories: TimePickerInputStories,
250
+ },
251
+ toggle: {
252
+ title: "Toggle",
253
+ stories: ToggleStories,
254
+ },
255
+ tooltip: {
256
+ title: "Tooltip",
257
+ stories: TooltipStories,
258
+ },
259
+ typography: {
260
+ title: "Typography",
261
+ stories: TypographyStories,
262
+ },
263
+ };
@@ -0,0 +1,2 @@
1
+ import { uiComponents } from "./ui-components";
2
+ export declare const uiReadmes: Record<keyof typeof uiComponents, any>;
@@ -0,0 +1,102 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.uiReadmes = void 0;
7
+ const README_md_1 = __importDefault(require("@uxf/ui/avatar-file-input/README.md"));
8
+ const README_md_2 = __importDefault(require("@uxf/ui/avatar/README.md"));
9
+ const README_md_3 = __importDefault(require("@uxf/ui/badge/README.md"));
10
+ const README_md_4 = __importDefault(require("@uxf/ui/button-group/README.md"));
11
+ const README_md_5 = __importDefault(require("@uxf/ui/button-list/README.md"));
12
+ const README_md_6 = __importDefault(require("@uxf/ui/button/README.md"));
13
+ const README_md_7 = __importDefault(require("@uxf/ui/calendar/README.md"));
14
+ const README_md_8 = __importDefault(require("@uxf/ui/checkbox-button/README.md"));
15
+ const README_md_9 = __importDefault(require("@uxf/ui/checkbox-input/README.md"));
16
+ const README_md_10 = __importDefault(require("@uxf/ui/checkbox/README.md"));
17
+ const README_md_11 = __importDefault(require("@uxf/ui/chip/README.md"));
18
+ const README_md_12 = __importDefault(require("@uxf/ui/color-radio-group/README.md"));
19
+ const README_md_13 = __importDefault(require("@uxf/ui/color-radio/README.md"));
20
+ const README_md_14 = __importDefault(require("@uxf/ui/combobox/README.md"));
21
+ const README_md_15 = __importDefault(require("@uxf/ui/date-picker-input/README.md"));
22
+ const README_md_16 = __importDefault(require("@uxf/ui/date-picker/README.md"));
23
+ const README_md_17 = __importDefault(require("@uxf/ui/datetime-picker-input/README.md"));
24
+ const README_md_18 = __importDefault(require("@uxf/ui/datetime-picker/README.md"));
25
+ const README_md_19 = __importDefault(require("@uxf/ui/dropdown/README.md"));
26
+ const README_md_20 = __importDefault(require("@uxf/ui/dropzone/README.md"));
27
+ const README_md_21 = __importDefault(require("@uxf/ui/error-message/README.md"));
28
+ const README_md_22 = __importDefault(require("@uxf/ui/file-input/README.md"));
29
+ const README_md_23 = __importDefault(require("@uxf/ui/flash-messages/README.md"));
30
+ const README_md_24 = __importDefault(require("@uxf/ui/form-component/README.md"));
31
+ const README_md_25 = __importDefault(require("@uxf/ui/icon/README.md"));
32
+ const README_md_26 = __importDefault(require("@uxf/ui/input/README.md"));
33
+ const README_md_27 = __importDefault(require("@uxf/ui/label/README.md"));
34
+ const README_md_28 = __importDefault(require("@uxf/ui/list-item/README.md"));
35
+ const README_md_29 = __importDefault(require("@uxf/ui/loader/README.md"));
36
+ const README_md_30 = __importDefault(require("@uxf/ui/modal/README.md"));
37
+ const README_md_31 = __importDefault(require("@uxf/ui/multi-combobox/README.md"));
38
+ const README_md_32 = __importDefault(require("@uxf/ui/multi-select/README.md"));
39
+ const README_md_33 = __importDefault(require("@uxf/ui/pagination/README.md"));
40
+ const README_md_34 = __importDefault(require("@uxf/ui/paper/README.md"));
41
+ const README_md_35 = __importDefault(require("@uxf/ui/radio-group/README.md"));
42
+ const README_md_36 = __importDefault(require("@uxf/ui/radio/README.md"));
43
+ const README_md_37 = __importDefault(require("@uxf/ui/raster-image/README.md"));
44
+ const README_md_38 = __importDefault(require("@uxf/ui/select/README.md"));
45
+ const README_md_39 = __importDefault(require("@uxf/ui/tabs/README.md"));
46
+ const README_md_40 = __importDefault(require("@uxf/ui/text-input/README.md"));
47
+ const README_md_41 = __importDefault(require("@uxf/ui/text-link/README.md"));
48
+ const README_md_42 = __importDefault(require("@uxf/ui/textarea/README.md"));
49
+ const README_md_43 = __importDefault(require("@uxf/ui/time-picker-input/README.md"));
50
+ const README_md_44 = __importDefault(require("@uxf/ui/time-picker/README.md"));
51
+ const README_md_45 = __importDefault(require("@uxf/ui/toggle/README.md"));
52
+ const README_md_46 = __importDefault(require("@uxf/ui/tooltip/README.md"));
53
+ const README_md_47 = __importDefault(require("@uxf/ui/typography/README.md"));
54
+ exports.uiReadmes = {
55
+ avatar: README_md_2.default,
56
+ "avatar-file-input": README_md_1.default,
57
+ badge: README_md_3.default,
58
+ button: README_md_6.default,
59
+ "button-group": README_md_4.default,
60
+ "button-list": README_md_5.default,
61
+ calendar: README_md_7.default,
62
+ checkbox: README_md_10.default,
63
+ "checkbox-button": README_md_8.default,
64
+ "checkbox-input": README_md_9.default,
65
+ chip: README_md_11.default,
66
+ "color-radio": README_md_13.default,
67
+ "color-radio-group": README_md_12.default,
68
+ combobox: README_md_14.default,
69
+ "date-picker": README_md_16.default,
70
+ "date-picker-input": README_md_15.default,
71
+ "datetime-picker": README_md_18.default,
72
+ "datetime-picker-input": README_md_17.default,
73
+ dropdown: README_md_19.default,
74
+ dropzone: README_md_20.default,
75
+ "error-message": README_md_21.default,
76
+ "file-input": README_md_22.default,
77
+ "flash-messages": README_md_23.default,
78
+ "form-component": README_md_24.default,
79
+ icon: README_md_25.default,
80
+ input: README_md_26.default,
81
+ label: README_md_27.default,
82
+ "list-item": README_md_28.default,
83
+ loader: README_md_29.default,
84
+ modal: README_md_30.default,
85
+ "multi-combobox": README_md_31.default,
86
+ "multi-select": README_md_32.default,
87
+ pagination: README_md_33.default,
88
+ paper: README_md_34.default,
89
+ radio: README_md_36.default,
90
+ "radio-group": README_md_35.default,
91
+ "raster-image": README_md_37.default,
92
+ select: README_md_38.default,
93
+ tabs: README_md_39.default,
94
+ "text-input": README_md_40.default,
95
+ "text-link": README_md_41.default,
96
+ textarea: README_md_42.default,
97
+ "time-picker": README_md_44.default,
98
+ "time-picker-input": README_md_43.default,
99
+ toggle: README_md_45.default,
100
+ tooltip: README_md_46.default,
101
+ typography: README_md_47.default,
102
+ };
@@ -0,0 +1,100 @@
1
+ .uxf-alert-bubble {
2
+ --bg-color: unset;
3
+ --icon-color: unset;
4
+ --icon-size: unset;
5
+ --size: unset;
6
+
7
+ align-items: center;
8
+ background-color: var(--bg-color);
9
+ border-radius: 999px;
10
+ display: flex;
11
+ flex-shrink: 0;
12
+ height: var(--size);
13
+ justify-content: center;
14
+ width: var(--size);
15
+
16
+ &__icon {
17
+ color: var(--icon-color);
18
+ flex-shrink: 0;
19
+ height: var(--icon-size);
20
+ width: var(--icon-size);
21
+ }
22
+
23
+ &--color-default {
24
+ :root .light & {
25
+ --bg-color: theme("backgroundColor.primary.100");
26
+ --icon-color: theme("colors.primary.600");
27
+ }
28
+
29
+ :root .dark & {
30
+ --bg-color: theme("backgroundColor.primary.600");
31
+ --icon-color: theme("colors.primary.100");
32
+ }
33
+ }
34
+
35
+ &--color-warning {
36
+ :root .light & {
37
+ --bg-color: theme("backgroundColor.warning.100");
38
+ --icon-color: theme("colors.warning.600");
39
+ }
40
+
41
+ :root .dark & {
42
+ --bg-color: theme("backgroundColor.warning.600");
43
+ --icon-color: theme("colors.warning.100");
44
+ }
45
+ }
46
+
47
+ &--color-success {
48
+ :root .light & {
49
+ --bg-color: theme("backgroundColor.success.100");
50
+ --icon-color: theme("colors.success.600");
51
+ }
52
+
53
+ :root .dark & {
54
+ --bg-color: theme("backgroundColor.success.600");
55
+ --icon-color: theme("colors.success.100");
56
+ }
57
+ }
58
+
59
+ &--color-error {
60
+ :root .light & {
61
+ --bg-color: theme("backgroundColor.error.100");
62
+ --icon-color: theme("colors.error.600");
63
+ }
64
+
65
+ :root .dark & {
66
+ --bg-color: theme("backgroundColor.error.600");
67
+ --icon-color: theme("colors.error.100");
68
+ }
69
+ }
70
+
71
+ &--size-xs {
72
+ --size: theme("alertBubbleSize.xs");
73
+ --icon-size: 20px;
74
+ }
75
+
76
+ &--size-sm {
77
+ --size: theme("alertBubbleSize.sm");
78
+ --icon-size: 24px;
79
+ }
80
+
81
+ &--size-default {
82
+ --size: theme("alertBubbleSize.default");
83
+ --icon-size: 24px;
84
+ }
85
+
86
+ &--size-lg {
87
+ --size: theme("alertBubbleSize.lg");
88
+ --icon-size: 30px;
89
+ }
90
+
91
+ &--size-xl {
92
+ --size: theme("alertBubbleSize.xl");
93
+ --icon-size: 30px;
94
+ }
95
+
96
+ &--size-2xl {
97
+ --size: theme("alertBubbleSize.2xl");
98
+ --icon-size: 40px;
99
+ }
100
+ }
@@ -1,82 +1,116 @@
1
1
  .uxf-avatar-file-input {
2
+ align-items: center;
3
+ display: flex;
4
+ gap: theme("spacing.4");
5
+
2
6
  &__input {
3
- @apply hidden;
7
+ display: none;
8
+ }
9
+
10
+ &--variant-default {
11
+ .uxf-avatar-file-input__label {
12
+ border-radius: theme("borderRadius.full");
13
+ }
4
14
  }
5
15
 
6
16
  &__label {
7
- @apply cursor-pointer h-20 w-20 rounded-full flex items-center justify-center border-2 border-dashed
8
- transition-all duration-75 ease-in-out;
17
+ @apply transition-all duration-75;
18
+
19
+ align-items: center;
20
+ border-style: dashed;
21
+ border-width: theme("borderWidth.2");
22
+ cursor: pointer;
23
+ display: flex;
24
+ height: theme("height.20");
25
+ justify-content: center;
26
+ width: theme("width.20");
9
27
 
10
28
  :root .light & {
11
- @apply border-lightLow;
29
+ border-color: theme("colors.lightBorder");
12
30
  }
13
31
 
14
32
  :root .dark & {
15
- @apply border-lightBorder;
33
+ border-color: theme("colors.darkBorder");
16
34
  }
17
35
 
18
- &__icon {
36
+ &-wrapper {
37
+ align-items: center;
38
+ display: flex;
39
+ gap: theme("spacing.4");
40
+ }
41
+
42
+ &-icon {
19
43
  :root .light & {
20
- @apply text-lightLow;
44
+ color: theme("colors.lightLow");
21
45
  }
22
46
 
23
47
  :root .dark & {
24
- @apply text-lightBorder;
48
+ color: theme("colors.lightBorder");
25
49
  }
26
50
 
27
51
  &.is-invalid {
28
52
  :root .light & {
29
- @apply text-error;
53
+ color: theme("colors.error.DEFAULT");
30
54
  }
31
55
 
32
56
  :root .dark & {
33
- @apply text-error;
57
+ color: theme("colors.error.DEFAULT");
34
58
  }
35
59
  }
36
60
  }
37
61
 
38
62
  &:hover {
39
- @apply border-4;
63
+ border-width: theme("borderWidth.4");
40
64
  }
41
65
 
42
66
  &.is-invalid {
43
67
  :root .light & {
44
- @apply border-error;
68
+ border-color: theme("colors.error.DEFAULT");
45
69
  }
46
70
 
47
71
  :root .dark & {
48
- @apply border-error;
72
+ border-color: theme("colors.error.DEFAULT");
49
73
  }
50
74
  }
51
75
 
52
76
  &.is-disabled {
53
- @apply cursor-not-allowed bg-lightLow/20;
77
+ background-color: theme("colors.lightLow/.20");
78
+ cursor: not-allowed;
54
79
 
55
80
  &:hover {
56
- @apply border-2;
81
+ border-width: theme("borderWidth.2");
57
82
  }
58
83
  }
59
84
  }
60
85
 
61
86
  &__label-text {
62
- @apply text-sm text-center;
87
+ @apply text-sm shadow-sm;
88
+
89
+ border: theme("borderWidth.DEFAULT") solid theme("colors.gray.300");
90
+ padding: theme("spacing[1.5]") theme("spacing.3");
91
+ text-align: center;
63
92
 
64
93
  :root .light & {
65
- @apply text-lightLow;
94
+ color: theme("colors.lightHigh");
66
95
  }
67
96
 
68
97
  :root .dark & {
69
- @apply text-lightBorder;
98
+ color: theme("colors.lightBorder");
70
99
  }
71
100
 
72
101
  &.is-invalid {
73
102
  :root .light & {
74
- @apply text-error;
103
+ color: theme("colors.error.DEFAULT");
75
104
  }
76
105
 
77
106
  :root .dark & {
78
- @apply text-error;
107
+ color: theme("colors.error.DEFAULT");
79
108
  }
80
109
  }
81
110
  }
111
+
112
+ &__image {
113
+ height: theme("height.20");
114
+ width: theme("width.20");
115
+ }
82
116
  }
package/css/avatar.css CHANGED
@@ -1,15 +1,15 @@
1
1
  .uxf-avatar {
2
- @apply relative inline-flex items-center justify-center h-10 w-10 rounded-full;
2
+ @apply relative inline-flex h-10 w-10 items-center justify-center rounded-full;
3
3
 
4
4
  &__image {
5
- @apply absolute left-0 top-0 block h-full w-full rounded-inherit object-cover;
5
+ @apply rounded-inherit absolute left-0 top-0 block h-full w-full object-cover;
6
6
  }
7
7
 
8
8
  :root .light & {
9
- @apply text-gray-700 bg-gray-200;
9
+ @apply bg-gray-200 text-gray-700;
10
10
  }
11
11
 
12
12
  :root .dark & {
13
- @apply text-gray-200 bg-gray-800;
13
+ @apply bg-gray-800 text-gray-200;
14
14
  }
15
15
  }
package/css/badge.css CHANGED
@@ -2,22 +2,22 @@
2
2
  @apply inline-flex items-center justify-center font-bold;
3
3
 
4
4
  &--size-small {
5
- @apply h-6 min-w-[24px] text-sm rounded-[12px] px-1.5;
5
+ @apply h-6 min-w-[24px] rounded-[12px] px-1.5 text-sm;
6
6
  }
7
7
 
8
8
  &--size-medium {
9
- @apply h-8 min-w-[32px] text-base rounded-[16px] px-2;
9
+ @apply h-8 min-w-[32px] rounded-[16px] px-2 text-base;
10
10
  }
11
11
 
12
12
  &--size-large {
13
- @apply h-10 min-w-[40px] text-lg rounded-[20px] px-2;
13
+ @apply h-10 min-w-[40px] rounded-[20px] px-2 text-lg;
14
14
  }
15
15
 
16
16
  :root .light & {
17
- @apply text-white bg-primary;
17
+ @apply bg-primary text-white;
18
18
  }
19
19
 
20
20
  :root .dark & {
21
- @apply text-gray-900 bg-white;
21
+ @apply bg-white text-gray-900;
22
22
  }
23
23
  }
@@ -1,6 +1,6 @@
1
1
  .uxf-button-group {
2
- display: flex;
3
2
  align-items: center;
3
+ display: flex;
4
4
 
5
5
  .uxf-button {
6
6
  &:focus {
@@ -6,7 +6,7 @@
6
6
  }
7
7
 
8
8
  &__menu-items {
9
- @apply absolute right-0 mt-2 w-40 divide-y rounded-md shadow-lg ring-1 focus:outline-none z-dropdown;
9
+ @apply z-dropdown absolute right-0 mt-2 w-40 divide-y rounded-md shadow-lg ring-1 focus:outline-none;
10
10
 
11
11
  :root .light & {
12
12
  @apply divide-gray-100 bg-white ring-black/5;
@@ -26,7 +26,7 @@
26
26
  }
27
27
 
28
28
  &__menu-button {
29
- @apply flex px-3 py-2 space-x-3 text-sm is-hoverable:hover:cursor-pointer;
29
+ @apply is-hoverable:hover:cursor-pointer flex space-x-3 px-3 py-2 text-sm;
30
30
 
31
31
  :root .light & {
32
32
  @apply text-black hover:text-gray-800;