@volverjs/ui-vue 0.0.10-beta.5 → 0.0.10-beta.7
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/Volver.d.ts +1 -0
- package/dist/components/VvAccordion/VvAccordion.vue.d.ts +4 -4
- package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +4 -4
- package/dist/components/VvAction/VvAction.vue.d.ts +4 -4
- package/dist/components/VvAlert/VvAlert.vue.d.ts +4 -4
- package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +4 -4
- package/dist/components/VvButton/VvButton.vue.d.ts +15 -9
- package/dist/components/VvButton/index.d.ts +2 -2
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +4 -4
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +5 -5
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +4 -4
- package/dist/components/VvCheckboxGroup/index.d.ts +1 -1
- package/dist/components/VvCombobox/VvCombobox.es.js +9 -5
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +14 -14
- package/dist/components/VvCombobox/index.d.ts +11 -6
- package/dist/components/VvDialog/VvDialog.vue.d.ts +4 -4
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +19 -5
- package/dist/components/VvDropdown/index.d.ts +1 -1
- package/dist/components/VvInputText/VvInputText.vue.d.ts +6 -6
- package/dist/components/VvNav/VvNav.vue.d.ts +7 -7
- package/dist/components/VvNav/index.d.ts +1 -1
- package/dist/components/VvRadio/VvRadio.vue.d.ts +5 -5
- package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +4 -4
- package/dist/components/VvRadioGroup/index.d.ts +1 -1
- package/dist/components/VvSelect/VvSelect.vue.d.ts +8 -8
- package/dist/components/VvSelect/index.d.ts +1 -1
- package/dist/components/VvTab/VvTab.vue.d.ts +4 -4
- package/dist/components/VvTextarea/VvTextarea.es.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +7 -7
- package/dist/components/VvTooltip/VvTooltip.vue.d.ts +3 -3
- package/dist/components/VvTooltip/index.d.ts +1 -1
- package/dist/components/index.es.js +10 -6
- package/dist/components/index.umd.js +1 -1
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/props/index.d.ts +1 -1
- package/dist/stories/AccordionGroup/AccordionGroup.stories.d.ts +45 -10
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +301 -52
- package/dist/stories/Combobox/Combobox.settings.d.ts +8 -0
- package/dist/stories/Tab/Tab.settings.d.ts +2 -15
- package/dist/types/generic.d.ts +1 -2
- package/dist/types/index.d.ts +5 -0
- package/package.json +28 -28
- package/src/Volver.ts +1 -0
- package/src/assets/icons/detailed.json +1 -1
- package/src/assets/icons/normal.json +1 -1
- package/src/assets/icons/simple.json +1 -1
- package/src/components/VvCombobox/VvCombobox.vue +8 -4
- package/src/components/VvCombobox/index.ts +4 -0
- package/src/components/VvTextarea/VvTextarea.vue +1 -1
- package/src/stories/Combobox/Combobox.settings.ts +8 -0
- package/src/stories/Tab/Tab.settings.ts +2 -2
- package/src/types/generic.ts +2 -3
- package/src/types/index.ts +5 -0
|
@@ -87,9 +87,13 @@
|
|
|
87
87
|
searchText,
|
|
88
88
|
computed(() => Number(props.debounceSearch)),
|
|
89
89
|
)
|
|
90
|
-
watch(debouncedSearchText, () =>
|
|
91
|
-
emit('
|
|
92
|
-
|
|
90
|
+
watch(debouncedSearchText, () => {
|
|
91
|
+
emit('update:search', debouncedSearchText.value)
|
|
92
|
+
/**
|
|
93
|
+
* @deprecated change:search should not be used, use update:search instead
|
|
94
|
+
*/
|
|
95
|
+
emit('change:search', debouncedSearchText.value)
|
|
96
|
+
})
|
|
93
97
|
|
|
94
98
|
// expanded
|
|
95
99
|
const expanded = ref(false)
|
|
@@ -173,7 +177,7 @@
|
|
|
173
177
|
valid: valid.value,
|
|
174
178
|
invalid: invalid.value,
|
|
175
179
|
dirty: isDirty.value,
|
|
176
|
-
focus: focused.value,
|
|
180
|
+
focus: focused.value || focusedWithin.value || expanded.value,
|
|
177
181
|
floating: floating.value,
|
|
178
182
|
badges: props.badges,
|
|
179
183
|
})),
|
|
@@ -20,6 +20,10 @@ import type { Option } from '../../types/generic'
|
|
|
20
20
|
|
|
21
21
|
export const VvComboboxEvents = [
|
|
22
22
|
'update:modelValue',
|
|
23
|
+
'update:search',
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated change:search should not be used, use update:search instead
|
|
26
|
+
*/
|
|
23
27
|
'change:search',
|
|
24
28
|
'focus',
|
|
25
29
|
'blur',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Meta } from '@storybook/vue3'
|
|
1
|
+
import type { ArgTypes, Meta } from '@storybook/vue3'
|
|
2
2
|
import type { VvTab } from '@/components'
|
|
3
3
|
import { VvTabProps } from '@/components/VvTab'
|
|
4
4
|
|
|
@@ -25,7 +25,7 @@ export const defaultArgs: Meta<typeof VvTab>['args'] = {
|
|
|
25
25
|
],
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
export const defaultArgTypes = {
|
|
28
|
+
export const defaultArgTypes: ArgTypes = {
|
|
29
29
|
tabId: {
|
|
30
30
|
description: 'Slot by tab-id',
|
|
31
31
|
control: {
|
package/src/types/generic.ts
CHANGED