vueless 0.0.825-beta.13 → 0.0.825-beta.130

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 (333) hide show
  1. package/adatper.locale/locales/en.ts +2 -2
  2. package/bin/constants.js +136 -5
  3. package/composables/useBreakpoint.ts +53 -40
  4. package/composables/useUI.ts +6 -1
  5. package/constants.js +55 -41
  6. package/icons/app/keyboard_double_arrow_left.svg +1 -0
  7. package/icons/app/keyboard_double_arrow_right.svg +1 -0
  8. package/icons/storybook/@material-symbols/account_circle.svg +1 -0
  9. package/icons/storybook/@material-symbols/add_circle.svg +1 -0
  10. package/icons/storybook/@material-symbols/arrow_outward.svg +1 -0
  11. package/icons/storybook/@material-symbols/chat.svg +1 -0
  12. package/icons/storybook/@material-symbols/check.svg +1 -0
  13. package/icons/storybook/@material-symbols/check_circle.svg +1 -0
  14. package/icons/storybook/@material-symbols/confirmation_number.svg +1 -0
  15. package/icons/storybook/@material-symbols/currency_exchange.svg +1 -0
  16. package/icons/storybook/@material-symbols/double_arrow.svg +1 -0
  17. package/icons/storybook/@material-symbols/download.svg +1 -0
  18. package/icons/storybook/@material-symbols/edit_calendar.svg +1 -0
  19. package/icons/storybook/@material-symbols/error.svg +1 -0
  20. package/icons/storybook/@material-symbols/expand_circle_down.svg +1 -0
  21. package/icons/storybook/@material-symbols/favorite.svg +1 -0
  22. package/icons/storybook/@material-symbols/feedback.svg +1 -0
  23. package/icons/storybook/@material-symbols/filter_list.svg +1 -0
  24. package/icons/storybook/@material-symbols/flight.svg +1 -0
  25. package/icons/storybook/@material-symbols/heart_plus.svg +1 -0
  26. package/icons/storybook/@material-symbols/inbox.svg +1 -0
  27. package/icons/storybook/@material-symbols/inbox_customize.svg +1 -0
  28. package/icons/storybook/@material-symbols/info.svg +1 -0
  29. package/icons/storybook/@material-symbols/key.svg +1 -0
  30. package/icons/storybook/@material-symbols/label.svg +1 -0
  31. package/icons/storybook/@material-symbols/lock.svg +1 -0
  32. package/icons/storybook/@material-symbols/lock_open.svg +1 -0
  33. package/icons/storybook/@material-symbols/mail.svg +1 -0
  34. package/icons/storybook/@material-symbols/menu.svg +1 -0
  35. package/icons/storybook/@material-symbols/monitoring.svg +1 -0
  36. package/icons/storybook/@material-symbols/more_horiz.svg +1 -0
  37. package/icons/storybook/@material-symbols/palette.svg +1 -0
  38. package/icons/storybook/@material-symbols/payments.svg +1 -0
  39. package/icons/storybook/@material-symbols/person.svg +1 -0
  40. package/icons/storybook/@material-symbols/person_search.svg +1 -0
  41. package/icons/storybook/@material-symbols/play_arrow.svg +1 -0
  42. package/icons/storybook/@material-symbols/progress_activity.svg +1 -0
  43. package/icons/storybook/@material-symbols/remove.svg +1 -0
  44. package/icons/storybook/@material-symbols/sailing.svg +1 -0
  45. package/icons/storybook/@material-symbols/send.svg +1 -0
  46. package/icons/storybook/@material-symbols/sentiment_satisfied.svg +1 -0
  47. package/icons/storybook/@material-symbols/settings.svg +1 -0
  48. package/icons/storybook/@material-symbols/stop_circle.svg +1 -0
  49. package/icons/storybook/@material-symbols/subscriptions.svg +1 -0
  50. package/icons/storybook/@material-symbols/travel_explore.svg +1 -0
  51. package/icons/storybook/@material-symbols/unfold_more.svg +1 -0
  52. package/icons/storybook/@material-symbols/update.svg +1 -0
  53. package/icons/storybook/@material-symbols/verified.svg +1 -0
  54. package/icons/storybook/@material-symbols/warning.svg +1 -0
  55. package/index.d.ts +1 -1
  56. package/index.ts +10 -3
  57. package/package.json +10 -12
  58. package/plugin-vite.js +24 -38
  59. package/tailwind.css +100 -151
  60. package/types.ts +20 -13
  61. package/ui.button/UButton.vue +4 -4
  62. package/ui.button/config.ts +5 -5
  63. package/ui.button/storybook/stories.ts +63 -124
  64. package/ui.button/types.ts +2 -2
  65. package/ui.button-link/ULink.vue +14 -2
  66. package/ui.button-link/config.ts +4 -3
  67. package/ui.button-link/storybook/stories.ts +48 -95
  68. package/ui.button-link/types.ts +9 -3
  69. package/ui.button-toggle/UToggle.vue +93 -53
  70. package/ui.button-toggle/config.ts +12 -3
  71. package/ui.button-toggle/storybook/stories.ts +60 -49
  72. package/ui.button-toggle/types.ts +1 -1
  73. package/ui.container-accordion/UAccordion.vue +14 -8
  74. package/ui.container-accordion/config.ts +13 -7
  75. package/ui.container-accordion/storybook/stories.ts +11 -18
  76. package/ui.container-card/UCard.vue +18 -12
  77. package/ui.container-card/config.ts +27 -8
  78. package/ui.container-card/storybook/stories.ts +40 -21
  79. package/ui.container-card/types.ts +5 -0
  80. package/ui.container-col/UCol.vue +12 -1
  81. package/ui.container-col/config.ts +3 -0
  82. package/ui.container-col/storybook/stories.ts +38 -32
  83. package/ui.container-col/types.ts +5 -0
  84. package/ui.container-divider/UDivider.vue +36 -4
  85. package/ui.container-divider/config.ts +27 -43
  86. package/ui.container-divider/storybook/stories.ts +33 -51
  87. package/ui.container-divider/types.ts +15 -11
  88. package/ui.container-group/UGroup.vue +22 -19
  89. package/ui.container-group/config.ts +7 -6
  90. package/ui.container-group/storybook/stories.ts +1 -5
  91. package/ui.container-groups/UGroups.vue +13 -1
  92. package/ui.container-groups/storybook/stories.ts +18 -22
  93. package/ui.container-modal/UModal.vue +113 -44
  94. package/ui.container-modal/config.ts +30 -12
  95. package/ui.container-modal/storybook/stories.ts +105 -115
  96. package/ui.container-modal/types.ts +6 -6
  97. package/ui.container-modal-confirm/UModalConfirm.vue +20 -4
  98. package/ui.container-modal-confirm/config.ts +3 -3
  99. package/ui.container-modal-confirm/storybook/stories.ts +121 -119
  100. package/ui.container-modal-confirm/types.ts +6 -6
  101. package/ui.container-page/UPage.vue +19 -12
  102. package/ui.container-page/config.ts +39 -31
  103. package/ui.container-page/storybook/stories.ts +38 -35
  104. package/ui.container-page/types.ts +9 -9
  105. package/ui.container-row/URow.vue +13 -1
  106. package/ui.container-row/config.ts +6 -6
  107. package/ui.container-row/storybook/stories.ts +43 -46
  108. package/ui.container-row/types.ts +2 -2
  109. package/ui.data-list/UDataList.vue +16 -3
  110. package/ui.data-list/config.ts +1 -1
  111. package/ui.data-list/storybook/stories.ts +11 -11
  112. package/ui.data-table/UTable.vue +224 -189
  113. package/ui.data-table/UTableRow.vue +35 -137
  114. package/ui.data-table/config.ts +12 -14
  115. package/ui.data-table/storybook/docs.mdx +0 -2
  116. package/ui.data-table/storybook/stories.ts +44 -70
  117. package/ui.data-table/types.ts +13 -12
  118. package/ui.data-table/utilTable.ts +26 -90
  119. package/ui.dropdown-badge/UDropdownBadge.vue +80 -18
  120. package/ui.dropdown-badge/config.ts +5 -2
  121. package/ui.dropdown-badge/storybook/stories.ts +92 -71
  122. package/ui.dropdown-badge/types.ts +22 -2
  123. package/ui.dropdown-button/UDropdownButton.vue +80 -18
  124. package/ui.dropdown-button/config.ts +6 -3
  125. package/ui.dropdown-button/storybook/stories.ts +78 -58
  126. package/ui.dropdown-button/types.ts +22 -2
  127. package/ui.dropdown-link/UDropdownLink.vue +81 -11
  128. package/ui.dropdown-link/config.ts +6 -3
  129. package/ui.dropdown-link/storybook/stories.ts +82 -98
  130. package/ui.dropdown-link/types.ts +22 -2
  131. package/ui.form-calendar/UCalendar.vue +62 -12
  132. package/ui.form-calendar/UCalendarDayView.vue +3 -3
  133. package/ui.form-calendar/UCalendarMonthView.vue +11 -159
  134. package/ui.form-calendar/UCalendarYearView.vue +84 -162
  135. package/ui.form-calendar/config.ts +12 -19
  136. package/ui.form-calendar/storybook/stories.ts +2 -2
  137. package/ui.form-calendar/types.ts +1 -1
  138. package/ui.form-checkbox/config.ts +2 -2
  139. package/ui.form-checkbox/storybook/stories.ts +6 -6
  140. package/ui.form-checkbox-group/UCheckboxGroup.vue +12 -2
  141. package/ui.form-checkbox-group/storybook/stories.ts +2 -2
  142. package/ui.form-checkbox-multi-state/storybook/stories.ts +2 -2
  143. package/ui.form-color-picker/UColorPicker.vue +14 -4
  144. package/ui.form-color-picker/config.ts +3 -1
  145. package/ui.form-color-picker/storybook/stories.ts +1 -1
  146. package/ui.form-date-picker/UDatePicker.vue +1 -0
  147. package/ui.form-date-picker/storybook/stories.ts +2 -2
  148. package/ui.form-date-picker-range/UDatePickerRange.vue +19 -2
  149. package/ui.form-date-picker-range/UDatePickerRangeInputs.vue +2 -0
  150. package/ui.form-date-picker-range/UDatePickerRangePeriodMenu.vue +3 -1
  151. package/ui.form-date-picker-range/config.ts +2 -2
  152. package/ui.form-date-picker-range/storybook/stories.ts +5 -5
  153. package/ui.form-date-picker-range/types.ts +1 -1
  154. package/ui.form-date-picker-range/useLocale.ts +2 -2
  155. package/ui.form-date-picker-range/utilDateRange.ts +3 -1
  156. package/ui.form-input/UInput.vue +16 -39
  157. package/ui.form-input/config.ts +1 -6
  158. package/ui.form-input/storybook/stories.ts +48 -45
  159. package/ui.form-input-counter/UInputCounter.vue +214 -0
  160. package/ui.form-input-counter/config.ts +44 -0
  161. package/{ui.dropdown-list → ui.form-input-counter}/constants.ts +1 -1
  162. package/ui.form-input-counter/storybook/stories.ts +121 -0
  163. package/ui.form-input-counter/types.ts +52 -0
  164. package/ui.form-input-file/UInputFile.vue +47 -32
  165. package/ui.form-input-file/config.ts +4 -4
  166. package/ui.form-input-file/constants.ts +94 -0
  167. package/ui.form-input-file/storybook/stories.ts +3 -3
  168. package/ui.form-input-number/UInputNumber.vue +139 -83
  169. package/ui.form-input-number/config.ts +11 -48
  170. package/ui.form-input-number/constants.ts +2 -0
  171. package/ui.form-input-number/storybook/stories.ts +141 -57
  172. package/ui.form-input-number/types.ts +71 -12
  173. package/{ui.form-input-money/useFormatCurrency.ts → ui.form-input-number/useFormatNumber.ts} +6 -7
  174. package/ui.form-input-password/UInputPassword.vue +118 -0
  175. package/ui.form-input-password/config.ts +28 -0
  176. package/{ui.form-input-money → ui.form-input-password}/constants.ts +1 -3
  177. package/ui.form-input-password/storybook/stories.ts +189 -0
  178. package/ui.form-input-password/types.ts +77 -0
  179. package/ui.form-input-rating/UInputRating.vue +74 -25
  180. package/ui.form-input-rating/config.ts +7 -4
  181. package/ui.form-input-rating/storybook/stories.ts +19 -15
  182. package/ui.form-input-rating/types.ts +18 -3
  183. package/ui.form-input-search/UInputSearch.vue +10 -6
  184. package/ui.form-input-search/config.ts +1 -1
  185. package/ui.form-input-search/storybook/stories.ts +2 -2
  186. package/ui.form-label/ULabel.vue +11 -11
  187. package/ui.form-label/storybook/stories.ts +4 -4
  188. package/{ui.dropdown-list/UDropdownList.vue → ui.form-listbox/UListbox.vue} +66 -12
  189. package/{ui.dropdown-list → ui.form-listbox}/config.ts +16 -4
  190. package/ui.form-listbox/constants.ts +5 -0
  191. package/{ui.dropdown-list → ui.form-listbox}/storybook/stories.ts +25 -25
  192. package/{ui.dropdown-list → ui.form-listbox}/types.ts +9 -2
  193. package/ui.form-radio/URadio.vue +8 -2
  194. package/ui.form-radio/config.ts +1 -1
  195. package/ui.form-radio/storybook/stories.ts +6 -6
  196. package/ui.form-radio-group/URadioGroup.vue +12 -2
  197. package/ui.form-radio-group/storybook/stories.ts +3 -3
  198. package/ui.form-select/USelect.vue +57 -49
  199. package/ui.form-select/config.ts +4 -3
  200. package/ui.form-select/storybook/stories.ts +16 -16
  201. package/ui.form-select/types.ts +1 -1
  202. package/ui.form-select/utilSelect.ts +1 -1
  203. package/ui.form-switch/USwitch.vue +13 -2
  204. package/ui.form-switch/config.ts +8 -8
  205. package/ui.form-switch/storybook/stories.ts +4 -4
  206. package/ui.form-textarea/UTextarea.vue +17 -10
  207. package/ui.form-textarea/storybook/stories.ts +2 -2
  208. package/ui.form-textarea/types.ts +5 -0
  209. package/ui.image-avatar/UAvatar.vue +15 -4
  210. package/ui.image-avatar/config.ts +1 -1
  211. package/ui.image-avatar/storybook/stories.ts +15 -38
  212. package/ui.image-avatar/types.ts +1 -1
  213. package/ui.image-icon/UIcon.vue +28 -12
  214. package/ui.image-icon/config.ts +1 -1
  215. package/ui.image-icon/storybook/stories.ts +2 -2
  216. package/ui.image-icon/types.ts +1 -1
  217. package/ui.loader/ULoader.vue +13 -1
  218. package/ui.loader/storybook/stories.ts +7 -3
  219. package/ui.loader-overlay/ULoaderOverlay.vue +12 -2
  220. package/ui.loader-overlay/config.ts +1 -2
  221. package/ui.loader-overlay/storybook/stories.ts +19 -27
  222. package/ui.loader-progress/ULoaderProgress.vue +16 -2
  223. package/ui.loader-progress/storybook/stories.ts +4 -4
  224. package/ui.navigation-breadcrumbs/UBreadcrumbs.vue +14 -3
  225. package/ui.navigation-breadcrumbs/storybook/stories.ts +7 -7
  226. package/ui.navigation-pagination/UPagination.vue +12 -2
  227. package/ui.navigation-pagination/storybook/stories.ts +8 -8
  228. package/ui.navigation-progress/UProgress.vue +15 -5
  229. package/ui.navigation-progress/storybook/stories.ts +6 -6
  230. package/ui.navigation-progress/types.ts +1 -1
  231. package/ui.navigation-tab/UTab.vue +16 -1
  232. package/ui.navigation-tab/storybook/stories.ts +2 -2
  233. package/ui.navigation-tabs/UTabs.vue +10 -1
  234. package/ui.navigation-tabs/config.ts +2 -12
  235. package/ui.navigation-tabs/types.ts +1 -1
  236. package/ui.other-chip/UChip.vue +57 -0
  237. package/ui.other-chip/config.ts +31 -0
  238. package/{ui.text-money → ui.other-chip}/constants.ts +1 -1
  239. package/ui.other-chip/storybook/docs.mdx +16 -0
  240. package/ui.other-chip/storybook/stories.ts +112 -0
  241. package/ui.other-chip/types.ts +55 -0
  242. package/ui.other-dot/UDot.vue +13 -1
  243. package/ui.other-dot/config.ts +7 -5
  244. package/ui.other-dot/storybook/stories.ts +4 -4
  245. package/ui.other-dot/types.ts +1 -1
  246. package/ui.other-theme-color-toggle/UThemeColorToggle.vue +11 -3
  247. package/ui.other-theme-color-toggle/config.ts +1 -1
  248. package/ui.other-theme-color-toggle/storybook/stories.ts +1 -1
  249. package/ui.text-alert/UAlert.vue +41 -33
  250. package/ui.text-alert/config.ts +6 -4
  251. package/ui.text-alert/storybook/stories.ts +34 -70
  252. package/ui.text-alert/types.ts +5 -0
  253. package/ui.text-badge/UBadge.vue +2 -2
  254. package/ui.text-badge/config.ts +3 -3
  255. package/ui.text-badge/storybook/stories.ts +9 -8
  256. package/ui.text-block/UText.vue +13 -1
  257. package/ui.text-block/config.ts +2 -1
  258. package/ui.text-block/storybook/stories.ts +9 -2
  259. package/ui.text-block/types.ts +1 -1
  260. package/ui.text-empty/UEmpty.vue +13 -1
  261. package/ui.text-empty/config.ts +1 -1
  262. package/ui.text-empty/storybook/stories.ts +6 -6
  263. package/ui.text-file/UFile.vue +21 -3
  264. package/ui.text-file/config.ts +3 -12
  265. package/ui.text-file/storybook/stories.ts +6 -0
  266. package/ui.text-files/UFiles.vue +12 -2
  267. package/ui.text-header/UHeader.vue +13 -1
  268. package/ui.text-header/storybook/stories.ts +16 -9
  269. package/ui.text-notify/UNotify.vue +12 -9
  270. package/ui.text-notify/config.ts +11 -15
  271. package/ui.text-number/UNumber.vue +26 -4
  272. package/ui.text-number/config.ts +8 -0
  273. package/ui.text-number/storybook/stories.ts +49 -18
  274. package/ui.text-number/types.ts +16 -1
  275. package/utils/helper.ts +70 -8
  276. package/utils/node/dynamicProps.js +64 -11
  277. package/utils/node/dynamicStories.js +0 -1
  278. package/utils/node/helper.js +38 -3
  279. package/utils/node/loaderIcon.js +96 -50
  280. package/utils/node/mergeConfigs.js +20 -16
  281. package/utils/node/tailwindSafelist.js +27 -105
  282. package/utils/node/vuelessConfig.js +20 -1
  283. package/utils/node/webTypes.js +1 -1
  284. package/utils/storybook.ts +90 -5
  285. package/utils/theme.ts +131 -95
  286. package/utils/ui.ts +5 -16
  287. package/assets/icons/vueless/expand_more.svg +0 -1
  288. package/ui.form-input-money/UInputMoney.vue +0 -164
  289. package/ui.form-input-money/config.ts +0 -17
  290. package/ui.form-input-money/storybook/stories.ts +0 -224
  291. package/ui.form-input-money/types.ts +0 -126
  292. package/ui.text-money/UMoney.vue +0 -62
  293. package/ui.text-money/assets/credit.svg +0 -7
  294. package/ui.text-money/assets/debit.svg +0 -12
  295. package/ui.text-money/config.ts +0 -32
  296. package/ui.text-money/storybook/stories.ts +0 -167
  297. package/ui.text-money/types.ts +0 -90
  298. /package/{assets/icons/vueless → icons/app}/add.svg +0 -0
  299. /package/{assets/icons/vueless → icons/app}/apps.svg +0 -0
  300. /package/{assets/icons/vueless → icons/app}/arrow_back.svg +0 -0
  301. /package/{assets/icons/vueless → icons/app}/arrow_right.svg +0 -0
  302. /package/{assets/icons/vueless → icons/app}/attach_file.svg +0 -0
  303. /package/{assets/icons/vueless → icons/app}/calendar_month-fill.svg +0 -0
  304. /package/{assets/icons/vueless → icons/app}/check.svg +0 -0
  305. /package/{assets/icons/vueless → icons/app}/check_circle.svg +0 -0
  306. /package/{assets/icons/vueless → icons/app}/chevron_left.svg +0 -0
  307. /package/{assets/icons/vueless → icons/app}/chevron_right.svg +0 -0
  308. /package/{assets/icons/vueless → icons/app}/close.svg +0 -0
  309. /package/{assets/icons/vueless → icons/app}/close_small.svg +0 -0
  310. /package/{assets/icons/vueless → icons/app}/description.svg +0 -0
  311. /package/{assets/icons/vueless → icons/app}/drag_indicator.svg +0 -0
  312. /package/{assets/icons/vueless → icons/app}/emoji_food_beverage.svg +0 -0
  313. /package/{assets/icons/vueless → icons/app}/error.svg +0 -0
  314. /package/{assets/icons/vueless → icons/app}/first_page.svg +0 -0
  315. /package/{assets/icons/vueless → icons/app}/image.svg +0 -0
  316. /package/{assets/icons/vueless → icons/app}/keyboard_arrow_down.svg +0 -0
  317. /package/{assets/icons/vueless → icons/app}/keyboard_arrow_left.svg +0 -0
  318. /package/{assets/icons/vueless → icons/app}/keyboard_arrow_right.svg +0 -0
  319. /package/{assets/icons/vueless → icons/app}/last_page.svg +0 -0
  320. /package/{assets/icons/vueless → icons/app}/remove.svg +0 -0
  321. /package/{assets/icons/vueless → icons/app}/search.svg +0 -0
  322. /package/{assets/icons/vueless → icons/app}/star-fill.svg +0 -0
  323. /package/{assets/icons/vueless → icons/app}/star.svg +0 -0
  324. /package/{assets/icons/vueless → icons/app}/visibility-fill.svg +0 -0
  325. /package/{assets/icons/vueless → icons/app}/visibility_off-fill.svg +0 -0
  326. /package/{assets/icons/vueless → icons/app}/warning.svg +0 -0
  327. /package/{assets/icons/vueless → icons/storybook/@material-symbols}/delete.svg +0 -0
  328. /package/{assets/icons/vueless → icons/storybook/@material-symbols}/edit_note.svg +0 -0
  329. /package/{ui.form-input-money → ui.form-input-counter}/storybook/docs.mdx +0 -0
  330. /package/{ui.form-input-money → ui.form-input-number}/utilFormat.ts +0 -0
  331. /package/{ui.text-money → ui.form-input-password}/storybook/docs.mdx +0 -0
  332. /package/{ui.dropdown-list → ui.form-listbox}/storybook/docs.mdx +0 -0
  333. /package/{ui.dropdown-list → ui.form-listbox}/usePointer.ts +0 -0
@@ -1,7 +1,7 @@
1
1
  import selectConfig from "../../ui.form-select/config.js";
2
2
  import switchConfig from "../../ui.form-switch/config.js";
3
3
  import inputFileConfig from "../../ui.form-input-file/config.js";
4
- import dropdownListConfig from "../../ui.dropdown-list/config.js";
4
+ import listboxConfig from "../../ui.form-listbox/config.js";
5
5
  import modalConfirmConfig from "../../ui.container-modal-confirm/config.js";
6
6
  import tableConfig from "../../ui.data-table/config.js";
7
7
  import calendarConfig from "../../ui.form-calendar/config.ts";
@@ -14,7 +14,7 @@ export default {
14
14
  USelect: selectConfig.i18n,
15
15
  USwitch: switchConfig.i18n,
16
16
  UInputFile: inputFileConfig.i18n,
17
- UDropdownList: dropdownListConfig.i18n,
17
+ UListbox: listboxConfig.i18n,
18
18
  UModalConfirm: modalConfirmConfig.i18n,
19
19
  UTable: tableConfig.i18n,
20
20
  UCalendar: calendarConfig.i18n,
package/bin/constants.js CHANGED
@@ -7,21 +7,152 @@ export default {
7
7
  */
8
8
  primary: "grayscale",
9
9
  neutral: "gray",
10
- colorMode: "auto",
10
+ text: 14,
11
11
  outline: 2,
12
12
  rounding: 8,
13
- fontSize: 14,
14
13
  unstyled: false,
14
+ colorMode: "auto",
15
+ disabledOpacity: 50,
15
16
 
16
17
  /**
17
18
  * Light theme CSS variable settings.
18
19
  */
19
- lightTheme: {},
20
+ lightTheme: {
21
+ /* Primary colors */
22
+ "--vl-primary": "--vl-primary-600",
23
+ "--vl-primary-lifted": "--vl-primary-700",
24
+ "--vl-primary-accented": "--vl-primary-800",
25
+
26
+ /* Secondary colors */
27
+ "--vl-secondary": "--vl-neutral-500",
28
+ "--vl-secondary-lifted": "--vl-neutral-600",
29
+ "--vl-secondary-accented": "--vl-neutral-700",
30
+
31
+ /* Success colors */
32
+ "--vl-success": "--color-green-600",
33
+ "--vl-success-lifted": "--color-green-700",
34
+ "--vl-success-accented": "--color-green-800",
35
+
36
+ /* Info colors */
37
+ "--vl-info": "--color-blue-600",
38
+ "--vl-info-lifted": "--color-blue-700",
39
+ "--vl-info-accented": "--color-blue-800",
40
+
41
+ /* Notice colors */
42
+ "--vl-notice": "--color-violet-600",
43
+ "--vl-notice-lifted": "--color-violet-700",
44
+ "--vl-notice-accented": "--color-violet-800",
45
+
46
+ /* Warning colors */
47
+ "--vl-warning": "--color-orange-600",
48
+ "--vl-warning-lifted": "--color-orange-700",
49
+ "--vl-warning-accented": "--color-orange-800",
50
+
51
+ /* Error colors */
52
+ "--vl-error": "--color-red-600",
53
+ "--vl-error-lifted": "--color-red-700",
54
+ "--vl-error-accented": "--color-red-800",
55
+
56
+ /* Grayscale colors */
57
+ "--vl-grayscale": "--vl-neutral-900",
58
+ "--vl-grayscale-lifted": "--vl-neutral-800",
59
+ "--vl-grayscale-accented": "--vl-neutral-700",
60
+
61
+ /* Neutral colors */
62
+ "--vl-neutral": "--vl-neutral-500",
63
+ "--vl-neutral-lifted": "--vl-neutral-600",
64
+ "--vl-neutral-accented": "--vl-neutral-700",
65
+
66
+ /* Text neutral colors */
67
+ "--vl-text-inverted": "--color-white",
68
+ "--vl-text-muted": "--vl-neutral-400",
69
+ "--vl-text-lifted": "--vl-neutral-500",
70
+ "--vl-text-accented": "--vl-neutral-600",
71
+ "--vl-text": "--vl-neutral-900",
72
+
73
+ /* Border neutral colors */
74
+ "--vl-border-muted": "--vl-neutral-200",
75
+ "--vl-border": "--vl-neutral-300",
76
+ "--vl-border-lifted": "--vl-neutral-400",
77
+ "--vl-border-accented": "--vl-neutral-600",
78
+
79
+ /* Background neutral colors */
80
+ "--vl-bg": "--color-white",
81
+ "--vl-bg-muted": "--vl-neutral-50",
82
+ "--vl-bg-lifted": "--vl-neutral-100",
83
+ "--vl-bg-accented": "--vl-neutral-200",
84
+ "--vl-bg-inverted": "--vl-neutral-900",
85
+ },
20
86
 
21
87
  /**
22
88
  * Dark theme CSS variable settings.
23
89
  */
24
- darkTheme: {},
90
+ darkTheme: {
91
+ /* Primary colors */
92
+ "--vl-primary": "--vl-primary-400",
93
+ "--vl-primary-lifted": "--vl-primary-500",
94
+ "--vl-primary-accented": "--vl-primary-600",
95
+
96
+ /* Secondary colors */
97
+ "--vl-secondary": "--vl-neutral-300",
98
+ "--vl-secondary-lifted": "--vl-neutral-400",
99
+ "--vl-secondary-accented": "--vl-neutral-500",
100
+
101
+ /* Success colors */
102
+ "--vl-success": "--color-green-400",
103
+ "--vl-success-lifted": "--color-green-500",
104
+ "--vl-success-accented": "--color-green-600",
105
+
106
+ /* Info colors */
107
+ "--vl-info": "--color-blue-400",
108
+ "--vl-info-lifted": "--color-blue-500",
109
+ "--vl-info-accented": "--color-blue-600",
110
+
111
+ /* Notice colors */
112
+ "--vl-notice": "--color-violet-400",
113
+ "--vl-notice-lifted": "--color-violet-500",
114
+ "--vl-notice-accented": "--color-violet-600",
115
+
116
+ /* Warning colors */
117
+ "--vl-warning": "--color-orange-400",
118
+ "--vl-warning-lifted": "--color-orange-500",
119
+ "--vl-warning-accented": "--color-orange-600",
120
+
121
+ /* Error colors */
122
+ "--vl-error": "--color-red-400",
123
+ "--vl-error-lifted": "--color-red-500",
124
+ "--vl-error-accented": "--color-red-600",
125
+
126
+ /* Grayscale colors */
127
+ "--vl-grayscale": "--vl-neutral-100",
128
+ "--vl-grayscale-lifted": "--vl-neutral-200",
129
+ "--vl-grayscale-accented": "--vl-neutral-300",
130
+
131
+ /* Neutral colors */
132
+ "--vl-neutral": "--vl-neutral-300",
133
+ "--vl-neutral-lifted": "--vl-neutral-400",
134
+ "--vl-neutral-accented": "--vl-neutral-500",
135
+
136
+ /* Text neutral colors */
137
+ "--vl-text-inverted": "--vl-neutral-900",
138
+ "--vl-text-muted": "--vl-neutral-600",
139
+ "--vl-text-lifted": "--vl-neutral-400",
140
+ "--vl-text-accented": "--vl-neutral-300",
141
+ "--vl-text": "--vl-neutral-100",
142
+
143
+ /* Border neutral colors */
144
+ "--vl-border-muted": "--vl-neutral-800",
145
+ "--vl-border": "--vl-neutral-700",
146
+ "--vl-border-lifted": "--vl-neutral-600",
147
+ "--vl-border-accented": "--vl-neutral-400",
148
+
149
+ /* Background neutral colors */
150
+ "--vl-bg": "--vl-neutral-900",
151
+ "--vl-bg-muted": "--vl-neutral-800",
152
+ "--vl-bg-lifted": "--vl-neutral-800",
153
+ "--vl-bg-accented": "--vl-neutral-700",
154
+ "--vl-bg-inverted": "--vl-neutral-100",
155
+ },
25
156
 
26
157
  /**
27
158
  * Directive settings.
@@ -34,7 +165,7 @@ export default {
34
165
  components: /*tw*/ {},
35
166
 
36
167
  /**
37
- * Custom classes TailwindMerge settings.
168
+ * TailwindMerge settings for custom Tailwind CSS classes.
38
169
  * All lists of rules available here:
39
170
  * https://github.com/dcastil/tailwind-merge/blob/main/src/lib/default-config.ts
40
171
  */
@@ -21,38 +21,50 @@ enum BreakpointWidth {
21
21
  "2xl" = 1536,
22
22
  }
23
23
 
24
- type Breakpoint = `${BreakpointName}`;
25
-
26
- const mobileDevices = ["xs", "sm"];
27
- const portableDevices = ["xs", "sm", "md"];
28
-
29
24
  export default function useBreakpoint() {
30
- let timeout: number | undefined;
25
+ let animationId: number | undefined;
31
26
 
32
27
  const windowWidth = ref(0);
33
- const currentBreakpoint: Ref<Breakpoint> = ref(BreakpointName.Xs);
28
+ const currentBreakpoint: Ref<BreakpointName> = ref(BreakpointName.Xs);
29
+
30
+ const isPhone = computed(() => {
31
+ return currentBreakpoint.value === BreakpointName.Xs;
32
+ });
34
33
 
35
- const isMobileBreakpoint = computed(() => {
36
- return mobileDevices.includes(currentBreakpoint.value);
34
+ const isLargePhone = computed(() => {
35
+ return currentBreakpoint.value === BreakpointName.Sm;
37
36
  });
38
37
 
39
- const isTabletBreakpoint = computed(() => {
40
- return mobileDevices.includes(currentBreakpoint.value);
38
+ const isPhoneGroup = computed(() => {
39
+ return isPhone.value || isLargePhone.value;
41
40
  });
42
41
 
43
- const isLaptopBreakpoint = computed(() => {
42
+ const isPortraitTablet = computed(() => {
43
+ return currentBreakpoint.value === BreakpointName.Md;
44
+ });
45
+
46
+ const isLandscapeTablet = computed(() => {
44
47
  return currentBreakpoint.value === BreakpointName.Lg;
45
48
  });
46
49
 
47
- const isPortableBreakpoint = computed(() => {
48
- return portableDevices.includes(currentBreakpoint.value);
50
+ const isTabletGroup = computed(() => {
51
+ return isPortraitTablet.value || isLandscapeTablet.value;
52
+ });
53
+
54
+ const isDesktop = computed(() => {
55
+ return currentBreakpoint.value === BreakpointName.Xl;
49
56
  });
50
57
 
51
- // TODO: Why do we need this? Maybe we should rename it.
52
- const elementSize = computed(() => {
53
- return isMobileBreakpoint.value ? BreakpointName.Md : BreakpointName.Lg;
58
+ const isLargeDesktop = computed(() => {
59
+ return currentBreakpoint.value === BreakpointName["2xl"];
54
60
  });
55
61
 
62
+ const isDesktopGroup = computed(() => {
63
+ return isDesktop.value || isLargeDesktop.value;
64
+ });
65
+
66
+ watch(windowWidth, setBreakpoint, { immediate: true });
67
+
56
68
  onMounted(() => {
57
69
  if (isSSR) return;
58
70
 
@@ -67,16 +79,14 @@ export default function useBreakpoint() {
67
79
  window.removeEventListener("resize", resizeListener);
68
80
  });
69
81
 
70
- watch(windowWidth, setBreakpoint, { immediate: true });
71
-
72
82
  function resizeListener() {
73
83
  if (isSSR) return;
74
84
 
75
- if (timeout) {
76
- window.cancelAnimationFrame(timeout);
85
+ if (animationId) {
86
+ window.cancelAnimationFrame(animationId);
77
87
  }
78
88
 
79
- timeout = window.requestAnimationFrame(() => {
89
+ animationId = window.requestAnimationFrame(() => {
80
90
  windowWidth.value = window.innerWidth;
81
91
  });
82
92
  }
@@ -84,26 +94,29 @@ export default function useBreakpoint() {
84
94
  function setBreakpoint(newWindowWidth: number) {
85
95
  if (newWindowWidth === undefined) return;
86
96
 
87
- currentBreakpoint.value = "xs";
88
-
89
- if (newWindowWidth >= BreakpointWidth.Sm && newWindowWidth < BreakpointWidth.Sm) {
90
- currentBreakpoint.value = BreakpointName.Sm;
91
- } else if (newWindowWidth >= BreakpointWidth.Md && newWindowWidth < BreakpointWidth.Lg) {
92
- currentBreakpoint.value = BreakpointName.Md;
93
- } else if (newWindowWidth >= BreakpointWidth.Lg && newWindowWidth < BreakpointWidth.Xl) {
94
- currentBreakpoint.value = BreakpointName.Lg;
95
- } else if (newWindowWidth >= BreakpointWidth.Xl && newWindowWidth < BreakpointWidth["2xl"]) {
96
- currentBreakpoint.value = BreakpointName.Xl;
97
- } else if (newWindowWidth >= BreakpointWidth["2xl"]) {
98
- currentBreakpoint.value = BreakpointName["2xl"];
99
- }
97
+ const breakpoints = [
98
+ { width: BreakpointWidth["2xl"], name: BreakpointName["2xl"] },
99
+ { width: BreakpointWidth.Xl, name: BreakpointName.Xl },
100
+ { width: BreakpointWidth.Lg, name: BreakpointName.Lg },
101
+ { width: BreakpointWidth.Md, name: BreakpointName.Md },
102
+ { width: BreakpointWidth.Sm, name: BreakpointName.Sm },
103
+ ];
104
+
105
+ currentBreakpoint.value =
106
+ breakpoints.find((breakpoint) => newWindowWidth >= breakpoint.width)?.name ||
107
+ BreakpointName.Xs;
100
108
  }
101
109
 
102
110
  return {
103
- isLaptopBreakpoint,
104
- isTabletBreakpoint,
105
- isMobileBreakpoint,
106
- isPortableBreakpoint,
107
- elementSize,
111
+ isPhone,
112
+ isLargePhone,
113
+ isPhoneGroup,
114
+ isPortraitTablet,
115
+ isLandscapeTablet,
116
+ isTabletGroup,
117
+ isDesktop,
118
+ isLargeDesktop,
119
+ isDesktopGroup,
120
+ breakpoint: currentBreakpoint,
108
121
  };
109
122
  }
@@ -213,8 +213,13 @@ export default function useUI<T>(
213
213
  if (extendsKeys.length) {
214
214
  const [firstKey] = extendsKeys;
215
215
 
216
+ if (config.value[firstKey] === undefined) {
217
+ // eslint-disable-next-line no-console
218
+ console.warn(`[Vueless] Missing ${firstKey} extend key.`);
219
+ }
220
+
216
221
  extendsKeyConfig = getMergedConfig({
217
- defaultConfig: config.value[firstKey],
222
+ defaultConfig: config.value[firstKey] || {},
218
223
  globalConfig: globalConfig[firstKey],
219
224
  propsConfig: propsConfig[firstKey],
220
225
  unstyled: Boolean(vuelessConfig.unstyled),
package/constants.js CHANGED
@@ -8,24 +8,32 @@ export const PRIMARY_COLOR = "primary";
8
8
  export const NEUTRAL_COLOR = "neutral";
9
9
  export const SECONDARY_COLOR = "secondary";
10
10
  export const GRAYSCALE_COLOR = "grayscale";
11
+ export const INHERIT_COLOR = "inherit";
12
+
13
+ /* Vueless cookies keys */
14
+ export const PRIMARY_COLOR_KEY = "vl-primary";
15
+ export const NEUTRAL_COLOR_KEY = "vl-neutral";
16
+ export const ROUNDING_KEY = "vl-rounding";
17
+ export const COLOR_MODE_KEY = "vl-color-mode";
18
+ export const AUTO_MODE_KEY = "vl-auto-mode";
11
19
 
12
20
  /* Vueless dark mode */
13
21
  export const DARK_MODE_SELECTOR = "vl-dark";
14
22
  export const LIGHT_MODE_SELECTOR = "vl-light";
15
- export const COLOR_MODE_KEY = "vl-color-mode";
16
23
 
17
24
  /* Vueless defaults */
18
25
  export const DEFAULT_PRIMARY_COLOR = GRAYSCALE_COLOR;
19
26
  export const DEFAULT_NEUTRAL_COLOR = "gray";
20
- export const DEFAULT_FONT_SIZE = 14; /* pixels */
21
- export const FONT_SIZE_DECREMENT = 2; /* pixels */
22
- export const FONT_SIZE_INCREMENT = 2; /* pixels */
27
+ export const DEFAULT_TEXT = 14; /* pixels */
28
+ export const TEXT_DECREMENT = 2; /* pixels */
29
+ export const TEXT_INCREMENT = 2; /* pixels */
23
30
  export const DEFAULT_OUTLINE = 2; /* pixels */
24
31
  export const OUTLINE_DECREMENT = 1; /* pixels */
25
32
  export const OUTLINE_INCREMENT = 1; /* pixels */
26
33
  export const DEFAULT_ROUNDING = 8; /* pixels */
27
34
  export const ROUNDING_DECREMENT = 4; /* pixels */
28
35
  export const ROUNDING_INCREMENT = 6; /* pixels */
36
+ export const DEFAULT_DISABLED_OPACITY = 50; /* presents */
29
37
 
30
38
  /* Vueless supported color shades */
31
39
  export const PRIMARY_COLORS = [
@@ -63,9 +71,9 @@ export const COLOR_SHADES = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 95
63
71
 
64
72
  export const DEFAULT_LIGHT_THEME = {
65
73
  /* Primary colors */
66
- "--vl-primary": "--color-primary-600",
67
- "--vl-primary-lifted": "--color-primary-700",
68
- "--vl-primary-accented": "--color-primary-800",
74
+ "--vl-primary": "--vl-primary-600",
75
+ "--vl-primary-lifted": "--vl-primary-700",
76
+ "--vl-primary-accented": "--vl-primary-800",
69
77
 
70
78
  /* Secondary colors */
71
79
  "--vl-secondary": "--vl-neutral-500",
@@ -97,42 +105,42 @@ export const DEFAULT_LIGHT_THEME = {
97
105
  "--vl-error-lifted": "--color-red-700",
98
106
  "--vl-error-accented": "--color-red-800",
99
107
 
100
- /* Neutral colors */
101
- "--vl-neutral": "--vl-neutral-500",
102
- "--vl-neutral-lifted": "--vl-neutral-600",
103
- "--vl-neutral-accented": "--vl-neutral-700",
104
-
105
108
  /* Grayscale colors */
106
109
  "--vl-grayscale": "--vl-neutral-900",
107
110
  "--vl-grayscale-lifted": "--vl-neutral-800",
108
111
  "--vl-grayscale-accented": "--vl-neutral-700",
109
112
 
113
+ /* Neutral colors */
114
+ "--vl-neutral": "--vl-neutral-500",
115
+ "--vl-neutral-lifted": "--vl-neutral-600",
116
+ "--vl-neutral-accented": "--vl-neutral-700",
117
+
110
118
  /* Text neutral colors */
111
- "--vl-text": "--vl-neutral-900",
119
+ "--vl-text-inverted": "--color-white",
120
+ "--vl-text-muted": "--vl-neutral-400",
112
121
  "--vl-text-lifted": "--vl-neutral-500",
113
122
  "--vl-text-accented": "--vl-neutral-600",
114
- "--vl-text-muted": "--vl-neutral-400",
115
- "--vl-text-inverted": "--color-white",
123
+ "--vl-text": "--vl-neutral-900",
116
124
 
117
125
  /* Border neutral colors */
126
+ "--vl-border-muted": "--vl-neutral-200",
118
127
  "--vl-border": "--vl-neutral-300",
119
128
  "--vl-border-lifted": "--vl-neutral-400",
120
129
  "--vl-border-accented": "--vl-neutral-600",
121
- "--vl-border-muted": "--vl-neutral-200",
122
130
 
123
131
  /* Background neutral colors */
124
132
  "--vl-bg": "--color-white",
133
+ "--vl-bg-muted": "--vl-neutral-50",
125
134
  "--vl-bg-lifted": "--vl-neutral-100",
126
135
  "--vl-bg-accented": "--vl-neutral-200",
127
- "--vl-bg-muted": "--vl-neutral-50",
128
136
  "--vl-bg-inverted": "--vl-neutral-900",
129
137
  };
130
138
 
131
139
  export const DEFAULT_DARK_THEME = {
132
140
  /* Primary colors */
133
- "--vl-primary": "--color-primary-400",
134
- "--vl-primary-lifted": "--color-primary-500",
135
- "--vl-primary-accented": "--color-primary-600",
141
+ "--vl-primary": "--vl-primary-400",
142
+ "--vl-primary-lifted": "--vl-primary-500",
143
+ "--vl-primary-accented": "--vl-primary-600",
136
144
 
137
145
  /* Secondary colors */
138
146
  "--vl-secondary": "--vl-neutral-300",
@@ -164,34 +172,34 @@ export const DEFAULT_DARK_THEME = {
164
172
  "--vl-error-lifted": "--color-red-500",
165
173
  "--vl-error-accented": "--color-red-600",
166
174
 
167
- /* Neutral colors */
168
- "--vl-neutral": "--vl-neutral-300",
169
- "--vl-neutral-lifted": "--vl-neutral-400",
170
- "--vl-neutral-accented": "--vl-neutral-500",
171
-
172
175
  /* Grayscale colors */
173
176
  "--vl-grayscale": "--vl-neutral-100",
174
177
  "--vl-grayscale-lifted": "--vl-neutral-200",
175
178
  "--vl-grayscale-accented": "--vl-neutral-300",
176
179
 
180
+ /* Neutral colors */
181
+ "--vl-neutral": "--vl-neutral-300",
182
+ "--vl-neutral-lifted": "--vl-neutral-400",
183
+ "--vl-neutral-accented": "--vl-neutral-500",
184
+
177
185
  /* Text neutral colors */
178
- "--vl-text": "--vl-neutral-100",
186
+ "--vl-text-inverted": "--vl-neutral-900",
187
+ "--vl-text-muted": "--vl-neutral-600",
179
188
  "--vl-text-lifted": "--vl-neutral-400",
180
189
  "--vl-text-accented": "--vl-neutral-300",
181
- "--vl-text-muted": "--vl-neutral-600",
182
- "--vl-text-inverted": "--vl-neutral-900",
190
+ "--vl-text": "--vl-neutral-100",
183
191
 
184
192
  /* Border neutral colors */
193
+ "--vl-border-muted": "--vl-neutral-800",
185
194
  "--vl-border": "--vl-neutral-700",
186
195
  "--vl-border-lifted": "--vl-neutral-600",
187
196
  "--vl-border-accented": "--vl-neutral-400",
188
- "--vl-border-muted": "--vl-neutral-800",
189
197
 
190
198
  /* Background neutral colors */
191
199
  "--vl-bg": "--vl-neutral-900",
200
+ "--vl-bg-muted": "--vl-neutral-800",
192
201
  "--vl-bg-lifted": "--vl-neutral-800",
193
202
  "--vl-bg-accented": "--vl-neutral-700",
194
- "--vl-bg-muted": "--vl-neutral-800",
195
203
  "--vl-bg-inverted": "--vl-neutral-100",
196
204
  };
197
205
 
@@ -209,7 +217,7 @@ export const SYSTEM_CONFIG_KEY = {
209
217
  defaults: "defaults",
210
218
  unstyled: "unstyled",
211
219
  transition: "transition",
212
- safelistColors: "safelistColors",
220
+ colors: "colors",
213
221
  ...CVA_CONFIG_KEY,
214
222
  };
215
223
 
@@ -227,17 +235,18 @@ export const COMPONENTS = {
227
235
  UDropdownButton: "ui.dropdown-button",
228
236
  UDropdownBadge: "ui.dropdown-badge",
229
237
  UDropdownLink: "ui.dropdown-link",
230
- UDropdownList: "ui.dropdown-list",
231
238
 
232
239
  /* Form Inputs & Controls */
233
240
  UInput: "ui.form-input",
234
241
  UInputFile: "ui.form-input-file",
235
- UInputMoney: "ui.form-input-money",
236
- UInputSearch: "ui.form-input-search",
237
242
  UInputNumber: "ui.form-input-number",
243
+ UInputSearch: "ui.form-input-search",
244
+ UInputCounter: "ui.form-input-counter",
245
+ UInputPassword: "ui.form-input-password",
238
246
  UInputRating: "ui.form-input-rating",
239
247
  UTextarea: "ui.form-textarea",
240
248
  USelect: "ui.form-select",
249
+ UListbox: "ui.form-listbox",
241
250
  UCheckbox: "ui.form-checkbox",
242
251
  UCheckboxGroup: "ui.form-checkbox-group",
243
252
  UCheckboxMultiState: "ui.form-checkbox-multi-state",
@@ -255,12 +264,11 @@ export const COMPONENTS = {
255
264
  UText: "ui.text-block",
256
265
  UAlert: "ui.text-alert",
257
266
  UNotify: "ui.text-notify",
258
- UMoney: "ui.text-money",
267
+ UNumber: "ui.text-number",
259
268
  UFile: "ui.text-file",
260
269
  UFiles: "ui.text-files",
261
270
  UEmpty: "ui.text-empty",
262
271
  UBadge: "ui.text-badge",
263
- UNumber: "ui.text-number",
264
272
 
265
273
  /* Containers */
266
274
  UDivider: "ui.container-divider",
@@ -296,6 +304,7 @@ export const COMPONENTS = {
296
304
 
297
305
  /* Other */
298
306
  UDot: "ui.other-dot",
307
+ UChip: "ui.other-chip",
299
308
  UThemeColorToggle: "ui.other-theme-color-toggle",
300
309
  };
301
310
 
@@ -359,18 +368,23 @@ export const DEFAULT_SVGO_CONFIG = {
359
368
  };
360
369
 
361
370
  /* Vueless general */
362
- export const ICONS_DIR = "assets/icons";
363
- export const VUELESS_LIBRARY = "vueless";
371
+ export const ICONS_DIR = "icons";
372
+ export const VUELESS = "vueless";
373
+ export const VUELESS_LIBRARY = VUELESS;
364
374
  export const STORYBOOK_DIR = "storybook";
375
+ export const STORYBOOK_ICONS = `${ICONS_DIR}/${STORYBOOK_DIR}`;
365
376
  export const VUELESS_CONFIG_FILE_NAME = "vueless.config";
366
377
  export const VUELESS_CACHE_DIR = "node_modules/.cache/vueless";
367
378
  export const VUELESS_DIR = `node_modules/${VUELESS_LIBRARY}`;
368
379
  export const VUELESS_LOCAL_DIR = `src`;
369
- export const VUELESS_ICONS_DIR = `${VUELESS_DIR}/${ICONS_DIR}`;
370
- export const VUELESS_ICONS_LOCAL_DIR = `src/${ICONS_DIR}`;
371
- export const VUELESS_ICONS_CACHED_DIR = `${VUELESS_CACHE_DIR}/${ICONS_DIR}`;
380
+ export const VUELESS_ICONS_DIR = `${VUELESS_DIR}/${ICONS_DIR}/app`;
381
+ export const APP_ICONS_LOCAL_DIR = `src/${ICONS_DIR}/app`;
382
+ export const APP_ICONS_CACHED_DIR = `${VUELESS_CACHE_DIR}/${ICONS_DIR}/app`;
372
383
  export const VUELESS_CONFIGS_CACHED_DIR = `${VUELESS_CACHE_DIR}/configs`;
384
+ export const VUELESS_MERGED_CONFIGS_CACHED_DIR = `${VUELESS_CACHE_DIR}/mergedConfigs`;
373
385
  export const VUELESS_TAILWIND_SAFELIST = `${VUELESS_CACHE_DIR}/safelist.txt`;
386
+ export const STORYBOOK_ICONS_LOCAL_DIR = `${VUELESS_LOCAL_DIR}/${STORYBOOK_ICONS}`;
387
+ export const STORYBOOK_ICONS_CACHED_DIR = `${VUELESS_CACHE_DIR}/${STORYBOOK_ICONS}`;
374
388
 
375
389
  /* System error codes */
376
390
  export const DEFAULT_EXIT_CODE = 0;
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M452.04-235.26 206.3-481l245.74-245.74L499.78-679 301.54-481l198.24 198-47.74 47.74Zm255.16 0L461.46-481 707.2-726.74 754.93-679l-198 198 198 198-47.73 47.74Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="m404.3-481-198-198 47.74-47.74L499.78-481 254.04-235.26 206.3-283l198-198Zm255.16 0-198-198 47.74-47.74L754.93-481 509.2-235.26 461.46-283l198-198Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M222.96-257.63q62.76-43.52 124.52-66.78 61.76-23.26 132.62-23.26 70.87 0 133.25 23.44 62.37 23.45 124.69 66.6 43.53-54.24 61.67-108.15Q817.85-419.7 817.85-480q0-143.86-96.98-240.86-96.98-96.99-240.83-96.99-143.84 0-240.87 96.99-97.02 97-97.02 240.86 0 60.28 18.53 114.14t62.28 108.23Zm256.85-190.7q-58.57 0-98.4-40.04-39.84-40.05-39.84-98.46t40.02-98.39q40.03-39.98 98.6-39.98 58.57 0 98.4 40.17 39.84 40.16 39.84 98.57 0 58.42-40.02 98.28-40.03 39.85-98.6 39.85Zm.52 374.31q-83.53 0-157.57-31.93-74.05-31.93-129.46-87.33-55.42-55.41-87.35-129.24-31.93-73.82-31.93-157.77 0-83.67 31.98-157.36 31.98-73.7 87.32-129.03 55.33-55.34 129.17-87.44 73.84-32.1 157.8-32.1 83.67 0 157.36 32.1 73.7 32.1 129.03 87.44 55.34 55.33 87.44 129.08 32.1 73.75 32.1 157.27 0 83.53-32.1 157.6-32.1 74.08-87.44 129.41Q711.35-137.98 637.6-106q-73.75 31.98-157.27 31.98Zm-.33-68.13q54.28 0 105.59-15.52 51.3-15.53 102.3-54.81-51.24-35.76-102.8-54.16-51.57-18.4-105.09-18.4t-104.97 18.4q-51.44 18.4-102.68 54.16 51 39.28 102.18 54.81 51.19 15.52 105.47 15.52Zm0-369.05q33.25 0 54.41-21.02 21.16-21.02 21.16-54.42 0-33.4-21.16-54.54-21.16-21.15-54.41-21.15t-54.41 21.15q-21.16 21.14-21.16 54.54t21.16 54.42Q446.75-511.2 480-511.2Zm0-75.56Zm.24 373.28Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M451.57-278.57h62.86v-166h167v-62.86h-167v-174h-62.86v174h-173v62.86h173v166ZM480.3-74.02q-84.2 0-158.04-31.88-73.84-31.88-129.16-87.2-55.32-55.32-87.2-129.2-31.88-73.88-31.88-158.17 0-84.28 31.88-158.2 31.88-73.91 87.16-128.74 55.28-54.84 129.18-86.82 73.9-31.99 158.21-31.99 84.3 0 158.25 31.97 73.94 31.97 128.75 86.77 54.82 54.8 86.79 128.88 31.98 74.08 31.98 158.33 0 84.24-31.99 158.07-31.98 73.84-86.82 128.95-54.83 55.1-128.87 87.17Q564.5-74.02 480.3-74.02Zm.2-68.13q140.54 0 238.95-98.75 98.4-98.76 98.4-239.6 0-140.54-98.22-238.95-98.21-98.4-239.75-98.4-140.16 0-238.95 98.22-98.78 98.21-98.78 239.75 0 140.16 98.75 238.95 98.76 98.78 239.6 98.78ZM480-480Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M243.91-240.02 195.93-288l407.94-407.93H231.61v-68.14h488.37v488.14h-68.37v-372.03l-407.7 407.94Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M240-399h313v-60H240v60Zm0-130h480v-60H240v60Zm0-130h480v-60H240v60ZM74.02-74.02v-743.83q0-27.7 20.27-48.03 20.26-20.34 47.86-20.34h675.7q27.7 0 48.03 20.34 20.34 20.33 20.34 48.03v515.7q0 27.6-20.34 47.86-20.33 20.27-48.03 20.27H234.02l-160 160Zm134-228.13h609.83v-515.7h-675.7v587.57l65.87-71.87Zm-65.87 0v-515.7 515.7Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M378-240.26 148.26-470l48.98-48.98L378-338.22l383.76-383.76L810.74-673 378-240.26Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="m420.52-294.41 285.63-285.63-50.78-50.03-234.85 234.85-117.85-117.85-49.78 50.03 167.63 168.63Zm59.51 220.39q-83.46 0-157.54-31.88-74.07-31.88-129.39-87.2-55.32-55.32-87.2-129.36-31.88-74.04-31.88-157.51 0-84.46 31.88-158.54 31.88-74.07 87.16-128.9 55.28-54.84 129.34-86.82 74.06-31.99 157.55-31.99 84.48 0 158.59 31.97 74.1 31.97 128.91 86.77 54.82 54.8 86.79 128.88 31.98 74.08 31.98 158.6 0 83.5-31.99 157.57-31.98 74.07-86.82 129.36-54.83 55.29-128.87 87.17-74.04 31.88-158.51 31.88Zm-.03-68.13q141.04 0 239.45-98.75 98.4-98.76 98.4-239.1 0-141.04-98.4-239.45-98.41-98.4-239.57-98.4-140.16 0-238.95 98.4-98.78 98.41-98.78 239.57 0 140.16 98.75 238.95 98.76 98.78 239.1 98.78ZM480-480Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M480.12-284.43q12.6 0 21.96-9.36 9.35-9.36 9.35-21.96 0-12.6-9.31-21.96-9.31-9.36-22.12-9.36-12.48 0-21.96 9.32-9.47 9.31-9.47 22.12 0 12.48 9.47 21.84 9.48 9.36 22.08 9.36Zm0-164.14q12.6 0 21.96-9.47 9.35-9.48 9.35-22.08 0-12.6-9.31-21.96-9.31-9.35-22.12-9.35-12.48 0-21.96 9.31-9.47 9.31-9.47 22.12 0 12.48 9.47 21.96 9.48 9.47 22.08 9.47Zm0-164.36q12.6 0 21.96-9.48 9.35-9.48 9.35-22.08 0-12.6-9.31-21.84T480-675.57q-12.48 0-21.96 9.25-9.47 9.24-9.47 21.95 0 12.48 9.47 21.96 9.48 9.48 22.08 9.48Zm337.73 458.91h-675.7q-28.35 0-48.24-19.89t-19.89-48.24v-154.2q36.52-7.76 61.26-36.3 24.74-28.55 24.74-67.35 0-39.28-24.74-68.09-24.74-28.8-61.26-35.8v-153.96q0-28.45 19.89-48.41 19.89-19.96 48.24-19.96h675.7q28.45 0 48.41 19.96 19.96 19.96 19.96 48.41v153.96q-36.76 7-61.38 35.8-24.62 28.81-24.62 68.09 0 38.8 24.62 67.35 24.62 28.54 61.38 36.3v154.2q0 28.35-19.96 48.24t-48.41 19.89Zm0-68.13v-105.89q-38-26.24-62-65.57t-24-86.48q0-47.15 24-86.51 24-39.36 62-65.36v-105.89h-675.7v105.89q39.24 26 62.62 65.4 23.38 39.39 23.38 86.48 0 47.08-23.38 86.44t-62.62 65.6v105.89h675.7ZM480-480Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M479.76-34.5q-112 0-216-65.28-104-65.29-164.72-149.33v134.61H33.78v-248.13h248.13v65.26h-137q51 75.8 144.91 136.59Q383.72-100 479.76-100q77.52 0 146.78-29.76t120.88-80.9q51.62-51.14 81.98-120.41 30.36-69.26 30.6-147.5h65.5q-.24 92.2-35.46 173.04-35.21 80.83-96.05 141.31-60.84 60.48-141.67 95.1Q571.48-34.5 479.76-34.5ZM449.57-193v-53.04q-44.05-11.53-75.27-38.62-31.21-27.1-51.97-74.3l53.63-17.95q11.76 38.48 41.9 60.48t69.14 22q40.24 0 65.9-19.03 25.67-19.02 25.67-50.54 0-32.28-24.41-54.42-24.4-22.15-89.01-49.19-62.15-25.48-92.87-55.07-30.71-29.6-30.71-79.32 0-44 29.52-75.36t80.48-38.84V-766h57.86v49.8q38.24 4.48 66 24.48 27.77 20 45.24 56.68l-50.63 23.95q-15-28.48-37.12-42.48-22.12-14-51.88-14-37.8 0-59.7 17.41-21.91 17.4-21.91 47.2 0 31.53 25.65 50.53 25.64 19 83.4 43 69.48 29 98.72 61.59 29.23 32.6 29.23 83.84 0 25.72-9 46.84-9 21.12-25.61 36.24-16.62 15.12-40.5 24.5-23.89 9.38-53.89 12.38V-193h-57.86ZM34.5-481.43q0-91.48 34.98-172.32 34.98-80.84 95.57-141.32 60.6-60.47 141.68-95.45Q387.8-925.5 480-925.5q112 0 216.24 65.4 104.24 65.4 164.48 149.21V-845.5h65.5v248.13H678.09v-65.26h137q-51.72-76.52-145.48-136.95Q575.85-860 480-860q-77.52 0-146.78 29.76t-120.88 80.9q-51.62 51.14-81.98 120.41-30.36 69.26-30.6 147.5H34.5Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M229.09-195.93 441.72-480 229.09-764.07h84.28L526-480 313.37-195.93h-84.28Zm262.28 0L704-480 491.37-764.07h84.04L788.28-480 575.41-195.93h-84.04Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M480-315.15 278.39-516.76l48.98-48.5L445.93-446.7v-359.52h68.14v359.52l118.56-118.56 48.98 48.5L480-315.15ZM222.15-154.02q-27.6 0-47.86-20.27-20.27-20.26-20.27-47.86v-143h68.13v143h515.7v-143h68.37v143q0 27.58-20.34 47.86-20.33 20.27-48.03 20.27h-515.7Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M182.15-74.02q-27.6 0-47.86-20.27-20.27-20.26-20.27-47.86v-615.7q0-27.7 20.27-48.03 20.26-20.34 47.86-20.34H245v-60h69.07v60h331.86v-60H715v60h62.85q27.7 0 48.03 20.34 20.34 20.33 20.34 48.03v256.65h-68.37V-570h-595.7v427.85h316.89v68.13H182.15Zm0-555.98h595.7v-127.85h-595.7V-630Zm0 0v-127.85V-630ZM559.04-74.02v-128.02L781-423q9.51-9.63 21.13-13.91 11.62-4.29 23.5-4.29 12.48 0 24.21 4.86T871.02-422l37 37q9.44 9.48 13.82 21.12 4.38 11.63 4.38 23.27 0 11.96-4.86 24.06-4.86 12.09-14.25 21.57L687.07-74.02H559.04Zm303.59-266.59-37-37 37 37Zm-240 203h38l120.28-121.23-18-19.02-19-18.03-121.28 120.22v38.06Zm140.28-140.28-19-18 37 37-18-19Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M479.93-274.02q16.46 0 27.4-10.74 10.93-10.75 10.93-27.21t-10.86-27.52q-10.86-11.05-27.33-11.05-16.46 0-27.4 11.03-10.93 11.04-10.93 27.5 0 16.47 10.86 27.23 10.86 10.76 27.33 10.76Zm-31-158.74h68.14v-257.07h-68.14v257.07ZM480.3-74.02q-84.2 0-158.04-31.88-73.84-31.88-129.16-87.2-55.32-55.32-87.2-129.2-31.88-73.88-31.88-158.17 0-84.28 31.88-158.2 31.88-73.91 87.16-128.74 55.28-54.84 129.18-86.82 73.9-31.99 158.21-31.99 84.3 0 158.25 31.97 73.94 31.97 128.75 86.77 54.82 54.8 86.79 128.88 31.98 74.08 31.98 158.33 0 84.24-31.99 158.07-31.98 73.84-86.82 128.95-54.83 55.1-128.87 87.17Q564.5-74.02 480.3-74.02Zm.2-68.13q140.54 0 238.95-98.75 98.4-98.76 98.4-239.6 0-140.54-98.22-238.95-98.21-98.4-239.75-98.4-140.16 0-238.95 98.22-98.78 98.21-98.78 239.75 0 140.16 98.75 238.95 98.76 98.78 239.6 98.78ZM480-480Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M480-346.22 658.02-524 610-570.78l-130 130-130-130L301.98-524 480-346.22Zm.03 272.2q-83.46 0-157.54-31.88-74.07-31.88-129.39-87.2-55.32-55.32-87.2-129.36-31.88-74.04-31.88-157.51 0-84.46 31.88-158.54 31.88-74.07 87.16-128.9 55.28-54.84 129.34-86.82 74.06-31.99 157.55-31.99 84.48 0 158.59 31.97 74.1 31.97 128.91 86.77 54.82 54.8 86.79 128.88 31.98 74.08 31.98 158.6 0 83.5-31.99 157.57-31.98 74.07-86.82 129.36-54.83 55.29-128.87 87.17-74.04 31.88-158.51 31.88Zm-.03-68.13q141.04 0 239.45-98.75 98.4-98.76 98.4-239.1 0-141.04-98.4-239.45-98.41-98.4-239.57-98.4-140.16 0-238.95 98.4-98.78 98.41-98.78 239.57 0 140.16 98.75 238.95 98.76 98.78 239.1 98.78ZM480-480Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="m479.76-112.87-45.06-40.59q-106.49-97.83-175.96-168.75-69.48-70.92-110.72-126.9-41.24-55.98-57.74-101.57-16.5-45.6-16.5-92.34 0-92.8 62.21-155 62.22-62.2 153.77-62.2 56.83 0 105.18 26.29 48.34 26.28 84.82 76.32 42.48-53.04 89.25-77.82 46.77-24.79 100.75-24.79 91.96 0 154.21 62.21 62.25 62.2 62.25 155.01 0 46.71-16.5 92.19t-57.74 101.46q-41.24 55.98-110.8 127.04-69.57 71.07-176.11 168.85l-45.31 40.59Zm-.12-89.76q101.12-93 166.26-159.14 65.14-66.14 103.4-115.78 38.27-49.65 53.53-88.46 15.26-38.81 15.26-76.84 0-65.19-41.49-107.22-41.49-42.02-106.5-42.02-50.92 0-94.41 31.62-43.49 31.62-70.49 88.38h-51.63q-25.94-56-69.64-88-43.69-32-94.35-32-64.69 0-106.06 41.87-41.37 41.87-41.37 107.54 0 38.46 15.37 77.74 15.36 39.28 53.64 89.39 38.27 50.12 103.68 115.76 65.4 65.64 164.8 157.16Zm.6-294.85Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M480.1-366.76q15.19 0 25.36-10.32t10.17-25.42q0-15.09-10.15-25.43-10.16-10.33-25.34-10.33-15.19 0-25.48 10.27-10.29 10.27-10.29 25.46 0 15.1 10.27 25.43 10.27 10.34 25.46 10.34Zm-31.53-140.81h62.86V-760h-62.86v252.43ZM74.02-74.02v-743.83q0-27.7 20.27-48.03 20.26-20.34 47.86-20.34h675.7q27.7 0 48.03 20.34 20.34 20.33 20.34 48.03v515.7q0 27.6-20.34 47.86-20.33 20.27-48.03 20.27H234.02l-160 160Zm134-228.13h609.83v-515.7h-675.7v587.57l65.87-71.87Zm-65.87 0v-515.7 515.7Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M395.7-228.04v-68.13h168.6v68.13H395.7ZM234.74-446.17v-67.9h490.52v67.9H234.74Zm-120.72-217.9v-68.13h732.2v68.13h-732.2Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M279.98-74.02v-90.65l124.72-86.24v-164.83L74.02-282.02v-110.37L404.7-624.35v-186.56q0-30.68 22.19-52.99 22.2-22.32 53.11-22.32t53.11 22.32q22.19 22.31 22.19 52.99v186.56l330.92 231.96v110.37L555.3-415.74v164.83l123.48 86.24v90.65L480-134.46 279.98-74.02Z"/></svg>