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.
Files changed (40) hide show
  1. package/dist/assets/icons/sax/IconLock.svg.js +31 -0
  2. package/dist/assets/icons/sax/IconLockOff.svg.js +31 -0
  3. package/dist/assets/icons/sax/IconLogout.svg.js +3 -17
  4. package/dist/assets/icons/sax/IconNegativeInfo.svg.js +3 -4
  5. package/dist/assets/icons/sax/IconProfile.svg.js +2 -9
  6. package/dist/components/List/WList.vue.d.ts.map +1 -1
  7. package/dist/components/List/WList.vue.js +68 -27
  8. package/dist/components/List/WListCard.vue.d.ts +2 -160
  9. package/dist/components/List/WListCard.vue.d.ts.map +1 -1
  10. package/dist/components/List/WListCard.vue.js +16 -11
  11. package/dist/components/List/WListCardField.vue.js +1 -1
  12. package/dist/components/List/WListHeaderItem.vue.d.ts +4 -4
  13. package/dist/components/List/WListHeaderItem.vue.d.ts.map +1 -1
  14. package/dist/components/List/WListHeaderItem.vue.js +10 -6
  15. package/dist/components/List/components/HeaderItem.vue.d.ts +18 -0
  16. package/dist/components/List/components/HeaderItem.vue.d.ts.map +1 -0
  17. package/dist/components/List/components/HeaderItem.vue.js +21 -0
  18. package/dist/components/List/components/HeaderItem.vue2.js +5 -0
  19. package/dist/components/List/components/HeaderItemResizer.vue.d.ts +3 -3
  20. package/dist/components/List/components/HeaderItemResizer.vue.d.ts.map +1 -1
  21. package/dist/components/List/components/HeaderItemResizer.vue.js +3 -3
  22. package/dist/components/List/components/HeaderSettingsList.vue.d.ts +1 -0
  23. package/dist/components/List/components/HeaderSettingsList.vue.d.ts.map +1 -1
  24. package/dist/components/List/components/HeaderSettingsList.vue.js +26 -6
  25. package/dist/components/List/components/ListCardAction.vue.js +1 -1
  26. package/dist/components/List/components/ListCardFieldNested.vue.js +1 -1
  27. package/dist/components/List/types.d.ts +3 -1
  28. package/dist/components/List/types.d.ts.map +1 -1
  29. package/dist/components/List/use/useListConfig.d.ts +8 -0
  30. package/dist/components/List/use/useListConfig.d.ts.map +1 -1
  31. package/dist/components/List/use/useListConfig.js +41 -3
  32. package/dist/imports/iconsSax.d.ts +2 -0
  33. package/dist/imports/iconsSax.d.ts.map +1 -1
  34. package/dist/imports/iconsSax.js +2 -0
  35. package/dist/utils/utils.d.ts.map +1 -1
  36. package/dist/utils/utils.js +6 -1
  37. package/package.json +1 -1
  38. package/tailwind-base/index.ts +2 -0
  39. package/tailwind-base/plugins/default.ts +0 -46
  40. 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