eco-vue-js 0.10.13 → 0.10.15

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 (212) hide show
  1. package/README.md +1 -30
  2. package/dist/assets/icons/default/IconCheck.svg.js +6 -3
  3. package/dist/components/ActionsBar/WActionsBar.vue.d.ts.map +1 -1
  4. package/dist/components/BottomSheet/WBottomSheet.vue.d.ts.map +1 -1
  5. package/dist/components/Button/WButton.vue.d.ts.map +1 -1
  6. package/dist/components/Button/WButtonAction.vue.d.ts.map +1 -1
  7. package/dist/components/Button/WButtonAction.vue.js +1 -1
  8. package/dist/components/Button/WButtonCopy.vue.d.ts.map +1 -1
  9. package/dist/components/Button/WButtonCopy.vue.js +1 -1
  10. package/dist/components/Button/WButtonDropdown.vue.d.ts.map +1 -1
  11. package/dist/components/Button/WButtonGroup.vue.d.ts.map +1 -1
  12. package/dist/components/Button/WButtonInput.vue.d.ts +16 -0
  13. package/dist/components/Button/WButtonInput.vue.d.ts.map +1 -0
  14. package/dist/components/Button/WButtonInput.vue.js +54 -0
  15. package/dist/components/Button/WButtonInput.vue2.js +5 -0
  16. package/dist/components/Button/WButtonMore.vue.d.ts.map +1 -1
  17. package/dist/components/Button/WButtonMore.vue.js +2 -2
  18. package/dist/components/Button/WButtonMoreItem.vue.d.ts.map +1 -1
  19. package/dist/components/Button/WButtonSelection.vue.d.ts.map +1 -1
  20. package/dist/components/Button/WButtonSelection.vue.js +1 -1
  21. package/dist/components/Button/WButtonSelectionAction.vue.d.ts.map +1 -1
  22. package/dist/components/Button/WButtonSelectionAction.vue.js +3 -3
  23. package/dist/components/Button/WButtonSelectionState.vue.d.ts.map +1 -1
  24. package/dist/components/Button/WButtonSelectionState.vue.js +2 -2
  25. package/dist/components/Button/WButtonUnselect.vue.d.ts.map +1 -1
  26. package/dist/components/Button/WButtonUnselect.vue.js +2 -2
  27. package/dist/components/Button/models/semanticTypeStylesMap.d.ts.map +1 -1
  28. package/dist/components/Button/types.d.ts.map +1 -1
  29. package/dist/components/Checkbox/WCheckbox.vue.d.ts.map +1 -1
  30. package/dist/components/Checkbox/WCheckbox.vue.js +6 -6
  31. package/dist/components/Chip/WChip.vue.d.ts.map +1 -1
  32. package/dist/components/ClickOutside/WClickOutside.vue.d.ts.map +1 -1
  33. package/dist/components/Counter/WCounter.vue.d.ts.map +1 -1
  34. package/dist/components/DatePicker/WDatePicker.vue.d.ts.map +1 -1
  35. package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts.map +1 -1
  36. package/dist/components/DatePicker/components/CalendarDay.vue.d.ts.map +1 -1
  37. package/dist/components/DatePicker/components/CalendarMonth.vue.d.ts.map +1 -1
  38. package/dist/components/DatePicker/components/CalendarToggle.vue.d.ts.map +1 -1
  39. package/dist/components/DatePicker/components/CalendarValue.vue.d.ts.map +1 -1
  40. package/dist/components/DatePicker/components/CalendarWeek.vue.d.ts.map +1 -1
  41. package/dist/components/DatePicker/models/types.d.ts.map +1 -1
  42. package/dist/components/Dropdown/WDropdown.vue.d.ts.map +1 -1
  43. package/dist/components/Dropdown/types.d.ts.map +1 -1
  44. package/dist/components/Dropdown/utils/DropdownStyle.d.ts.map +1 -1
  45. package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -1
  46. package/dist/components/DropdownMenu/types.d.ts.map +1 -1
  47. package/dist/components/EmptyComponent/WEmptyComponent.vue.d.ts.map +1 -1
  48. package/dist/components/Expansion/WExpansion.vue.d.ts.map +1 -1
  49. package/dist/components/Expansion/WExpansionItem.vue.d.ts.map +1 -1
  50. package/dist/components/Expansion/WExpansionItem.vue.js +3 -3
  51. package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts.map +1 -1
  52. package/dist/components/FieldWrapper/WFieldWrapper.vue.js +3 -3
  53. package/dist/components/FieldWrapper/components/FilterButton.vue.d.ts.map +1 -1
  54. package/dist/components/FieldWrapper/types.d.ts.map +1 -1
  55. package/dist/components/FilePicker/WFilePicker.vue.d.ts.map +1 -1
  56. package/dist/components/FilePicker/WFilePicker.vue.js +1 -1
  57. package/dist/components/FilePicker/components/FilePickerItem.vue.d.ts.map +1 -1
  58. package/dist/components/FilePicker/components/FilePickerSvg.vue.d.ts.map +1 -1
  59. package/dist/components/FilterWrapper/WFilterWrapper.vue.d.ts.map +1 -1
  60. package/dist/components/Form/WForm.vue.d.ts.map +1 -1
  61. package/dist/components/Form/WFormValidator.vue.d.ts.map +1 -1
  62. package/dist/components/Form/models/injection.d.ts.map +1 -1
  63. package/dist/components/Form/models/utils.d.ts.map +1 -1
  64. package/dist/components/Form/use/useFormValueMap.d.ts.map +1 -1
  65. package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.d.ts.map +1 -1
  66. package/dist/components/FormAsync/WFormAsyncInput.vue.d.ts.map +1 -1
  67. package/dist/components/FormAsync/WFormAsyncSelect.vue.d.ts.map +1 -1
  68. package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.d.ts.map +1 -1
  69. package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.d.ts.map +1 -1
  70. package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.d.ts.map +1 -1
  71. package/dist/components/FormAsync/WFormAsyncToggle.vue.d.ts.map +1 -1
  72. package/dist/components/FormAsync/types.d.ts.map +1 -1
  73. package/dist/components/FormAsync/use/useFormAsync.d.ts.map +1 -1
  74. package/dist/components/HeaderBar/WHeaderBar.vue.d.ts.map +1 -1
  75. package/dist/components/HeaderBar/WHeaderBar.vue.js +3 -3
  76. package/dist/components/HeaderBar/use/useHeader.d.ts.map +1 -1
  77. package/dist/components/ImageViewer/WImageViewer.vue.d.ts.map +1 -1
  78. package/dist/components/ImageViewer/components/ImageModal.vue.d.ts.map +1 -1
  79. package/dist/components/InfiniteList/WInfiniteList.vue.d.ts.map +1 -1
  80. package/dist/components/InfiniteList/WInfiniteListWrapper.vue.d.ts.map +1 -1
  81. package/dist/components/InfiniteList/components/InfiniteListButton.vue.d.ts.map +1 -1
  82. package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts.map +1 -1
  83. package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.d.ts.map +1 -1
  84. package/dist/components/InfiniteList/components/InfiniteListPages.vue.d.ts.map +1 -1
  85. package/dist/components/InfiniteList/components/InfiniteListScroll.vue.d.ts.map +1 -1
  86. package/dist/components/InfiniteList/models/utils.d.ts.map +1 -1
  87. package/dist/components/InfiniteList/use/useInfiniteListHeader.d.ts.map +1 -1
  88. package/dist/components/InfiniteList/use/useRefetchNextPages.d.ts.map +1 -1
  89. package/dist/components/InfoCard/WInfoCard.vue.d.ts.map +1 -1
  90. package/dist/components/InfoCard/WInfoCardNegative.vue.d.ts.map +1 -1
  91. package/dist/components/Input/WInput.vue.d.ts.map +1 -1
  92. package/dist/components/Input/WInput.vue.js +22 -17
  93. package/dist/components/Input/WInputAsync.vue.d.ts.map +1 -1
  94. package/dist/components/Input/WInputAsync.vue.js +16 -33
  95. package/dist/components/Input/WInputDate.vue.d.ts.map +1 -1
  96. package/dist/components/Input/WInputOptions.vue.d.ts.map +1 -1
  97. package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -1
  98. package/dist/components/Input/components/InputActions.vue.d.ts.map +1 -1
  99. package/dist/components/Input/components/InputActions.vue.js +1 -1
  100. package/dist/components/Input/components/InputActionsButton.vue.d.ts.map +1 -1
  101. package/dist/components/Input/components/InputActionsButton.vue.js +1 -1
  102. package/dist/components/Input/types.d.ts.map +1 -1
  103. package/dist/components/Link/WLink.vue.d.ts.map +1 -1
  104. package/dist/components/Link/WLinkArrow.vue.d.ts.map +1 -1
  105. package/dist/components/List/WList.vue.d.ts.map +1 -1
  106. package/dist/components/List/WList.vue.js +2 -3
  107. package/dist/components/List/WListCard.vue.d.ts.map +1 -1
  108. package/dist/components/List/WListCard.vue.js +5 -6
  109. package/dist/components/List/WListCardField.vue.d.ts.map +1 -1
  110. package/dist/components/List/WListHeader.vue.d.ts.map +1 -1
  111. package/dist/components/List/WListHeader.vue.js +9 -10
  112. package/dist/components/List/WListHeaderItem.vue.d.ts.map +1 -1
  113. package/dist/components/List/components/HeaderFieldNested.vue.d.ts.map +1 -1
  114. package/dist/components/List/components/HeaderItemResizer.vue.d.ts.map +1 -1
  115. package/dist/components/List/components/HeaderSettings.vue.d.ts.map +1 -1
  116. package/dist/components/List/components/HeaderSettingsItem.vue.d.ts.map +1 -1
  117. package/dist/components/List/components/HeaderSettingsModeButton.vue.d.ts.map +1 -1
  118. package/dist/components/List/components/HeaderSort.vue.d.ts.map +1 -1
  119. package/dist/components/List/components/HeaderSortItem.vue.d.ts.map +1 -1
  120. package/dist/components/List/components/ListCardAction.vue.d.ts.map +1 -1
  121. package/dist/components/List/components/ListCardFieldNested.vue.d.ts.map +1 -1
  122. package/dist/components/List/components/ListCardFieldNestedItem.vue.d.ts.map +1 -1
  123. package/dist/components/List/types.d.ts.map +1 -1
  124. package/dist/components/List/use/useListConfig.d.ts.map +1 -1
  125. package/dist/components/List/use/useOrdering.d.ts.map +1 -1
  126. package/dist/components/MenuItem/WMenuItem.vue.d.ts.map +1 -1
  127. package/dist/components/Modal/WModal.vue.d.ts.map +1 -1
  128. package/dist/components/Modal/WModalStepper.vue.d.ts.map +1 -1
  129. package/dist/components/Modal/WModalWrapper.vue.d.ts.map +1 -1
  130. package/dist/components/Modal/WModalWrapper.vue.js +4 -4
  131. package/dist/components/Modal/components/ModalCloseButton.vue.d.ts.map +1 -1
  132. package/dist/components/Modal/modals/Confirm/ConfirmModal.vue.d.ts.map +1 -1
  133. package/dist/components/Modal/modals/Confirm/ConfirmModal.vue2.js +2 -2
  134. package/dist/components/Modal/types.d.ts.map +1 -1
  135. package/dist/components/Nav/WNavBar.vue.d.ts.map +1 -1
  136. package/dist/components/Nav/WNavItem.vue.d.ts.map +1 -1
  137. package/dist/components/Nav/WNavItem.vue.js +15 -11
  138. package/dist/components/Nav/WNavItemExpand.vue.d.ts.map +1 -1
  139. package/dist/components/Nav/WNavItemTransition.vue.d.ts.map +1 -1
  140. package/dist/components/Nav/use/useNavBarOpen.d.ts.map +1 -1
  141. package/dist/components/Notify/WNotify.vue.d.ts.map +1 -1
  142. package/dist/components/Notify/components/NotifyCard.vue.d.ts.map +1 -1
  143. package/dist/components/Notify/models/NotifyType.d.ts.map +1 -1
  144. package/dist/components/Notify/models/types.d.ts.map +1 -1
  145. package/dist/components/NumberFormatter/WNumberFormatter.vue.d.ts.map +1 -1
  146. package/dist/components/Page/WPage.vue.d.ts.map +1 -1
  147. package/dist/components/Page/WPageNumerator.vue.d.ts.map +1 -1
  148. package/dist/components/Page/WPageTitle.vue.d.ts.map +1 -1
  149. package/dist/components/Progress/WProgress.vue.d.ts.map +1 -1
  150. package/dist/components/Select/WSelect.vue.d.ts.map +1 -1
  151. package/dist/components/Select/WSelectAsync.vue.d.ts.map +1 -1
  152. package/dist/components/Select/WSelectAsyncList.vue.d.ts.map +1 -1
  153. package/dist/components/Select/WSelectAsyncSingle.vue.d.ts.map +1 -1
  154. package/dist/components/Select/WSelectSingle.vue.d.ts.map +1 -1
  155. package/dist/components/Select/WSelectStringified.vue.d.ts.map +1 -1
  156. package/dist/components/Select/components/SelectAsyncList.vue.d.ts.map +1 -1
  157. package/dist/components/Select/components/SelectAsyncPrefix.vue.d.ts.map +1 -1
  158. package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts.map +1 -1
  159. package/dist/components/Select/components/SelectAsyncPrefixPage.vue.js +2 -1
  160. package/dist/components/Select/components/SelectOption.vue.d.ts.map +1 -1
  161. package/dist/components/Select/components/SelectOption.vue.js +1 -1
  162. package/dist/components/Select/components/SelectOptionPrefix.vue.d.ts.map +1 -1
  163. package/dist/components/Select/components/SelectOptionPrefix.vue.js +25 -25
  164. package/dist/components/Select/types.d.ts.map +1 -1
  165. package/dist/components/Skeleton/WSkeleton.vue.d.ts.map +1 -1
  166. package/dist/components/Spinner/WSpinner.vue.d.ts.map +1 -1
  167. package/dist/components/Spinner/WSpinner.vue.js +1 -1
  168. package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
  169. package/dist/components/Tabs/WTabsColumns.vue.d.ts.map +1 -1
  170. package/dist/components/Tabs/WTabsColumns.vue.js +1 -1
  171. package/dist/components/Tabs/WTabsItem.vue.d.ts.map +1 -1
  172. package/dist/components/Tabs/components/TabItem.vue.d.ts.map +1 -1
  173. package/dist/components/Tabs/components/TabTitleButton.vue.d.ts.map +1 -1
  174. package/dist/components/Tabs/models/injection.d.ts.map +1 -1
  175. package/dist/components/Tabs/types.d.ts.map +1 -1
  176. package/dist/components/Tabs/use/useIsInsideTab.d.ts.map +1 -1
  177. package/dist/components/Tabs/use/useTabActiveListener.d.ts.map +1 -1
  178. package/dist/components/Tabs/use/useTabItemActiveListener.d.ts.map +1 -1
  179. package/dist/components/Toggle/WToggle.vue.d.ts.map +1 -1
  180. package/dist/components/Toggle/WToggle.vue.js +1 -1
  181. package/dist/components/Toggle/types.d.ts.map +1 -1
  182. package/dist/components/Tooltip/WTooltip.vue.d.ts.map +1 -1
  183. package/dist/components/Tooltip/WTooltipContainer.vue.d.ts.map +1 -1
  184. package/dist/components/Tooltip/components/TooltipContainer.vue.d.ts.map +1 -1
  185. package/dist/components/Tooltip/models/utils.d.ts.map +1 -1
  186. package/dist/imports/componentsPlugin.d.ts +2 -1
  187. package/dist/imports/componentsPlugin.d.ts.map +1 -1
  188. package/dist/imports/iconsDefault.d.ts.map +1 -1
  189. package/dist/imports/iconsSax.d.ts.map +1 -1
  190. package/dist/main.d.ts.map +1 -1
  191. package/dist/main.js +1 -0
  192. package/dist/utils/DOMListenerContainer.d.ts.map +1 -1
  193. package/dist/utils/HorizontalAlign.d.ts.map +1 -1
  194. package/dist/utils/Modal.d.ts.map +1 -1
  195. package/dist/utils/Notify.d.ts.map +1 -1
  196. package/dist/utils/SemanticType.d.ts.map +1 -1
  197. package/dist/utils/Tooltip.d.ts.map +1 -1
  198. package/dist/utils/api.d.ts.map +1 -1
  199. package/dist/utils/dateTime.d.ts.map +1 -1
  200. package/dist/utils/mobile.d.ts.map +1 -1
  201. package/dist/utils/order.d.ts.map +1 -1
  202. package/dist/utils/supportsPassive.d.ts.map +1 -1
  203. package/dist/utils/useCopy.d.ts.map +1 -1
  204. package/dist/utils/useDefaultQuery.d.ts.map +1 -1
  205. package/dist/utils/useQueryUpdater.d.ts.map +1 -1
  206. package/dist/utils/useSelected.d.ts.map +1 -1
  207. package/dist/utils/utils.d.ts.map +1 -1
  208. package/dist/utils/validate.d.ts.map +1 -1
  209. package/eslint/recommended.js +1 -0
  210. package/package.json +6 -3
  211. package/tailwind-base/plugins/default.ts +31 -58
  212. package/tailwind-base/theme/sizes.ts +5 -0
@@ -1 +1 @@
1
- {"version":3,"file":"useQueryUpdater.d.ts","sourceRoot":"","sources":["../../src/utils/useQueryUpdater.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,YAAY,EAAiB,MAAM,qBAAqB,CAAA;AAErE,eAAO,MAAM,wBAAwB,GAAI,IAAI,SAAS,WAAW,WAAW,iBAAiB,CAAC,IAAI,CAAC,GAAG,SAAS,aAAa,IAAI,EAAE,YAAY,MAAM,EAAE,iCAA6B,iBAAiB,CAAC,IAAI,CAAC,GAAG,SAuB5M,CAAA;AAED,eAAO,MAAM,eAAe;aAGV,KAAK,SAAS,WAAW,QAAQ,KAAK,WAAW;QAAC,eAAe,CAAC,EAAE,YAAY,CAAC;QAAC,oBAAoB,CAAC,EAAE,YAAY,CAAA;KAAC;iBAwBlH,KAAK,SAAS,WAAW,QAAQ,KAAK,EAAE,UAAU,YAAY;aAM7D,KAAK,SAAS,WAAW,UAAU,YAAY,YAAY,MAAM,EAAE;CAYzF,CAAA"}
1
+ {"version":3,"file":"useQueryUpdater.d.ts","sourceRoot":"","sources":["../../../src/utils/useQueryUpdater.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,YAAY,EAAiB,MAAM,qBAAqB,CAAA;AAErE,eAAO,MAAM,wBAAwB,GAAI,IAAI,SAAS,WAAW,WAAW,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YAAY,MAAM,KAAG,IAAI;;0BAtF/B,IAAI;0BAwKJ,oBAAoB,GAAG,SAAS;CAwC5D,CAAA"}
1
+ {"version":3,"file":"useSelected.d.ts","sourceRoot":"","sources":["../../../src/utils/useSelected.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,QAAQ,EAAE,KAAK,GAAG,EAA+C,MAAM,KAAK,CAAA;AA4BzF,eAAO,MAAM,WAAW,SAAU,MAAM,SAAS,MAAM,cAAc,MAAM,KAAG,MAE7E,CAAA;AAED,MAAM,MAAM,SAAS,CAAC,KAAK,IAAI;IAC7B,MAAM,CAAC,EAAE,KAAK,EAAE,CAAA;IAChB,UAAU,CAAC,EAAE,KAAK,EAAE,CAAA;IACpB,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAChC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;CACtB,CAAA;AAID,eAAO,MAAM,WAAW,GAAI,KAAK,SAAS,MAAM,SAAS,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC,YAAY,GAAG,CAAC,OAAO,CAAC;;;;wBAiFhF,KAAK,YAAY,MAAM,KAAG,OAAO;8BAoB3B,MAAM;yBAMX,KAAK,YAAY,MAAM,KAAG,IAAI;;0BAtF/B,IAAI;0BAwKJ,oBAAoB,GAAG,SAAS;CAwC5D,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAc,cAAc,EAAE,cAAc,EAAE,UAAU,EAAC,MAAM,yBAAyB,CAAA;AAYpG,eAAO,MAAM,eAAe,SAAU,OAAO,KAAG,OAAO,GAAG,IAKhD,CAAA;AAEV,eA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MAAM,wBAAwB,GAAI,MAAM,SAAS,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,UAAU,MAAM,WAAW,IAAI,SAAS,OAAO,CAAC,MAAM,CAAC,GAAG,cAAc,CAAC,MAAM,CAAC,EAAE,GAAG,MAAM,EAAE,KAAG,cAAc,CAAC,MAAM,CAiBhM,CAAA;AAED,oBAAY,QAAQ;IAClB,KAAK,UAAU;IACf,IAAI,SAAS;CACd"}
@@ -1 +1 @@
1
- {"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../src/utils/validate.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,UAAW,OAAO,sCAGsC,CAAA"}
1
+ {"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../../src/utils/validate.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,UAAW,OAAO,sCAGsC,CAAA"}
@@ -125,6 +125,7 @@ export default [
125
125
  'unused-imports/no-unused-imports': 'error',
126
126
  'tailwindcss/no-custom-classname': 'off',
127
127
  'tailwindcss/migration-from-tailwind-2': 'off',
128
+ 'tailwindcss/enforces-negative-arbitrary-values': 'off',
128
129
  'no-multiple-empty-lines': [1, {max: 1, maxEOF: 0, maxBOF: 0}],
129
130
  'keyword-spacing': 1,
130
131
  'key-spacing': 1,
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/rsmple/eco-vue-js.git"
6
6
  },
7
- "version": "0.10.13",
7
+ "version": "0.10.15",
8
8
  "scripts": {
9
9
  "build": "run-p type-check \"build-only {@}\" --",
10
10
  "dev": "vite build --watch",
@@ -62,6 +62,7 @@
62
62
  "license": "MIT",
63
63
  "main": "./dist/main.js",
64
64
  "module": "./dist/main.js",
65
+ "types": "./dist/main.d.ts",
65
66
  "exports": {
66
67
  ".": {
67
68
  "import": "./dist/main.js"
@@ -154,6 +155,9 @@
154
155
  "./dist/components/Button/WButtonGroup.vue": {
155
156
  "import": "./dist/components/Button/WButtonGroup.vue.js"
156
157
  },
158
+ "./dist/components/Button/WButtonInput.vue": {
159
+ "import": "./dist/components/Button/WButtonInput.vue.js"
160
+ },
157
161
  "./dist/components/Button/WButtonMore.vue": {
158
162
  "import": "./dist/components/Button/WButtonMore.vue.js"
159
163
  },
@@ -412,6 +416,5 @@
412
416
  "./dist/components/Tooltip/WTooltipContainer.vue": {
413
417
  "import": "./dist/components/Tooltip/WTooltipContainer.vue.js"
414
418
  }
415
- },
416
- "types": "./dist/main.d.ts"
419
+ }
417
420
  }
@@ -27,70 +27,12 @@ const pluginDefault = plugin(function ({matchUtilities, addVariant, addUtilities
27
27
  width: value,
28
28
  }
29
29
  },
30
- 'chunk-gap': value => {
31
- return {
32
- '--split-to-chunks-gap': value,
33
- }
34
- },
35
- 'w-spinner-size': value => {
36
- return {
37
- '--spinner-size': value,
38
- }
39
- },
40
- 'w-modal-wrapper-padding': value => {
41
- return {
42
- '--modal-wrapper-padding': value,
43
- }
44
- },
45
30
  },
46
31
  {
47
32
  values: theme('width'),
48
33
  },
49
34
  )
50
35
 
51
- matchUtilities(
52
- {
53
- 'split-to-chunks': (width) => {
54
- const value = Number.parseFloat(width)
55
- const unit = width.replace(value.toString(), '')
56
-
57
- return Array(4).fill(undefined).reduce(
58
- (current, _, index) => {
59
- const widthValue = `calc(((100% / ${ index + 2 }) * var(--split-to-chunks-span, 1)) - (var(--split-to-chunks-gap, 16px) * ${ (index + 1) } / ${ (index + 2) }))`
60
-
61
- return {
62
- ...current,
63
- [`@media (min-width: ${ value * (index + 2) + (index < 1 ? 2 : 25.25) }${ unit })`]: {
64
- width: widthValue,
65
- minWidth: widthValue,
66
- },
67
- }
68
- },
69
- {
70
- width: '100%',
71
- minWidth: '100%',
72
- },
73
- )
74
- },
75
- },
76
- {
77
- values: theme('chunks'),
78
- },
79
- )
80
-
81
- matchUtilities(
82
- {
83
- 'chunk-span': value => {
84
- return {
85
- '--split-to-chunks-span': value,
86
- }
87
- },
88
- },
89
- {
90
- values: theme('chunk-span'),
91
- },
92
- )
93
-
94
36
  addUtilities({
95
37
  '.max-w-inner': {
96
38
  'max-width': 'calc(100vw - var(--actions-bar-width) - var(--nav-bar-width) - var(--inner-margin) - var(--inner-margin) - var(--scroll-bar-width))',
@@ -226,6 +168,28 @@ const pluginDefault = plugin(function ({matchUtilities, addVariant, addUtilities
226
168
  },
227
169
  })
228
170
 
171
+ addBase({
172
+ '.w-option': {
173
+ 'min-height': 'var(--w-option-height)',
174
+ 'border-radius': 'var(--w-option-rounded)',
175
+
176
+ '--w-skeleton-height': 'var(--w-option-height)',
177
+ '--w-skeleton-rounded': 'var(--w-option-rounded)',
178
+ },
179
+ '.w-option-has-bg, *:has(.w-option-has-bg) + .w-option-has-bg-input, .w-option-has-bg + .w-option-has-bg-input': {
180
+ 'padding-left': 'var(--w-option-padding)',
181
+ 'padding-right': 'var(--w-option-padding)',
182
+ },
183
+ '.w-option-has-bg .w-option-button': {
184
+ 'margin-right': 'calc(var(--w-option-rounded) * -1)',
185
+ },
186
+ body: {
187
+ '--w-option-height': 'calc(var(--w-input-height,2.75rem) - (var(--w-input-gap,0.25rem) * 2) - 2px)',
188
+ '--w-option-rounded': 'calc(var(--w-input-rounded,0.75rem) - var(--w-input-gap,0.25rem))',
189
+ '--w-option-padding': 'var(--w-input-rounded,0.75rem)',
190
+ },
191
+ })
192
+
229
193
  matchUtilities(
230
194
  {
231
195
  'w-scroll-bar-color': value => {
@@ -464,6 +428,14 @@ const pluginDefault = plugin(function ({matchUtilities, addVariant, addUtilities
464
428
  {
465
429
  'w-skeleton-w': value => ({'--skeleton-width': value}),
466
430
  'w-list-card-w': value => ({'--w-list-card-width': value}),
431
+ 'w-checkbox-size': value => ({'--w-checkbox-size': value}),
432
+ 'w-input-gap': value => ({'--w-input-gap': value}),
433
+ 'w-spinner-size': value => ({'--w-spinner-size': value}),
434
+ 'w-modal-wrapper-p': value => ({'--w-modal-wrapper-padding': value}),
435
+ 'w-modal-wrapper-w': value => ({'--w-modal-wrapper-width': value}),
436
+ 'w-list-header-h': value => ({'--w-list-header-height': value}),
437
+ 'w-list-padding': value => ({'--w-list-padding': value}),
438
+ 'w-modal-confirm-w': value => ({'--w-modal-confirm-width': value}),
467
439
  'grid-cols-fill': value => ({'grid-template-columns': `repeat(auto-fill, minmax(${ value }, 1fr))`}),
468
440
  },
469
441
  {
@@ -492,6 +464,7 @@ const pluginDefault = plugin(function ({matchUtilities, addVariant, addUtilities
492
464
  'w-list-rounded': value => ({'--w-list-rounded': value}),
493
465
  'w-option-rounded': value => ({'--w-option-rounded': value}),
494
466
  'w-modal-wrapper-rounded': value => ({'--w-modal-wrapper-rounded': value}),
467
+ 'w-list-header-rounded': value => ({'--w-list-header-rounded': value}),
495
468
  },
496
469
  {
497
470
  values: theme('borderRadius'),
@@ -10,6 +10,10 @@ const newValues = {
10
10
  '--actions-bar-inner-width': 'var(--actions-bar-inner-width)',
11
11
  '--inner-margin': 'var(--inner-margin)',
12
12
  '--inner-width-diff': 'var(--inner-width-diff)',
13
+ '--w-modal-wrapper-padding': 'var(--w-modal-wrapper-padding)',
14
+ '--w-option-padding': 'var(--w-option-padding)',
15
+ '--w-input-height': 'var(--w-input-height)',
16
+ '--w-input-gap': 'var(--w-input-gap)',
13
17
  }
14
18
 
15
19
  const extend = {
@@ -37,4 +41,5 @@ export default {
37
41
  padding: extend,
38
42
  margin: extend,
39
43
  inset: extend,
44
+ gap: extend,
40
45
  }