platformscode-new-react 0.0.2 → 0.0.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/dist/components.d.ts +12 -1
- package/dist/index.cjs.js +68346 -1161
- package/dist/index.js +69302 -1852
- package/package.json +1 -1
- package/src/components.ts +45 -1
package/package.json
CHANGED
package/src/components.ts
CHANGED
|
@@ -5,13 +5,17 @@
|
|
|
5
5
|
|
|
6
6
|
/* eslint-disable */
|
|
7
7
|
|
|
8
|
-
import { type DgaButtonCustomEvent } from '../../core/dist/types';
|
|
8
|
+
import { type DgaButtonCustomEvent, type DgaLinkCustomEvent } from '../../core/dist/types';
|
|
9
9
|
import { DgaAccordion as DgaAccordionElement, defineCustomElement as defineDgaAccordion } from '../../core/dist/components/dga-accordion.js';
|
|
10
10
|
import { DgaAvatar as DgaAvatarElement, defineCustomElement as defineDgaAvatar } from '../../core/dist/components/dga-avatar.js';
|
|
11
11
|
import { DgaBreadcrumbs as DgaBreadcrumbsElement, defineCustomElement as defineDgaBreadcrumbs } from '../../core/dist/components/dga-breadcrumbs.js';
|
|
12
12
|
import { DgaButton as DgaButtonElement, defineCustomElement as defineDgaButton } from '../../core/dist/components/dga-button.js';
|
|
13
13
|
import { DgaIcon as DgaIconElement, defineCustomElement as defineDgaIcon } from '../../core/dist/components/dga-icon.js';
|
|
14
|
+
import { DgaLink as DgaLinkElement, defineCustomElement as defineDgaLink } from '../../core/dist/components/dga-link.js';
|
|
14
15
|
import { DgaLoading as DgaLoadingElement, defineCustomElement as defineDgaLoading } from '../../core/dist/components/dga-loading.js';
|
|
16
|
+
import { DgaNotificationToast as DgaNotificationToastElement, defineCustomElement as defineDgaNotificationToast } from '../../core/dist/components/dga-notification-toast.js';
|
|
17
|
+
import { DgaNotification as DgaNotificationElement, defineCustomElement as defineDgaNotification } from '../../core/dist/components/dga-notification.js';
|
|
18
|
+
import { DgaTag as DgaTagElement, defineCustomElement as defineDgaTag } from '../../core/dist/components/dga-tag.js';
|
|
15
19
|
import { DgaTooltip as DgaTooltipElement, defineCustomElement as defineDgaTooltip } from '../../core/dist/components/dga-tooltip.js';
|
|
16
20
|
import type { EventName } from '@stencil/react-output-target/runtime';
|
|
17
21
|
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
@@ -67,6 +71,16 @@ export const DgaIcon = /*@__PURE__*/ createComponent<DgaIconElement, DgaIconEven
|
|
|
67
71
|
defineCustomElement: defineDgaIcon,
|
|
68
72
|
});
|
|
69
73
|
|
|
74
|
+
type DgaLinkEvents = { onOnClick: EventName<DgaLinkCustomEvent<MouseEvent>> };
|
|
75
|
+
|
|
76
|
+
export const DgaLink = /*@__PURE__*/ createComponent<DgaLinkElement, DgaLinkEvents>({
|
|
77
|
+
tagName: 'dga-link',
|
|
78
|
+
elementClass: DgaLinkElement,
|
|
79
|
+
react: React,
|
|
80
|
+
events: { onOnClick: 'onClick' } as DgaLinkEvents,
|
|
81
|
+
defineCustomElement: defineDgaLink,
|
|
82
|
+
});
|
|
83
|
+
|
|
70
84
|
type DgaLoadingEvents = NonNullable<unknown>;
|
|
71
85
|
|
|
72
86
|
export const DgaLoading = /*@__PURE__*/ createComponent<DgaLoadingElement, DgaLoadingEvents>({
|
|
@@ -77,6 +91,36 @@ export const DgaLoading = /*@__PURE__*/ createComponent<DgaLoadingElement, DgaLo
|
|
|
77
91
|
defineCustomElement: defineDgaLoading,
|
|
78
92
|
});
|
|
79
93
|
|
|
94
|
+
type DgaNotificationEvents = NonNullable<unknown>;
|
|
95
|
+
|
|
96
|
+
export const DgaNotification = /*@__PURE__*/ createComponent<DgaNotificationElement, DgaNotificationEvents>({
|
|
97
|
+
tagName: 'dga-notification',
|
|
98
|
+
elementClass: DgaNotificationElement,
|
|
99
|
+
react: React,
|
|
100
|
+
events: {} as DgaNotificationEvents,
|
|
101
|
+
defineCustomElement: defineDgaNotification,
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
type DgaNotificationToastEvents = NonNullable<unknown>;
|
|
105
|
+
|
|
106
|
+
export const DgaNotificationToast = /*@__PURE__*/ createComponent<DgaNotificationToastElement, DgaNotificationToastEvents>({
|
|
107
|
+
tagName: 'dga-notification-toast',
|
|
108
|
+
elementClass: DgaNotificationToastElement,
|
|
109
|
+
react: React,
|
|
110
|
+
events: {} as DgaNotificationToastEvents,
|
|
111
|
+
defineCustomElement: defineDgaNotificationToast,
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
type DgaTagEvents = NonNullable<unknown>;
|
|
115
|
+
|
|
116
|
+
export const DgaTag = /*@__PURE__*/ createComponent<DgaTagElement, DgaTagEvents>({
|
|
117
|
+
tagName: 'dga-tag',
|
|
118
|
+
elementClass: DgaTagElement,
|
|
119
|
+
react: React,
|
|
120
|
+
events: {} as DgaTagEvents,
|
|
121
|
+
defineCustomElement: defineDgaTag,
|
|
122
|
+
});
|
|
123
|
+
|
|
80
124
|
type DgaTooltipEvents = NonNullable<unknown>;
|
|
81
125
|
|
|
82
126
|
export const DgaTooltip = /*@__PURE__*/ createComponent<DgaTooltipElement, DgaTooltipEvents>({
|