sprintify-ui 0.10.65 → 0.10.67

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 (416) hide show
  1. package/README.md +266 -266
  2. package/dist/{BaseCkeditor-D6D4FPEb.js → BaseCkeditor-B4PbYw6a.js} +2 -2
  3. package/dist/sprintify-ui.es.js +4435 -4557
  4. package/dist/style.css +3 -3
  5. package/dist/tailwindcss/button.js +260 -260
  6. package/dist/tailwindcss/index.js +21 -21
  7. package/dist/tailwindcss/input.js +22 -22
  8. package/dist/tailwindcss/overlay.js +12 -12
  9. package/dist/tailwindcss/table.js +91 -91
  10. package/dist/tailwindcss/theme.js +52 -52
  11. package/dist/types/components/BaseActionButtons.vue.d.ts +1 -1
  12. package/dist/types/components/BaseActionItem.vue.d.ts +7 -10
  13. package/dist/types/components/BaseAddressForm.vue.d.ts +1 -1
  14. package/dist/types/components/BaseAlert.vue.d.ts +24 -11
  15. package/dist/types/components/BaseApp.vue.d.ts +14 -12
  16. package/dist/types/components/BaseAssign.vue.d.ts +1 -1
  17. package/dist/types/components/BaseAutocomplete.vue.d.ts +665 -455
  18. package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +119 -24
  19. package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +1033 -412
  20. package/dist/types/components/BaseAvatarGroup.vue.d.ts +1 -1
  21. package/dist/types/components/BaseBadge.vue.d.ts +23 -11
  22. package/dist/types/components/BaseBelongsTo.vue.d.ts +998 -411
  23. package/dist/types/components/BaseBelongsToFetch.vue.d.ts +754 -371
  24. package/dist/types/components/BaseBoolean.vue.d.ts +1 -1
  25. package/dist/types/components/BaseBreadcrumbs.vue.d.ts +1 -1
  26. package/dist/types/components/BaseButton.vue.d.ts +78 -16
  27. package/dist/types/components/BaseButtonGroup.vue.d.ts +166 -15
  28. package/dist/types/components/BaseCard.vue.d.ts +26 -12
  29. package/dist/types/components/BaseCardRow.vue.d.ts +20 -11
  30. package/dist/types/components/BaseCharacterCounter.vue.d.ts +1 -1
  31. package/dist/types/components/BaseClipboard.vue.d.ts +45 -13
  32. package/dist/types/components/BaseCollapse.vue.d.ts +41 -20
  33. package/dist/types/components/BaseContainer.vue.d.ts +16 -11
  34. package/dist/types/components/BaseCounter.vue.d.ts +1 -1
  35. package/dist/types/components/BaseCropper.vue.d.ts +55 -30
  36. package/dist/types/components/BaseDataIterator.vue.d.ts +43 -42
  37. package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +15 -12
  38. package/dist/types/components/BaseDataIteratorSectionColumns.vue.d.ts +1 -1
  39. package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +19 -10
  40. package/dist/types/components/BaseDataTable.vue.d.ts +2090 -738
  41. package/dist/types/components/BaseDataTableTemplate.vue.d.ts +576 -100
  42. package/dist/types/components/BaseDatePicker.vue.d.ts +1 -1
  43. package/dist/types/components/BaseDateSelect.vue.d.ts +1 -1
  44. package/dist/types/components/BaseDescriptionList.vue.d.ts +12 -12
  45. package/dist/types/components/BaseDescriptionListItem.vue.d.ts +16 -15
  46. package/dist/types/components/BaseDialog.vue.d.ts +114 -413
  47. package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +55 -13
  48. package/dist/types/components/BaseDraggable.vue.d.ts +25 -16
  49. package/dist/types/components/BaseDropdown.vue.d.ts +155 -17
  50. package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +131 -16
  51. package/dist/types/components/BaseField.vue.d.ts +103 -12
  52. package/dist/types/components/BaseFieldI18n.vue.d.ts +1 -1
  53. package/dist/types/components/BaseFilePicker.vue.d.ts +35 -16
  54. package/dist/types/components/BaseFilePickerCrop.vue.d.ts +87 -42
  55. package/dist/types/components/BaseFileUploader.vue.d.ts +195 -29
  56. package/dist/types/components/BaseForm.vue.d.ts +161 -20
  57. package/dist/types/components/BaseGantt.vue.d.ts +1130 -409
  58. package/dist/types/components/BaseHasMany.vue.d.ts +590 -347
  59. package/dist/types/components/BaseHasManyFetch.vue.d.ts +602 -251
  60. package/dist/types/components/BaseHeader.vue.d.ts +1 -1
  61. package/dist/types/components/BaseIconPicker.vue.d.ts +1 -1
  62. package/dist/types/components/BaseInputError.vue.d.ts +23 -11
  63. package/dist/types/components/BaseJsonReaderItem.vue.d.ts +1 -1
  64. package/dist/types/components/BaseLayoutNotificationItemContent.vue.d.ts +1 -1
  65. package/dist/types/components/BaseLayoutSidebar.vue.d.ts +124 -16
  66. package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +115 -13
  67. package/dist/types/components/BaseLayoutStacked.vue.d.ts +69 -22
  68. package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +120 -10
  69. package/dist/types/components/BaseLazy.vue.d.ts +20 -15
  70. package/dist/types/components/BaseMediaGallery.vue.d.ts +1 -1
  71. package/dist/types/components/BaseMediaGalleryItem.vue.d.ts +1 -1
  72. package/dist/types/components/BaseMediaItem.vue.d.ts +1 -1
  73. package/dist/types/components/BaseMediaLibrary.vue.d.ts +234 -34
  74. package/dist/types/components/BaseMediaListItem.vue.d.ts +1 -1
  75. package/dist/types/components/BaseMediaPicturesItem.vue.d.ts +1 -1
  76. package/dist/types/components/BaseMenu.vue.d.ts +233 -30
  77. package/dist/types/components/BaseMenuItem.vue.d.ts +1 -1
  78. package/dist/types/components/BaseModalCenter.vue.d.ts +88 -12
  79. package/dist/types/components/BaseModalSide.vue.d.ts +85 -12
  80. package/dist/types/components/BaseNavbar.vue.d.ts +88 -22
  81. package/dist/types/components/BaseNavbarItem.vue.d.ts +1 -1
  82. package/dist/types/components/BaseNavbarItemContent.vue.d.ts +1 -1
  83. package/dist/types/components/BaseNavbarSideItem.vue.d.ts +1 -1
  84. package/dist/types/components/BaseNavbarSideItemContent.vue.d.ts +1 -1
  85. package/dist/types/components/BasePagination.vue.d.ts +1 -1
  86. package/dist/types/components/BaseRadioGroup.vue.d.ts +113 -13
  87. package/dist/types/components/BaseReadMore.vue.d.ts +31 -12
  88. package/dist/types/components/BaseRichText.vue.d.ts +1 -1
  89. package/dist/types/components/BaseSelect.vue.d.ts +149 -12
  90. package/dist/types/components/BaseShortcut.vue.d.ts +1 -1
  91. package/dist/types/components/BaseSideNavigation.vue.d.ts +11 -12
  92. package/dist/types/components/BaseSideNavigationItem.vue.d.ts +22 -13
  93. package/dist/types/components/BaseSkeleton.vue.d.ts +3 -3
  94. package/dist/types/components/BaseStepper.vue.d.ts +1 -1
  95. package/dist/types/components/BaseSwitch.vue.d.ts +122 -13
  96. package/dist/types/components/BaseSystemAlert.vue.d.ts +58 -11
  97. package/dist/types/components/BaseTabItem.vue.d.ts +35 -18
  98. package/dist/types/components/BaseTable.vue.d.ts +29 -14
  99. package/dist/types/components/BaseTableBody.vue.d.ts +9 -12
  100. package/dist/types/components/BaseTableCell.vue.d.ts +40 -15
  101. package/dist/types/components/BaseTableColumn.vue.d.ts +3 -3
  102. package/dist/types/components/BaseTableHead.vue.d.ts +14 -12
  103. package/dist/types/components/BaseTableHeader.vue.d.ts +46 -17
  104. package/dist/types/components/BaseTableRow.vue.d.ts +40 -13
  105. package/dist/types/components/BaseTabs.vue.d.ts +21 -15
  106. package/dist/types/components/BaseTagAutocomplete.vue.d.ts +602 -203
  107. package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +807 -348
  108. package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +1 -1
  109. package/dist/types/components/BaseTimeline.vue.d.ts +1 -1
  110. package/dist/types/components/BaseTimelineItem.vue.d.ts +1 -1
  111. package/dist/types/components/BaseToast.vue.d.ts +1 -1
  112. package/dist/types/components/BaseTooltip.vue.d.ts +41 -15
  113. package/dist/types/components/BaseUniqueCode.vue.d.ts +1 -1
  114. package/dist/types/stories/PageInputSizes.vue.d.ts +1 -1
  115. package/dist/types/stories/PageShow.vue.d.ts +1 -1
  116. package/dist/types/svg/BaseEmptyState.vue.d.ts +1 -1
  117. package/dist/types/svg/BaseSpinnerSmall.vue.d.ts +1 -1
  118. package/package.json +135 -135
  119. package/src/assets/base-cropper.css +61 -61
  120. package/src/assets/base-date-picker.css +4 -4
  121. package/src/assets/base-rich-text.css +270 -270
  122. package/src/assets/base-spinner.css +18 -18
  123. package/src/assets/base-tabs.css +4 -4
  124. package/src/assets/base-time-picker.css +9 -9
  125. package/src/assets/flatpickr.css +247 -247
  126. package/src/assets/form.css +6 -6
  127. package/src/assets/google-pac.css +25 -25
  128. package/src/assets/main.css +56 -56
  129. package/src/assets/tailwind.css +2 -2
  130. package/src/changelog.mdx +6 -6
  131. package/src/components/BaseActionButtons.vue +76 -76
  132. package/src/components/BaseActionItem.vue +80 -80
  133. package/src/components/BaseActionItemButton.vue +75 -75
  134. package/src/components/BaseAddressForm.stories.js +114 -114
  135. package/src/components/BaseAddressForm.vue +382 -382
  136. package/src/components/BaseAlert.stories.js +75 -75
  137. package/src/components/BaseAlert.vue +101 -101
  138. package/src/components/BaseApp.vue +16 -16
  139. package/src/components/BaseAppDialogs.vue +126 -126
  140. package/src/components/BaseAppSnackbars.vue +40 -40
  141. package/src/components/BaseAssign.mdx +98 -98
  142. package/src/components/BaseAssign.stories.js +78 -78
  143. package/src/components/BaseAssign.vue +366 -366
  144. package/src/components/BaseAutocomplete.stories.js +243 -243
  145. package/src/components/BaseAutocomplete.vue +603 -603
  146. package/src/components/BaseAutocompleteDrawer.vue +386 -386
  147. package/src/components/BaseAutocompleteFetch.stories.js +224 -224
  148. package/src/components/BaseAutocompleteFetch.vue +314 -314
  149. package/src/components/BaseAvatar.stories.js +39 -39
  150. package/src/components/BaseAvatar.vue +164 -164
  151. package/src/components/BaseAvatarGroup.stories.js +71 -71
  152. package/src/components/BaseAvatarGroup.vue +148 -148
  153. package/src/components/BaseBadge.stories.js +132 -130
  154. package/src/components/BaseBadge.vue +118 -97
  155. package/src/components/BaseBelongsTo.stories.js +220 -220
  156. package/src/components/BaseBelongsTo.vue +164 -164
  157. package/src/components/BaseBelongsToFetch.stories.js +223 -223
  158. package/src/components/BaseBelongsToFetch.vue +213 -213
  159. package/src/components/BaseBoolean.stories.js +35 -35
  160. package/src/components/BaseBoolean.vue +26 -26
  161. package/src/components/BaseBreadcrumbs.stories.js +50 -50
  162. package/src/components/BaseBreadcrumbs.vue +109 -109
  163. package/src/components/BaseButton.stories.js +126 -126
  164. package/src/components/BaseButton.vue +279 -279
  165. package/src/components/BaseButtonGroup.stories.js +114 -114
  166. package/src/components/BaseButtonGroup.vue +193 -193
  167. package/src/components/BaseCard.stories.js +63 -63
  168. package/src/components/BaseCard.vue +49 -49
  169. package/src/components/BaseCardRow.vue +53 -53
  170. package/src/components/BaseCharacterCounter.stories.js +30 -30
  171. package/src/components/BaseCharacterCounter.vue +64 -64
  172. package/src/components/BaseCkeditor.vue +154 -154
  173. package/src/components/BaseClipboard.stories.js +55 -55
  174. package/src/components/BaseClipboard.vue +105 -105
  175. package/src/components/BaseCollapse.stories.js +168 -168
  176. package/src/components/BaseCollapse.vue +98 -98
  177. package/src/components/BaseColor.stories.js +66 -66
  178. package/src/components/BaseColor.vue +155 -155
  179. package/src/components/BaseContainer.stories.js +34 -34
  180. package/src/components/BaseContainer.vue +64 -64
  181. package/src/components/BaseCounter.stories.js +47 -47
  182. package/src/components/BaseCounter.vue +83 -83
  183. package/src/components/BaseCropper.stories.js +113 -113
  184. package/src/components/BaseCropper.vue +390 -390
  185. package/src/components/BaseCropperModal.stories.js +54 -54
  186. package/src/components/BaseCropperModal.vue +143 -143
  187. package/src/components/BaseDataIterator.stories.js +292 -292
  188. package/src/components/BaseDataIterator.vue +986 -986
  189. package/src/components/BaseDataIteratorSectionBox.vue +36 -36
  190. package/src/components/BaseDataIteratorSectionButton.vue +42 -42
  191. package/src/components/BaseDataIteratorSectionColumns.vue +150 -150
  192. package/src/components/BaseDataIteratorSectionModal.vue +41 -41
  193. package/src/components/BaseDataTable.stories.js +393 -393
  194. package/src/components/BaseDataTable.vue +966 -966
  195. package/src/components/BaseDataTableRowAction.vue +70 -70
  196. package/src/components/BaseDataTableTemplate.vue +831 -838
  197. package/src/components/BaseDatePicker.stories.js +166 -166
  198. package/src/components/BaseDatePicker.vue +372 -372
  199. package/src/components/BaseDateSelect.stories.js +68 -68
  200. package/src/components/BaseDateSelect.vue +222 -222
  201. package/src/components/BaseDescriptionList.stories.js +35 -35
  202. package/src/components/BaseDescriptionList.vue +13 -13
  203. package/src/components/BaseDescriptionListItem.vue +47 -47
  204. package/src/components/BaseDialog.stories.js +95 -95
  205. package/src/components/BaseDialog.vue +221 -221
  206. package/src/components/BaseDisplayRelativeTime.stories.js +47 -47
  207. package/src/components/BaseDisplayRelativeTime.vue +126 -126
  208. package/src/components/BaseDraggable.stories.js +34 -34
  209. package/src/components/BaseDraggable.vue +111 -111
  210. package/src/components/BaseDropdown.stories.js +164 -164
  211. package/src/components/BaseDropdown.vue +74 -74
  212. package/src/components/BaseDropdownAutocomplete.stories.js +208 -208
  213. package/src/components/BaseDropdownAutocomplete.vue +203 -203
  214. package/src/components/BaseField.vue +151 -151
  215. package/src/components/BaseFieldI18n.stories.js +37 -37
  216. package/src/components/BaseFieldI18n.vue +170 -170
  217. package/src/components/BaseFilePicker.stories.js +84 -84
  218. package/src/components/BaseFilePicker.vue +163 -163
  219. package/src/components/BaseFilePickerCrop.stories.js +135 -135
  220. package/src/components/BaseFilePickerCrop.vue +130 -130
  221. package/src/components/BaseFileUploader.stories.js +101 -101
  222. package/src/components/BaseFileUploader.vue +185 -185
  223. package/src/components/BaseForm.mdx +87 -87
  224. package/src/components/BaseForm.stories.js +133 -133
  225. package/src/components/BaseForm.vue +372 -372
  226. package/src/components/BaseGantt.stories.js +145 -145
  227. package/src/components/BaseGantt.vue +384 -384
  228. package/src/components/BaseHasMany.stories.js +211 -211
  229. package/src/components/BaseHasMany.vue +135 -135
  230. package/src/components/BaseHasManyFetch.stories.js +278 -278
  231. package/src/components/BaseHasManyFetch.vue +222 -222
  232. package/src/components/BaseHeader.stories.js +137 -137
  233. package/src/components/BaseHeader.vue +141 -141
  234. package/src/components/BaseIconPicker.stories.js +22 -22
  235. package/src/components/BaseIconPicker.vue +225 -225
  236. package/src/components/BaseInput.stories.js +202 -202
  237. package/src/components/BaseInput.vue +402 -402
  238. package/src/components/BaseInputError.vue +39 -39
  239. package/src/components/BaseInputLabel.stories.js +36 -36
  240. package/src/components/BaseInputLabel.vue +83 -83
  241. package/src/components/BaseInputPercent.stories.js +66 -66
  242. package/src/components/BaseInputPercent.vue +139 -139
  243. package/src/components/BaseJsonReader.stories.js +120 -120
  244. package/src/components/BaseJsonReader.vue +51 -51
  245. package/src/components/BaseJsonReaderItem.vue +119 -119
  246. package/src/components/BaseLayoutNotificationDropdown.vue +153 -153
  247. package/src/components/BaseLayoutNotificationItem.vue +53 -53
  248. package/src/components/BaseLayoutNotificationItemContent.vue +41 -41
  249. package/src/components/BaseLayoutSidebar.vue +300 -300
  250. package/src/components/BaseLayoutSidebarConfigurable.stories.js +217 -217
  251. package/src/components/BaseLayoutSidebarConfigurable.vue +202 -202
  252. package/src/components/BaseLayoutStacked.vue +78 -78
  253. package/src/components/BaseLayoutStackedConfigurable.stories.js +181 -181
  254. package/src/components/BaseLayoutStackedConfigurable.vue +196 -196
  255. package/src/components/BaseLazy.stories.js +59 -59
  256. package/src/components/BaseLazy.vue +80 -80
  257. package/src/components/BaseLoadingCover.stories.js +55 -55
  258. package/src/components/BaseLoadingCover.vue +101 -101
  259. package/src/components/BaseMediaGallery.vue +96 -96
  260. package/src/components/BaseMediaGalleryItem.vue +101 -101
  261. package/src/components/BaseMediaItem.stories.js +41 -41
  262. package/src/components/BaseMediaItem.vue +80 -80
  263. package/src/components/BaseMediaLibrary.stories.js +267 -267
  264. package/src/components/BaseMediaLibrary.vue +357 -357
  265. package/src/components/BaseMediaList.vue +67 -67
  266. package/src/components/BaseMediaListItem.vue +213 -213
  267. package/src/components/BaseMediaPictures.vue +64 -64
  268. package/src/components/BaseMediaPicturesItem.vue +100 -100
  269. package/src/components/BaseMediaPreview.stories.js +72 -72
  270. package/src/components/BaseMediaPreview.vue +106 -106
  271. package/src/components/BaseMenu.stories.js +134 -134
  272. package/src/components/BaseMenu.vue +187 -187
  273. package/src/components/BaseMenuItem.vue +177 -177
  274. package/src/components/BaseModalCenter.stories.js +68 -68
  275. package/src/components/BaseModalCenter.vue +128 -128
  276. package/src/components/BaseModalSide.stories.js +61 -61
  277. package/src/components/BaseModalSide.vue +130 -130
  278. package/src/components/BaseNavbar.stories.js +152 -152
  279. package/src/components/BaseNavbar.vue +191 -191
  280. package/src/components/BaseNavbarItem.vue +108 -108
  281. package/src/components/BaseNavbarItemContent.vue +124 -124
  282. package/src/components/BaseNavbarSideItem.vue +187 -187
  283. package/src/components/BaseNavbarSideItemContent.vue +126 -126
  284. package/src/components/BasePagination.stories.js +35 -35
  285. package/src/components/BasePagination.vue +266 -266
  286. package/src/components/BasePanel.stories.js +56 -56
  287. package/src/components/BasePanel.vue +42 -42
  288. package/src/components/BasePassword.stories.js +80 -80
  289. package/src/components/BasePassword.vue +87 -87
  290. package/src/components/BaseProgressCircle.stories.js +27 -27
  291. package/src/components/BaseProgressCircle.vue +80 -80
  292. package/src/components/BaseRadioGroup.stories.js +87 -87
  293. package/src/components/BaseRadioGroup.vue +124 -124
  294. package/src/components/BaseReadMore.stories.js +30 -30
  295. package/src/components/BaseReadMore.vue +73 -73
  296. package/src/components/BaseRichText.stories.js +90 -90
  297. package/src/components/BaseRichText.vue +87 -87
  298. package/src/components/BaseScrollColumn.vue +128 -128
  299. package/src/components/BaseSelect.stories.js +151 -151
  300. package/src/components/BaseSelect.vue +241 -241
  301. package/src/components/BaseShortcut.stories.js +100 -100
  302. package/src/components/BaseShortcut.vue +114 -114
  303. package/src/components/BaseSideNavigation.stories.js +85 -85
  304. package/src/components/BaseSideNavigation.vue +32 -32
  305. package/src/components/BaseSideNavigationItem.vue +99 -99
  306. package/src/components/BaseSkeleton.stories.js +36 -36
  307. package/src/components/BaseSkeleton.vue +40 -40
  308. package/src/components/BaseStatistic.stories.js +51 -51
  309. package/src/components/BaseStatistic.vue +98 -98
  310. package/src/components/BaseStepper.stories.js +94 -94
  311. package/src/components/BaseStepper.vue +72 -72
  312. package/src/components/BaseStepperItem.stories.js +65 -65
  313. package/src/components/BaseStepperItem.vue +149 -149
  314. package/src/components/BaseSwitch.stories.js +133 -133
  315. package/src/components/BaseSwitch.vue +228 -226
  316. package/src/components/BaseSystemAlert.stories.js +63 -63
  317. package/src/components/BaseSystemAlert.vue +89 -89
  318. package/src/components/BaseTabItem.vue +192 -192
  319. package/src/components/BaseTable.stories.js +214 -214
  320. package/src/components/BaseTable.vue +111 -111
  321. package/src/components/BaseTableBody.vue +14 -14
  322. package/src/components/BaseTableCell.vue +204 -204
  323. package/src/components/BaseTableColumn.vue +140 -140
  324. package/src/components/BaseTableHead.vue +38 -38
  325. package/src/components/BaseTableHeader.vue +139 -139
  326. package/src/components/BaseTableRow.vue +197 -197
  327. package/src/components/BaseTabs.stories.js +165 -165
  328. package/src/components/BaseTabs.vue +203 -203
  329. package/src/components/BaseTagAutocomplete.stories.js +271 -271
  330. package/src/components/BaseTagAutocomplete.vue +565 -565
  331. package/src/components/BaseTagAutocompleteFetch.stories.js +211 -211
  332. package/src/components/BaseTagAutocompleteFetch.vue +237 -237
  333. package/src/components/BaseTextarea.stories.js +81 -81
  334. package/src/components/BaseTextarea.vue +138 -138
  335. package/src/components/BaseTextareaAutoresize.stories.js +125 -125
  336. package/src/components/BaseTextareaAutoresize.vue +187 -187
  337. package/src/components/BaseTimePicker.stories.js +68 -68
  338. package/src/components/BaseTimePicker.vue +379 -379
  339. package/src/components/BaseTimeline.stories.js +55 -55
  340. package/src/components/BaseTimeline.vue +38 -38
  341. package/src/components/BaseTimelineItem.stories.js +77 -77
  342. package/src/components/BaseTimelineItem.vue +90 -90
  343. package/src/components/BaseToast.stories.js +50 -50
  344. package/src/components/BaseToast.vue +43 -43
  345. package/src/components/BaseTooltip.stories.js +65 -65
  346. package/src/components/BaseTooltip.vue +93 -93
  347. package/src/components/BaseUniqueCode.stories.js +36 -36
  348. package/src/components/BaseUniqueCode.vue +183 -183
  349. package/src/components/SlotComponent.ts +37 -37
  350. package/src/components/index.ts +222 -222
  351. package/src/composables/breakpoints.ts +94 -94
  352. package/src/composables/clickOutside.ts +80 -80
  353. package/src/composables/field.ts +156 -156
  354. package/src/composables/hasOptions.ts +86 -86
  355. package/src/composables/inputSize.ts +35 -35
  356. package/src/composables/isLastColumn.ts +30 -30
  357. package/src/composables/mediaQuery.ts +42 -42
  358. package/src/composables/modal.ts +73 -73
  359. package/src/composables/paginatedData.ts +76 -76
  360. package/src/composables/tooltip.ts +84 -84
  361. package/src/constants/MyConstants.ts +1 -1
  362. package/src/constants/index.ts +5 -5
  363. package/src/env.d.ts +15 -15
  364. package/src/i18n/index.ts +60 -60
  365. package/src/index.ts +138 -138
  366. package/src/lang/en.json +101 -101
  367. package/src/lang/fr.json +101 -101
  368. package/src/services/gantt/format.ts +133 -133
  369. package/src/services/gantt/timescale.ts +250 -250
  370. package/src/services/gantt/types.ts +81 -81
  371. package/src/services/table/classes.ts +37 -37
  372. package/src/services/table/customKeyActions.ts +2 -2
  373. package/src/services/table/types.ts +27 -27
  374. package/src/stores/dialogs.ts +48 -48
  375. package/src/stores/i18n.ts +14 -14
  376. package/src/stores/snackbars.ts +47 -47
  377. package/src/stores/systemAlerts.ts +32 -32
  378. package/src/stories/InputSizes.stories.js +21 -21
  379. package/src/stories/List.stories.js +136 -136
  380. package/src/stories/PageInputSizes.vue +228 -228
  381. package/src/stories/PageShow.vue +423 -423
  382. package/src/stories/Show.stories.js +21 -21
  383. package/src/svg/BaseEmptyState.vue +38 -38
  384. package/src/svg/BaseSpinnerLarge.vue +40 -40
  385. package/src/svg/BaseSpinnerSmall.vue +13 -13
  386. package/src/types/Color.ts +9 -9
  387. package/src/types/Country.ts +4 -4
  388. package/src/types/ImagePickerResult.ts +5 -5
  389. package/src/types/Media.ts +10 -10
  390. package/src/types/Notification.ts +11 -11
  391. package/src/types/Region.ts +5 -5
  392. package/src/types/Status.ts +5 -5
  393. package/src/types/StepperItem.ts +8 -8
  394. package/src/types/ToolbarOption.ts +1 -1
  395. package/src/types/UploadedFile.ts +11 -11
  396. package/src/types/User.ts +7 -7
  397. package/src/types/index.ts +302 -302
  398. package/src/utils/blob.ts +30 -30
  399. package/src/utils/colors.ts +239 -239
  400. package/src/utils/cropper/avatar.ts +33 -33
  401. package/src/utils/cropper/cover.ts +41 -41
  402. package/src/utils/cropper/presetInterface.ts +16 -16
  403. package/src/utils/cropper/presets.ts +7 -7
  404. package/src/utils/deepIncludes.ts +76 -76
  405. package/src/utils/fileSizeFormat.ts +15 -15
  406. package/src/utils/fileValidations.ts +26 -26
  407. package/src/utils/getApiData.ts +11 -11
  408. package/src/utils/index.ts +18 -18
  409. package/src/utils/resizeImageFromURI.ts +118 -118
  410. package/src/utils/scrollPreventer.ts +11 -11
  411. package/src/utils/sizeBehaviors.ts +3 -3
  412. package/src/utils/sizes.ts +38 -38
  413. package/src/utils/slots.ts +12 -12
  414. package/src/utils/storage.ts +36 -36
  415. package/src/utils/toHumanList.ts +20 -20
  416. package/src/utils/uuid.ts +7 -7
@@ -1,261 +1,261 @@
1
- export default function ({ addComponents, theme }) {
2
- addComponents({
3
- // Button
4
- '.btn': {
5
- position: 'relative',
6
- display: 'inline-flex',
7
- 'align-items': 'center',
8
- 'justify-content': 'center',
9
- cursor: 'pointer',
10
- 'user-select': 'none',
11
- color: theme('colors.slate.600'),
12
- 'background-color': theme('colors.white'),
13
- 'border-color': theme('colors.slate.300'),
14
- 'border-width': '1px',
15
- 'border-radius': theme('borderRadius.md'),
16
- padding: '0 ' + theme('spacing.4'),
17
- height: theme('height.control-md'),
18
- 'text-align': 'center',
19
- 'font-size': theme('fontSize.sm'),
20
- 'line-height': theme('lineHeight.5'),
21
- 'transition-property':
22
- 'color, background-color, border-color, text-decoration-color, fill, stroke',
23
- 'transition-timing-function': 'cubic-bezier(0.4, 0, 0.2, 1)',
24
- 'transition-duration': '100ms',
25
- '&:hover:enabled': {
26
- 'background-color': theme('colors.slate.100'),
27
- },
28
- '&:focus-visible': {
29
- 'z-index': 1,
30
- outline: '4px solid transparent',
31
- 'outline-offset': '0px',
32
- '--tw-ring-color': theme('colors.slate.200'),
33
- '--tw-ring-offset-width': '0px',
34
- '--tw-ring-offset-shadow':
35
- 'var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)',
36
- '--tw-ring-shadow':
37
- 'var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color)',
38
- 'box-shadow':
39
- 'var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)',
40
- },
41
- '&:disabled': {
42
- cursor: 'not-allowed',
43
- opacity: '0.5',
44
- },
45
- },
46
- // Button - Sizes
47
- '.btn-xs': {
48
- 'font-size': theme('fontSize.xs'),
49
- 'line-height': theme('lineHeight.4'),
50
- padding: '0 ' + theme('spacing.2'),
51
- height: theme('height.control-xs'),
52
- },
53
- '.btn-sm': {
54
- 'font-size': theme('fontSize.sm'),
55
- 'line-height': theme('lineHeight.4'),
56
- padding: '0 ' + theme('spacing.3'),
57
- height: theme('height.control-sm'),
58
- },
59
- '.btn-md': {
60
- 'font-size': theme('fontSize.sm'),
61
- 'line-height': theme('lineHeight.5'),
62
- padding: '0 ' + theme('spacing.4'),
63
- height: theme('height.control-md'),
64
- },
65
- '.btn-lg': {
66
- 'font-size': theme('fontSize.base'),
67
- 'line-height': theme('lineHeight.5'),
68
- padding: '0 ' + theme('spacing.5'),
69
- height: theme('height.control-lg'),
70
- },
71
- '.btn-xl': {
72
- 'font-size': theme('fontSize.base'),
73
- 'line-height': theme('lineHeight.5'),
74
- padding: '0 ' + theme('spacing.6'),
75
- height: theme('height.control-xl'),
76
- },
77
- // Button - Colors
78
- '.btn-primary': {
79
- color: theme('colors.white'),
80
- 'background-color': theme('colors.primary.600'),
81
- 'border-color': 'transparent',
82
- '&:hover:enabled': {
83
- 'background-color': theme('colors.primary.500'),
84
- },
85
- '&:focus-visible': {
86
- '--tw-ring-color': theme('colors.primary.200'),
87
- },
88
- },
89
- '.btn-secondary': {
90
- color: theme('colors.primary.700'),
91
- 'background-color': theme('colors.primary.200'),
92
- 'border-color': 'transparent',
93
- '&:hover:enabled': {
94
- 'background-color': theme('colors.primary.100'),
95
- },
96
- '&:focus-visible': {
97
- '--tw-ring-color': theme('colors.primary.200'),
98
- },
99
- },
100
- '.btn-secondary-outline': {
101
- color: theme('colors.primary.700'),
102
- 'background-color': theme('colors.primary.200'),
103
- 'border-color': theme('colors.primary.300'),
104
- '&:hover:enabled': {
105
- 'background-color': theme('colors.primary.100'),
106
- },
107
- '&:focus-visible': {
108
- '--tw-ring-color': theme('colors.primary.200'),
109
- },
110
- },
111
- '.btn-success': {
112
- color: theme('colors.white'),
113
- 'background-color': theme('colors.green.600'),
114
- 'border-color': 'transparent',
115
- '&:hover:enabled': {
116
- 'background-color': theme('colors.green.500'),
117
- },
118
- '&:focus-visible': {
119
- '--tw-ring-color': theme('colors.green.200'),
120
- },
121
- },
122
- '.btn-success-outline': {
123
- color: theme('colors.green.700'),
124
- 'background-color': theme('colors.green.200'),
125
- 'border-color': theme('colors.green.300'),
126
- '&:hover:enabled': {
127
- 'background-color': theme('colors.green.100'),
128
- },
129
- '&:focus-visible': {
130
- '--tw-ring-color': theme('colors.green.200'),
131
- },
132
- },
133
- '.btn-warning': {
134
- color: theme('colors.yellow.900'),
135
- 'background-color': theme('colors.yellow.400'),
136
- 'border-color': 'transparent',
137
- '&:hover:enabled': {
138
- 'background-color': theme('colors.yellow.300'),
139
- },
140
- '&:focus-visible': {
141
- '--tw-ring-color': theme('colors.yellow.200'),
142
- },
143
- },
144
- '.btn-warning-outline': {
145
- color: theme('colors.yellow.900'),
146
- 'background-color': theme('colors.yellow.200'),
147
- 'border-color': theme('colors.yellow.400'),
148
- '&:hover:enabled': {
149
- 'background-color': theme('colors.yellow.100'),
150
- },
151
- '&:focus-visible': {
152
- '--tw-ring-color': theme('colors.yellow.200'),
153
- },
154
- },
155
- '.btn-danger': {
156
- color: theme('colors.white'),
157
- 'background-color': theme('colors.red.600'),
158
- 'border-color': 'transparent',
159
- '&:hover:enabled': {
160
- 'background-color': theme('colors.red.500'),
161
- },
162
- '&:focus-visible': {
163
- '--tw-ring-color': theme('colors.red.200'),
164
- },
165
- },
166
- '.btn-danger-outline': {
167
- color: theme('colors.red.700'),
168
- 'background-color': theme('colors.red.200'),
169
- 'border-color': theme('colors.red.300'),
170
- '&:hover:enabled': {
171
- 'background-color': theme('colors.red.100'),
172
- },
173
- '&:focus-visible': {
174
- '--tw-ring-color': theme('colors.red.200'),
175
- },
176
- },
177
- '.btn-info': {
178
- color: theme('colors.white'),
179
- 'background-color': theme('colors.blue.600'),
180
- 'border-color': 'transparent',
181
- '&:hover:enabled': {
182
- 'background-color': theme('colors.blue.500'),
183
- },
184
- '&:focus-visible': {
185
- '--tw-ring-color': theme('colors.blue.200'),
186
- },
187
- },
188
- '.btn-info-outline': {
189
- color: theme('colors.blue.700'),
190
- 'background-color': theme('colors.blue.200'),
191
- 'border-color': theme('colors.blue.300'),
192
- '&:hover:enabled': {
193
- 'background-color': theme('colors.blue.100'),
194
- },
195
- '&:focus-visible': {
196
- '--tw-ring-color': theme('colors.blue.200'),
197
- },
198
- },
199
- '.btn-white': {
200
- 'background-color': theme('colors.white'),
201
- 'border-color': 'transparent',
202
- '&:hover:enabled': {
203
- 'background-color': theme('colors.slate.100'),
204
- },
205
- '&:focus-visible': {
206
- '--tw-ring-color': theme('colors.slate.200'),
207
- },
208
- },
209
- '.btn-black': {
210
- color: theme('colors.white'),
211
- 'background-color': theme('colors.slate.900'),
212
- 'border-color': 'transparent',
213
- '&:hover:enabled': {
214
- 'background-color': theme('colors.slate.700'),
215
- },
216
- '&:focus-visible': {
217
- '--tw-ring-color': theme('colors.slate.300'),
218
- },
219
- },
220
- '.btn-slate-100': {
221
- 'background-color': theme('colors.slate.100'),
222
- 'border-color': 'transparent',
223
- '&:hover:enabled': {
224
- 'background-color': theme('colors.slate.50'),
225
- },
226
- '&:focus-visible': {
227
- '--tw-ring-color': theme('colors.slate.200'),
228
- },
229
- },
230
- '.btn-slate-100-outline': {
231
- 'background-color': theme('colors.slate.100'),
232
- 'border-color': theme('colors.slate.300'),
233
- '&:hover:enabled': {
234
- 'background-color': theme('colors.slate.50'),
235
- },
236
- '&:focus-visible': {
237
- '--tw-ring-color': theme('colors.slate.200'),
238
- },
239
- },
240
- '.btn-slate-200': {
241
- 'background-color': theme('colors.slate.200'),
242
- 'border-color': 'transparent',
243
- '&:hover:enabled': {
244
- 'background-color': theme('colors.slate.100'),
245
- },
246
- '&:focus-visible': {
247
- '--tw-ring-color': theme('colors.slate.200'),
248
- },
249
- },
250
- '.btn-slate-200-outline': {
251
- 'background-color': theme('colors.slate.200'),
252
- 'border-color': theme('colors.slate.400'),
253
- '&:hover:enabled': {
254
- 'background-color': theme('colors.slate.100'),
255
- },
256
- '&:focus-visible': {
257
- '--tw-ring-color': theme('colors.slate.200'),
258
- },
259
- },
260
- });
1
+ export default function ({ addComponents, theme }) {
2
+ addComponents({
3
+ // Button
4
+ '.btn': {
5
+ position: 'relative',
6
+ display: 'inline-flex',
7
+ 'align-items': 'center',
8
+ 'justify-content': 'center',
9
+ cursor: 'pointer',
10
+ 'user-select': 'none',
11
+ color: theme('colors.slate.600'),
12
+ 'background-color': theme('colors.white'),
13
+ 'border-color': theme('colors.slate.300'),
14
+ 'border-width': '1px',
15
+ 'border-radius': theme('borderRadius.md'),
16
+ padding: '0 ' + theme('spacing.4'),
17
+ height: theme('height.control-md'),
18
+ 'text-align': 'center',
19
+ 'font-size': theme('fontSize.sm'),
20
+ 'line-height': theme('lineHeight.5'),
21
+ 'transition-property':
22
+ 'color, background-color, border-color, text-decoration-color, fill, stroke',
23
+ 'transition-timing-function': 'cubic-bezier(0.4, 0, 0.2, 1)',
24
+ 'transition-duration': '100ms',
25
+ '&:hover:enabled': {
26
+ 'background-color': theme('colors.slate.100'),
27
+ },
28
+ '&:focus-visible': {
29
+ 'z-index': 1,
30
+ outline: '4px solid transparent',
31
+ 'outline-offset': '0px',
32
+ '--tw-ring-color': theme('colors.slate.200'),
33
+ '--tw-ring-offset-width': '0px',
34
+ '--tw-ring-offset-shadow':
35
+ 'var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)',
36
+ '--tw-ring-shadow':
37
+ 'var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color)',
38
+ 'box-shadow':
39
+ 'var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)',
40
+ },
41
+ '&:disabled': {
42
+ cursor: 'not-allowed',
43
+ opacity: '0.5',
44
+ },
45
+ },
46
+ // Button - Sizes
47
+ '.btn-xs': {
48
+ 'font-size': theme('fontSize.xs'),
49
+ 'line-height': theme('lineHeight.4'),
50
+ padding: '0 ' + theme('spacing.2'),
51
+ height: theme('height.control-xs'),
52
+ },
53
+ '.btn-sm': {
54
+ 'font-size': theme('fontSize.sm'),
55
+ 'line-height': theme('lineHeight.4'),
56
+ padding: '0 ' + theme('spacing.3'),
57
+ height: theme('height.control-sm'),
58
+ },
59
+ '.btn-md': {
60
+ 'font-size': theme('fontSize.sm'),
61
+ 'line-height': theme('lineHeight.5'),
62
+ padding: '0 ' + theme('spacing.4'),
63
+ height: theme('height.control-md'),
64
+ },
65
+ '.btn-lg': {
66
+ 'font-size': theme('fontSize.base'),
67
+ 'line-height': theme('lineHeight.5'),
68
+ padding: '0 ' + theme('spacing.5'),
69
+ height: theme('height.control-lg'),
70
+ },
71
+ '.btn-xl': {
72
+ 'font-size': theme('fontSize.base'),
73
+ 'line-height': theme('lineHeight.5'),
74
+ padding: '0 ' + theme('spacing.6'),
75
+ height: theme('height.control-xl'),
76
+ },
77
+ // Button - Colors
78
+ '.btn-primary': {
79
+ color: theme('colors.white'),
80
+ 'background-color': theme('colors.primary.600'),
81
+ 'border-color': 'transparent',
82
+ '&:hover:enabled': {
83
+ 'background-color': theme('colors.primary.500'),
84
+ },
85
+ '&:focus-visible': {
86
+ '--tw-ring-color': theme('colors.primary.200'),
87
+ },
88
+ },
89
+ '.btn-secondary': {
90
+ color: theme('colors.primary.700'),
91
+ 'background-color': theme('colors.primary.200'),
92
+ 'border-color': 'transparent',
93
+ '&:hover:enabled': {
94
+ 'background-color': theme('colors.primary.100'),
95
+ },
96
+ '&:focus-visible': {
97
+ '--tw-ring-color': theme('colors.primary.200'),
98
+ },
99
+ },
100
+ '.btn-secondary-outline': {
101
+ color: theme('colors.primary.700'),
102
+ 'background-color': theme('colors.primary.200'),
103
+ 'border-color': theme('colors.primary.300'),
104
+ '&:hover:enabled': {
105
+ 'background-color': theme('colors.primary.100'),
106
+ },
107
+ '&:focus-visible': {
108
+ '--tw-ring-color': theme('colors.primary.200'),
109
+ },
110
+ },
111
+ '.btn-success': {
112
+ color: theme('colors.white'),
113
+ 'background-color': theme('colors.green.600'),
114
+ 'border-color': 'transparent',
115
+ '&:hover:enabled': {
116
+ 'background-color': theme('colors.green.500'),
117
+ },
118
+ '&:focus-visible': {
119
+ '--tw-ring-color': theme('colors.green.200'),
120
+ },
121
+ },
122
+ '.btn-success-outline': {
123
+ color: theme('colors.green.700'),
124
+ 'background-color': theme('colors.green.200'),
125
+ 'border-color': theme('colors.green.300'),
126
+ '&:hover:enabled': {
127
+ 'background-color': theme('colors.green.100'),
128
+ },
129
+ '&:focus-visible': {
130
+ '--tw-ring-color': theme('colors.green.200'),
131
+ },
132
+ },
133
+ '.btn-warning': {
134
+ color: theme('colors.yellow.900'),
135
+ 'background-color': theme('colors.yellow.400'),
136
+ 'border-color': 'transparent',
137
+ '&:hover:enabled': {
138
+ 'background-color': theme('colors.yellow.300'),
139
+ },
140
+ '&:focus-visible': {
141
+ '--tw-ring-color': theme('colors.yellow.200'),
142
+ },
143
+ },
144
+ '.btn-warning-outline': {
145
+ color: theme('colors.yellow.900'),
146
+ 'background-color': theme('colors.yellow.200'),
147
+ 'border-color': theme('colors.yellow.400'),
148
+ '&:hover:enabled': {
149
+ 'background-color': theme('colors.yellow.100'),
150
+ },
151
+ '&:focus-visible': {
152
+ '--tw-ring-color': theme('colors.yellow.200'),
153
+ },
154
+ },
155
+ '.btn-danger': {
156
+ color: theme('colors.white'),
157
+ 'background-color': theme('colors.red.600'),
158
+ 'border-color': 'transparent',
159
+ '&:hover:enabled': {
160
+ 'background-color': theme('colors.red.500'),
161
+ },
162
+ '&:focus-visible': {
163
+ '--tw-ring-color': theme('colors.red.200'),
164
+ },
165
+ },
166
+ '.btn-danger-outline': {
167
+ color: theme('colors.red.700'),
168
+ 'background-color': theme('colors.red.200'),
169
+ 'border-color': theme('colors.red.300'),
170
+ '&:hover:enabled': {
171
+ 'background-color': theme('colors.red.100'),
172
+ },
173
+ '&:focus-visible': {
174
+ '--tw-ring-color': theme('colors.red.200'),
175
+ },
176
+ },
177
+ '.btn-info': {
178
+ color: theme('colors.white'),
179
+ 'background-color': theme('colors.blue.600'),
180
+ 'border-color': 'transparent',
181
+ '&:hover:enabled': {
182
+ 'background-color': theme('colors.blue.500'),
183
+ },
184
+ '&:focus-visible': {
185
+ '--tw-ring-color': theme('colors.blue.200'),
186
+ },
187
+ },
188
+ '.btn-info-outline': {
189
+ color: theme('colors.blue.700'),
190
+ 'background-color': theme('colors.blue.200'),
191
+ 'border-color': theme('colors.blue.300'),
192
+ '&:hover:enabled': {
193
+ 'background-color': theme('colors.blue.100'),
194
+ },
195
+ '&:focus-visible': {
196
+ '--tw-ring-color': theme('colors.blue.200'),
197
+ },
198
+ },
199
+ '.btn-white': {
200
+ 'background-color': theme('colors.white'),
201
+ 'border-color': 'transparent',
202
+ '&:hover:enabled': {
203
+ 'background-color': theme('colors.slate.100'),
204
+ },
205
+ '&:focus-visible': {
206
+ '--tw-ring-color': theme('colors.slate.200'),
207
+ },
208
+ },
209
+ '.btn-black': {
210
+ color: theme('colors.white'),
211
+ 'background-color': theme('colors.slate.900'),
212
+ 'border-color': 'transparent',
213
+ '&:hover:enabled': {
214
+ 'background-color': theme('colors.slate.700'),
215
+ },
216
+ '&:focus-visible': {
217
+ '--tw-ring-color': theme('colors.slate.300'),
218
+ },
219
+ },
220
+ '.btn-slate-100': {
221
+ 'background-color': theme('colors.slate.100'),
222
+ 'border-color': 'transparent',
223
+ '&:hover:enabled': {
224
+ 'background-color': theme('colors.slate.50'),
225
+ },
226
+ '&:focus-visible': {
227
+ '--tw-ring-color': theme('colors.slate.200'),
228
+ },
229
+ },
230
+ '.btn-slate-100-outline': {
231
+ 'background-color': theme('colors.slate.100'),
232
+ 'border-color': theme('colors.slate.300'),
233
+ '&:hover:enabled': {
234
+ 'background-color': theme('colors.slate.50'),
235
+ },
236
+ '&:focus-visible': {
237
+ '--tw-ring-color': theme('colors.slate.200'),
238
+ },
239
+ },
240
+ '.btn-slate-200': {
241
+ 'background-color': theme('colors.slate.200'),
242
+ 'border-color': 'transparent',
243
+ '&:hover:enabled': {
244
+ 'background-color': theme('colors.slate.100'),
245
+ },
246
+ '&:focus-visible': {
247
+ '--tw-ring-color': theme('colors.slate.200'),
248
+ },
249
+ },
250
+ '.btn-slate-200-outline': {
251
+ 'background-color': theme('colors.slate.200'),
252
+ 'border-color': theme('colors.slate.400'),
253
+ '&:hover:enabled': {
254
+ 'background-color': theme('colors.slate.100'),
255
+ },
256
+ '&:focus-visible': {
257
+ '--tw-ring-color': theme('colors.slate.200'),
258
+ },
259
+ },
260
+ });
261
261
  }
@@ -1,21 +1,21 @@
1
- import plugin from 'tailwindcss/plugin';
2
- import theme from './theme';
3
-
4
- import button from './button';
5
- import overlay from './overlay';
6
- import input from './input';
7
- import table from './table';
8
-
9
- const config = {
10
- theme: theme
11
- }
12
-
13
- export default plugin(
14
- function (ctx) {
15
- button(ctx);
16
- overlay(ctx);
17
- input(ctx);
18
- table(ctx);
19
- },
20
- config
21
- );
1
+ import plugin from 'tailwindcss/plugin';
2
+ import theme from './theme';
3
+
4
+ import button from './button';
5
+ import overlay from './overlay';
6
+ import input from './input';
7
+ import table from './table';
8
+
9
+ const config = {
10
+ theme: theme
11
+ }
12
+
13
+ export default plugin(
14
+ function (ctx) {
15
+ button(ctx);
16
+ overlay(ctx);
17
+ input(ctx);
18
+ table(ctx);
19
+ },
20
+ config
21
+ );
@@ -1,23 +1,23 @@
1
- import { parseColor } from "tailwindcss/lib/util/color";
2
-
3
- export default function ({ addComponents, theme }) {
4
-
5
- const blueColor = parseColor(theme('colors.blue.600')).color.join(", ");
6
- const redColor = parseColor(theme('colors.red.600')).color.join(", ");
7
-
8
- addComponents({
9
- '.input-focus': {
10
- 'border-color': `rgba(${(blueColor)}, 0.6)`,
11
- 'zIndex': 1,
12
- 'boxShadow': `rgba(${(blueColor)}, 0.2) 0px 0px 0px 4px;`,
13
- },
14
- '.input-focus-error': {
15
- 'border-color': `rgba(${(redColor)}, 0.6)`,
16
- 'zIndex': 1,
17
- 'boxShadow': `rgba(${(redColor)}, 0.2) 0px 0px 0px 4px;`,
18
- },
19
- '.input-rounded': {
20
- 'border-radius': theme('borderRadius.md'),
21
- }
22
- });
1
+ import { parseColor } from "tailwindcss/lib/util/color";
2
+
3
+ export default function ({ addComponents, theme }) {
4
+
5
+ const blueColor = parseColor(theme('colors.blue.600')).color.join(", ");
6
+ const redColor = parseColor(theme('colors.red.600')).color.join(", ");
7
+
8
+ addComponents({
9
+ '.input-focus': {
10
+ 'border-color': `rgba(${(blueColor)}, 0.6)`,
11
+ 'zIndex': 1,
12
+ 'boxShadow': `rgba(${(blueColor)}, 0.2) 0px 0px 0px 4px;`,
13
+ },
14
+ '.input-focus-error': {
15
+ 'border-color': `rgba(${(redColor)}, 0.6)`,
16
+ 'zIndex': 1,
17
+ 'boxShadow': `rgba(${(redColor)}, 0.2) 0px 0px 0px 4px;`,
18
+ },
19
+ '.input-rounded': {
20
+ 'border-radius': theme('borderRadius.md'),
21
+ }
22
+ });
23
23
  }
@@ -1,13 +1,13 @@
1
- export default function ({ addComponents }) {
2
- addComponents({
3
- '.overlay': {
4
- position: 'absolute',
5
- top: 0,
6
- left: 0,
7
- right: 0,
8
- bottom: 0,
9
- width: '100%',
10
- height: '100%',
11
- },
12
- });
1
+ export default function ({ addComponents }) {
2
+ addComponents({
3
+ '.overlay': {
4
+ position: 'absolute',
5
+ top: 0,
6
+ left: 0,
7
+ right: 0,
8
+ bottom: 0,
9
+ width: '100%',
10
+ height: '100%',
11
+ },
12
+ });
13
13
  }