@maggioli-design-system/magma-react 1.11.8 → 1.12.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/components.js +3 -4
- package/dist/types/components.d.ts +7 -4
- package/package.json +2 -2
package/dist/components.js
CHANGED
|
@@ -265,6 +265,8 @@ export const MdsCalendar = /*@__PURE__*/ createComponent({
|
|
|
265
265
|
react: React,
|
|
266
266
|
events: {
|
|
267
267
|
onMdsCalendarChange: 'mdsCalendarChange',
|
|
268
|
+
onMdsCalendarNavigate: 'mdsCalendarNavigate',
|
|
269
|
+
onMdsCalendarHover: 'mdsCalendarHover',
|
|
268
270
|
onMdsCalendarPreselect: 'mdsCalendarPreselect'
|
|
269
271
|
},
|
|
270
272
|
defineCustomElement: defineMdsCalendar
|
|
@@ -493,10 +495,7 @@ export const MdsInputDateRange = /*@__PURE__*/ createComponent({
|
|
|
493
495
|
elementClass: MdsInputDateRangeElement,
|
|
494
496
|
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
495
497
|
react: React,
|
|
496
|
-
events: {
|
|
497
|
-
onMdsInputDateRangeSelect: 'mdsInputDateRangeSelect',
|
|
498
|
-
onMdsInputDateRangeValueChange: 'mdsInputDateRangeValueChange'
|
|
499
|
-
},
|
|
498
|
+
events: { onMdsInputDateRangeValueChange: 'mdsInputDateRangeValueChange' },
|
|
500
499
|
defineCustomElement: defineMdsInputDateRange
|
|
501
500
|
});
|
|
502
501
|
export const MdsInputDateRangePreselection = /*@__PURE__*/ createComponent({
|
|
@@ -174,6 +174,13 @@ export type MdsCalendarEvents = {
|
|
|
174
174
|
startDate: string;
|
|
175
175
|
endDate?: string;
|
|
176
176
|
}>>;
|
|
177
|
+
onMdsCalendarNavigate: EventName<CustomEvent<{
|
|
178
|
+
currentDate: string;
|
|
179
|
+
delta: number;
|
|
180
|
+
}>>;
|
|
181
|
+
onMdsCalendarHover: EventName<CustomEvent<{
|
|
182
|
+
hoverDate: string | null;
|
|
183
|
+
}>>;
|
|
177
184
|
onMdsCalendarPreselect: EventName<CustomEvent<void>>;
|
|
178
185
|
};
|
|
179
186
|
export declare const MdsCalendar: StencilReactComponent<MdsCalendarElement, MdsCalendarEvents>;
|
|
@@ -263,10 +270,6 @@ export type MdsInputDateEvents = {
|
|
|
263
270
|
};
|
|
264
271
|
export declare const MdsInputDate: StencilReactComponent<MdsInputDateElement, MdsInputDateEvents>;
|
|
265
272
|
export type MdsInputDateRangeEvents = {
|
|
266
|
-
onMdsInputDateRangeSelect: EventName<CustomEvent<{
|
|
267
|
-
startDate: string;
|
|
268
|
-
endDate: string;
|
|
269
|
-
}>>;
|
|
270
273
|
onMdsInputDateRangeValueChange: EventName<CustomEvent<{
|
|
271
274
|
startDate: string;
|
|
272
275
|
endDate: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maggioli-design-system/magma-react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"main": "dist/components.js",
|
|
5
5
|
"module": "dist/components.js",
|
|
6
6
|
"types": "dist/types/components.d.ts",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"access": "public"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@maggioli-design-system/magma": "1.
|
|
18
|
+
"@maggioli-design-system/magma": "1.12.0",
|
|
19
19
|
"@stencil/react-output-target": "1.0.2"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|