@desynth/web-components-react 13.11.25-alpha.3 → 13.11.25-alpha.4

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.
@@ -0,0 +1,162 @@
1
+ /**
2
+ * This file was automatically generated by the Stencil React Output Target.
3
+ * Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
4
+ */
5
+ import { type BeforeCloseAlertEventDetail, type BeforeCloseEventDetail, type CheckedChangeEventValue, type DesynthAlertCustomEvent, type DesynthBreadcrumbCustomEvent, type DesynthCheckboxCustomEvent, type DesynthDatePickerCustomEvent, type DesynthDropFileCustomEvent, type DesynthFormCustomEvent, type DesynthListCustomEvent, type DesynthModalCustomEvent, type DesynthRatingCustomEvent, type DesynthSelectCustomEvent, type DesynthSwitchCustomEvent, type DesynthTextAreaCustomEvent, type DesynthTextInputCustomEvent, type IFormInput, type InputChangeEventValue, type ListItem, type Options, type SwitchChangeEventValue, type TextInputChangeEventValue } from "@desynth/web-components";
6
+ import { DesynthAccordion as DesynthAccordionElement } from "@desynth/web-components/dist/desynth-accordion.js";
7
+ import { DesynthAlert as DesynthAlertElement } from "@desynth/web-components/dist/desynth-alert.js";
8
+ import { DesynthBreadcrumb as DesynthBreadcrumbElement } from "@desynth/web-components/dist/desynth-breadcrumb.js";
9
+ import { DesynthButtonSlider as DesynthButtonSliderElement } from "@desynth/web-components/dist/desynth-button-slider.js";
10
+ import { DesynthButton as DesynthButtonElement } from "@desynth/web-components/dist/desynth-button.js";
11
+ import { DesynthCard as DesynthCardElement } from "@desynth/web-components/dist/desynth-card.js";
12
+ import { DesynthCheckbox as DesynthCheckboxElement } from "@desynth/web-components/dist/desynth-checkbox.js";
13
+ import { DesynthDatePicker as DesynthDatePickerElement } from "@desynth/web-components/dist/desynth-date-picker.js";
14
+ import { DesynthDivider as DesynthDividerElement } from "@desynth/web-components/dist/desynth-divider.js";
15
+ import { DesynthDrawer as DesynthDrawerElement } from "@desynth/web-components/dist/desynth-drawer.js";
16
+ import { DesynthDropFile as DesynthDropFileElement } from "@desynth/web-components/dist/desynth-drop-file.js";
17
+ import { DesynthForm as DesynthFormElement } from "@desynth/web-components/dist/desynth-form.js";
18
+ import { DesynthGrid as DesynthGridElement } from "@desynth/web-components/dist/desynth-grid.js";
19
+ import { DesynthHeader as DesynthHeaderElement } from "@desynth/web-components/dist/desynth-header.js";
20
+ import { DesynthList as DesynthListElement } from "@desynth/web-components/dist/desynth-list.js";
21
+ import { DesynthLoader as DesynthLoaderElement } from "@desynth/web-components/dist/desynth-loader.js";
22
+ import { DesynthModal as DesynthModalElement } from "@desynth/web-components/dist/desynth-modal.js";
23
+ import { DesynthMultiStepper as DesynthMultiStepperElement } from "@desynth/web-components/dist/desynth-multi-stepper.js";
24
+ import { DesynthPaper as DesynthPaperElement } from "@desynth/web-components/dist/desynth-paper.js";
25
+ import { DesynthRating as DesynthRatingElement } from "@desynth/web-components/dist/desynth-rating.js";
26
+ import { DesynthRenderer as DesynthRendererElement } from "@desynth/web-components/dist/desynth-renderer.js";
27
+ import { DesynthSelect as DesynthSelectElement } from "@desynth/web-components/dist/desynth-select.js";
28
+ import { DesynthStepStepper as DesynthStepStepperElement } from "@desynth/web-components/dist/desynth-step-stepper.js";
29
+ import { DesynthSwitch as DesynthSwitchElement } from "@desynth/web-components/dist/desynth-switch.js";
30
+ import { DesynthTable as DesynthTableElement } from "@desynth/web-components/dist/desynth-table.js";
31
+ import { DesynthTextArea as DesynthTextAreaElement } from "@desynth/web-components/dist/desynth-text-area.js";
32
+ import { DesynthTextInput as DesynthTextInputElement } from "@desynth/web-components/dist/desynth-text-input.js";
33
+ import { DesynthTooltip as DesynthTooltipElement } from "@desynth/web-components/dist/desynth-tooltip.js";
34
+ import { HorizontalCards as HorizontalCardsElement } from "@desynth/web-components/dist/horizontal-cards.js";
35
+ import { HtmlEditor as HtmlEditorElement } from "@desynth/web-components/dist/html-editor.js";
36
+ import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
37
+ export type DesynthAccordionEvents = NonNullable<unknown>;
38
+ export declare const DesynthAccordion: StencilReactComponent<DesynthAccordionElement, DesynthAccordionEvents>;
39
+ export type DesynthAlertEvents = {
40
+ onHandleOpen: EventName<CustomEvent<void>>;
41
+ onHandleClose: EventName<CustomEvent<void>>;
42
+ onHandleBeforeClose: EventName<DesynthAlertCustomEvent<BeforeCloseAlertEventDetail>>;
43
+ };
44
+ export declare const DesynthAlert: StencilReactComponent<DesynthAlertElement, DesynthAlertEvents>;
45
+ export type DesynthBreadcrumbEvents = {
46
+ onHandleInput: EventName<DesynthBreadcrumbCustomEvent<HTMLInputElement>>;
47
+ onHandleFocus: EventName<CustomEvent<void>>;
48
+ onHandleBlur: EventName<CustomEvent<void>>;
49
+ };
50
+ export declare const DesynthBreadcrumb: StencilReactComponent<DesynthBreadcrumbElement, DesynthBreadcrumbEvents>;
51
+ export type DesynthButtonEvents = {
52
+ onHandleClick: EventName<CustomEvent<void>>;
53
+ onHandleFocus: EventName<CustomEvent<void>>;
54
+ onHandleBlur: EventName<CustomEvent<void>>;
55
+ };
56
+ export declare const DesynthButton: StencilReactComponent<DesynthButtonElement, DesynthButtonEvents>;
57
+ export type DesynthButtonSliderEvents = NonNullable<unknown>;
58
+ export declare const DesynthButtonSlider: StencilReactComponent<DesynthButtonSliderElement, DesynthButtonSliderEvents>;
59
+ export type DesynthCardEvents = NonNullable<unknown>;
60
+ export declare const DesynthCard: StencilReactComponent<DesynthCardElement, DesynthCardEvents>;
61
+ export type DesynthCheckboxEvents = {
62
+ onHandleClick: EventName<DesynthCheckboxCustomEvent<CheckedChangeEventValue>>;
63
+ };
64
+ export declare const DesynthCheckbox: StencilReactComponent<DesynthCheckboxElement, DesynthCheckboxEvents>;
65
+ export type DesynthDatePickerEvents = {
66
+ onDateChanged: EventName<DesynthDatePickerCustomEvent<InputChangeEventValue>>;
67
+ };
68
+ export declare const DesynthDatePicker: StencilReactComponent<DesynthDatePickerElement, DesynthDatePickerEvents>;
69
+ export type DesynthDividerEvents = NonNullable<unknown>;
70
+ export declare const DesynthDivider: StencilReactComponent<DesynthDividerElement, DesynthDividerEvents>;
71
+ export type DesynthDrawerEvents = {
72
+ onHandleClick: EventName<CustomEvent<void>>;
73
+ onHandleFocus: EventName<CustomEvent<void>>;
74
+ onHandleClose: EventName<CustomEvent<void>>;
75
+ };
76
+ export declare const DesynthDrawer: StencilReactComponent<DesynthDrawerElement, DesynthDrawerEvents>;
77
+ export type DesynthDropFileEvents = {
78
+ onFilesDropped: EventName<DesynthDropFileCustomEvent<File[]>>;
79
+ };
80
+ export declare const DesynthDropFile: StencilReactComponent<DesynthDropFileElement, DesynthDropFileEvents>;
81
+ export type DesynthFormEvents = {
82
+ onClickSubmit: EventName<CustomEvent<void>>;
83
+ onClickClear: EventName<CustomEvent<void>>;
84
+ onHandleChange: EventName<DesynthFormCustomEvent<IFormInput>>;
85
+ };
86
+ export declare const DesynthForm: StencilReactComponent<DesynthFormElement, DesynthFormEvents>;
87
+ export type DesynthGridEvents = NonNullable<unknown>;
88
+ export declare const DesynthGrid: StencilReactComponent<DesynthGridElement, DesynthGridEvents>;
89
+ export type DesynthHeaderEvents = {
90
+ onHandleClick: EventName<CustomEvent<void>>;
91
+ onHandleFocus: EventName<CustomEvent<void>>;
92
+ onHandleBlur: EventName<CustomEvent<void>>;
93
+ };
94
+ export declare const DesynthHeader: StencilReactComponent<DesynthHeaderElement, DesynthHeaderEvents>;
95
+ export type DesynthListEvents = {
96
+ onItemClicked: EventName<DesynthListCustomEvent<ListItem>>;
97
+ };
98
+ export declare const DesynthList: StencilReactComponent<DesynthListElement, DesynthListEvents>;
99
+ export type DesynthLoaderEvents = NonNullable<unknown>;
100
+ export declare const DesynthLoader: StencilReactComponent<DesynthLoaderElement, DesynthLoaderEvents>;
101
+ export type DesynthModalEvents = {
102
+ onHandleOpen: EventName<CustomEvent<void>>;
103
+ onHandleClose: EventName<CustomEvent<void>>;
104
+ onHandleBeforeClose: EventName<DesynthModalCustomEvent<BeforeCloseEventDetail>>;
105
+ };
106
+ export declare const DesynthModal: StencilReactComponent<DesynthModalElement, DesynthModalEvents>;
107
+ export type DesynthMultiStepperEvents = {
108
+ onHandleSubmit: EventName<CustomEvent<void>>;
109
+ };
110
+ export declare const DesynthMultiStepper: StencilReactComponent<DesynthMultiStepperElement, DesynthMultiStepperEvents>;
111
+ export type DesynthPaperEvents = NonNullable<unknown>;
112
+ export declare const DesynthPaper: StencilReactComponent<DesynthPaperElement, DesynthPaperEvents>;
113
+ export type DesynthRatingEvents = {
114
+ onHandleChange: EventName<DesynthRatingCustomEvent<TextInputChangeEventValue>>;
115
+ };
116
+ export declare const DesynthRating: StencilReactComponent<DesynthRatingElement, DesynthRatingEvents>;
117
+ export type DesynthRendererEvents = NonNullable<unknown>;
118
+ export declare const DesynthRenderer: StencilReactComponent<DesynthRendererElement, DesynthRendererEvents>;
119
+ export type DesynthSelectEvents = {
120
+ onHandleChange: EventName<DesynthSelectCustomEvent<Options>>;
121
+ onHandleInput: EventName<DesynthSelectCustomEvent<HTMLInputElement>>;
122
+ onHandleFocus: EventName<CustomEvent<void>>;
123
+ };
124
+ export declare const DesynthSelect: StencilReactComponent<DesynthSelectElement, DesynthSelectEvents>;
125
+ export type DesynthStepStepperEvents = NonNullable<unknown>;
126
+ export declare const DesynthStepStepper: StencilReactComponent<DesynthStepStepperElement, DesynthStepStepperEvents>;
127
+ export type DesynthSwitchEvents = {
128
+ onHandleClick: EventName<DesynthSwitchCustomEvent<SwitchChangeEventValue>>;
129
+ onHandleInput: EventName<DesynthSwitchCustomEvent<HTMLInputElement>>;
130
+ onHandleFocus: EventName<CustomEvent<void>>;
131
+ onHandleBlur: EventName<CustomEvent<void>>;
132
+ };
133
+ export declare const DesynthSwitch: StencilReactComponent<DesynthSwitchElement, DesynthSwitchEvents>;
134
+ export type DesynthTableEvents = {
135
+ onChangeRowsPerPage: EventName<CustomEvent<number>>;
136
+ onGetDataNextPage: EventName<CustomEvent<null>>;
137
+ onRowEvent: EventName<CustomEvent<any>>;
138
+ onDropEvent: EventName<CustomEvent<any>>;
139
+ };
140
+ export declare const DesynthTable: StencilReactComponent<DesynthTableElement, DesynthTableEvents>;
141
+ export type DesynthTextAreaEvents = {
142
+ onHandleChange: EventName<DesynthTextAreaCustomEvent<InputChangeEventValue>>;
143
+ onHandleInput: EventName<DesynthTextAreaCustomEvent<HTMLInputElement>>;
144
+ onHandleFocus: EventName<CustomEvent<void>>;
145
+ onHandleBlur: EventName<CustomEvent<void>>;
146
+ };
147
+ export declare const DesynthTextArea: StencilReactComponent<DesynthTextAreaElement, DesynthTextAreaEvents>;
148
+ export type DesynthTextInputEvents = {
149
+ onHandleChange: EventName<DesynthTextInputCustomEvent<TextInputChangeEventValue>>;
150
+ onHandleInput: EventName<DesynthTextInputCustomEvent<HTMLInputElement>>;
151
+ onHandleFocus: EventName<CustomEvent<void>>;
152
+ onHandleBlur: EventName<CustomEvent<void>>;
153
+ };
154
+ export declare const DesynthTextInput: StencilReactComponent<DesynthTextInputElement, DesynthTextInputEvents>;
155
+ export type DesynthTooltipEvents = NonNullable<unknown>;
156
+ export declare const DesynthTooltip: StencilReactComponent<DesynthTooltipElement, DesynthTooltipEvents>;
157
+ export type HorizontalCardsEvents = NonNullable<unknown>;
158
+ export declare const HorizontalCards: StencilReactComponent<HorizontalCardsElement, HorizontalCardsEvents>;
159
+ export type HtmlEditorEvents = {
160
+ onHtmlChanged: EventName<CustomEvent<string>>;
161
+ };
162
+ export declare const HtmlEditor: StencilReactComponent<HtmlEditorElement, HtmlEditorEvents>;
@@ -1,13 +1,4 @@
1
1
  'use client';
2
-
3
- /**
4
- * This file was automatically generated by the Stencil React Output Target.
5
- * Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
6
- */
7
-
8
- /* eslint-disable */
9
-
10
- import { type BeforeCloseAlertEventDetail, type BeforeCloseEventDetail, type CheckedChangeEventValue, type DesynthAlertCustomEvent, type DesynthBreadcrumbCustomEvent, type DesynthCheckboxCustomEvent, type DesynthDatePickerCustomEvent, type DesynthDropFileCustomEvent, type DesynthFormCustomEvent, type DesynthListCustomEvent, type DesynthModalCustomEvent, type DesynthRatingCustomEvent, type DesynthSelectCustomEvent, type DesynthSwitchCustomEvent, type DesynthTextAreaCustomEvent, type DesynthTextInputCustomEvent, type IFormInput, type InputChangeEventValue, type ListItem, type Options, type SwitchChangeEventValue, type TextInputChangeEventValue } from "@desynth/web-components";
11
2
  import { DesynthAccordion as DesynthAccordionElement, defineCustomElement as defineDesynthAccordion } from "@desynth/web-components/dist/desynth-accordion.js";
12
3
  import { DesynthAlert as DesynthAlertElement, defineCustomElement as defineDesynthAlert } from "@desynth/web-components/dist/desynth-alert.js";
13
4
  import { DesynthBreadcrumb as DesynthBreadcrumbElement, defineCustomElement as defineDesynthBreadcrumb } from "@desynth/web-components/dist/desynth-breadcrumb.js";
@@ -38,28 +29,17 @@ import { DesynthTextInput as DesynthTextInputElement, defineCustomElement as def
38
29
  import { DesynthTooltip as DesynthTooltipElement, defineCustomElement as defineDesynthTooltip } from "@desynth/web-components/dist/desynth-tooltip.js";
39
30
  import { HorizontalCards as HorizontalCardsElement, defineCustomElement as defineHorizontalCards } from "@desynth/web-components/dist/horizontal-cards.js";
40
31
  import { HtmlEditor as HtmlEditorElement, defineCustomElement as defineHtmlEditor } from "@desynth/web-components/dist/html-editor.js";
41
- import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
42
32
  import { createComponent } from '@stencil/react-output-target/runtime';
43
33
  import React from 'react';
44
-
45
- export type DesynthAccordionEvents = NonNullable<unknown>;
46
-
47
- export const DesynthAccordion: StencilReactComponent<DesynthAccordionElement, DesynthAccordionEvents> = /*@__PURE__*/ createComponent<DesynthAccordionElement, DesynthAccordionEvents>({
34
+ export const DesynthAccordion = /*@__PURE__*/ createComponent({
48
35
  tagName: 'desynth-accordion',
49
36
  elementClass: DesynthAccordionElement,
50
37
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
51
38
  react: React,
52
- events: {} as DesynthAccordionEvents,
39
+ events: {},
53
40
  defineCustomElement: defineDesynthAccordion
54
41
  });
55
-
56
- export type DesynthAlertEvents = {
57
- onHandleOpen: EventName<CustomEvent<void>>,
58
- onHandleClose: EventName<CustomEvent<void>>,
59
- onHandleBeforeClose: EventName<DesynthAlertCustomEvent<BeforeCloseAlertEventDetail>>
60
- };
61
-
62
- export const DesynthAlert: StencilReactComponent<DesynthAlertElement, DesynthAlertEvents> = /*@__PURE__*/ createComponent<DesynthAlertElement, DesynthAlertEvents>({
42
+ export const DesynthAlert = /*@__PURE__*/ createComponent({
63
43
  tagName: 'desynth-alert',
64
44
  elementClass: DesynthAlertElement,
65
45
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
@@ -68,17 +48,10 @@ export const DesynthAlert: StencilReactComponent<DesynthAlertElement, DesynthAle
68
48
  onHandleOpen: 'handleOpen',
69
49
  onHandleClose: 'handleClose',
70
50
  onHandleBeforeClose: 'handleBeforeClose'
71
- } as DesynthAlertEvents,
51
+ },
72
52
  defineCustomElement: defineDesynthAlert
73
53
  });
74
-
75
- export type DesynthBreadcrumbEvents = {
76
- onHandleInput: EventName<DesynthBreadcrumbCustomEvent<HTMLInputElement>>,
77
- onHandleFocus: EventName<CustomEvent<void>>,
78
- onHandleBlur: EventName<CustomEvent<void>>
79
- };
80
-
81
- export const DesynthBreadcrumb: StencilReactComponent<DesynthBreadcrumbElement, DesynthBreadcrumbEvents> = /*@__PURE__*/ createComponent<DesynthBreadcrumbElement, DesynthBreadcrumbEvents>({
54
+ export const DesynthBreadcrumb = /*@__PURE__*/ createComponent({
82
55
  tagName: 'desynth-breadcrumb',
83
56
  elementClass: DesynthBreadcrumbElement,
84
57
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
@@ -87,17 +60,10 @@ export const DesynthBreadcrumb: StencilReactComponent<DesynthBreadcrumbElement,
87
60
  onHandleInput: 'handleInput',
88
61
  onHandleFocus: 'handleFocus',
89
62
  onHandleBlur: 'handleBlur'
90
- } as DesynthBreadcrumbEvents,
63
+ },
91
64
  defineCustomElement: defineDesynthBreadcrumb
92
65
  });
93
-
94
- export type DesynthButtonEvents = {
95
- onHandleClick: EventName<CustomEvent<void>>,
96
- onHandleFocus: EventName<CustomEvent<void>>,
97
- onHandleBlur: EventName<CustomEvent<void>>
98
- };
99
-
100
- export const DesynthButton: StencilReactComponent<DesynthButtonElement, DesynthButtonEvents> = /*@__PURE__*/ createComponent<DesynthButtonElement, DesynthButtonEvents>({
66
+ export const DesynthButton = /*@__PURE__*/ createComponent({
101
67
  tagName: 'desynth-button',
102
68
  elementClass: DesynthButtonElement,
103
69
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
@@ -106,72 +72,50 @@ export const DesynthButton: StencilReactComponent<DesynthButtonElement, DesynthB
106
72
  onHandleClick: 'handleClick',
107
73
  onHandleFocus: 'handleFocus',
108
74
  onHandleBlur: 'handleBlur'
109
- } as DesynthButtonEvents,
75
+ },
110
76
  defineCustomElement: defineDesynthButton
111
77
  });
112
-
113
- export type DesynthButtonSliderEvents = NonNullable<unknown>;
114
-
115
- export const DesynthButtonSlider: StencilReactComponent<DesynthButtonSliderElement, DesynthButtonSliderEvents> = /*@__PURE__*/ createComponent<DesynthButtonSliderElement, DesynthButtonSliderEvents>({
78
+ export const DesynthButtonSlider = /*@__PURE__*/ createComponent({
116
79
  tagName: 'desynth-button-slider',
117
80
  elementClass: DesynthButtonSliderElement,
118
81
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
119
82
  react: React,
120
- events: {} as DesynthButtonSliderEvents,
83
+ events: {},
121
84
  defineCustomElement: defineDesynthButtonSlider
122
85
  });
123
-
124
- export type DesynthCardEvents = NonNullable<unknown>;
125
-
126
- export const DesynthCard: StencilReactComponent<DesynthCardElement, DesynthCardEvents> = /*@__PURE__*/ createComponent<DesynthCardElement, DesynthCardEvents>({
86
+ export const DesynthCard = /*@__PURE__*/ createComponent({
127
87
  tagName: 'desynth-card',
128
88
  elementClass: DesynthCardElement,
129
89
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
130
90
  react: React,
131
- events: {} as DesynthCardEvents,
91
+ events: {},
132
92
  defineCustomElement: defineDesynthCard
133
93
  });
134
-
135
- export type DesynthCheckboxEvents = { onHandleClick: EventName<DesynthCheckboxCustomEvent<CheckedChangeEventValue>> };
136
-
137
- export const DesynthCheckbox: StencilReactComponent<DesynthCheckboxElement, DesynthCheckboxEvents> = /*@__PURE__*/ createComponent<DesynthCheckboxElement, DesynthCheckboxEvents>({
94
+ export const DesynthCheckbox = /*@__PURE__*/ createComponent({
138
95
  tagName: 'desynth-checkbox',
139
96
  elementClass: DesynthCheckboxElement,
140
97
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
141
98
  react: React,
142
- events: { onHandleClick: 'handleClick' } as DesynthCheckboxEvents,
99
+ events: { onHandleClick: 'handleClick' },
143
100
  defineCustomElement: defineDesynthCheckbox
144
101
  });
145
-
146
- export type DesynthDatePickerEvents = { onDateChanged: EventName<DesynthDatePickerCustomEvent<InputChangeEventValue>> };
147
-
148
- export const DesynthDatePicker: StencilReactComponent<DesynthDatePickerElement, DesynthDatePickerEvents> = /*@__PURE__*/ createComponent<DesynthDatePickerElement, DesynthDatePickerEvents>({
102
+ export const DesynthDatePicker = /*@__PURE__*/ createComponent({
149
103
  tagName: 'desynth-date-picker',
150
104
  elementClass: DesynthDatePickerElement,
151
105
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
152
106
  react: React,
153
- events: { onDateChanged: 'dateChanged' } as DesynthDatePickerEvents,
107
+ events: { onDateChanged: 'dateChanged' },
154
108
  defineCustomElement: defineDesynthDatePicker
155
109
  });
156
-
157
- export type DesynthDividerEvents = NonNullable<unknown>;
158
-
159
- export const DesynthDivider: StencilReactComponent<DesynthDividerElement, DesynthDividerEvents> = /*@__PURE__*/ createComponent<DesynthDividerElement, DesynthDividerEvents>({
110
+ export const DesynthDivider = /*@__PURE__*/ createComponent({
160
111
  tagName: 'desynth-divider',
161
112
  elementClass: DesynthDividerElement,
162
113
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
163
114
  react: React,
164
- events: {} as DesynthDividerEvents,
115
+ events: {},
165
116
  defineCustomElement: defineDesynthDivider
166
117
  });
167
-
168
- export type DesynthDrawerEvents = {
169
- onHandleClick: EventName<CustomEvent<void>>,
170
- onHandleFocus: EventName<CustomEvent<void>>,
171
- onHandleClose: EventName<CustomEvent<void>>
172
- };
173
-
174
- export const DesynthDrawer: StencilReactComponent<DesynthDrawerElement, DesynthDrawerEvents> = /*@__PURE__*/ createComponent<DesynthDrawerElement, DesynthDrawerEvents>({
118
+ export const DesynthDrawer = /*@__PURE__*/ createComponent({
175
119
  tagName: 'desynth-drawer',
176
120
  elementClass: DesynthDrawerElement,
177
121
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
@@ -180,28 +124,18 @@ export const DesynthDrawer: StencilReactComponent<DesynthDrawerElement, DesynthD
180
124
  onHandleClick: 'handleClick',
181
125
  onHandleFocus: 'handleFocus',
182
126
  onHandleClose: 'handleClose'
183
- } as DesynthDrawerEvents,
127
+ },
184
128
  defineCustomElement: defineDesynthDrawer
185
129
  });
186
-
187
- export type DesynthDropFileEvents = { onFilesDropped: EventName<DesynthDropFileCustomEvent<File[]>> };
188
-
189
- export const DesynthDropFile: StencilReactComponent<DesynthDropFileElement, DesynthDropFileEvents> = /*@__PURE__*/ createComponent<DesynthDropFileElement, DesynthDropFileEvents>({
130
+ export const DesynthDropFile = /*@__PURE__*/ createComponent({
190
131
  tagName: 'desynth-drop-file',
191
132
  elementClass: DesynthDropFileElement,
192
133
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
193
134
  react: React,
194
- events: { onFilesDropped: 'filesDropped' } as DesynthDropFileEvents,
135
+ events: { onFilesDropped: 'filesDropped' },
195
136
  defineCustomElement: defineDesynthDropFile
196
137
  });
197
-
198
- export type DesynthFormEvents = {
199
- onClickSubmit: EventName<CustomEvent<void>>,
200
- onClickClear: EventName<CustomEvent<void>>,
201
- onHandleChange: EventName<DesynthFormCustomEvent<IFormInput>>
202
- };
203
-
204
- export const DesynthForm: StencilReactComponent<DesynthFormElement, DesynthFormEvents> = /*@__PURE__*/ createComponent<DesynthFormElement, DesynthFormEvents>({
138
+ export const DesynthForm = /*@__PURE__*/ createComponent({
205
139
  tagName: 'desynth-form',
206
140
  elementClass: DesynthFormElement,
207
141
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
@@ -210,28 +144,18 @@ export const DesynthForm: StencilReactComponent<DesynthFormElement, DesynthFormE
210
144
  onClickSubmit: 'clickSubmit',
211
145
  onClickClear: 'clickClear',
212
146
  onHandleChange: 'handleChange'
213
- } as DesynthFormEvents,
147
+ },
214
148
  defineCustomElement: defineDesynthForm
215
149
  });
216
-
217
- export type DesynthGridEvents = NonNullable<unknown>;
218
-
219
- export const DesynthGrid: StencilReactComponent<DesynthGridElement, DesynthGridEvents> = /*@__PURE__*/ createComponent<DesynthGridElement, DesynthGridEvents>({
150
+ export const DesynthGrid = /*@__PURE__*/ createComponent({
220
151
  tagName: 'desynth-grid',
221
152
  elementClass: DesynthGridElement,
222
153
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
223
154
  react: React,
224
- events: {} as DesynthGridEvents,
155
+ events: {},
225
156
  defineCustomElement: defineDesynthGrid
226
157
  });
227
-
228
- export type DesynthHeaderEvents = {
229
- onHandleClick: EventName<CustomEvent<void>>,
230
- onHandleFocus: EventName<CustomEvent<void>>,
231
- onHandleBlur: EventName<CustomEvent<void>>
232
- };
233
-
234
- export const DesynthHeader: StencilReactComponent<DesynthHeaderElement, DesynthHeaderEvents> = /*@__PURE__*/ createComponent<DesynthHeaderElement, DesynthHeaderEvents>({
158
+ export const DesynthHeader = /*@__PURE__*/ createComponent({
235
159
  tagName: 'desynth-header',
236
160
  elementClass: DesynthHeaderElement,
237
161
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
@@ -240,39 +164,26 @@ export const DesynthHeader: StencilReactComponent<DesynthHeaderElement, DesynthH
240
164
  onHandleClick: 'handleClick',
241
165
  onHandleFocus: 'handleFocus',
242
166
  onHandleBlur: 'handleBlur'
243
- } as DesynthHeaderEvents,
167
+ },
244
168
  defineCustomElement: defineDesynthHeader
245
169
  });
246
-
247
- export type DesynthListEvents = { onItemClicked: EventName<DesynthListCustomEvent<ListItem>> };
248
-
249
- export const DesynthList: StencilReactComponent<DesynthListElement, DesynthListEvents> = /*@__PURE__*/ createComponent<DesynthListElement, DesynthListEvents>({
170
+ export const DesynthList = /*@__PURE__*/ createComponent({
250
171
  tagName: 'desynth-list',
251
172
  elementClass: DesynthListElement,
252
173
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
253
174
  react: React,
254
- events: { onItemClicked: 'itemClicked' } as DesynthListEvents,
175
+ events: { onItemClicked: 'itemClicked' },
255
176
  defineCustomElement: defineDesynthList
256
177
  });
257
-
258
- export type DesynthLoaderEvents = NonNullable<unknown>;
259
-
260
- export const DesynthLoader: StencilReactComponent<DesynthLoaderElement, DesynthLoaderEvents> = /*@__PURE__*/ createComponent<DesynthLoaderElement, DesynthLoaderEvents>({
178
+ export const DesynthLoader = /*@__PURE__*/ createComponent({
261
179
  tagName: 'desynth-loader',
262
180
  elementClass: DesynthLoaderElement,
263
181
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
264
182
  react: React,
265
- events: {} as DesynthLoaderEvents,
183
+ events: {},
266
184
  defineCustomElement: defineDesynthLoader
267
185
  });
268
-
269
- export type DesynthModalEvents = {
270
- onHandleOpen: EventName<CustomEvent<void>>,
271
- onHandleClose: EventName<CustomEvent<void>>,
272
- onHandleBeforeClose: EventName<DesynthModalCustomEvent<BeforeCloseEventDetail>>
273
- };
274
-
275
- export const DesynthModal: StencilReactComponent<DesynthModalElement, DesynthModalEvents> = /*@__PURE__*/ createComponent<DesynthModalElement, DesynthModalEvents>({
186
+ export const DesynthModal = /*@__PURE__*/ createComponent({
276
187
  tagName: 'desynth-modal',
277
188
  elementClass: DesynthModalElement,
278
189
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
@@ -281,61 +192,42 @@ export const DesynthModal: StencilReactComponent<DesynthModalElement, DesynthMod
281
192
  onHandleOpen: 'handleOpen',
282
193
  onHandleClose: 'handleClose',
283
194
  onHandleBeforeClose: 'handleBeforeClose'
284
- } as DesynthModalEvents,
195
+ },
285
196
  defineCustomElement: defineDesynthModal
286
197
  });
287
-
288
- export type DesynthMultiStepperEvents = { onHandleSubmit: EventName<CustomEvent<void>> };
289
-
290
- export const DesynthMultiStepper: StencilReactComponent<DesynthMultiStepperElement, DesynthMultiStepperEvents> = /*@__PURE__*/ createComponent<DesynthMultiStepperElement, DesynthMultiStepperEvents>({
198
+ export const DesynthMultiStepper = /*@__PURE__*/ createComponent({
291
199
  tagName: 'desynth-multi-stepper',
292
200
  elementClass: DesynthMultiStepperElement,
293
201
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
294
202
  react: React,
295
- events: { onHandleSubmit: 'handleSubmit' } as DesynthMultiStepperEvents,
203
+ events: { onHandleSubmit: 'handleSubmit' },
296
204
  defineCustomElement: defineDesynthMultiStepper
297
205
  });
298
-
299
- export type DesynthPaperEvents = NonNullable<unknown>;
300
-
301
- export const DesynthPaper: StencilReactComponent<DesynthPaperElement, DesynthPaperEvents> = /*@__PURE__*/ createComponent<DesynthPaperElement, DesynthPaperEvents>({
206
+ export const DesynthPaper = /*@__PURE__*/ createComponent({
302
207
  tagName: 'desynth-paper',
303
208
  elementClass: DesynthPaperElement,
304
209
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
305
210
  react: React,
306
- events: {} as DesynthPaperEvents,
211
+ events: {},
307
212
  defineCustomElement: defineDesynthPaper
308
213
  });
309
-
310
- export type DesynthRatingEvents = { onHandleChange: EventName<DesynthRatingCustomEvent<TextInputChangeEventValue>> };
311
-
312
- export const DesynthRating: StencilReactComponent<DesynthRatingElement, DesynthRatingEvents> = /*@__PURE__*/ createComponent<DesynthRatingElement, DesynthRatingEvents>({
214
+ export const DesynthRating = /*@__PURE__*/ createComponent({
313
215
  tagName: 'desynth-rating',
314
216
  elementClass: DesynthRatingElement,
315
217
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
316
218
  react: React,
317
- events: { onHandleChange: 'handleChange' } as DesynthRatingEvents,
219
+ events: { onHandleChange: 'handleChange' },
318
220
  defineCustomElement: defineDesynthRating
319
221
  });
320
-
321
- export type DesynthRendererEvents = NonNullable<unknown>;
322
-
323
- export const DesynthRenderer: StencilReactComponent<DesynthRendererElement, DesynthRendererEvents> = /*@__PURE__*/ createComponent<DesynthRendererElement, DesynthRendererEvents>({
222
+ export const DesynthRenderer = /*@__PURE__*/ createComponent({
324
223
  tagName: 'desynth-renderer',
325
224
  elementClass: DesynthRendererElement,
326
225
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
327
226
  react: React,
328
- events: {} as DesynthRendererEvents,
227
+ events: {},
329
228
  defineCustomElement: defineDesynthRenderer
330
229
  });
331
-
332
- export type DesynthSelectEvents = {
333
- onHandleChange: EventName<DesynthSelectCustomEvent<Options>>,
334
- onHandleInput: EventName<DesynthSelectCustomEvent<HTMLInputElement>>,
335
- onHandleFocus: EventName<CustomEvent<void>>
336
- };
337
-
338
- export const DesynthSelect: StencilReactComponent<DesynthSelectElement, DesynthSelectEvents> = /*@__PURE__*/ createComponent<DesynthSelectElement, DesynthSelectEvents>({
230
+ export const DesynthSelect = /*@__PURE__*/ createComponent({
339
231
  tagName: 'desynth-select',
340
232
  elementClass: DesynthSelectElement,
341
233
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
@@ -344,29 +236,18 @@ export const DesynthSelect: StencilReactComponent<DesynthSelectElement, DesynthS
344
236
  onHandleChange: 'handleChange',
345
237
  onHandleInput: 'handleInput',
346
238
  onHandleFocus: 'handleFocus'
347
- } as DesynthSelectEvents,
239
+ },
348
240
  defineCustomElement: defineDesynthSelect
349
241
  });
350
-
351
- export type DesynthStepStepperEvents = NonNullable<unknown>;
352
-
353
- export const DesynthStepStepper: StencilReactComponent<DesynthStepStepperElement, DesynthStepStepperEvents> = /*@__PURE__*/ createComponent<DesynthStepStepperElement, DesynthStepStepperEvents>({
242
+ export const DesynthStepStepper = /*@__PURE__*/ createComponent({
354
243
  tagName: 'desynth-step-stepper',
355
244
  elementClass: DesynthStepStepperElement,
356
245
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
357
246
  react: React,
358
- events: {} as DesynthStepStepperEvents,
247
+ events: {},
359
248
  defineCustomElement: defineDesynthStepStepper
360
249
  });
361
-
362
- export type DesynthSwitchEvents = {
363
- onHandleClick: EventName<DesynthSwitchCustomEvent<SwitchChangeEventValue>>,
364
- onHandleInput: EventName<DesynthSwitchCustomEvent<HTMLInputElement>>,
365
- onHandleFocus: EventName<CustomEvent<void>>,
366
- onHandleBlur: EventName<CustomEvent<void>>
367
- };
368
-
369
- export const DesynthSwitch: StencilReactComponent<DesynthSwitchElement, DesynthSwitchEvents> = /*@__PURE__*/ createComponent<DesynthSwitchElement, DesynthSwitchEvents>({
250
+ export const DesynthSwitch = /*@__PURE__*/ createComponent({
370
251
  tagName: 'desynth-switch',
371
252
  elementClass: DesynthSwitchElement,
372
253
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
@@ -376,18 +257,10 @@ export const DesynthSwitch: StencilReactComponent<DesynthSwitchElement, DesynthS
376
257
  onHandleInput: 'handleInput',
377
258
  onHandleFocus: 'handleFocus',
378
259
  onHandleBlur: 'handleBlur'
379
- } as DesynthSwitchEvents,
260
+ },
380
261
  defineCustomElement: defineDesynthSwitch
381
262
  });
382
-
383
- export type DesynthTableEvents = {
384
- onChangeRowsPerPage: EventName<CustomEvent<number>>,
385
- onGetDataNextPage: EventName<CustomEvent<null>>,
386
- onRowEvent: EventName<CustomEvent<any>>,
387
- onDropEvent: EventName<CustomEvent<any>>
388
- };
389
-
390
- export const DesynthTable: StencilReactComponent<DesynthTableElement, DesynthTableEvents> = /*@__PURE__*/ createComponent<DesynthTableElement, DesynthTableEvents>({
263
+ export const DesynthTable = /*@__PURE__*/ createComponent({
391
264
  tagName: 'desynth-table',
392
265
  elementClass: DesynthTableElement,
393
266
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
@@ -397,18 +270,10 @@ export const DesynthTable: StencilReactComponent<DesynthTableElement, DesynthTab
397
270
  onGetDataNextPage: 'getDataNextPage',
398
271
  onRowEvent: 'rowEvent',
399
272
  onDropEvent: 'dropEvent'
400
- } as DesynthTableEvents,
273
+ },
401
274
  defineCustomElement: defineDesynthTable
402
275
  });
403
-
404
- export type DesynthTextAreaEvents = {
405
- onHandleChange: EventName<DesynthTextAreaCustomEvent<InputChangeEventValue>>,
406
- onHandleInput: EventName<DesynthTextAreaCustomEvent<HTMLInputElement>>,
407
- onHandleFocus: EventName<CustomEvent<void>>,
408
- onHandleBlur: EventName<CustomEvent<void>>
409
- };
410
-
411
- export const DesynthTextArea: StencilReactComponent<DesynthTextAreaElement, DesynthTextAreaEvents> = /*@__PURE__*/ createComponent<DesynthTextAreaElement, DesynthTextAreaEvents>({
276
+ export const DesynthTextArea = /*@__PURE__*/ createComponent({
412
277
  tagName: 'desynth-text-area',
413
278
  elementClass: DesynthTextAreaElement,
414
279
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
@@ -418,18 +283,10 @@ export const DesynthTextArea: StencilReactComponent<DesynthTextAreaElement, Desy
418
283
  onHandleInput: 'handleInput',
419
284
  onHandleFocus: 'handleFocus',
420
285
  onHandleBlur: 'handleBlur'
421
- } as DesynthTextAreaEvents,
286
+ },
422
287
  defineCustomElement: defineDesynthTextArea
423
288
  });
424
-
425
- export type DesynthTextInputEvents = {
426
- onHandleChange: EventName<DesynthTextInputCustomEvent<TextInputChangeEventValue>>,
427
- onHandleInput: EventName<DesynthTextInputCustomEvent<HTMLInputElement>>,
428
- onHandleFocus: EventName<CustomEvent<void>>,
429
- onHandleBlur: EventName<CustomEvent<void>>
430
- };
431
-
432
- export const DesynthTextInput: StencilReactComponent<DesynthTextInputElement, DesynthTextInputEvents> = /*@__PURE__*/ createComponent<DesynthTextInputElement, DesynthTextInputEvents>({
289
+ export const DesynthTextInput = /*@__PURE__*/ createComponent({
433
290
  tagName: 'desynth-text-input',
434
291
  elementClass: DesynthTextInputElement,
435
292
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
@@ -439,39 +296,30 @@ export const DesynthTextInput: StencilReactComponent<DesynthTextInputElement, De
439
296
  onHandleInput: 'handleInput',
440
297
  onHandleFocus: 'handleFocus',
441
298
  onHandleBlur: 'handleBlur'
442
- } as DesynthTextInputEvents,
299
+ },
443
300
  defineCustomElement: defineDesynthTextInput
444
301
  });
445
-
446
- export type DesynthTooltipEvents = NonNullable<unknown>;
447
-
448
- export const DesynthTooltip: StencilReactComponent<DesynthTooltipElement, DesynthTooltipEvents> = /*@__PURE__*/ createComponent<DesynthTooltipElement, DesynthTooltipEvents>({
302
+ export const DesynthTooltip = /*@__PURE__*/ createComponent({
449
303
  tagName: 'desynth-tooltip',
450
304
  elementClass: DesynthTooltipElement,
451
305
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
452
306
  react: React,
453
- events: {} as DesynthTooltipEvents,
307
+ events: {},
454
308
  defineCustomElement: defineDesynthTooltip
455
309
  });
456
-
457
- export type HorizontalCardsEvents = NonNullable<unknown>;
458
-
459
- export const HorizontalCards: StencilReactComponent<HorizontalCardsElement, HorizontalCardsEvents> = /*@__PURE__*/ createComponent<HorizontalCardsElement, HorizontalCardsEvents>({
310
+ export const HorizontalCards = /*@__PURE__*/ createComponent({
460
311
  tagName: 'horizontal-cards',
461
312
  elementClass: HorizontalCardsElement,
462
313
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
463
314
  react: React,
464
- events: {} as HorizontalCardsEvents,
315
+ events: {},
465
316
  defineCustomElement: defineHorizontalCards
466
317
  });
467
-
468
- export type HtmlEditorEvents = { onHtmlChanged: EventName<CustomEvent<string>> };
469
-
470
- export const HtmlEditor: StencilReactComponent<HtmlEditorElement, HtmlEditorEvents> = /*@__PURE__*/ createComponent<HtmlEditorElement, HtmlEditorEvents>({
318
+ export const HtmlEditor = /*@__PURE__*/ createComponent({
471
319
  tagName: 'html-editor',
472
320
  elementClass: HtmlEditorElement,
473
321
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
474
322
  react: React,
475
- events: { onHtmlChanged: 'htmlChanged' } as HtmlEditorEvents,
323
+ events: { onHtmlChanged: 'htmlChanged' },
476
324
  defineCustomElement: defineHtmlEditor
477
325
  });
@@ -0,0 +1 @@
1
+ export * from './components.js';
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from './components.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@desynth/web-components-react",
3
3
  "sideEffects": false,
4
- "version": "13.11.25-alpha.3",
4
+ "version": "13.11.25-alpha.4",
5
5
  "description": "React proxy for @desynth/web-components",
6
6
  "license": "MPL-2.0",
7
7
  "homepage": "https://github.com/desynth/desynth-web-components#readme",
@@ -20,6 +20,11 @@
20
20
  "tsc": "tsc -p ."
21
21
  },
22
22
  "main": "./dist/index.js",
23
+ "module": "./dist/index.js",
24
+ "types": "./dist/index.d.ts",
25
+ "files": [
26
+ "dist/"
27
+ ],
23
28
  "exports": {
24
29
  ".": {
25
30
  "types": "./dist/index.d.ts",
package/src/index.ts DELETED
@@ -1 +0,0 @@
1
- export * from './components.js';
package/tsconfig.json DELETED
@@ -1,30 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "alwaysStrict": true,
4
- "allowSyntheticDefaultImports": true,
5
- "allowUnreachableCode": false,
6
- "declaration": true,
7
- "experimentalDecorators": true,
8
- "lib": [
9
- "dom",
10
- "es2015"
11
- ],
12
- "jsx": "react",
13
- "noImplicitAny": true,
14
- "noImplicitReturns": true,
15
- "noUnusedLocals": true,
16
- "noUnusedParameters": true,
17
- "pretty": true,
18
- "removeComments": false,
19
- "strictPropertyInitialization": false,
20
- "baseUrl": ".",
21
- "outDir": "./dist/",
22
- "target": "es2017", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
23
- "module": "esnext",
24
- "moduleResolution": "bundler", /* Specify what module code is generated. */
25
- "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
26
- "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
27
- "strict": true, /* Enable all strict type-checking options. */
28
- "skipLibCheck": true, /* Skip type checking all .d.ts files. */
29
- }
30
- }