eco-vue-js 0.8.18 → 0.8.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. package/dist/assets/icons/sax/IconDrag.svg.js +24 -0
  2. package/dist/components/Button/WButtonSelection.vue.d.ts.map +1 -1
  3. package/dist/components/Button/WButtonSelection.vue.js +1 -1
  4. package/dist/components/Expansion/WExpansion.vue.d.ts +6 -2
  5. package/dist/components/Expansion/WExpansion.vue.d.ts.map +1 -1
  6. package/dist/components/Expansion/WExpansion.vue.js +4 -1
  7. package/dist/components/FormAsync/WFormAsyncInput.vue.js +1 -0
  8. package/dist/components/FormAsync/WFormAsyncSelect.vue.js +1 -0
  9. package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js +1 -0
  10. package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.js +1 -0
  11. package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.js +1 -0
  12. package/dist/components/InfiniteList/components/InfiniteListPage.vue.js +6 -6
  13. package/dist/components/Input/WInput.vue.js +7 -6
  14. package/dist/components/Input/WInputAsync.vue.js +1 -0
  15. package/dist/components/Input/WInputDate.vue.js +1 -0
  16. package/dist/components/Input/WInputOptions.vue.js +1 -0
  17. package/dist/components/Input/WInputSuggest.vue.js +2 -1
  18. package/dist/components/Input/types.d.ts +1 -0
  19. package/dist/components/Input/types.d.ts.map +1 -1
  20. package/dist/components/List/WList.vue.d.ts +5 -1
  21. package/dist/components/List/WList.vue.d.ts.map +1 -1
  22. package/dist/components/List/WList.vue.js +91 -31
  23. package/dist/components/List/WListCard.vue.d.ts +9 -1
  24. package/dist/components/List/WListCard.vue.d.ts.map +1 -1
  25. package/dist/components/List/WListCard.vue.js +114 -52
  26. package/dist/components/List/WListCardField.vue.d.ts.map +1 -1
  27. package/dist/components/List/WListCardField.vue.js +21 -25
  28. package/dist/components/List/WListHeader.vue.d.ts.map +1 -1
  29. package/dist/components/List/WListHeader.vue.js +36 -23
  30. package/dist/components/List/WListHeaderItem.vue.d.ts +5 -2
  31. package/dist/components/List/WListHeaderItem.vue.d.ts.map +1 -1
  32. package/dist/components/List/WListHeaderItem.vue.js +52 -37
  33. package/dist/components/List/components/HeaderItemResizer.vue.d.ts +20 -0
  34. package/dist/components/List/components/HeaderItemResizer.vue.d.ts.map +1 -0
  35. package/dist/components/List/components/HeaderItemResizer.vue.js +66 -0
  36. package/dist/components/List/components/HeaderItemResizer.vue2.js +5 -0
  37. package/dist/components/List/types.d.ts +6 -2
  38. package/dist/components/List/types.d.ts.map +1 -1
  39. package/dist/components/Select/WSelect.vue.js +1 -0
  40. package/dist/components/Select/WSelectAsync.vue.js +1 -0
  41. package/dist/components/Select/WSelectAsyncSingle.vue.js +1 -0
  42. package/dist/components/Select/WSelectSingle.vue.js +1 -0
  43. package/dist/components/Select/WSelectStringified.vue.js +1 -0
  44. package/package.json +1 -1
  45. package/tailwind-base/plugins/default.cjs +35 -34
@@ -38,6 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
38
38
  autocomplete: {},
39
39
  autofocus: { type: Boolean },
40
40
  readonly: { type: Boolean },
41
+ unclickable: { type: Boolean },
41
42
  disabledActions: { type: Boolean },
42
43
  loading: { type: Boolean },
43
44
  spellcheck: { type: Boolean },
@@ -36,6 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
36
  autocomplete: {},
37
37
  autofocus: { type: Boolean },
38
38
  readonly: { type: Boolean },
39
+ unclickable: { type: Boolean },
39
40
  disabledActions: { type: Boolean },
40
41
  loading: { type: Boolean },
41
42
  spellcheck: { type: Boolean },
@@ -34,6 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
34
34
  autocomplete: {},
35
35
  autofocus: { type: Boolean },
36
36
  readonly: { type: Boolean },
37
+ unclickable: { type: Boolean },
37
38
  disabledActions: { type: Boolean },
38
39
  loading: { type: Boolean },
39
40
  spellcheck: { type: Boolean },
@@ -29,6 +29,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
29
29
  autocomplete: {},
30
30
  autofocus: { type: Boolean },
31
31
  readonly: { type: Boolean },
32
+ unclickable: { type: Boolean },
32
33
  disabledActions: { type: Boolean },
33
34
  loading: { type: Boolean },
34
35
  spellcheck: { type: Boolean },
@@ -29,6 +29,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
29
29
  autocomplete: {},
30
30
  autofocus: { type: Boolean },
31
31
  readonly: { type: Boolean },
32
+ unclickable: { type: Boolean },
32
33
  disabledActions: { type: Boolean },
33
34
  loading: { type: Boolean },
34
35
  spellcheck: { type: Boolean },
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.8.18",
7
+ "version": "0.8.20",
8
8
  "scripts": {
9
9
  "dev": "vite",
10
10
  "build": "run-p type-check build-only",
@@ -91,12 +91,34 @@ module.exports = plugin(function ({matchUtilities, addVariant, addUtilities, add
91
91
  },
92
92
  )
93
93
 
94
+ addUtilities({
95
+ '.max-w-inner': {
96
+ 'max-width': 'calc(100vw - var(--actions-bar-width) - var(--nav-bar-width) - var(--inner-margin) - var(--inner-margin) - var(--scroll-bar-width))',
97
+ },
98
+ '.max-w-inner-no-actions': {
99
+ 'max-width': 'calc(100vw - var(--nav-bar-width) - var(--inner-margin) - var(--inner-margin) - var(--scroll-bar-width))',
100
+ },
101
+ '.w-inner': {
102
+ 'width': 'calc(100vw - var(--actions-bar-width) - var(--nav-bar-width) - var(--inner-margin) - var(--inner-margin) - var(--scroll-bar-width))',
103
+ },
104
+ '.min-w-inner': {
105
+ 'min-width': 'calc(100vw - var(--actions-bar-width) - var(--nav-bar-width) - var(--inner-margin) - var(--inner-margin) - var(--scroll-bar-width))',
106
+ },
107
+ '.left-inner': {
108
+ 'left': 'calc(var(--nav-bar-width) + var(--inner-margin))',
109
+ },
110
+ '.right-inner': {
111
+ 'right': 'calc(var(--actions-bar-width) + var(--inner-margin))',
112
+ },
113
+ })
114
+
94
115
  addVariant('supports-backdrop', '@supports ((-webkit-backdrop-filter: none) or (backdrop-filter: none))')
95
116
  addVariant('supports-overlay', '@supports (overflow: overlay)')
96
117
  addVariant('supports-overlay-not', '@supports (not (overflow: overlay))')
97
118
  addVariant('touch', '.touch &')
98
119
  addVariant('touch-not', '.touch-not &')
99
120
  addVariant('focus-within-not', '&:not(:focus-within)')
121
+ addVariant('resizer', '&::-webkit-resizer')
100
122
 
101
123
  addBase({
102
124
  '.w-input': {
@@ -266,7 +288,7 @@ module.exports = plugin(function ({matchUtilities, addVariant, addUtilities, add
266
288
 
267
289
  addUtilities({
268
290
  '.w-ripple': {
269
- '&::before': {
291
+ '&::before, &-has-only::before': {
270
292
  'content': '""',
271
293
  'position': 'absolute',
272
294
  'top': '0',
@@ -294,11 +316,23 @@ module.exports = plugin(function ({matchUtilities, addVariant, addUtilities, add
294
316
  },
295
317
  },
296
318
 
319
+ '.w-ripple-trigger-has:has(.w-ripple-has:active)': {
320
+ '.w-ripple-has-only::before, &.w-ripple-has-only::before': {
321
+ 'opacity': 'calc(var(--w-ripple-opacity, 0.10) * 2)',
322
+ },
323
+ },
324
+
297
325
  '.w-ripple-hover:not(:active):hover, .w-ripple-trigger:not(:active):hover .w-ripple-hover, .w-ripple-hover:not(:active):focus, .w-ripple-trigger:not(:active):focus .w-ripple-hover': {
298
326
  '& .w-ripple:not(:active)::before, &.w-ripple::before': {
299
327
  'opacity': 'var(--w-ripple-opacity, 0.10)',
300
328
  },
301
329
  },
330
+
331
+ '.w-ripple-trigger-has:has(.w-ripple-has:not(:active):hover) .w-ripple-hover, .w-ripple-trigger-has:has(.w-ripple-has:not(:active):focus) .w-ripple-hover': {
332
+ '& .w-ripple-has-only:not(:active)::before, &.w-ripple-has-only::before': {
333
+ 'opacity': 'var(--w-ripple-opacity, 0.10)',
334
+ },
335
+ },
302
336
  })
303
337
 
304
338
  addUtilities({
@@ -386,39 +420,6 @@ module.exports = plugin(function ({matchUtilities, addVariant, addUtilities, add
386
420
  'padding-right': '0.75rem',
387
421
  },
388
422
 
389
- '.w-list-row-item, .w-list-header-item': {
390
- 'padding-right': '1.5rem',
391
- '&:first-child, &.first-item': {
392
- 'padding-left': '1rem',
393
- },
394
- '&:last-child': {
395
- 'padding-right': '1rem',
396
- },
397
- },
398
-
399
- '.w-list-header-item': {
400
- 'height': '3rem',
401
- 'border-top-width': '1px',
402
- 'border-bottom-width': '1px',
403
- 'border-style': 'solid',
404
- 'background-color': theme('colors.primary.light'),
405
- 'border-color': theme('colors.gray.300'),
406
- '.dark &': {
407
- 'background-color': theme('colors.primary.darkest'),
408
- 'border-color': theme('colors.gray.700'),
409
- },
410
- '&:first-child': {
411
- 'border-left-width': '1px',
412
- 'border-top-left-radius': '1rem',
413
- 'border-bottom-left-radius': '1rem',
414
- },
415
- '&:last-child': {
416
- 'border-right-width': '1px',
417
- 'border-top-right-radius': '1rem',
418
- 'border-bottom-right-radius': '1rem',
419
- },
420
- },
421
-
422
423
  '.w-skeleton': {
423
424
  'position': 'relative',
424
425
  'width': 'var(--skeleton-width,70%)',