eco-vue-js 0.10.70 → 0.10.72
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/dist/assets/icons/sax/IconLock.svg.js +31 -0
- package/dist/assets/icons/sax/IconLockOff.svg.js +31 -0
- package/dist/assets/icons/sax/IconLogout.svg.js +3 -17
- package/dist/assets/icons/sax/IconNegativeInfo.svg.js +3 -4
- package/dist/assets/icons/sax/IconProfile.svg.js +2 -9
- package/dist/components/List/WList.vue.d.ts.map +1 -1
- package/dist/components/List/WList.vue.js +68 -27
- package/dist/components/List/WListCard.vue.d.ts +2 -160
- package/dist/components/List/WListCard.vue.d.ts.map +1 -1
- package/dist/components/List/WListCard.vue.js +16 -11
- package/dist/components/List/WListCardField.vue.js +1 -1
- package/dist/components/List/WListHeaderItem.vue.d.ts +4 -4
- package/dist/components/List/WListHeaderItem.vue.d.ts.map +1 -1
- package/dist/components/List/WListHeaderItem.vue.js +10 -6
- package/dist/components/List/components/HeaderItem.vue.d.ts +18 -0
- package/dist/components/List/components/HeaderItem.vue.d.ts.map +1 -0
- package/dist/components/List/components/HeaderItem.vue.js +21 -0
- package/dist/components/List/components/HeaderItem.vue2.js +5 -0
- package/dist/components/List/components/HeaderItemResizer.vue.d.ts +3 -3
- package/dist/components/List/components/HeaderItemResizer.vue.d.ts.map +1 -1
- package/dist/components/List/components/HeaderItemResizer.vue.js +3 -3
- package/dist/components/List/components/HeaderSettingsList.vue.d.ts +1 -0
- package/dist/components/List/components/HeaderSettingsList.vue.d.ts.map +1 -1
- package/dist/components/List/components/HeaderSettingsList.vue.js +26 -6
- package/dist/components/List/components/ListCardAction.vue.js +1 -1
- package/dist/components/List/components/ListCardFieldNested.vue.js +1 -1
- package/dist/components/List/types.d.ts +3 -1
- package/dist/components/List/types.d.ts.map +1 -1
- package/dist/components/List/use/useListConfig.d.ts +8 -0
- package/dist/components/List/use/useListConfig.d.ts.map +1 -1
- package/dist/components/List/use/useListConfig.js +41 -3
- package/dist/imports/iconsSax.d.ts +2 -0
- package/dist/imports/iconsSax.d.ts.map +1 -1
- package/dist/imports/iconsSax.js +2 -0
- package/dist/utils/utils.d.ts.map +1 -1
- package/dist/utils/utils.js +6 -1
- package/package.json +1 -1
- package/tailwind-base/index.ts +2 -0
- package/tailwind-base/plugins/default.ts +0 -46
- package/tailwind-base/plugins/w-ripple.ts +64 -0
@@ -0,0 +1,64 @@
|
|
1
|
+
import plugin from 'tailwindcss/plugin.js'
|
2
|
+
|
3
|
+
const pluginRipple = plugin(function ({matchUtilities, addUtilities}) {
|
4
|
+
const configRipple = {
|
5
|
+
'w-ripple': () => ({
|
6
|
+
'&::before': {
|
7
|
+
content: '""',
|
8
|
+
position: 'absolute',
|
9
|
+
top: '0',
|
10
|
+
left: '0',
|
11
|
+
height: '100%',
|
12
|
+
width: '100%',
|
13
|
+
'border-radius': 'var(--w-ripple-rounded,inherit)',
|
14
|
+
'background-color': 'currentColor',
|
15
|
+
'pointer-events': 'none',
|
16
|
+
'user-select': 'none',
|
17
|
+
opacity: '0',
|
18
|
+
},
|
19
|
+
|
20
|
+
'&:active::before': {
|
21
|
+
opacity: 'calc(var(--w-ripple-opacity, 0.10) * 2)',
|
22
|
+
},
|
23
|
+
}),
|
24
|
+
|
25
|
+
'w-ripple-trigger': (value: string) => {
|
26
|
+
value = value ? `-${ value }` : ''
|
27
|
+
|
28
|
+
return {
|
29
|
+
[`&:active .w-ripple${ value }::before, &:active.w-ripple${ value }::before`]: {
|
30
|
+
opacity: 'calc(var(--w-ripple-opacity, 0.10) * 2)',
|
31
|
+
},
|
32
|
+
}
|
33
|
+
},
|
34
|
+
|
35
|
+
'w-ripple-hover': (value: string) => {
|
36
|
+
value = value ? `-${ value }` : ''
|
37
|
+
|
38
|
+
return {
|
39
|
+
[`&:not(:active):hover, .w-ripple-trigger${ value }:not(:active):hover &,
|
40
|
+
&:not(:active):focus, .w-ripple-trigger${ value }:not(:active):focus &,
|
41
|
+
&:not(:active):focus-within, .w-ripple-trigger${ value }:not(:active):focus-within &`]: {
|
42
|
+
[`& .w-ripple${ value }:not(:active)::before, &.w-ripple${ value }::before`]: {
|
43
|
+
opacity: 'var(--w-ripple-opacity, 0.10)',
|
44
|
+
},
|
45
|
+
},
|
46
|
+
}
|
47
|
+
},
|
48
|
+
}
|
49
|
+
|
50
|
+
matchUtilities(configRipple, {
|
51
|
+
type: 'generic-name',
|
52
|
+
respectPrefix: false,
|
53
|
+
values: {
|
54
|
+
list: 'list',
|
55
|
+
},
|
56
|
+
})
|
57
|
+
|
58
|
+
addUtilities(Object.keys(configRipple).reduce((result, key) => {
|
59
|
+
result[`.${ key }`] = configRipple[key as keyof typeof configRipple]('')
|
60
|
+
return result
|
61
|
+
}, {} as Record<string, ReturnType<typeof configRipple[keyof typeof configRipple]>>))
|
62
|
+
})
|
63
|
+
|
64
|
+
export default pluginRipple
|