wave-ui 3.28.0 → 4.0.0

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 (89) hide show
  1. package/dist/types/types/$waveui.d.ts +15 -1
  2. package/dist/types/types/colors.d.ts +2 -0
  3. package/dist/types/types/components/WAccordion.d.ts +92 -6
  4. package/dist/types/types/components/WAutocomplete.d.ts +437 -0
  5. package/dist/types/types/components/WCheckbox.d.ts +34 -0
  6. package/dist/types/types/components/WCheckboxes.d.ts +30 -0
  7. package/dist/types/types/components/WInput.d.ts +34 -0
  8. package/dist/types/types/components/WMenu.d.ts +12 -6
  9. package/dist/types/types/components/WRadio.d.ts +34 -0
  10. package/dist/types/types/components/WRadios.d.ts +30 -0
  11. package/dist/types/types/components/WSelect.d.ts +34 -0
  12. package/dist/types/types/components/WSwitch.d.ts +34 -0
  13. package/dist/types/types/components/WTable.d.ts +7 -0
  14. package/dist/types/types/components/WTooltip.d.ts +20 -7
  15. package/dist/types/types/components/WTransitions.d.ts +104 -0
  16. package/dist/types/types/components/WTransitions.js +2 -0
  17. package/dist/types/types/components/WTree.d.ts +7 -0
  18. package/dist/types/types/components/index.d.ts +2 -1
  19. package/dist/wave-ui.cjs.js +3 -3
  20. package/dist/wave-ui.css +1 -1
  21. package/dist/wave-ui.esm.js +1711 -1338
  22. package/dist/wave-ui.umd.js +3 -3
  23. package/package.json +1 -1
  24. package/src/wave-ui/components/index.js +0 -1
  25. package/src/wave-ui/components/transitions/w-transition-bounce.vue +2 -1
  26. package/src/wave-ui/components/transitions/w-transition-expand.vue +3 -2
  27. package/src/wave-ui/components/transitions/w-transition-fade.vue +2 -1
  28. package/src/wave-ui/components/transitions/w-transition-scale-fade.vue +2 -1
  29. package/src/wave-ui/components/transitions/w-transition-scale.vue +2 -1
  30. package/src/wave-ui/components/transitions/w-transition-slide-fade.vue +2 -1
  31. package/src/wave-ui/components/transitions/w-transition-slide.vue +2 -1
  32. package/src/wave-ui/components/transitions/w-transition-twist.vue +2 -1
  33. package/src/wave-ui/components/w-accordion/index.vue +10 -5
  34. package/src/wave-ui/components/w-accordion/item.vue +29 -14
  35. package/src/wave-ui/components/w-alert.vue +27 -29
  36. package/src/wave-ui/components/w-autocomplete.vue +626 -192
  37. package/src/wave-ui/components/w-badge.vue +54 -53
  38. package/src/wave-ui/components/w-breadcrumbs.vue +7 -9
  39. package/src/wave-ui/components/w-button/button.vue +21 -23
  40. package/src/wave-ui/components/w-button/index.vue +4 -4
  41. package/src/wave-ui/components/w-card.vue +8 -7
  42. package/src/wave-ui/components/w-checkbox.vue +31 -11
  43. package/src/wave-ui/components/w-checkboxes.vue +21 -3
  44. package/src/wave-ui/components/w-confirm.vue +22 -22
  45. package/src/wave-ui/components/w-dialog.vue +1 -1
  46. package/src/wave-ui/components/w-divider.vue +5 -5
  47. package/src/wave-ui/components/w-drawer.vue +3 -3
  48. package/src/wave-ui/components/w-form-element.vue +2 -2
  49. package/src/wave-ui/components/w-icon.vue +12 -14
  50. package/src/wave-ui/components/w-image.vue +1 -1
  51. package/src/wave-ui/components/w-input.vue +43 -25
  52. package/src/wave-ui/components/w-list.vue +11 -12
  53. package/src/wave-ui/components/w-menu.vue +57 -55
  54. package/src/wave-ui/components/w-notification.vue +4 -4
  55. package/src/wave-ui/components/w-progress.vue +6 -7
  56. package/src/wave-ui/components/w-radio.vue +32 -7
  57. package/src/wave-ui/components/w-radios.vue +28 -3
  58. package/src/wave-ui/components/w-rating.vue +7 -9
  59. package/src/wave-ui/components/w-scrollable.vue +4 -4
  60. package/src/wave-ui/components/w-select.vue +119 -101
  61. package/src/wave-ui/components/w-slider.vue +26 -26
  62. package/src/wave-ui/components/w-spinner.vue +5 -7
  63. package/src/wave-ui/components/w-switch.vue +71 -47
  64. package/src/wave-ui/components/w-table.vue +69 -36
  65. package/src/wave-ui/components/w-tabs/index.vue +21 -24
  66. package/src/wave-ui/components/w-tag.vue +35 -38
  67. package/src/wave-ui/components/w-textarea.vue +22 -22
  68. package/src/wave-ui/components/w-timeline.vue +6 -6
  69. package/src/wave-ui/components/w-toolbar.vue +8 -8
  70. package/src/wave-ui/components/w-tooltip.vue +30 -25
  71. package/src/wave-ui/components/w-tree.vue +35 -16
  72. package/src/wave-ui/core.js +9 -1
  73. package/src/wave-ui/mixins/detachable.js +98 -43
  74. package/src/wave-ui/mixins/ripple.js +2 -2
  75. package/src/wave-ui/scss/_base.scss +82 -17
  76. package/src/wave-ui/scss/_colors.scss +6 -75
  77. package/src/wave-ui/scss/_layout.scss +39 -47
  78. package/src/wave-ui/scss/_ripple.scss +2 -2
  79. package/src/wave-ui/scss/_transitions.scss +19 -19
  80. package/src/wave-ui/scss/_typography.scss +8 -9
  81. package/src/wave-ui/scss/variables/_mixins.scss +24 -25
  82. package/src/wave-ui/scss/variables/_variables.scss +4 -149
  83. package/src/wave-ui/utils/colors.js +7 -4
  84. package/src/wave-ui/utils/config.js +3 -4
  85. package/src/wave-ui/utils/dynamic-css.js +42 -20
  86. package/src/wave-ui/utils/ripple.js +3 -2
  87. package/dist/types/types/components/WApp.d.ts +0 -83
  88. package/src/wave-ui/components/w-app.vue +0 -24
  89. /package/dist/types/types/components/{WApp.js → WAutocomplete.js} +0 -0
@@ -1,83 +0,0 @@
1
- import { type ComputedOptions, type DefineComponent, type EmitsOptions, type ExtractDefaultPropTypes, type MethodOptions, type SlotsType } from 'vue';
2
- import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
- export interface WaveAppProps {
4
- /**
5
- * Sets the layout to `display: block`. By default the layout is: `display: flex`, `flex-direction: column`.
6
- * @property {boolean} block
7
- * @see https://antoniandre.github.io/wave-ui/w-app
8
- */
9
- block?: boolean;
10
- /**
11
- * Sets the layout to display in a row when using the default flex layout (column by default).
12
- * @property {boolean} row
13
- * @see https://antoniandre.github.io/wave-ui/w-app
14
- */
15
- row?: boolean;
16
- /**
17
- * Applies the CSS property: `align-items: center;`.
18
- * @property {boolean} alignCenter
19
- * @see https://antoniandre.github.io/wave-ui/w-app
20
- */
21
- alignCenter?: boolean;
22
- /**
23
- * Applies the CSS property: `align-items: flex-end;`.
24
- * @property {boolean} alignEnd
25
- * @see https://antoniandre.github.io/wave-ui/w-app
26
- */
27
- alignEnd?: boolean;
28
- /**
29
- * Applies the CSS property: `justify-content: center;`.
30
- * @property {boolean} justifyCenter
31
- * @see https://antoniandre.github.io/wave-ui/w-app
32
- */
33
- justifyCenter?: boolean;
34
- /**
35
- * Applies the CSS property: `justify-content: end;`.
36
- * @property {boolean} justifyEnd
37
- * @see https://antoniandre.github.io/wave-ui/w-app
38
- */
39
- justifyEnd?: boolean;
40
- /**
41
- * Applies the CSS property: `justify-content: space-between;`.
42
- * @property {boolean} justifySpaceBetween
43
- * @see https://antoniandre.github.io/wave-ui/w-app
44
- */
45
- justifySpaceBetween?: boolean;
46
- /**
47
- * Applies the CSS property: `justify-content: space-around;`.
48
- * @property {boolean} justifySpaceAround
49
- * @see https://antoniandre.github.io/wave-ui/w-app
50
- */
51
- justifySpaceAround?: boolean;
52
- /**
53
- * Applies the CSS property: `justify-content: space-evenly;`.
54
- * @property {boolean} justifySpaceEvenly
55
- * @see https://antoniandre.github.io/wave-ui/w-app
56
- */
57
- justifySpaceEvenly?: boolean;
58
- /**
59
- * Applies the CSS property: `text-align: center;`.
60
- * @property {boolean} textCenter
61
- * @see https://antoniandre.github.io/wave-ui/w-app
62
- */
63
- textCenter?: boolean;
64
- /**
65
- * Applies the CSS property: `text-align: right;`.
66
- * @property {boolean} textRight
67
- * @see https://antoniandre.github.io/wave-ui/w-app
68
- */
69
- textRight?: boolean;
70
- }
71
- export type WaveAppEmits = {};
72
- export interface WaveAppComputeds extends ComputedOptions {
73
- }
74
- export interface WaveAppMethods extends MethodOptions {
75
- }
76
- export type WaveAppSlots = SlotsType<{
77
- /**
78
- * The content of the app.
79
- * @see https://antoniandre.github.io/wave-ui/w-app
80
- */
81
- 'default': () => any;
82
- }>;
83
- export type WApp = DefineComponent<WaveAppProps, {}, {}, WaveAppComputeds, WaveAppMethods, {}, {}, WaveAppEmits & EmitsOptions, string, PublicProps, ResolveProps<WaveAppProps & WaveAppEmits, EmitsOptions>, ExtractDefaultPropTypes<WaveAppProps>, WaveAppSlots>;
@@ -1,24 +0,0 @@
1
- <template lang="pug">
2
- .w-app
3
- slot
4
- </template>
5
-
6
- <script>
7
- export default {
8
- name: 'w-app',
9
- // Keep the props for the API documentation.
10
- props: {
11
- block: { type: Boolean },
12
- row: { type: Boolean },
13
- alignCenter: { type: Boolean },
14
- alignEnd: { type: Boolean },
15
- justifyCenter: { type: Boolean },
16
- justifyEnd: { type: Boolean },
17
- justifySpaceBetween: { type: Boolean },
18
- justifySpaceAround: { type: Boolean },
19
- justifySpaceEvenly: { type: Boolean },
20
- textCenter: { type: Boolean },
21
- textRight: { type: Boolean }
22
- }
23
- }
24
- </script>