eco-vue-js 0.10.19 → 0.10.21

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 (53) hide show
  1. package/dist/components/Button/WButton.vue.d.ts +3 -16
  2. package/dist/components/Button/WButton.vue.d.ts.map +1 -1
  3. package/dist/components/Button/WButton.vue.js +19 -18
  4. package/dist/components/Button/WButtonGroup.vue.d.ts.map +1 -1
  5. package/dist/components/Button/WButtonGroup.vue.js +16 -13
  6. package/dist/components/Button/types.d.ts +14 -4
  7. package/dist/components/Button/types.d.ts.map +1 -1
  8. package/dist/components/Checkbox/WCheckbox.vue.d.ts +5 -18
  9. package/dist/components/Checkbox/WCheckbox.vue.d.ts.map +1 -1
  10. package/dist/components/Checkbox/WCheckbox.vue.js +8 -8
  11. package/dist/components/Checkbox/WCheckboxGroup.vue.d.ts +28 -0
  12. package/dist/components/Checkbox/WCheckboxGroup.vue.d.ts.map +1 -0
  13. package/dist/components/Checkbox/WCheckboxGroup.vue.js +125 -0
  14. package/dist/components/Checkbox/WCheckboxGroup.vue2.js +5 -0
  15. package/dist/components/Checkbox/types.d.ts +50 -0
  16. package/dist/components/Checkbox/types.d.ts.map +1 -0
  17. package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts.map +1 -1
  18. package/dist/components/FieldWrapper/WFieldWrapper.vue.js +117 -116
  19. package/dist/components/FieldWrapper/types.d.ts +1 -0
  20. package/dist/components/FieldWrapper/types.d.ts.map +1 -1
  21. package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.js +4 -3
  22. package/dist/components/FormAsync/WFormAsyncCheckboxGroup.vue.d.ts +26 -0
  23. package/dist/components/FormAsync/WFormAsyncCheckboxGroup.vue.d.ts.map +1 -0
  24. package/dist/components/FormAsync/WFormAsyncCheckboxGroup.vue.js +81 -0
  25. package/dist/components/FormAsync/WFormAsyncCheckboxGroup.vue2.js +5 -0
  26. package/dist/components/FormAsync/WFormAsyncInput.vue.js +1 -0
  27. package/dist/components/FormAsync/WFormAsyncSelect.vue.js +1 -0
  28. package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js +1 -0
  29. package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.js +1 -0
  30. package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.js +1 -0
  31. package/dist/components/FormAsync/types.d.ts +7 -0
  32. package/dist/components/FormAsync/types.d.ts.map +1 -1
  33. package/dist/components/Input/WInput.vue.js +2 -1
  34. package/dist/components/Input/WInputAsync.vue.js +2 -1
  35. package/dist/components/Input/WInputDate.vue.js +1 -0
  36. package/dist/components/Input/WInputOptions.vue.js +1 -0
  37. package/dist/components/Input/WInputSuggest.vue.js +1 -0
  38. package/dist/components/Select/WSelect.vue.d.ts.map +1 -1
  39. package/dist/components/Select/WSelect.vue.js +6 -4
  40. package/dist/components/Select/WSelectAsync.vue.d.ts.map +1 -1
  41. package/dist/components/Select/WSelectAsync.vue.js +2 -1
  42. package/dist/components/Select/WSelectAsyncSingle.vue.js +1 -0
  43. package/dist/components/Select/WSelectSingle.vue.js +1 -0
  44. package/dist/components/Select/WSelectStringified.vue.js +1 -0
  45. package/dist/components/Select/components/SelectOptionPrefix.vue.js +1 -1
  46. package/dist/imports/componentsPlugin.d.ts +3 -1
  47. package/dist/imports/componentsPlugin.d.ts.map +1 -1
  48. package/dist/main.js +2 -0
  49. package/dist/utils/useSelected.d.ts.map +1 -1
  50. package/dist/utils/useSelected.js +16 -3
  51. package/eslint/rules/ui-kit-imports.js +11 -2
  52. package/package.json +10 -23
  53. package/tailwind-base/plugins/default.ts +0 -3
@@ -64,6 +64,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
64
64
  leftError: { type: Boolean },
65
65
  filterField: {},
66
66
  filterValue: {},
67
+ subgrid: { type: Boolean },
67
68
  teleport: { type: Boolean },
68
69
  noZIndex: { type: Boolean },
69
70
  zIndex: {},
@@ -241,7 +242,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
241
242
  loading: _ctx.loading || isFetchingPrefix.value,
242
243
  disabled: isDisabled.value,
243
244
  "empty-stub": !search.value && _ctx.emptyStub ? _ctx.emptyStub : void 0,
244
- "allow-create": _ctx.createOption && !hasSearchOption.value,
245
+ "allow-create": _ctx.createOption && (!hasSearchOption.value || isModelValueSearch.value),
245
246
  "hide-option-icon": _ctx.hideOptionIcon,
246
247
  "value-getter": _ctx.valueGetter,
247
248
  "loading-create": loadingCreate.value,
@@ -62,6 +62,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
62
62
  leftError: { type: Boolean },
63
63
  filterField: {},
64
64
  filterValue: {},
65
+ subgrid: { type: Boolean },
65
66
  teleport: { type: Boolean },
66
67
  noZIndex: { type: Boolean },
67
68
  zIndex: {},
@@ -58,6 +58,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
58
58
  leftError: { type: Boolean },
59
59
  filterField: {},
60
60
  filterValue: {},
61
+ subgrid: { type: Boolean },
61
62
  teleport: { type: Boolean },
62
63
  noZIndex: { type: Boolean },
63
64
  zIndex: {},
@@ -58,6 +58,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
58
58
  leftError: { type: Boolean },
59
59
  filterField: {},
60
60
  filterValue: {},
61
+ subgrid: { type: Boolean },
61
62
  teleport: { type: Boolean },
62
63
  noZIndex: { type: Boolean },
63
64
  zIndex: {},
@@ -19,7 +19,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
19
19
  return _ctx.optionComponent ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), mergeProps({ key: 0 }, _ctx.optionComponentProps, {
20
20
  option: _ctx.option,
21
21
  index: _ctx.index,
22
- search: _ctx.option === void 0 ? _ctx.search : void 0,
22
+ search: _ctx.option === void 0 ? _ctx.search?.toString() : void 0,
23
23
  selected: true,
24
24
  model: true
25
25
  }), {
@@ -14,6 +14,7 @@ import { default as WButtonSelectionAction } from '../components/Button/WButtonS
14
14
  import { default as WButtonSelectionState } from '../components/Button/WButtonSelectionState.vue';
15
15
  import { default as WButtonUnselect } from '../components/Button/WButtonUnselect.vue';
16
16
  import { default as WCheckbox } from '../components/Checkbox/WCheckbox.vue';
17
+ import { default as WCheckboxGroup } from '../components/Checkbox/WCheckboxGroup.vue';
17
18
  import { default as WChip } from '../components/Chip/WChip.vue';
18
19
  import { default as WClickOutside } from '../components/ClickOutside/WClickOutside.vue';
19
20
  import { default as WCounter } from '../components/Counter/WCounter.vue';
@@ -30,6 +31,7 @@ import { default as WFilterWrapper } from '../components/FilterWrapper/WFilterWr
30
31
  import { default as WForm } from '../components/Form/WForm.vue';
31
32
  import { default as WFormValidator } from '../components/Form/WFormValidator.vue';
32
33
  import { default as WFormAsyncButtonGroup } from '../components/FormAsync/WFormAsyncButtonGroup.vue';
34
+ import { default as WFormAsyncCheckboxGroup } from '../components/FormAsync/WFormAsyncCheckboxGroup.vue';
33
35
  import { default as WFormAsyncInput } from '../components/FormAsync/WFormAsyncInput.vue';
34
36
  import { default as WFormAsyncSelect } from '../components/FormAsync/WFormAsyncSelect.vue';
35
37
  import { default as WFormAsyncSelectInfiniteSingle } from '../components/FormAsync/WFormAsyncSelectInfiniteSingle.vue';
@@ -87,5 +89,5 @@ declare const _default: {
87
89
  install: (app: App | any) => void;
88
90
  };
89
91
  export default _default;
90
- export { WActionsBar, WBottomSheet, WButton, WButtonAction, WButtonCopy, WButtonDropdown, WButtonGroup, WButtonInput, WButtonMore, WButtonMoreItem, WButtonSelection, WButtonSelectionAction, WButtonSelectionState, WButtonUnselect, WCheckbox, WChip, WClickOutside, WCounter, WDatePicker, WDatePickerSingle, WDropdown, WDropdownMenu, WEmptyComponent, WExpansion, WExpansionItem, WFieldWrapper, WFilePicker, WFilterWrapper, WForm, WFormValidator, WFormAsyncButtonGroup, WFormAsyncInput, WFormAsyncSelect, WFormAsyncSelectInfiniteSingle, WFormAsyncSelectSingle, WFormAsyncSelectStringified, WFormAsyncToggle, WHeaderBar, WImageViewer, WInfiniteList, WInfiniteListWrapper, WInfoCard, WInfoCardNegative, WInput, WInputAsync, WInputDate, WInputOptions, WInputSuggest, WLink, WLinkArrow, WList, WListCard, WListCardField, WListHeader, WListHeaderItem, WMenuItem, WModal, WModalStepper, WModalWrapper, WNavBar, WNavItem, WNavItemExpand, WNavItemTransition, WNotify, WNumberFormatter, WPage, WPageBreadcrumbs, WPageNumerator, WPageTitle, WProgress, WSelect, WSelectAsync, WSelectAsyncList, WSelectAsyncSingle, WSelectSingle, WSelectStringified, WSkeleton, WSpinner, WTabs, WTabsColumns, WTabsItem, WToggle, WTooltip, WTooltipContainer, };
92
+ export { WActionsBar, WBottomSheet, WButton, WButtonAction, WButtonCopy, WButtonDropdown, WButtonGroup, WButtonInput, WButtonMore, WButtonMoreItem, WButtonSelection, WButtonSelectionAction, WButtonSelectionState, WButtonUnselect, WCheckbox, WCheckboxGroup, WChip, WClickOutside, WCounter, WDatePicker, WDatePickerSingle, WDropdown, WDropdownMenu, WEmptyComponent, WExpansion, WExpansionItem, WFieldWrapper, WFilePicker, WFilterWrapper, WForm, WFormValidator, WFormAsyncButtonGroup, WFormAsyncCheckboxGroup, WFormAsyncInput, WFormAsyncSelect, WFormAsyncSelectInfiniteSingle, WFormAsyncSelectSingle, WFormAsyncSelectStringified, WFormAsyncToggle, WHeaderBar, WImageViewer, WInfiniteList, WInfiniteListWrapper, WInfoCard, WInfoCardNegative, WInput, WInputAsync, WInputDate, WInputOptions, WInputSuggest, WLink, WLinkArrow, WList, WListCard, WListCardField, WListHeader, WListHeaderItem, WMenuItem, WModal, WModalStepper, WModalWrapper, WNavBar, WNavItem, WNavItemExpand, WNavItemTransition, WNotify, WNumberFormatter, WPage, WPageBreadcrumbs, WPageNumerator, WPageTitle, WProgress, WSelect, WSelectAsync, WSelectAsyncList, WSelectAsyncSingle, WSelectSingle, WSelectStringified, WSkeleton, WSpinner, WTabs, WTabsColumns, WTabsItem, WToggle, WTooltip, WTooltipContainer, };
91
93
  //# sourceMappingURL=componentsPlugin.d.ts.map
@@ -1 +1 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,EACT,KAAK,EACL,aAAa,EACb,QAAQ,EACR,WAAW,EACX,iBAAiB,EACjB,SAAS,EACT,aAAa,EACb,eAAe,EACf,UAAU,EACV,cAAc,EACd,aAAa,EACb,WAAW,EACX,cAAc,EACd,KAAK,EACL,cAAc,EACd,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EAChB,8BAA8B,EAC9B,sBAAsB,EACtB,2BAA2B,EAC3B,gBAAgB,EAChB,UAAU,EACV,YAAY,EACZ,aAAa,EACb,oBAAoB,EACpB,SAAS,EACT,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,UAAU,EACV,aAAa,EACb,aAAa,EACb,KAAK,EACL,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,EACd,WAAW,EACX,eAAe,EACf,SAAS,EACT,MAAM,EACN,aAAa,EACb,aAAa,EACb,OAAO,EACP,QAAQ,EACR,cAAc,EACd,kBAAkB,EAClB,OAAO,EACP,gBAAgB,EAChB,KAAK,EACL,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,SAAS,EACT,OAAO,EACP,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,SAAS,EACT,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,SAAS,EACT,OAAO,EACP,QAAQ,EACR,iBAAiB,GAClB,CAAA"}
1
+ {"version":3,"file":"componentsPlugin.d.ts","sourceRoot":"","sources":["../../../src/imports/componentsPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,KAAK,CAAA;AAE5B,OAAO,WAAW,MAAM,yCAAyC,CAAA;AACjE,OAAO,YAAY,MAAM,2CAA2C,CAAA;AACpE,OAAO,OAAO,MAAM,iCAAiC,CAAA;AACrD,OAAO,aAAa,MAAM,uCAAuC,CAAA;AACjE,OAAO,WAAW,MAAM,qCAAqC,CAAA;AAC7D,OAAO,eAAe,MAAM,yCAAyC,CAAA;AACrE,OAAO,YAAY,MAAM,sCAA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a,EACb,oBAAoB,EACpB,SAAS,EACT,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,UAAU,EACV,aAAa,EACb,aAAa,EACb,KAAK,EACL,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,EACd,WAAW,EACX,eAAe,EACf,SAAS,EACT,MAAM,EACN,aAAa,EACb,aAAa,EACb,OAAO,EACP,QAAQ,EACR,cAAc,EACd,kBAAkB,EAClB,OAAO,EACP,gBAAgB,EAChB,KAAK,EACL,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,SAAS,EACT,OAAO,EACP,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,SAAS,EACT,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,SAAS,EACT,OAAO,EACP,QAAQ,EACR,iBAAiB,GAClB,CAAA"}
package/dist/main.js CHANGED
@@ -17,6 +17,7 @@ export { default as WButtonSelectionAction } from './components/Button/WButtonSe
17
17
  export { default as WButtonSelectionState } from './components/Button/WButtonSelectionState.vue.js';
18
18
  export { default as WButtonUnselect } from './components/Button/WButtonUnselect.vue.js';
19
19
  export { default as WCheckbox } from './components/Checkbox/WCheckbox.vue.js';
20
+ export { default as WCheckboxGroup } from './components/Checkbox/WCheckboxGroup.vue.js';
20
21
  export { default as WChip } from './components/Chip/WChip.vue.js';
21
22
  export { default as WClickOutside } from './components/ClickOutside/WClickOutside.vue.js';
22
23
  export { default as WCounter } from './components/Counter/WCounter.vue.js';
@@ -33,6 +34,7 @@ export { default as WFilterWrapper } from './components/FilterWrapper/WFilterWra
33
34
  export { default as WForm } from './components/Form/WForm.vue.js';
34
35
  export { default as WFormValidator } from './components/Form/WFormValidator.vue.js';
35
36
  export { default as WFormAsyncButtonGroup } from './components/FormAsync/WFormAsyncButtonGroup.vue.js';
37
+ export { default as WFormAsyncCheckboxGroup } from './components/FormAsync/WFormAsyncCheckboxGroup.vue.js';
36
38
  export { default as WFormAsyncInput } from './components/FormAsync/WFormAsyncInput.vue.js';
37
39
  export { default as WFormAsyncSelect } from './components/FormAsync/WFormAsyncSelect.vue.js';
38
40
  export { default as WFormAsyncSelectInfiniteSingle } from './components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js';
@@ -1 +1 @@
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
+ {"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;0BAwLJ,oBAAoB,GAAG,SAAS;CA0C5D,CAAA"}
@@ -106,8 +106,8 @@ const useSelected = (count, disabled) => {
106
106
  let range;
107
107
  if (allowSelectHover.value) {
108
108
  range = [Math.min(position, upValue.value), Math.max(position, downValue.value)];
109
- resetIsSelecting();
110
- preselectValue.value = null;
109
+ if (preselectValue.value === null) resetIsSelecting();
110
+ else preselectValue.value = null;
111
111
  } else if (downValue.value === position && upValue.value === position) {
112
112
  return resetSelection();
113
113
  } else if (upValue.value === position) {
@@ -151,12 +151,23 @@ const useSelected = (count, disabled) => {
151
151
  return selection.value.id__in?.length ? null : false;
152
152
  }
153
153
  });
154
+ const applySelect = (event) => {
155
+ if (hoverValue.value === null) return;
156
+ event.stopPropagation();
157
+ event.preventDefault();
158
+ toggleSelected(0, hoverValue.value);
159
+ };
154
160
  const setIsSelecting = (event) => {
155
- if (!event.shiftKey) return;
161
+ if (!event.shiftKey || event.ctrlKey || event.altKey || event.metaKey || event.target instanceof HTMLInputElement || event.target instanceof HTMLTextAreaElement) {
162
+ resetIsSelecting();
163
+ return;
164
+ }
156
165
  isShift.value = true;
166
+ window.addEventListener("click", applySelect);
157
167
  };
158
168
  const resetIsSelecting = () => {
159
169
  isShift.value = false;
170
+ window.removeEventListener("click", applySelect);
160
171
  };
161
172
  const getQueryParams = () => {
162
173
  if (isEmpty(selection.value)) return void 0;
@@ -170,6 +181,7 @@ const useSelected = (count, disabled) => {
170
181
  if (value) {
171
182
  window.removeEventListener("keydown", setIsSelecting);
172
183
  window.removeEventListener("keyup", resetIsSelecting);
184
+ window.removeEventListener("click", applySelect);
173
185
  } else {
174
186
  window.addEventListener("keydown", setIsSelecting);
175
187
  window.addEventListener("keyup", resetIsSelecting);
@@ -179,6 +191,7 @@ const useSelected = (count, disabled) => {
179
191
  unmounted.value = true;
180
192
  window.removeEventListener("keydown", setIsSelecting);
181
193
  window.removeEventListener("keyup", resetIsSelecting);
194
+ window.removeEventListener("click", applySelect);
182
195
  });
183
196
  return {
184
197
  allowSelectHover,
@@ -1,6 +1,12 @@
1
+ /* eslint-disable */
2
+
3
+ import packageJson from '../../package.json' with { type: 'json' }
4
+
5
+ const keys = Object.keys(packageJson.exports)
6
+
1
7
  export default {
2
8
  meta: {
3
- type: 'suggestion',
9
+ type: "suggestion",
4
10
  docs: {
5
11
  description: 'Restrict specific imports and provide replacement',
6
12
  category: 'Best Practices',
@@ -21,7 +27,10 @@ export default {
21
27
  const importedName = specifier.imported.name
22
28
 
23
29
  if (importedName.startsWith('W')) {
24
- const replacementImport = `import ${ importedName } from 'eco-vue-js/dist/components/${ importedName.substr(1) }/${ importedName }.vue'`
30
+ const path = keys.find(item => item.includes(importedName))
31
+
32
+ const replacementImport = `import ${ importedName } from 'eco-vue-js${ path.substring(1) }'`
33
+
25
34
  context.report({
26
35
  node,
27
36
  message: `Do not import '${ importedName }' directly. Use the replacement: ${ replacementImport }`,
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.19",
7
+ "version": "0.10.21",
8
8
  "scripts": {
9
9
  "build": "run-p type-check \"build-only {@}\" --",
10
10
  "dev": "vite build --watch",
@@ -30,28 +30,6 @@
30
30
  "vue": ">=3.5.11",
31
31
  "vue-router": ">=4.4.5"
32
32
  },
33
- "devDependencies": {
34
- "@tsconfig/node22": "22.0.0",
35
- "@types/jsdom": "21.1.7",
36
- "@types/node": "22.10.1",
37
- "@types/postcss-import": "14.0.3",
38
- "@vitejs/plugin-vue": "5.2.1",
39
- "@vue/tsconfig": "0.7.0",
40
- "autoprefixer": "10.4.20",
41
- "eslint": "9.16.0",
42
- "jsdom": "25.0.1",
43
- "npm-run-all2": "7.0.1",
44
- "path": "0.12.7",
45
- "postcss": "8.4.49",
46
- "postcss-import": "16.1.0",
47
- "rollup-plugin-watch": "1.0.5",
48
- "tailwindcss": "3.4.16",
49
- "typescript": "5.6.3",
50
- "vite": "6.1.0",
51
- "vite-plugin-dts": "4.5.0",
52
- "vite-svg-loader": "5.1.0",
53
- "vue-tsc": "2.1.10"
54
- },
55
33
  "type": "module",
56
34
  "files": [
57
35
  "eslint",
@@ -182,6 +160,12 @@
182
160
  "./dist/components/Checkbox/WCheckbox.vue": {
183
161
  "import": "./dist/components/Checkbox/WCheckbox.vue.js"
184
162
  },
163
+ "./dist/components/Checkbox/WCheckboxGroup.vue": {
164
+ "import": "./dist/components/Checkbox/WCheckboxGroup.vue.js"
165
+ },
166
+ "./dist/components/Checkbox/types": {
167
+ "import": "./dist/components/Checkbox/types.d.ts"
168
+ },
185
169
  "./dist/components/Chip/WChip.vue": {
186
170
  "import": "./dist/components/Chip/WChip.vue.js"
187
171
  },
@@ -239,6 +223,9 @@
239
223
  "./dist/components/FormAsync/WFormAsyncButtonGroup.vue": {
240
224
  "import": "./dist/components/FormAsync/WFormAsyncButtonGroup.vue.js"
241
225
  },
226
+ "./dist/components/FormAsync/WFormAsyncCheckboxGroup.vue": {
227
+ "import": "./dist/components/FormAsync/WFormAsyncCheckboxGroup.vue.js"
228
+ },
242
229
  "./dist/components/FormAsync/WFormAsyncInput.vue": {
243
230
  "import": "./dist/components/FormAsync/WFormAsyncInput.vue.js"
244
231
  },
@@ -277,9 +277,6 @@ const pluginDefault = plugin(function ({matchUtilities, addVariant, addUtilities
277
277
  'pointer-events': 'none',
278
278
  'user-select': 'none',
279
279
  opacity: '0',
280
- 'transition-property': 'opacity',
281
- 'transition-timing-function': 'cubic-bezier(0.4, 0, 0.2, 1)',
282
- 'transition-duration': '100ms',
283
280
  },
284
281
 
285
282
  '&:active::before': {