@fastkit/vui 0.18.33 → 0.18.34

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fastkit/vui",
3
- "version": "0.18.33",
3
+ "version": "0.18.34",
4
4
  "description": "A simple, extensible UI kit for Vue applications.",
5
5
  "keywords": [
6
6
  "fastkit",
@@ -46,29 +46,29 @@
46
46
  "dependencies": {
47
47
  "@fastkit/color-scheme": "1.0.15",
48
48
  "@fastkit/dom": "0.1.8",
49
- "@fastkit/color-scheme-gen": "0.13.15",
50
49
  "@fastkit/helpers": "0.13.8",
50
+ "@fastkit/color-scheme-gen": "0.13.15",
51
51
  "@fastkit/icon-font": "1.0.10",
52
52
  "@fastkit/media-match": "1.0.10",
53
53
  "@fastkit/rules": "0.13.10",
54
+ "@fastkit/media-match-gen": "0.13.15",
55
+ "@fastkit/vue-action": "0.2.22",
54
56
  "@fastkit/stylebase": "0.13.1",
55
57
  "@fastkit/tiny-logger": "0.13.8",
56
- "@fastkit/vue-action": "0.2.21",
57
- "@fastkit/media-match-gen": "0.13.15",
58
- "@fastkit/vue-body-scroll-lock": "0.1.19",
59
58
  "@fastkit/vue-click-outside": "0.1.20",
60
59
  "@fastkit/vue-app-layout": "0.14.22",
61
- "@fastkit/vue-color-scheme": "0.14.19",
60
+ "@fastkit/vue-body-scroll-lock": "0.1.19",
62
61
  "@fastkit/vue-form-control": "0.19.19",
63
- "@fastkit/vue-location": "0.1.26",
64
- "@fastkit/vue-loading": "0.14.20",
65
- "@fastkit/vue-scroller": "0.14.21",
62
+ "@fastkit/vue-color-scheme": "0.14.19",
66
63
  "@fastkit/vue-keyboard": "0.1.8",
67
- "@fastkit/vue-media-match": "0.13.15",
64
+ "@fastkit/vue-loading": "0.14.20",
68
65
  "@fastkit/vue-resize": "0.1.19",
69
- "@fastkit/vue-utils": "0.14.17",
66
+ "@fastkit/vue-location": "0.1.26",
70
67
  "@fastkit/vue-stack": "0.15.53",
71
- "@fastkit/vue-transitions": "0.1.23"
68
+ "@fastkit/vue-scroller": "0.14.21",
69
+ "@fastkit/vue-transitions": "0.1.23",
70
+ "@fastkit/vue-utils": "0.14.17",
71
+ "@fastkit/vue-media-match": "0.13.15"
72
72
  },
73
73
  "peerDependencies": {
74
74
  "vue": "^3.3.0",
@@ -122,7 +122,6 @@ export const VButton = defineComponent({
122
122
  spacer.value ? `v-button--spacer-${spacer.value}` : undefined,
123
123
  `v-button--${control.size.value}`,
124
124
  `v-button--align-${props.align}`,
125
- 'clickable',
126
125
  {
127
126
  'v-button--loading': isLoading.value,
128
127
  'v-button--icon': !!icon.value,
@@ -27,11 +27,7 @@ export const VCard = defineComponent({
27
27
  const attrs = {
28
28
  ..._props.value,
29
29
  ...ctx.attrs,
30
- class: [
31
- 'v-card',
32
- ctx.attrs.class,
33
- typeof ctx.attrs.onClick === 'function' && 'clickable',
34
- ],
30
+ class: ['v-card', ctx.attrs.class],
35
31
  tag: hasLink ? VAction : 'div',
36
32
  };
37
33
  if (props.disabled) {
@@ -77,7 +77,6 @@ export const VListTile = defineComponent({
77
77
 
78
78
  return [
79
79
  color.value.className,
80
- 'clickable',
81
80
  {
82
81
  'v-list-tile--plain': !hasColor,
83
82
  'v-list-tile--has-color': hasColor,
package/src/plugin.tsx CHANGED
@@ -14,6 +14,7 @@ import { VueColorSchemePlugin } from '@fastkit/vue-color-scheme';
14
14
  import { installVueAppLayout } from '@fastkit/vue-app-layout';
15
15
  import { onAppUnmount } from '@fastkit/vue-utils';
16
16
  import { getDocumentScroller } from '@fastkit/vue-scroller';
17
+ import { setDefaultActionableClassName } from '@fastkit/vue-action';
17
18
  import {
18
19
  VuiService,
19
20
  VuiServiceOptions,
@@ -22,6 +23,7 @@ import {
22
23
  VuiInjectionKey,
23
24
  } from './service';
24
25
 
26
+ setDefaultActionableClassName('clickable');
25
27
  const scroller = getDocumentScroller();
26
28
 
27
29
  // eslint-disable-next-line @typescript-eslint/no-empty-interface