@designsystem-se/af-react 35.2.0 → 35.2.1-beta.1

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/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@designsystem-se/af-react",
3
3
  "author": "Arbetsförmedlingen",
4
- "version": "35.2.0",
4
+ "version": "35.2.1-beta.1",
5
5
  "description": "React Components for Digi Designsystem",
6
6
  "license": "Apache-2.0",
7
7
  "sideEffect": false,
8
8
  "peerDependencies": {
9
- "@designsystem-se/af": "35.2.0",
9
+ "@designsystem-se/af": "35.2.1-beta.1",
10
10
  "react": "^19.0.0 || ^18.0.0 || ^17.0.0",
11
11
  "react-dom": "^19.0.0 || ^18.0.0 || ^17.0.0"
12
12
  },
@@ -307,7 +307,11 @@ export type DigiCalendarEvents = {
307
307
  };
308
308
  export declare const DigiCalendar: StencilReactComponent<DigiCalendarElement, DigiCalendarEvents>;
309
309
  export type DigiCalendarDatepickerEvents = {
310
- onAfOnDateChange: EventName<DigiCalendarDatepickerCustomEvent<Date[] | string[] | []>>;
310
+ onAfOnDateChange: EventName<DigiCalendarDatepickerCustomEvent<Date[]>>;
311
+ onAfOnDisplayChange: EventName<CustomEvent<string>>;
312
+ onAfOnValidationChange: EventName<CustomEvent<{
313
+ valid: boolean;
314
+ }>>;
311
315
  };
312
316
  export declare const DigiCalendarDatepicker: StencilReactComponent<DigiCalendarDatepickerElement, DigiCalendarDatepickerEvents>;
313
317
  export type DigiCalendarWeekViewEvents = {
@@ -338,7 +338,11 @@ export const DigiCalendarDatepicker = /*@__PURE__*/ createComponent({
338
338
  elementClass: DigiCalendarDatepickerElement,
339
339
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
340
340
  react: React,
341
- events: { onAfOnDateChange: 'afOnDateChange' },
341
+ events: {
342
+ onAfOnDateChange: 'afOnDateChange',
343
+ onAfOnDisplayChange: 'afOnDisplayChange',
344
+ onAfOnValidationChange: 'afOnValidationChange'
345
+ },
342
346
  defineCustomElement: defineDigiCalendarDatepicker
343
347
  });
344
348
  export const DigiCalendarWeekView = /*@__PURE__*/ createComponent({