@designsystem-se/af-react 34.0.4-beta.1 → 34.0.4-beta.3
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": "34.0.4-beta.
|
|
4
|
+
"version": "34.0.4-beta.3",
|
|
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": "34.0.4-beta.
|
|
9
|
+
"@designsystem-se/af": "34.0.4-beta.3",
|
|
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
|
},
|
|
@@ -10,6 +10,7 @@ import { DigiButton as DigiButtonElement } from "@designsystem-se/af/components/
|
|
|
10
10
|
import { DigiCalendarDatepicker as DigiCalendarDatepickerElement } from "@designsystem-se/af/components/digi-calendar-datepicker.js";
|
|
11
11
|
import { DigiCalendarWeekView as DigiCalendarWeekViewElement } from "@designsystem-se/af/components/digi-calendar-week-view.js";
|
|
12
12
|
import { DigiCalendar as DigiCalendarElement } from "@designsystem-se/af/components/digi-calendar.js";
|
|
13
|
+
import { DigiCard as DigiCardElement } from "@designsystem-se/af/components/digi-card.js";
|
|
13
14
|
import { DigiChartLine as DigiChartLineElement } from "@designsystem-se/af/components/digi-chart-line.js";
|
|
14
15
|
import { DigiCodeBlock as DigiCodeBlockElement } from "@designsystem-se/af/components/digi-code-block.js";
|
|
15
16
|
import { DigiCodeExample as DigiCodeExampleElement } from "@designsystem-se/af/components/digi-code-example.js";
|
|
@@ -233,6 +234,7 @@ import { DigiIconXButtonOutline as DigiIconXButtonOutlineElement } from "@design
|
|
|
233
234
|
import { DigiIconXButton as DigiIconXButtonElement } from "@designsystem-se/af/components/digi-icon-x-button.js";
|
|
234
235
|
import { DigiIconX as DigiIconXElement } from "@designsystem-se/af/components/digi-icon-x.js";
|
|
235
236
|
import { DigiIconYoutube as DigiIconYoutubeElement } from "@designsystem-se/af/components/digi-icon-youtube.js";
|
|
237
|
+
import { DigiIcon as DigiIconElement } from "@designsystem-se/af/components/digi-icon.js";
|
|
236
238
|
import { DigiInfoCardMultiContainer as DigiInfoCardMultiContainerElement } from "@designsystem-se/af/components/digi-info-card-multi-container.js";
|
|
237
239
|
import { DigiInfoCardMulti as DigiInfoCardMultiElement } from "@designsystem-se/af/components/digi-info-card-multi.js";
|
|
238
240
|
import { DigiInfoCard as DigiInfoCardElement } from "@designsystem-se/af/components/digi-info-card.js";
|
|
@@ -251,6 +253,8 @@ import { DigiLogo as DigiLogoElement } from "@designsystem-se/af/components/digi
|
|
|
251
253
|
import { DigiMediaFigure as DigiMediaFigureElement } from "@designsystem-se/af/components/digi-media-figure.js";
|
|
252
254
|
import { DigiMediaImage as DigiMediaImageElement } from "@designsystem-se/af/components/digi-media-image.js";
|
|
253
255
|
import { DigiNavigationBreadcrumbs as DigiNavigationBreadcrumbsElement } from "@designsystem-se/af/components/digi-navigation-breadcrumbs.js";
|
|
256
|
+
import { DigiNavigationContextMenuItem as DigiNavigationContextMenuItemElement } from "@designsystem-se/af/components/digi-navigation-context-menu-item.js";
|
|
257
|
+
import { DigiNavigationContextMenu as DigiNavigationContextMenuElement } from "@designsystem-se/af/components/digi-navigation-context-menu.js";
|
|
254
258
|
import { DigiNavigationPagination as DigiNavigationPaginationElement } from "@designsystem-se/af/components/digi-navigation-pagination.js";
|
|
255
259
|
import { DigiNavigationSidebarButton as DigiNavigationSidebarButtonElement } from "@designsystem-se/af/components/digi-navigation-sidebar-button.js";
|
|
256
260
|
import { DigiNavigationSidebar as DigiNavigationSidebarElement } from "@designsystem-se/af/components/digi-navigation-sidebar.js";
|
|
@@ -272,7 +276,7 @@ import { DigiTag as DigiTagElement } from "@designsystem-se/af/components/digi-t
|
|
|
272
276
|
import { DigiToolsFeedbackBanner as DigiToolsFeedbackBannerElement } from "@designsystem-se/af/components/digi-tools-feedback-banner.js";
|
|
273
277
|
import { DigiToolsFeedbackRating as DigiToolsFeedbackRatingElement } from "@designsystem-se/af/components/digi-tools-feedback-rating.js";
|
|
274
278
|
import { DigiToolsFeedback as DigiToolsFeedbackElement } from "@designsystem-se/af/components/digi-tools-feedback.js";
|
|
275
|
-
import {
|
|
279
|
+
import { DigiToolsLanguagepicker as DigiToolsLanguagepickerElement } from "@designsystem-se/af/components/digi-tools-languagepicker.js";
|
|
276
280
|
import { DigiTypographyHeadingJumbo as DigiTypographyHeadingJumboElement } from "@designsystem-se/af/components/digi-typography-heading-jumbo.js";
|
|
277
281
|
import { DigiTypographyMeta as DigiTypographyMetaElement } from "@designsystem-se/af/components/digi-typography-meta.js";
|
|
278
282
|
import { DigiTypographyPreamble as DigiTypographyPreambleElement } from "@designsystem-se/af/components/digi-typography-preamble.js";
|
|
@@ -317,6 +321,8 @@ export type DigiCalendarWeekViewEvents = {
|
|
|
317
321
|
onAfOnReady: EventName<CustomEvent<any>>;
|
|
318
322
|
};
|
|
319
323
|
export declare const DigiCalendarWeekView: StencilReactComponent<DigiCalendarWeekViewElement, DigiCalendarWeekViewEvents>;
|
|
324
|
+
export type DigiCardEvents = NonNullable<unknown>;
|
|
325
|
+
export declare const DigiCard: StencilReactComponent<DigiCardElement, DigiCardEvents>;
|
|
320
326
|
export type DigiChartLineEvents = NonNullable<unknown>;
|
|
321
327
|
export declare const DigiChartLine: StencilReactComponent<DigiChartLineElement, DigiChartLineEvents>;
|
|
322
328
|
export type DigiCodeEvents = NonNullable<unknown>;
|
|
@@ -495,6 +501,8 @@ export type DigiHeaderNavigationItemEvents = NonNullable<unknown>;
|
|
|
495
501
|
export declare const DigiHeaderNavigationItem: StencilReactComponent<DigiHeaderNavigationItemElement, DigiHeaderNavigationItemEvents>;
|
|
496
502
|
export type DigiHeaderNotificationEvents = NonNullable<unknown>;
|
|
497
503
|
export declare const DigiHeaderNotification: StencilReactComponent<DigiHeaderNotificationElement, DigiHeaderNotificationEvents>;
|
|
504
|
+
export type DigiIconEvents = NonNullable<unknown>;
|
|
505
|
+
export declare const DigiIcon: StencilReactComponent<DigiIconElement, DigiIconEvents>;
|
|
498
506
|
export type DigiIconAccessibilityDeafEvents = NonNullable<unknown>;
|
|
499
507
|
export declare const DigiIconAccessibilityDeaf: StencilReactComponent<DigiIconAccessibilityDeafElement, DigiIconAccessibilityDeafEvents>;
|
|
500
508
|
export type DigiIconAccessibilityUniversalEvents = NonNullable<unknown>;
|
|
@@ -930,6 +938,17 @@ export type DigiNavigationBreadcrumbsEvents = {
|
|
|
930
938
|
onAfOnClick: EventName<CustomEvent<any>>;
|
|
931
939
|
};
|
|
932
940
|
export declare const DigiNavigationBreadcrumbs: StencilReactComponent<DigiNavigationBreadcrumbsElement, DigiNavigationBreadcrumbsEvents>;
|
|
941
|
+
export type DigiNavigationContextMenuEvents = {
|
|
942
|
+
onAfOnInactive: EventName<CustomEvent<any>>;
|
|
943
|
+
onAfOnActive: EventName<CustomEvent<any>>;
|
|
944
|
+
onAfOnBlur: EventName<CustomEvent<any>>;
|
|
945
|
+
onAfOnChange: EventName<CustomEvent<any>>;
|
|
946
|
+
onAfOnToggle: EventName<CustomEvent<any>>;
|
|
947
|
+
onAfOnSelect: EventName<CustomEvent<any>>;
|
|
948
|
+
};
|
|
949
|
+
export declare const DigiNavigationContextMenu: StencilReactComponent<DigiNavigationContextMenuElement, DigiNavigationContextMenuEvents>;
|
|
950
|
+
export type DigiNavigationContextMenuItemEvents = NonNullable<unknown>;
|
|
951
|
+
export declare const DigiNavigationContextMenuItem: StencilReactComponent<DigiNavigationContextMenuItemElement, DigiNavigationContextMenuItemEvents>;
|
|
933
952
|
export type DigiNavigationPaginationEvents = {
|
|
934
953
|
onAfOnPageChange: EventName<CustomEvent<number>>;
|
|
935
954
|
onAfOnReady: EventName<CustomEvent<any>>;
|
|
@@ -1004,8 +1023,17 @@ export type DigiToolsFeedbackRatingEvents = {
|
|
|
1004
1023
|
onAfOnSubmitFeedbackLink: EventName<CustomEvent<any>>;
|
|
1005
1024
|
};
|
|
1006
1025
|
export declare const DigiToolsFeedbackRating: StencilReactComponent<DigiToolsFeedbackRatingElement, DigiToolsFeedbackRatingEvents>;
|
|
1007
|
-
export type
|
|
1008
|
-
|
|
1026
|
+
export type DigiToolsLanguagepickerEvents = {
|
|
1027
|
+
onAfOnInactive: EventName<CustomEvent<any>>;
|
|
1028
|
+
onAfOnActive: EventName<CustomEvent<any>>;
|
|
1029
|
+
onAfOnBlur: EventName<CustomEvent<any>>;
|
|
1030
|
+
onAfOnFocus: EventName<CustomEvent<any>>;
|
|
1031
|
+
onAfOnChange: EventName<CustomEvent<any>>;
|
|
1032
|
+
onAfOnToggle: EventName<CustomEvent<any>>;
|
|
1033
|
+
onAfOnSelect: EventName<CustomEvent<any>>;
|
|
1034
|
+
onAfOnClick: EventName<CustomEvent<any>>;
|
|
1035
|
+
};
|
|
1036
|
+
export declare const DigiToolsLanguagepicker: StencilReactComponent<DigiToolsLanguagepickerElement, DigiToolsLanguagepickerEvents>;
|
|
1009
1037
|
export type DigiTypographyEvents = NonNullable<unknown>;
|
|
1010
1038
|
export declare const DigiTypography: StencilReactComponent<DigiTypographyElement, DigiTypographyEvents>;
|
|
1011
1039
|
export type DigiTypographyHeadingJumboEvents = NonNullable<unknown>;
|
|
@@ -6,6 +6,7 @@ import { DigiButton as DigiButtonElement, defineCustomElement as defineDigiButto
|
|
|
6
6
|
import { DigiCalendarDatepicker as DigiCalendarDatepickerElement, defineCustomElement as defineDigiCalendarDatepicker } from "@designsystem-se/af/components/digi-calendar-datepicker.js";
|
|
7
7
|
import { DigiCalendarWeekView as DigiCalendarWeekViewElement, defineCustomElement as defineDigiCalendarWeekView } from "@designsystem-se/af/components/digi-calendar-week-view.js";
|
|
8
8
|
import { DigiCalendar as DigiCalendarElement, defineCustomElement as defineDigiCalendar } from "@designsystem-se/af/components/digi-calendar.js";
|
|
9
|
+
import { DigiCard as DigiCardElement, defineCustomElement as defineDigiCard } from "@designsystem-se/af/components/digi-card.js";
|
|
9
10
|
import { DigiChartLine as DigiChartLineElement, defineCustomElement as defineDigiChartLine } from "@designsystem-se/af/components/digi-chart-line.js";
|
|
10
11
|
import { DigiCodeBlock as DigiCodeBlockElement, defineCustomElement as defineDigiCodeBlock } from "@designsystem-se/af/components/digi-code-block.js";
|
|
11
12
|
import { DigiCodeExample as DigiCodeExampleElement, defineCustomElement as defineDigiCodeExample } from "@designsystem-se/af/components/digi-code-example.js";
|
|
@@ -229,6 +230,7 @@ import { DigiIconXButtonOutline as DigiIconXButtonOutlineElement, defineCustomEl
|
|
|
229
230
|
import { DigiIconXButton as DigiIconXButtonElement, defineCustomElement as defineDigiIconXButton } from "@designsystem-se/af/components/digi-icon-x-button.js";
|
|
230
231
|
import { DigiIconX as DigiIconXElement, defineCustomElement as defineDigiIconX } from "@designsystem-se/af/components/digi-icon-x.js";
|
|
231
232
|
import { DigiIconYoutube as DigiIconYoutubeElement, defineCustomElement as defineDigiIconYoutube } from "@designsystem-se/af/components/digi-icon-youtube.js";
|
|
233
|
+
import { DigiIcon as DigiIconElement, defineCustomElement as defineDigiIcon } from "@designsystem-se/af/components/digi-icon.js";
|
|
232
234
|
import { DigiInfoCardMultiContainer as DigiInfoCardMultiContainerElement, defineCustomElement as defineDigiInfoCardMultiContainer } from "@designsystem-se/af/components/digi-info-card-multi-container.js";
|
|
233
235
|
import { DigiInfoCardMulti as DigiInfoCardMultiElement, defineCustomElement as defineDigiInfoCardMulti } from "@designsystem-se/af/components/digi-info-card-multi.js";
|
|
234
236
|
import { DigiInfoCard as DigiInfoCardElement, defineCustomElement as defineDigiInfoCard } from "@designsystem-se/af/components/digi-info-card.js";
|
|
@@ -247,6 +249,8 @@ import { DigiLogo as DigiLogoElement, defineCustomElement as defineDigiLogo } fr
|
|
|
247
249
|
import { DigiMediaFigure as DigiMediaFigureElement, defineCustomElement as defineDigiMediaFigure } from "@designsystem-se/af/components/digi-media-figure.js";
|
|
248
250
|
import { DigiMediaImage as DigiMediaImageElement, defineCustomElement as defineDigiMediaImage } from "@designsystem-se/af/components/digi-media-image.js";
|
|
249
251
|
import { DigiNavigationBreadcrumbs as DigiNavigationBreadcrumbsElement, defineCustomElement as defineDigiNavigationBreadcrumbs } from "@designsystem-se/af/components/digi-navigation-breadcrumbs.js";
|
|
252
|
+
import { DigiNavigationContextMenuItem as DigiNavigationContextMenuItemElement, defineCustomElement as defineDigiNavigationContextMenuItem } from "@designsystem-se/af/components/digi-navigation-context-menu-item.js";
|
|
253
|
+
import { DigiNavigationContextMenu as DigiNavigationContextMenuElement, defineCustomElement as defineDigiNavigationContextMenu } from "@designsystem-se/af/components/digi-navigation-context-menu.js";
|
|
250
254
|
import { DigiNavigationPagination as DigiNavigationPaginationElement, defineCustomElement as defineDigiNavigationPagination } from "@designsystem-se/af/components/digi-navigation-pagination.js";
|
|
251
255
|
import { DigiNavigationSidebarButton as DigiNavigationSidebarButtonElement, defineCustomElement as defineDigiNavigationSidebarButton } from "@designsystem-se/af/components/digi-navigation-sidebar-button.js";
|
|
252
256
|
import { DigiNavigationSidebar as DigiNavigationSidebarElement, defineCustomElement as defineDigiNavigationSidebar } from "@designsystem-se/af/components/digi-navigation-sidebar.js";
|
|
@@ -268,7 +272,7 @@ import { DigiTag as DigiTagElement, defineCustomElement as defineDigiTag } from
|
|
|
268
272
|
import { DigiToolsFeedbackBanner as DigiToolsFeedbackBannerElement, defineCustomElement as defineDigiToolsFeedbackBanner } from "@designsystem-se/af/components/digi-tools-feedback-banner.js";
|
|
269
273
|
import { DigiToolsFeedbackRating as DigiToolsFeedbackRatingElement, defineCustomElement as defineDigiToolsFeedbackRating } from "@designsystem-se/af/components/digi-tools-feedback-rating.js";
|
|
270
274
|
import { DigiToolsFeedback as DigiToolsFeedbackElement, defineCustomElement as defineDigiToolsFeedback } from "@designsystem-se/af/components/digi-tools-feedback.js";
|
|
271
|
-
import {
|
|
275
|
+
import { DigiToolsLanguagepicker as DigiToolsLanguagepickerElement, defineCustomElement as defineDigiToolsLanguagepicker } from "@designsystem-se/af/components/digi-tools-languagepicker.js";
|
|
272
276
|
import { DigiTypographyHeadingJumbo as DigiTypographyHeadingJumboElement, defineCustomElement as defineDigiTypographyHeadingJumbo } from "@designsystem-se/af/components/digi-typography-heading-jumbo.js";
|
|
273
277
|
import { DigiTypographyMeta as DigiTypographyMetaElement, defineCustomElement as defineDigiTypographyMeta } from "@designsystem-se/af/components/digi-typography-meta.js";
|
|
274
278
|
import { DigiTypographyPreamble as DigiTypographyPreambleElement, defineCustomElement as defineDigiTypographyPreamble } from "@designsystem-se/af/components/digi-typography-preamble.js";
|
|
@@ -354,6 +358,14 @@ export const DigiCalendarWeekView = /*@__PURE__*/ createComponent({
|
|
|
354
358
|
},
|
|
355
359
|
defineCustomElement: defineDigiCalendarWeekView
|
|
356
360
|
});
|
|
361
|
+
export const DigiCard = /*@__PURE__*/ createComponent({
|
|
362
|
+
tagName: 'digi-card',
|
|
363
|
+
elementClass: DigiCardElement,
|
|
364
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
365
|
+
react: React,
|
|
366
|
+
events: {},
|
|
367
|
+
defineCustomElement: defineDigiCard
|
|
368
|
+
});
|
|
357
369
|
export const DigiChartLine = /*@__PURE__*/ createComponent({
|
|
358
370
|
tagName: 'digi-chart-line',
|
|
359
371
|
elementClass: DigiChartLineElement,
|
|
@@ -706,6 +718,14 @@ export const DigiHeaderNotification = /*@__PURE__*/ createComponent({
|
|
|
706
718
|
events: {},
|
|
707
719
|
defineCustomElement: defineDigiHeaderNotification
|
|
708
720
|
});
|
|
721
|
+
export const DigiIcon = /*@__PURE__*/ createComponent({
|
|
722
|
+
tagName: 'digi-icon',
|
|
723
|
+
elementClass: DigiIconElement,
|
|
724
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
725
|
+
react: React,
|
|
726
|
+
events: {},
|
|
727
|
+
defineCustomElement: defineDigiIcon
|
|
728
|
+
});
|
|
709
729
|
export const DigiIconAccessibilityDeaf = /*@__PURE__*/ createComponent({
|
|
710
730
|
tagName: 'digi-icon-accessibility-deaf',
|
|
711
731
|
elementClass: DigiIconAccessibilityDeafElement,
|
|
@@ -2381,6 +2401,29 @@ export const DigiNavigationBreadcrumbs = /*@__PURE__*/ createComponent({
|
|
|
2381
2401
|
events: { onAfOnClick: 'afOnClick' },
|
|
2382
2402
|
defineCustomElement: defineDigiNavigationBreadcrumbs
|
|
2383
2403
|
});
|
|
2404
|
+
export const DigiNavigationContextMenu = /*@__PURE__*/ createComponent({
|
|
2405
|
+
tagName: 'digi-navigation-context-menu',
|
|
2406
|
+
elementClass: DigiNavigationContextMenuElement,
|
|
2407
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
2408
|
+
react: React,
|
|
2409
|
+
events: {
|
|
2410
|
+
onAfOnInactive: 'afOnInactive',
|
|
2411
|
+
onAfOnActive: 'afOnActive',
|
|
2412
|
+
onAfOnBlur: 'afOnBlur',
|
|
2413
|
+
onAfOnChange: 'afOnChange',
|
|
2414
|
+
onAfOnToggle: 'afOnToggle',
|
|
2415
|
+
onAfOnSelect: 'afOnSelect'
|
|
2416
|
+
},
|
|
2417
|
+
defineCustomElement: defineDigiNavigationContextMenu
|
|
2418
|
+
});
|
|
2419
|
+
export const DigiNavigationContextMenuItem = /*@__PURE__*/ createComponent({
|
|
2420
|
+
tagName: 'digi-navigation-context-menu-item',
|
|
2421
|
+
elementClass: DigiNavigationContextMenuItemElement,
|
|
2422
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
2423
|
+
react: React,
|
|
2424
|
+
events: {},
|
|
2425
|
+
defineCustomElement: defineDigiNavigationContextMenuItem
|
|
2426
|
+
});
|
|
2384
2427
|
export const DigiNavigationPagination = /*@__PURE__*/ createComponent({
|
|
2385
2428
|
tagName: 'digi-navigation-pagination',
|
|
2386
2429
|
elementClass: DigiNavigationPaginationElement,
|
|
@@ -2567,13 +2610,22 @@ export const DigiToolsFeedbackRating = /*@__PURE__*/ createComponent({
|
|
|
2567
2610
|
},
|
|
2568
2611
|
defineCustomElement: defineDigiToolsFeedbackRating
|
|
2569
2612
|
});
|
|
2570
|
-
export const
|
|
2571
|
-
tagName: 'digi-tools-
|
|
2572
|
-
elementClass:
|
|
2613
|
+
export const DigiToolsLanguagepicker = /*@__PURE__*/ createComponent({
|
|
2614
|
+
tagName: 'digi-tools-languagepicker',
|
|
2615
|
+
elementClass: DigiToolsLanguagepickerElement,
|
|
2573
2616
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
2574
2617
|
react: React,
|
|
2575
|
-
events: {
|
|
2576
|
-
|
|
2618
|
+
events: {
|
|
2619
|
+
onAfOnInactive: 'afOnInactive',
|
|
2620
|
+
onAfOnActive: 'afOnActive',
|
|
2621
|
+
onAfOnBlur: 'afOnBlur',
|
|
2622
|
+
onAfOnFocus: 'afOnFocus',
|
|
2623
|
+
onAfOnChange: 'afOnChange',
|
|
2624
|
+
onAfOnToggle: 'afOnToggle',
|
|
2625
|
+
onAfOnSelect: 'afOnSelect',
|
|
2626
|
+
onAfOnClick: 'afOnClick'
|
|
2627
|
+
},
|
|
2628
|
+
defineCustomElement: defineDigiToolsLanguagepicker
|
|
2577
2629
|
});
|
|
2578
2630
|
export const DigiTypography = /*@__PURE__*/ createComponent({
|
|
2579
2631
|
tagName: 'digi-typography',
|