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.
- package/dist/types/types/$waveui.d.ts +15 -1
- package/dist/types/types/colors.d.ts +2 -0
- package/dist/types/types/components/WAccordion.d.ts +92 -6
- package/dist/types/types/components/WAutocomplete.d.ts +437 -0
- package/dist/types/types/components/WCheckbox.d.ts +34 -0
- package/dist/types/types/components/WCheckboxes.d.ts +30 -0
- package/dist/types/types/components/WInput.d.ts +34 -0
- package/dist/types/types/components/WMenu.d.ts +12 -6
- package/dist/types/types/components/WRadio.d.ts +34 -0
- package/dist/types/types/components/WRadios.d.ts +30 -0
- package/dist/types/types/components/WSelect.d.ts +34 -0
- package/dist/types/types/components/WSwitch.d.ts +34 -0
- package/dist/types/types/components/WTable.d.ts +7 -0
- package/dist/types/types/components/WTooltip.d.ts +20 -7
- package/dist/types/types/components/WTransitions.d.ts +104 -0
- package/dist/types/types/components/WTransitions.js +2 -0
- package/dist/types/types/components/WTree.d.ts +7 -0
- package/dist/types/types/components/index.d.ts +2 -1
- package/dist/wave-ui.cjs.js +3 -3
- package/dist/wave-ui.css +1 -1
- package/dist/wave-ui.esm.js +1711 -1338
- package/dist/wave-ui.umd.js +3 -3
- package/package.json +1 -1
- package/src/wave-ui/components/index.js +0 -1
- package/src/wave-ui/components/transitions/w-transition-bounce.vue +2 -1
- package/src/wave-ui/components/transitions/w-transition-expand.vue +3 -2
- package/src/wave-ui/components/transitions/w-transition-fade.vue +2 -1
- package/src/wave-ui/components/transitions/w-transition-scale-fade.vue +2 -1
- package/src/wave-ui/components/transitions/w-transition-scale.vue +2 -1
- package/src/wave-ui/components/transitions/w-transition-slide-fade.vue +2 -1
- package/src/wave-ui/components/transitions/w-transition-slide.vue +2 -1
- package/src/wave-ui/components/transitions/w-transition-twist.vue +2 -1
- package/src/wave-ui/components/w-accordion/index.vue +10 -5
- package/src/wave-ui/components/w-accordion/item.vue +29 -14
- package/src/wave-ui/components/w-alert.vue +27 -29
- package/src/wave-ui/components/w-autocomplete.vue +626 -192
- package/src/wave-ui/components/w-badge.vue +54 -53
- package/src/wave-ui/components/w-breadcrumbs.vue +7 -9
- package/src/wave-ui/components/w-button/button.vue +21 -23
- package/src/wave-ui/components/w-button/index.vue +4 -4
- package/src/wave-ui/components/w-card.vue +8 -7
- package/src/wave-ui/components/w-checkbox.vue +31 -11
- package/src/wave-ui/components/w-checkboxes.vue +21 -3
- package/src/wave-ui/components/w-confirm.vue +22 -22
- package/src/wave-ui/components/w-dialog.vue +1 -1
- package/src/wave-ui/components/w-divider.vue +5 -5
- package/src/wave-ui/components/w-drawer.vue +3 -3
- package/src/wave-ui/components/w-form-element.vue +2 -2
- package/src/wave-ui/components/w-icon.vue +12 -14
- package/src/wave-ui/components/w-image.vue +1 -1
- package/src/wave-ui/components/w-input.vue +43 -25
- package/src/wave-ui/components/w-list.vue +11 -12
- package/src/wave-ui/components/w-menu.vue +57 -55
- package/src/wave-ui/components/w-notification.vue +4 -4
- package/src/wave-ui/components/w-progress.vue +6 -7
- package/src/wave-ui/components/w-radio.vue +32 -7
- package/src/wave-ui/components/w-radios.vue +28 -3
- package/src/wave-ui/components/w-rating.vue +7 -9
- package/src/wave-ui/components/w-scrollable.vue +4 -4
- package/src/wave-ui/components/w-select.vue +119 -101
- package/src/wave-ui/components/w-slider.vue +26 -26
- package/src/wave-ui/components/w-spinner.vue +5 -7
- package/src/wave-ui/components/w-switch.vue +71 -47
- package/src/wave-ui/components/w-table.vue +69 -36
- package/src/wave-ui/components/w-tabs/index.vue +21 -24
- package/src/wave-ui/components/w-tag.vue +35 -38
- package/src/wave-ui/components/w-textarea.vue +22 -22
- package/src/wave-ui/components/w-timeline.vue +6 -6
- package/src/wave-ui/components/w-toolbar.vue +8 -8
- package/src/wave-ui/components/w-tooltip.vue +30 -25
- package/src/wave-ui/components/w-tree.vue +35 -16
- package/src/wave-ui/core.js +9 -1
- package/src/wave-ui/mixins/detachable.js +98 -43
- package/src/wave-ui/mixins/ripple.js +2 -2
- package/src/wave-ui/scss/_base.scss +82 -17
- package/src/wave-ui/scss/_colors.scss +6 -75
- package/src/wave-ui/scss/_layout.scss +39 -47
- package/src/wave-ui/scss/_ripple.scss +2 -2
- package/src/wave-ui/scss/_transitions.scss +19 -19
- package/src/wave-ui/scss/_typography.scss +8 -9
- package/src/wave-ui/scss/variables/_mixins.scss +24 -25
- package/src/wave-ui/scss/variables/_variables.scss +4 -149
- package/src/wave-ui/utils/colors.js +7 -4
- package/src/wave-ui/utils/config.js +3 -4
- package/src/wave-ui/utils/dynamic-css.js +42 -20
- package/src/wave-ui/utils/ripple.js +3 -2
- package/dist/types/types/components/WApp.d.ts +0 -83
- package/src/wave-ui/components/w-app.vue +0 -24
- /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>
|
|
File without changes
|