diff --git a/api-generator/components/colorpicker.js b/api-generator/components/colorpicker.js index d28d87a9b..31a4a5f40 100644 --- a/api-generator/components/colorpicker.js +++ b/api-generator/components/colorpicker.js @@ -67,10 +67,38 @@ const ColorPickerProps = [ } ]; +const ColorPickerEvents = [ + { + name: "change", + description: "Callback to invoke when a color is selected.", + arguments: [ + { + name: "event.originalEvent", + type: "object", + description: "Original event" + }, + { + name: "event.value", + type: "any", + description: "Selected color" + } + ] + }, + { + name: "show", + description: "Callback to invoke when popup is shown." + }, + { + name: "hide", + description: "Callback to invoke when popup is hidden." + } +]; + module.exports = { colorpicker: { name: "ColorPicker", description: "ColorPicker is an input component to select a color.", - props: ColorPickerProps + props: ColorPickerProps, + events: ColorPickerEvents } }; diff --git a/api-generator/components/selectbutton.js b/api-generator/components/selectbutton.js index 4cf18d16c..9ce34fdf0 100644 --- a/api-generator/components/selectbutton.js +++ b/api-generator/components/selectbutton.js @@ -56,6 +56,22 @@ const SelectButtonProps = [ ]; const SelectButtonEvents = [ + { + name: "change", + description: "Callback to invoke on value change.", + arguments: [ + { + name: "event.originalEvent", + type: "object", + description: "Browser event" + }, + { + name: "event.value", + type: "any", + description: "Single value or an array of values that are selected." + } + ] + }, { name: "focus", description: "Callback to invoke on focus.", diff --git a/src/components/calendar/Calendar.d.ts b/src/components/calendar/Calendar.d.ts index 202469637..1d38fa6d7 100755 --- a/src/components/calendar/Calendar.d.ts +++ b/src/components/calendar/Calendar.d.ts @@ -10,6 +10,7 @@ interface CalendarProps { showIcon?: boolean; icon?: string; numberOfMonths?: number; + responsiveOptions?: any[]; view?: string; touchUI?: boolean; monthNavigator?: boolean; diff --git a/src/components/calendar/Calendar.vue b/src/components/calendar/Calendar.vue index 5ffb617a6..c634e147d 100755 --- a/src/components/calendar/Calendar.vue +++ b/src/components/calendar/Calendar.vue @@ -11,14 +11,14 @@
-
- - @@ -27,7 +27,7 @@
- @@ -142,7 +142,7 @@