@sellmate/design-system-react 1.0.78 → 1.1.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/README.md +50 -60
- package/dist/components/components.d.ts +120 -112
- package/dist/components/components.js +27 -12
- package/dist/components/components.server.d.ts +121 -113
- package/dist/components/components.server.js +96 -94
- package/dist/index.d.ts +1 -1
- package/lib/components/components.server.ts +274 -267
- package/lib/components/components.ts +149 -134
- package/lib/index.ts +2 -3
- package/package.json +68 -67
|
@@ -7,11 +7,15 @@
|
|
|
7
7
|
|
|
8
8
|
/* eslint-disable */
|
|
9
9
|
|
|
10
|
-
import
|
|
10
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
11
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
12
|
+
import React from 'react';
|
|
13
|
+
|
|
14
|
+
import { type CheckedType, type DateRangeValue, type DropdownButtonValue, type Event, type RadioValue, type Row, type SdActionModalCustomEvent, type SdBarcodeInputCustomEvent, type SdButtonCustomEvent, type SdCalendarCustomEvent, type SdCheckboxCustomEvent, type SdChipCustomEvent, type SdConfirmModalCustomEvent, type SdDateBoxCustomEvent, type SdDatePickerCalendarCustomEvent, type SdDatePickerCustomEvent, type SdDatePickerTriggerCustomEvent, type SdDateRangePickerCalendarCustomEvent, type SdDateRangePickerCustomEvent, type SdDropdownButtonCustomEvent, type SdFilePickerCustomEvent, type SdFloatingPortalCustomEvent, type SdFormCustomEvent, type SdGhostButtonCustomEvent, type SdInputCustomEvent, type SdKeyValueChangeDetail, type SdKeyValueTableCustomEvent, type SdLoadingModalCustomEvent, type SdNumberInputCustomEvent, type SdPaginationCustomEvent, type SdPopoverCustomEvent, type SdPopupCustomEvent, type SdPortalCustomEvent, type SdRadioButtonCustomEvent, type SdRadioCustomEvent, type SdRadioGroupCustomEvent, type SdSelectCustomEvent, type SdSelectListItemCustomEvent, type SdSelectListItemSearchCustomEvent, type SdSelectListboxCustomEvent, type SdSelectTriggerCustomEvent, type SdSwitchCustomEvent, type SdTableColumn, type SdTableCustomEvent, type SdTabsCustomEvent, type SdTextLinkCustomEvent, type SdTextareaCustomEvent, type SdTheadCustomEvent, type SdToastContainerCustomEvent, type SdToastCustomEvent, type SdToggleCustomEvent, type SelectOption, type SelectOptionSelectDetail, type SelectValue } from "@sellmate/design-system";
|
|
15
|
+
import type { Components } from "@sellmate/design-system/dist/components";
|
|
11
16
|
import { SdActionModal as SdActionModalElement, defineCustomElement as defineSdActionModal } from "@sellmate/design-system/dist/components/sd-action-modal.js";
|
|
12
17
|
import { SdBadge as SdBadgeElement, defineCustomElement as defineSdBadge } from "@sellmate/design-system/dist/components/sd-badge.js";
|
|
13
18
|
import { SdBarcodeInput as SdBarcodeInputElement, defineCustomElement as defineSdBarcodeInput } from "@sellmate/design-system/dist/components/sd-barcode-input.js";
|
|
14
|
-
import { SdButtonV2 as SdButtonV2Element, defineCustomElement as defineSdButtonV2 } from "@sellmate/design-system/dist/components/sd-button-v2.js";
|
|
15
19
|
import { SdButton as SdButtonElement, defineCustomElement as defineSdButton } from "@sellmate/design-system/dist/components/sd-button.js";
|
|
16
20
|
import { SdCalendar as SdCalendarElement, defineCustomElement as defineSdCalendar } from "@sellmate/design-system/dist/components/sd-calendar.js";
|
|
17
21
|
import { SdCard as SdCardElement, defineCustomElement as defineSdCard } from "@sellmate/design-system/dist/components/sd-card.js";
|
|
@@ -34,6 +38,7 @@ import { SdGhostButton as SdGhostButtonElement, defineCustomElement as defineSdG
|
|
|
34
38
|
import { SdGuide as SdGuideElement, defineCustomElement as defineSdGuide } from "@sellmate/design-system/dist/components/sd-guide.js";
|
|
35
39
|
import { SdIcon as SdIconElement, defineCustomElement as defineSdIcon } from "@sellmate/design-system/dist/components/sd-icon.js";
|
|
36
40
|
import { SdInput as SdInputElement, defineCustomElement as defineSdInput } from "@sellmate/design-system/dist/components/sd-input.js";
|
|
41
|
+
import { SdKeyValueTable as SdKeyValueTableElement, defineCustomElement as defineSdKeyValueTable } from "@sellmate/design-system/dist/components/sd-key-value-table.js";
|
|
37
42
|
import { SdLinearProgress as SdLinearProgressElement, defineCustomElement as defineSdLinearProgress } from "@sellmate/design-system/dist/components/sd-linear-progress.js";
|
|
38
43
|
import { SdLoadingContainer as SdLoadingContainerElement, defineCustomElement as defineSdLoadingContainer } from "@sellmate/design-system/dist/components/sd-loading-container.js";
|
|
39
44
|
import { SdLoadingModal as SdLoadingModalElement, defineCustomElement as defineSdLoadingModal } from "@sellmate/design-system/dist/components/sd-loading-modal.js";
|
|
@@ -41,6 +46,7 @@ import { SdModalContainer as SdModalContainerElement, defineCustomElement as def
|
|
|
41
46
|
import { SdNumberInput as SdNumberInputElement, defineCustomElement as defineSdNumberInput } from "@sellmate/design-system/dist/components/sd-number-input.js";
|
|
42
47
|
import { SdPagination as SdPaginationElement, defineCustomElement as defineSdPagination } from "@sellmate/design-system/dist/components/sd-pagination.js";
|
|
43
48
|
import { SdPopover as SdPopoverElement, defineCustomElement as defineSdPopover } from "@sellmate/design-system/dist/components/sd-popover.js";
|
|
49
|
+
import { SdPopup as SdPopupElement, defineCustomElement as defineSdPopup } from "@sellmate/design-system/dist/components/sd-popup.js";
|
|
44
50
|
import { SdPortal as SdPortalElement, defineCustomElement as defineSdPortal } from "@sellmate/design-system/dist/components/sd-portal.js";
|
|
45
51
|
import { SdRadioButton as SdRadioButtonElement, defineCustomElement as defineSdRadioButton } from "@sellmate/design-system/dist/components/sd-radio-button.js";
|
|
46
52
|
import { SdRadioGroup as SdRadioGroupElement, defineCustomElement as defineSdRadioGroup } from "@sellmate/design-system/dist/components/sd-radio-group.js";
|
|
@@ -64,16 +70,13 @@ import { SdToast as SdToastElement, defineCustomElement as defineSdToast } from
|
|
|
64
70
|
import { SdToggle as SdToggleElement, defineCustomElement as defineSdToggle } from "@sellmate/design-system/dist/components/sd-toggle.js";
|
|
65
71
|
import { SdTooltip as SdTooltipElement, defineCustomElement as defineSdTooltip } from "@sellmate/design-system/dist/components/sd-tooltip.js";
|
|
66
72
|
import { SdTr as SdTrElement, defineCustomElement as defineSdTr } from "@sellmate/design-system/dist/components/sd-tr.js";
|
|
67
|
-
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
68
|
-
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
69
|
-
import React from 'react';
|
|
70
73
|
|
|
71
74
|
export type SdActionModalEvents = {
|
|
72
|
-
onSdClose: EventName<
|
|
73
|
-
onSdOk: EventName<
|
|
75
|
+
onSdClose: EventName<SdActionModalCustomEvent<void>>,
|
|
76
|
+
onSdOk: EventName<SdActionModalCustomEvent<void>>
|
|
74
77
|
};
|
|
75
78
|
|
|
76
|
-
export const SdActionModal: StencilReactComponent<SdActionModalElement, SdActionModalEvents> = /*@__PURE__*/ createComponent<SdActionModalElement, SdActionModalEvents>({
|
|
79
|
+
export const SdActionModal: StencilReactComponent<SdActionModalElement, SdActionModalEvents, Components.SdActionModal> = /*@__PURE__*/ createComponent<SdActionModalElement, SdActionModalEvents, Components.SdActionModal>({
|
|
77
80
|
tagName: 'sd-action-modal',
|
|
78
81
|
elementClass: SdActionModalElement,
|
|
79
82
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -87,7 +90,7 @@ export const SdActionModal: StencilReactComponent<SdActionModalElement, SdAction
|
|
|
87
90
|
|
|
88
91
|
export type SdBadgeEvents = NonNullable<unknown>;
|
|
89
92
|
|
|
90
|
-
export const SdBadge: StencilReactComponent<SdBadgeElement, SdBadgeEvents> = /*@__PURE__*/ createComponent<SdBadgeElement, SdBadgeEvents>({
|
|
93
|
+
export const SdBadge: StencilReactComponent<SdBadgeElement, SdBadgeEvents, Components.SdBadge> = /*@__PURE__*/ createComponent<SdBadgeElement, SdBadgeEvents, Components.SdBadge>({
|
|
91
94
|
tagName: 'sd-badge',
|
|
92
95
|
elementClass: SdBadgeElement,
|
|
93
96
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -97,12 +100,12 @@ export const SdBadge: StencilReactComponent<SdBadgeElement, SdBadgeEvents> = /*@
|
|
|
97
100
|
});
|
|
98
101
|
|
|
99
102
|
export type SdBarcodeInputEvents = {
|
|
100
|
-
onSdUpdate: EventName<
|
|
103
|
+
onSdUpdate: EventName<SdBarcodeInputCustomEvent<string | number | null>>,
|
|
101
104
|
onSdFocus: EventName<SdBarcodeInputCustomEvent<Event>>,
|
|
102
105
|
onSdBlur: EventName<SdBarcodeInputCustomEvent<Event>>
|
|
103
106
|
};
|
|
104
107
|
|
|
105
|
-
export const SdBarcodeInput: StencilReactComponent<SdBarcodeInputElement, SdBarcodeInputEvents> = /*@__PURE__*/ createComponent<SdBarcodeInputElement, SdBarcodeInputEvents>({
|
|
108
|
+
export const SdBarcodeInput: StencilReactComponent<SdBarcodeInputElement, SdBarcodeInputEvents, Components.SdBarcodeInput> = /*@__PURE__*/ createComponent<SdBarcodeInputElement, SdBarcodeInputEvents, Components.SdBarcodeInput>({
|
|
106
109
|
tagName: 'sd-barcode-input',
|
|
107
110
|
elementClass: SdBarcodeInputElement,
|
|
108
111
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -117,7 +120,7 @@ export const SdBarcodeInput: StencilReactComponent<SdBarcodeInputElement, SdBarc
|
|
|
117
120
|
|
|
118
121
|
export type SdButtonEvents = { onSdClick: EventName<SdButtonCustomEvent<MouseEvent>> };
|
|
119
122
|
|
|
120
|
-
export const SdButton: StencilReactComponent<SdButtonElement, SdButtonEvents> = /*@__PURE__*/ createComponent<SdButtonElement, SdButtonEvents>({
|
|
123
|
+
export const SdButton: StencilReactComponent<SdButtonElement, SdButtonEvents, Components.SdButton> = /*@__PURE__*/ createComponent<SdButtonElement, SdButtonEvents, Components.SdButton>({
|
|
121
124
|
tagName: 'sd-button',
|
|
122
125
|
elementClass: SdButtonElement,
|
|
123
126
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -126,23 +129,12 @@ export const SdButton: StencilReactComponent<SdButtonElement, SdButtonEvents> =
|
|
|
126
129
|
defineCustomElement: defineSdButton
|
|
127
130
|
});
|
|
128
131
|
|
|
129
|
-
export type SdButtonV2Events = { onSdClick: EventName<SdButtonV2CustomEvent<MouseEvent>> };
|
|
130
|
-
|
|
131
|
-
export const SdButtonV2: StencilReactComponent<SdButtonV2Element, SdButtonV2Events> = /*@__PURE__*/ createComponent<SdButtonV2Element, SdButtonV2Events>({
|
|
132
|
-
tagName: 'sd-button-v2',
|
|
133
|
-
elementClass: SdButtonV2Element,
|
|
134
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
135
|
-
react: React,
|
|
136
|
-
events: { onSdClick: 'sdClick' } as SdButtonV2Events,
|
|
137
|
-
defineCustomElement: defineSdButtonV2
|
|
138
|
-
});
|
|
139
|
-
|
|
140
132
|
export type SdCalendarEvents = {
|
|
141
|
-
onSdSelect: EventName<
|
|
142
|
-
onSdViewChange: EventName<
|
|
133
|
+
onSdSelect: EventName<SdCalendarCustomEvent<string>>,
|
|
134
|
+
onSdViewChange: EventName<SdCalendarCustomEvent<{ year: number; month: number }>>
|
|
143
135
|
};
|
|
144
136
|
|
|
145
|
-
export const SdCalendar: StencilReactComponent<SdCalendarElement, SdCalendarEvents> = /*@__PURE__*/ createComponent<SdCalendarElement, SdCalendarEvents>({
|
|
137
|
+
export const SdCalendar: StencilReactComponent<SdCalendarElement, SdCalendarEvents, Components.SdCalendar> = /*@__PURE__*/ createComponent<SdCalendarElement, SdCalendarEvents, Components.SdCalendar>({
|
|
146
138
|
tagName: 'sd-calendar',
|
|
147
139
|
elementClass: SdCalendarElement,
|
|
148
140
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -156,7 +148,7 @@ export const SdCalendar: StencilReactComponent<SdCalendarElement, SdCalendarEven
|
|
|
156
148
|
|
|
157
149
|
export type SdCardEvents = NonNullable<unknown>;
|
|
158
150
|
|
|
159
|
-
export const SdCard: StencilReactComponent<SdCardElement, SdCardEvents> = /*@__PURE__*/ createComponent<SdCardElement, SdCardEvents>({
|
|
151
|
+
export const SdCard: StencilReactComponent<SdCardElement, SdCardEvents, Components.SdCard> = /*@__PURE__*/ createComponent<SdCardElement, SdCardEvents, Components.SdCard>({
|
|
160
152
|
tagName: 'sd-card',
|
|
161
153
|
elementClass: SdCardElement,
|
|
162
154
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -167,7 +159,7 @@ export const SdCard: StencilReactComponent<SdCardElement, SdCardEvents> = /*@__P
|
|
|
167
159
|
|
|
168
160
|
export type SdCheckboxEvents = { onSdUpdate: EventName<SdCheckboxCustomEvent<CheckedType>> };
|
|
169
161
|
|
|
170
|
-
export const SdCheckbox: StencilReactComponent<SdCheckboxElement, SdCheckboxEvents> = /*@__PURE__*/ createComponent<SdCheckboxElement, SdCheckboxEvents>({
|
|
162
|
+
export const SdCheckbox: StencilReactComponent<SdCheckboxElement, SdCheckboxEvents, Components.SdCheckbox> = /*@__PURE__*/ createComponent<SdCheckboxElement, SdCheckboxEvents, Components.SdCheckbox>({
|
|
171
163
|
tagName: 'sd-checkbox',
|
|
172
164
|
elementClass: SdCheckboxElement,
|
|
173
165
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -177,13 +169,13 @@ export const SdCheckbox: StencilReactComponent<SdCheckboxElement, SdCheckboxEven
|
|
|
177
169
|
});
|
|
178
170
|
|
|
179
171
|
export type SdChipEvents = {
|
|
180
|
-
onSdUpdate: EventName<
|
|
181
|
-
onSdRemove: EventName<
|
|
182
|
-
onSdFocus: EventName<
|
|
183
|
-
onSdBlur: EventName<
|
|
172
|
+
onSdUpdate: EventName<SdChipCustomEvent<string>>,
|
|
173
|
+
onSdRemove: EventName<SdChipCustomEvent<void>>,
|
|
174
|
+
onSdFocus: EventName<SdChipCustomEvent<void>>,
|
|
175
|
+
onSdBlur: EventName<SdChipCustomEvent<void>>
|
|
184
176
|
};
|
|
185
177
|
|
|
186
|
-
export const SdChip: StencilReactComponent<SdChipElement, SdChipEvents> = /*@__PURE__*/ createComponent<SdChipElement, SdChipEvents>({
|
|
178
|
+
export const SdChip: StencilReactComponent<SdChipElement, SdChipEvents, Components.SdChip> = /*@__PURE__*/ createComponent<SdChipElement, SdChipEvents, Components.SdChip>({
|
|
187
179
|
tagName: 'sd-chip',
|
|
188
180
|
elementClass: SdChipElement,
|
|
189
181
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -199,7 +191,7 @@ export const SdChip: StencilReactComponent<SdChipElement, SdChipEvents> = /*@__P
|
|
|
199
191
|
|
|
200
192
|
export type SdCircleProgressEvents = NonNullable<unknown>;
|
|
201
193
|
|
|
202
|
-
export const SdCircleProgress: StencilReactComponent<SdCircleProgressElement, SdCircleProgressEvents> = /*@__PURE__*/ createComponent<SdCircleProgressElement, SdCircleProgressEvents>({
|
|
194
|
+
export const SdCircleProgress: StencilReactComponent<SdCircleProgressElement, SdCircleProgressEvents, Components.SdCircleProgress> = /*@__PURE__*/ createComponent<SdCircleProgressElement, SdCircleProgressEvents, Components.SdCircleProgress>({
|
|
203
195
|
tagName: 'sd-circle-progress',
|
|
204
196
|
elementClass: SdCircleProgressElement,
|
|
205
197
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -209,12 +201,12 @@ export const SdCircleProgress: StencilReactComponent<SdCircleProgressElement, Sd
|
|
|
209
201
|
});
|
|
210
202
|
|
|
211
203
|
export type SdConfirmModalEvents = {
|
|
212
|
-
onSdClose: EventName<
|
|
213
|
-
onSdCancel: EventName<
|
|
214
|
-
onSdOk: EventName<
|
|
204
|
+
onSdClose: EventName<SdConfirmModalCustomEvent<void>>,
|
|
205
|
+
onSdCancel: EventName<SdConfirmModalCustomEvent<void>>,
|
|
206
|
+
onSdOk: EventName<SdConfirmModalCustomEvent<void>>
|
|
215
207
|
};
|
|
216
208
|
|
|
217
|
-
export const SdConfirmModal: StencilReactComponent<SdConfirmModalElement, SdConfirmModalEvents> = /*@__PURE__*/ createComponent<SdConfirmModalElement, SdConfirmModalEvents>({
|
|
209
|
+
export const SdConfirmModal: StencilReactComponent<SdConfirmModalElement, SdConfirmModalEvents, Components.SdConfirmModal> = /*@__PURE__*/ createComponent<SdConfirmModalElement, SdConfirmModalEvents, Components.SdConfirmModal>({
|
|
218
210
|
tagName: 'sd-confirm-modal',
|
|
219
211
|
elementClass: SdConfirmModalElement,
|
|
220
212
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -228,11 +220,11 @@ export const SdConfirmModal: StencilReactComponent<SdConfirmModalElement, SdConf
|
|
|
228
220
|
});
|
|
229
221
|
|
|
230
222
|
export type SdDateBoxEvents = {
|
|
231
|
-
onSdClick: EventName<
|
|
232
|
-
onSdMouseOver: EventName<
|
|
223
|
+
onSdClick: EventName<SdDateBoxCustomEvent<number | string | null>>,
|
|
224
|
+
onSdMouseOver: EventName<SdDateBoxCustomEvent<number | string | null>>
|
|
233
225
|
};
|
|
234
226
|
|
|
235
|
-
export const SdDateBox: StencilReactComponent<SdDateBoxElement, SdDateBoxEvents> = /*@__PURE__*/ createComponent<SdDateBoxElement, SdDateBoxEvents>({
|
|
227
|
+
export const SdDateBox: StencilReactComponent<SdDateBoxElement, SdDateBoxEvents, Components.SdDateBox> = /*@__PURE__*/ createComponent<SdDateBoxElement, SdDateBoxEvents, Components.SdDateBox>({
|
|
236
228
|
tagName: 'sd-date-box',
|
|
237
229
|
elementClass: SdDateBoxElement,
|
|
238
230
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -245,11 +237,11 @@ export const SdDateBox: StencilReactComponent<SdDateBoxElement, SdDateBoxEvents>
|
|
|
245
237
|
});
|
|
246
238
|
|
|
247
239
|
export type SdDatePickerEvents = {
|
|
248
|
-
onSdUpdate: EventName<
|
|
249
|
-
onSdViewChange: EventName<
|
|
240
|
+
onSdUpdate: EventName<SdDatePickerCustomEvent<string | null>>,
|
|
241
|
+
onSdViewChange: EventName<SdDatePickerCustomEvent<{ year: number; month: number }>>
|
|
250
242
|
};
|
|
251
243
|
|
|
252
|
-
export const SdDatePicker: StencilReactComponent<SdDatePickerElement, SdDatePickerEvents> = /*@__PURE__*/ createComponent<SdDatePickerElement, SdDatePickerEvents>({
|
|
244
|
+
export const SdDatePicker: StencilReactComponent<SdDatePickerElement, SdDatePickerEvents, Components.SdDatePicker> = /*@__PURE__*/ createComponent<SdDatePickerElement, SdDatePickerEvents, Components.SdDatePicker>({
|
|
253
245
|
tagName: 'sd-date-picker',
|
|
254
246
|
elementClass: SdDatePickerElement,
|
|
255
247
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -262,11 +254,11 @@ export const SdDatePicker: StencilReactComponent<SdDatePickerElement, SdDatePick
|
|
|
262
254
|
});
|
|
263
255
|
|
|
264
256
|
export type SdDatePickerCalendarEvents = {
|
|
265
|
-
onSdSelect: EventName<
|
|
266
|
-
onSdViewChange: EventName<
|
|
257
|
+
onSdSelect: EventName<SdDatePickerCalendarCustomEvent<string>>,
|
|
258
|
+
onSdViewChange: EventName<SdDatePickerCalendarCustomEvent<{ year: number; month: number }>>
|
|
267
259
|
};
|
|
268
260
|
|
|
269
|
-
export const SdDatePickerCalendar: StencilReactComponent<SdDatePickerCalendarElement, SdDatePickerCalendarEvents> = /*@__PURE__*/ createComponent<SdDatePickerCalendarElement, SdDatePickerCalendarEvents>({
|
|
261
|
+
export const SdDatePickerCalendar: StencilReactComponent<SdDatePickerCalendarElement, SdDatePickerCalendarEvents, Components.SdDatePickerCalendar> = /*@__PURE__*/ createComponent<SdDatePickerCalendarElement, SdDatePickerCalendarEvents, Components.SdDatePickerCalendar>({
|
|
270
262
|
tagName: 'sd-date-picker-calendar',
|
|
271
263
|
elementClass: SdDatePickerCalendarElement,
|
|
272
264
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -278,9 +270,9 @@ export const SdDatePickerCalendar: StencilReactComponent<SdDatePickerCalendarEle
|
|
|
278
270
|
defineCustomElement: defineSdDatePickerCalendar
|
|
279
271
|
});
|
|
280
272
|
|
|
281
|
-
export type SdDatePickerTriggerEvents = { onSdTriggerClick: EventName<
|
|
273
|
+
export type SdDatePickerTriggerEvents = { onSdTriggerClick: EventName<SdDatePickerTriggerCustomEvent<void>> };
|
|
282
274
|
|
|
283
|
-
export const SdDatePickerTrigger: StencilReactComponent<SdDatePickerTriggerElement, SdDatePickerTriggerEvents> = /*@__PURE__*/ createComponent<SdDatePickerTriggerElement, SdDatePickerTriggerEvents>({
|
|
275
|
+
export const SdDatePickerTrigger: StencilReactComponent<SdDatePickerTriggerElement, SdDatePickerTriggerEvents, Components.SdDatePickerTrigger> = /*@__PURE__*/ createComponent<SdDatePickerTriggerElement, SdDatePickerTriggerEvents, Components.SdDatePickerTrigger>({
|
|
284
276
|
tagName: 'sd-date-picker-trigger',
|
|
285
277
|
elementClass: SdDatePickerTriggerElement,
|
|
286
278
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -291,10 +283,10 @@ export const SdDatePickerTrigger: StencilReactComponent<SdDatePickerTriggerEleme
|
|
|
291
283
|
|
|
292
284
|
export type SdDateRangePickerEvents = {
|
|
293
285
|
onSdUpdate: EventName<SdDateRangePickerCustomEvent<DateRangeValue>>,
|
|
294
|
-
onSdViewChange: EventName<
|
|
286
|
+
onSdViewChange: EventName<SdDateRangePickerCustomEvent<{ year: number; month: number }>>
|
|
295
287
|
};
|
|
296
288
|
|
|
297
|
-
export const SdDateRangePicker: StencilReactComponent<SdDateRangePickerElement, SdDateRangePickerEvents> = /*@__PURE__*/ createComponent<SdDateRangePickerElement, SdDateRangePickerEvents>({
|
|
289
|
+
export const SdDateRangePicker: StencilReactComponent<SdDateRangePickerElement, SdDateRangePickerEvents, Components.SdDateRangePicker> = /*@__PURE__*/ createComponent<SdDateRangePickerElement, SdDateRangePickerEvents, Components.SdDateRangePicker>({
|
|
298
290
|
tagName: 'sd-date-range-picker',
|
|
299
291
|
elementClass: SdDateRangePickerElement,
|
|
300
292
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -307,11 +299,11 @@ export const SdDateRangePicker: StencilReactComponent<SdDateRangePickerElement,
|
|
|
307
299
|
});
|
|
308
300
|
|
|
309
301
|
export type SdDateRangePickerCalendarEvents = {
|
|
310
|
-
onSdSelect: EventName<
|
|
311
|
-
onSdViewChange: EventName<
|
|
302
|
+
onSdSelect: EventName<SdDateRangePickerCalendarCustomEvent<[string, string]>>,
|
|
303
|
+
onSdViewChange: EventName<SdDateRangePickerCalendarCustomEvent<{ year: number; month: number }>>
|
|
312
304
|
};
|
|
313
305
|
|
|
314
|
-
export const SdDateRangePickerCalendar: StencilReactComponent<SdDateRangePickerCalendarElement, SdDateRangePickerCalendarEvents> = /*@__PURE__*/ createComponent<SdDateRangePickerCalendarElement, SdDateRangePickerCalendarEvents>({
|
|
306
|
+
export const SdDateRangePickerCalendar: StencilReactComponent<SdDateRangePickerCalendarElement, SdDateRangePickerCalendarEvents, Components.SdDateRangePickerCalendar> = /*@__PURE__*/ createComponent<SdDateRangePickerCalendarElement, SdDateRangePickerCalendarEvents, Components.SdDateRangePickerCalendar>({
|
|
315
307
|
tagName: 'sd-date-range-picker-calendar',
|
|
316
308
|
elementClass: SdDateRangePickerCalendarElement,
|
|
317
309
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -325,10 +317,10 @@ export const SdDateRangePickerCalendar: StencilReactComponent<SdDateRangePickerC
|
|
|
325
317
|
|
|
326
318
|
export type SdDropdownButtonEvents = {
|
|
327
319
|
onSdClick: EventName<SdDropdownButtonCustomEvent<DropdownButtonValue>>,
|
|
328
|
-
onSdDropDownShow: EventName<
|
|
320
|
+
onSdDropDownShow: EventName<SdDropdownButtonCustomEvent<{ isOpen: boolean }>>
|
|
329
321
|
};
|
|
330
322
|
|
|
331
|
-
export const SdDropdownButton: StencilReactComponent<SdDropdownButtonElement, SdDropdownButtonEvents> = /*@__PURE__*/ createComponent<SdDropdownButtonElement, SdDropdownButtonEvents>({
|
|
323
|
+
export const SdDropdownButton: StencilReactComponent<SdDropdownButtonElement, SdDropdownButtonEvents, Components.SdDropdownButton> = /*@__PURE__*/ createComponent<SdDropdownButtonElement, SdDropdownButtonEvents, Components.SdDropdownButton>({
|
|
332
324
|
tagName: 'sd-dropdown-button',
|
|
333
325
|
elementClass: SdDropdownButtonElement,
|
|
334
326
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -342,7 +334,7 @@ export const SdDropdownButton: StencilReactComponent<SdDropdownButtonElement, Sd
|
|
|
342
334
|
|
|
343
335
|
export type SdFieldEvents = NonNullable<unknown>;
|
|
344
336
|
|
|
345
|
-
export const SdField: StencilReactComponent<SdFieldElement, SdFieldEvents> = /*@__PURE__*/ createComponent<SdFieldElement, SdFieldEvents>({
|
|
337
|
+
export const SdField: StencilReactComponent<SdFieldElement, SdFieldEvents, Components.SdField> = /*@__PURE__*/ createComponent<SdFieldElement, SdFieldEvents, Components.SdField>({
|
|
346
338
|
tagName: 'sd-field',
|
|
347
339
|
elementClass: SdFieldElement,
|
|
348
340
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -353,13 +345,10 @@ export const SdField: StencilReactComponent<SdFieldElement, SdFieldEvents> = /*@
|
|
|
353
345
|
|
|
354
346
|
export type SdFilePickerEvents = {
|
|
355
347
|
onSdUpdate: EventName<SdFilePickerCustomEvent<File[] | File | null>>,
|
|
356
|
-
onSdReject: EventName<SdFilePickerCustomEvent<{
|
|
357
|
-
files: File[];
|
|
358
|
-
reason: 'max-file-size' | 'max-total-size' | 'max-files';
|
|
359
|
-
}>>
|
|
348
|
+
onSdReject: EventName<SdFilePickerCustomEvent<{ files: File[]; reason: 'max-file-size' | 'max-total-size' | 'max-files'; }>>
|
|
360
349
|
};
|
|
361
350
|
|
|
362
|
-
export const SdFilePicker: StencilReactComponent<SdFilePickerElement, SdFilePickerEvents> = /*@__PURE__*/ createComponent<SdFilePickerElement, SdFilePickerEvents>({
|
|
351
|
+
export const SdFilePicker: StencilReactComponent<SdFilePickerElement, SdFilePickerEvents, Components.SdFilePicker> = /*@__PURE__*/ createComponent<SdFilePickerElement, SdFilePickerEvents, Components.SdFilePicker>({
|
|
363
352
|
tagName: 'sd-file-picker',
|
|
364
353
|
elementClass: SdFilePickerElement,
|
|
365
354
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -371,9 +360,9 @@ export const SdFilePicker: StencilReactComponent<SdFilePickerElement, SdFilePick
|
|
|
371
360
|
defineCustomElement: defineSdFilePicker
|
|
372
361
|
});
|
|
373
362
|
|
|
374
|
-
export type SdFloatingPortalEvents = { onSdClose: EventName<
|
|
363
|
+
export type SdFloatingPortalEvents = { onSdClose: EventName<SdFloatingPortalCustomEvent<void>> };
|
|
375
364
|
|
|
376
|
-
export const SdFloatingPortal: StencilReactComponent<SdFloatingPortalElement, SdFloatingPortalEvents> = /*@__PURE__*/ createComponent<SdFloatingPortalElement, SdFloatingPortalEvents>({
|
|
365
|
+
export const SdFloatingPortal: StencilReactComponent<SdFloatingPortalElement, SdFloatingPortalEvents, Components.SdFloatingPortal> = /*@__PURE__*/ createComponent<SdFloatingPortalElement, SdFloatingPortalEvents, Components.SdFloatingPortal>({
|
|
377
366
|
tagName: 'sd-floating-portal',
|
|
378
367
|
elementClass: SdFloatingPortalElement,
|
|
379
368
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -383,11 +372,11 @@ export const SdFloatingPortal: StencilReactComponent<SdFloatingPortalElement, Sd
|
|
|
383
372
|
});
|
|
384
373
|
|
|
385
374
|
export type SdFormEvents = {
|
|
386
|
-
onSdSubmit: EventName<
|
|
387
|
-
onSdValidationError: EventName<
|
|
375
|
+
onSdSubmit: EventName<SdFormCustomEvent<void>>,
|
|
376
|
+
onSdValidationError: EventName<SdFormCustomEvent<{ names: string[] }>>
|
|
388
377
|
};
|
|
389
378
|
|
|
390
|
-
export const SdForm: StencilReactComponent<SdFormElement, SdFormEvents> = /*@__PURE__*/ createComponent<SdFormElement, SdFormEvents>({
|
|
379
|
+
export const SdForm: StencilReactComponent<SdFormElement, SdFormEvents, Components.SdForm> = /*@__PURE__*/ createComponent<SdFormElement, SdFormEvents, Components.SdForm>({
|
|
391
380
|
tagName: 'sd-form',
|
|
392
381
|
elementClass: SdFormElement,
|
|
393
382
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -401,7 +390,7 @@ export const SdForm: StencilReactComponent<SdFormElement, SdFormEvents> = /*@__P
|
|
|
401
390
|
|
|
402
391
|
export type SdGhostButtonEvents = { onSdClick: EventName<SdGhostButtonCustomEvent<MouseEvent>> };
|
|
403
392
|
|
|
404
|
-
export const SdGhostButton: StencilReactComponent<SdGhostButtonElement, SdGhostButtonEvents> = /*@__PURE__*/ createComponent<SdGhostButtonElement, SdGhostButtonEvents>({
|
|
393
|
+
export const SdGhostButton: StencilReactComponent<SdGhostButtonElement, SdGhostButtonEvents, Components.SdGhostButton> = /*@__PURE__*/ createComponent<SdGhostButtonElement, SdGhostButtonEvents, Components.SdGhostButton>({
|
|
405
394
|
tagName: 'sd-ghost-button',
|
|
406
395
|
elementClass: SdGhostButtonElement,
|
|
407
396
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -412,7 +401,7 @@ export const SdGhostButton: StencilReactComponent<SdGhostButtonElement, SdGhostB
|
|
|
412
401
|
|
|
413
402
|
export type SdGuideEvents = NonNullable<unknown>;
|
|
414
403
|
|
|
415
|
-
export const SdGuide: StencilReactComponent<SdGuideElement, SdGuideEvents> = /*@__PURE__*/ createComponent<SdGuideElement, SdGuideEvents>({
|
|
404
|
+
export const SdGuide: StencilReactComponent<SdGuideElement, SdGuideEvents, Components.SdGuide> = /*@__PURE__*/ createComponent<SdGuideElement, SdGuideEvents, Components.SdGuide>({
|
|
416
405
|
tagName: 'sd-guide',
|
|
417
406
|
elementClass: SdGuideElement,
|
|
418
407
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -423,7 +412,7 @@ export const SdGuide: StencilReactComponent<SdGuideElement, SdGuideEvents> = /*@
|
|
|
423
412
|
|
|
424
413
|
export type SdIconEvents = NonNullable<unknown>;
|
|
425
414
|
|
|
426
|
-
export const SdIcon: StencilReactComponent<SdIconElement, SdIconEvents> = /*@__PURE__*/ createComponent<SdIconElement, SdIconEvents>({
|
|
415
|
+
export const SdIcon: StencilReactComponent<SdIconElement, SdIconEvents, Components.SdIcon> = /*@__PURE__*/ createComponent<SdIconElement, SdIconEvents, Components.SdIcon>({
|
|
427
416
|
tagName: 'sd-icon',
|
|
428
417
|
elementClass: SdIconElement,
|
|
429
418
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -433,12 +422,12 @@ export const SdIcon: StencilReactComponent<SdIconElement, SdIconEvents> = /*@__P
|
|
|
433
422
|
});
|
|
434
423
|
|
|
435
424
|
export type SdInputEvents = {
|
|
436
|
-
onSdUpdate: EventName<
|
|
425
|
+
onSdUpdate: EventName<SdInputCustomEvent<string | number | null>>,
|
|
437
426
|
onSdFocus: EventName<SdInputCustomEvent<Event>>,
|
|
438
427
|
onSdBlur: EventName<SdInputCustomEvent<Event>>
|
|
439
428
|
};
|
|
440
429
|
|
|
441
|
-
export const SdInput: StencilReactComponent<SdInputElement, SdInputEvents> = /*@__PURE__*/ createComponent<SdInputElement, SdInputEvents>({
|
|
430
|
+
export const SdInput: StencilReactComponent<SdInputElement, SdInputEvents, Components.SdInput> = /*@__PURE__*/ createComponent<SdInputElement, SdInputEvents, Components.SdInput>({
|
|
442
431
|
tagName: 'sd-input',
|
|
443
432
|
elementClass: SdInputElement,
|
|
444
433
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -451,9 +440,26 @@ export const SdInput: StencilReactComponent<SdInputElement, SdInputEvents> = /*@
|
|
|
451
440
|
defineCustomElement: defineSdInput
|
|
452
441
|
});
|
|
453
442
|
|
|
443
|
+
export type SdKeyValueTableEvents = {
|
|
444
|
+
onSdChange: EventName<SdKeyValueTableCustomEvent<SdKeyValueChangeDetail>>,
|
|
445
|
+
onSdSearch: EventName<SdKeyValueTableCustomEvent<void>>
|
|
446
|
+
};
|
|
447
|
+
|
|
448
|
+
export const SdKeyValueTable: StencilReactComponent<SdKeyValueTableElement, SdKeyValueTableEvents, Components.SdKeyValueTable> = /*@__PURE__*/ createComponent<SdKeyValueTableElement, SdKeyValueTableEvents, Components.SdKeyValueTable>({
|
|
449
|
+
tagName: 'sd-key-value-table',
|
|
450
|
+
elementClass: SdKeyValueTableElement,
|
|
451
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
452
|
+
react: React,
|
|
453
|
+
events: {
|
|
454
|
+
onSdChange: 'sdChange',
|
|
455
|
+
onSdSearch: 'sdSearch'
|
|
456
|
+
} as SdKeyValueTableEvents,
|
|
457
|
+
defineCustomElement: defineSdKeyValueTable
|
|
458
|
+
});
|
|
459
|
+
|
|
454
460
|
export type SdLinearProgressEvents = NonNullable<unknown>;
|
|
455
461
|
|
|
456
|
-
export const SdLinearProgress: StencilReactComponent<SdLinearProgressElement, SdLinearProgressEvents> = /*@__PURE__*/ createComponent<SdLinearProgressElement, SdLinearProgressEvents>({
|
|
462
|
+
export const SdLinearProgress: StencilReactComponent<SdLinearProgressElement, SdLinearProgressEvents, Components.SdLinearProgress> = /*@__PURE__*/ createComponent<SdLinearProgressElement, SdLinearProgressEvents, Components.SdLinearProgress>({
|
|
457
463
|
tagName: 'sd-linear-progress',
|
|
458
464
|
elementClass: SdLinearProgressElement,
|
|
459
465
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -464,7 +470,7 @@ export const SdLinearProgress: StencilReactComponent<SdLinearProgressElement, Sd
|
|
|
464
470
|
|
|
465
471
|
export type SdLoadingContainerEvents = NonNullable<unknown>;
|
|
466
472
|
|
|
467
|
-
export const SdLoadingContainer: StencilReactComponent<SdLoadingContainerElement, SdLoadingContainerEvents> = /*@__PURE__*/ createComponent<SdLoadingContainerElement, SdLoadingContainerEvents>({
|
|
473
|
+
export const SdLoadingContainer: StencilReactComponent<SdLoadingContainerElement, SdLoadingContainerEvents, Components.SdLoadingContainer> = /*@__PURE__*/ createComponent<SdLoadingContainerElement, SdLoadingContainerEvents, Components.SdLoadingContainer>({
|
|
468
474
|
tagName: 'sd-loading-container',
|
|
469
475
|
elementClass: SdLoadingContainerElement,
|
|
470
476
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -473,9 +479,9 @@ export const SdLoadingContainer: StencilReactComponent<SdLoadingContainerElement
|
|
|
473
479
|
defineCustomElement: defineSdLoadingContainer
|
|
474
480
|
});
|
|
475
481
|
|
|
476
|
-
export type SdLoadingModalEvents = { onSdClick: EventName<
|
|
482
|
+
export type SdLoadingModalEvents = { onSdClick: EventName<SdLoadingModalCustomEvent<void>> };
|
|
477
483
|
|
|
478
|
-
export const SdLoadingModal: StencilReactComponent<SdLoadingModalElement, SdLoadingModalEvents> = /*@__PURE__*/ createComponent<SdLoadingModalElement, SdLoadingModalEvents>({
|
|
484
|
+
export const SdLoadingModal: StencilReactComponent<SdLoadingModalElement, SdLoadingModalEvents, Components.SdLoadingModal> = /*@__PURE__*/ createComponent<SdLoadingModalElement, SdLoadingModalEvents, Components.SdLoadingModal>({
|
|
479
485
|
tagName: 'sd-loading-modal',
|
|
480
486
|
elementClass: SdLoadingModalElement,
|
|
481
487
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -486,7 +492,7 @@ export const SdLoadingModal: StencilReactComponent<SdLoadingModalElement, SdLoad
|
|
|
486
492
|
|
|
487
493
|
export type SdModalContainerEvents = NonNullable<unknown>;
|
|
488
494
|
|
|
489
|
-
export const SdModalContainer: StencilReactComponent<SdModalContainerElement, SdModalContainerEvents> = /*@__PURE__*/ createComponent<SdModalContainerElement, SdModalContainerEvents>({
|
|
495
|
+
export const SdModalContainer: StencilReactComponent<SdModalContainerElement, SdModalContainerEvents, Components.SdModalContainer> = /*@__PURE__*/ createComponent<SdModalContainerElement, SdModalContainerEvents, Components.SdModalContainer>({
|
|
490
496
|
tagName: 'sd-modal-container',
|
|
491
497
|
elementClass: SdModalContainerElement,
|
|
492
498
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -496,12 +502,12 @@ export const SdModalContainer: StencilReactComponent<SdModalContainerElement, Sd
|
|
|
496
502
|
});
|
|
497
503
|
|
|
498
504
|
export type SdNumberInputEvents = {
|
|
499
|
-
onSdUpdate: EventName<
|
|
505
|
+
onSdUpdate: EventName<SdNumberInputCustomEvent<number | null>>,
|
|
500
506
|
onSdFocus: EventName<SdNumberInputCustomEvent<Event>>,
|
|
501
507
|
onSdBlur: EventName<SdNumberInputCustomEvent<Event>>
|
|
502
508
|
};
|
|
503
509
|
|
|
504
|
-
export const SdNumberInput: StencilReactComponent<SdNumberInputElement, SdNumberInputEvents> = /*@__PURE__*/ createComponent<SdNumberInputElement, SdNumberInputEvents>({
|
|
510
|
+
export const SdNumberInput: StencilReactComponent<SdNumberInputElement, SdNumberInputEvents, Components.SdNumberInput> = /*@__PURE__*/ createComponent<SdNumberInputElement, SdNumberInputEvents, Components.SdNumberInput>({
|
|
505
511
|
tagName: 'sd-number-input',
|
|
506
512
|
elementClass: SdNumberInputElement,
|
|
507
513
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -514,9 +520,9 @@ export const SdNumberInput: StencilReactComponent<SdNumberInputElement, SdNumber
|
|
|
514
520
|
defineCustomElement: defineSdNumberInput
|
|
515
521
|
});
|
|
516
522
|
|
|
517
|
-
export type SdPaginationEvents = { onSdPageChange: EventName<
|
|
523
|
+
export type SdPaginationEvents = { onSdPageChange: EventName<SdPaginationCustomEvent<number>> };
|
|
518
524
|
|
|
519
|
-
export const SdPagination: StencilReactComponent<SdPaginationElement, SdPaginationEvents> = /*@__PURE__*/ createComponent<SdPaginationElement, SdPaginationEvents>({
|
|
525
|
+
export const SdPagination: StencilReactComponent<SdPaginationElement, SdPaginationEvents, Components.SdPagination> = /*@__PURE__*/ createComponent<SdPaginationElement, SdPaginationEvents, Components.SdPagination>({
|
|
520
526
|
tagName: 'sd-pagination',
|
|
521
527
|
elementClass: SdPaginationElement,
|
|
522
528
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -525,9 +531,9 @@ export const SdPagination: StencilReactComponent<SdPaginationElement, SdPaginati
|
|
|
525
531
|
defineCustomElement: defineSdPagination
|
|
526
532
|
});
|
|
527
533
|
|
|
528
|
-
export type SdPopoverEvents = { onSdShowChange: EventName<
|
|
534
|
+
export type SdPopoverEvents = { onSdShowChange: EventName<SdPopoverCustomEvent<boolean>> };
|
|
529
535
|
|
|
530
|
-
export const SdPopover: StencilReactComponent<SdPopoverElement, SdPopoverEvents> = /*@__PURE__*/ createComponent<SdPopoverElement, SdPopoverEvents>({
|
|
536
|
+
export const SdPopover: StencilReactComponent<SdPopoverElement, SdPopoverEvents, Components.SdPopover> = /*@__PURE__*/ createComponent<SdPopoverElement, SdPopoverEvents, Components.SdPopover>({
|
|
531
537
|
tagName: 'sd-popover',
|
|
532
538
|
elementClass: SdPopoverElement,
|
|
533
539
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -536,9 +542,20 @@ export const SdPopover: StencilReactComponent<SdPopoverElement, SdPopoverEvents>
|
|
|
536
542
|
defineCustomElement: defineSdPopover
|
|
537
543
|
});
|
|
538
544
|
|
|
539
|
-
export type
|
|
545
|
+
export type SdPopupEvents = { onSdSubmit: EventName<SdPopupCustomEvent<void>> };
|
|
540
546
|
|
|
541
|
-
export const
|
|
547
|
+
export const SdPopup: StencilReactComponent<SdPopupElement, SdPopupEvents, Components.SdPopup> = /*@__PURE__*/ createComponent<SdPopupElement, SdPopupEvents, Components.SdPopup>({
|
|
548
|
+
tagName: 'sd-popup',
|
|
549
|
+
elementClass: SdPopupElement,
|
|
550
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
551
|
+
react: React,
|
|
552
|
+
events: { onSdSubmit: 'sdSubmit' } as SdPopupEvents,
|
|
553
|
+
defineCustomElement: defineSdPopup
|
|
554
|
+
});
|
|
555
|
+
|
|
556
|
+
export type SdPortalEvents = { onSdClose: EventName<SdPortalCustomEvent<void>> };
|
|
557
|
+
|
|
558
|
+
export const SdPortal: StencilReactComponent<SdPortalElement, SdPortalEvents, Components.SdPortal> = /*@__PURE__*/ createComponent<SdPortalElement, SdPortalEvents, Components.SdPortal>({
|
|
542
559
|
tagName: 'sd-portal',
|
|
543
560
|
elementClass: SdPortalElement,
|
|
544
561
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -549,7 +566,7 @@ export const SdPortal: StencilReactComponent<SdPortalElement, SdPortalEvents> =
|
|
|
549
566
|
|
|
550
567
|
export type SdRadioEvents = { onSdUpdate: EventName<SdRadioCustomEvent<RadioValue>> };
|
|
551
568
|
|
|
552
|
-
export const SdRadio: StencilReactComponent<SdRadioElement, SdRadioEvents> = /*@__PURE__*/ createComponent<SdRadioElement, SdRadioEvents>({
|
|
569
|
+
export const SdRadio: StencilReactComponent<SdRadioElement, SdRadioEvents, Components.SdRadio> = /*@__PURE__*/ createComponent<SdRadioElement, SdRadioEvents, Components.SdRadio>({
|
|
553
570
|
tagName: 'sd-radio',
|
|
554
571
|
elementClass: SdRadioElement,
|
|
555
572
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -560,7 +577,7 @@ export const SdRadio: StencilReactComponent<SdRadioElement, SdRadioEvents> = /*@
|
|
|
560
577
|
|
|
561
578
|
export type SdRadioButtonEvents = { onSdUpdate: EventName<SdRadioButtonCustomEvent<RadioValue>> };
|
|
562
579
|
|
|
563
|
-
export const SdRadioButton: StencilReactComponent<SdRadioButtonElement, SdRadioButtonEvents> = /*@__PURE__*/ createComponent<SdRadioButtonElement, SdRadioButtonEvents>({
|
|
580
|
+
export const SdRadioButton: StencilReactComponent<SdRadioButtonElement, SdRadioButtonEvents, Components.SdRadioButton> = /*@__PURE__*/ createComponent<SdRadioButtonElement, SdRadioButtonEvents, Components.SdRadioButton>({
|
|
564
581
|
tagName: 'sd-radio-button',
|
|
565
582
|
elementClass: SdRadioButtonElement,
|
|
566
583
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -571,7 +588,7 @@ export const SdRadioButton: StencilReactComponent<SdRadioButtonElement, SdRadioB
|
|
|
571
588
|
|
|
572
589
|
export type SdRadioGroupEvents = { onSdUpdate: EventName<SdRadioGroupCustomEvent<RadioValue>> };
|
|
573
590
|
|
|
574
|
-
export const SdRadioGroup: StencilReactComponent<SdRadioGroupElement, SdRadioGroupEvents> = /*@__PURE__*/ createComponent<SdRadioGroupElement, SdRadioGroupEvents>({
|
|
591
|
+
export const SdRadioGroup: StencilReactComponent<SdRadioGroupElement, SdRadioGroupEvents, Components.SdRadioGroup> = /*@__PURE__*/ createComponent<SdRadioGroupElement, SdRadioGroupEvents, Components.SdRadioGroup>({
|
|
575
592
|
tagName: 'sd-radio-group',
|
|
576
593
|
elementClass: SdRadioGroupElement,
|
|
577
594
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -582,10 +599,10 @@ export const SdRadioGroup: StencilReactComponent<SdRadioGroupElement, SdRadioGro
|
|
|
582
599
|
|
|
583
600
|
export type SdSelectEvents = {
|
|
584
601
|
onSdUpdate: EventName<SdSelectCustomEvent<SelectValue>>,
|
|
585
|
-
onSdDropDownShow: EventName<
|
|
602
|
+
onSdDropDownShow: EventName<SdSelectCustomEvent<{ isOpen: boolean }>>
|
|
586
603
|
};
|
|
587
604
|
|
|
588
|
-
export const SdSelect: StencilReactComponent<SdSelectElement, SdSelectEvents> = /*@__PURE__*/ createComponent<SdSelectElement, SdSelectEvents>({
|
|
605
|
+
export const SdSelect: StencilReactComponent<SdSelectElement, SdSelectEvents, Components.SdSelect> = /*@__PURE__*/ createComponent<SdSelectElement, SdSelectEvents, Components.SdSelect>({
|
|
589
606
|
tagName: 'sd-select',
|
|
590
607
|
elementClass: SdSelectElement,
|
|
591
608
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -599,7 +616,7 @@ export const SdSelect: StencilReactComponent<SdSelectElement, SdSelectEvents> =
|
|
|
599
616
|
|
|
600
617
|
export type SdSelectListItemEvents = { onSdListItemClick: EventName<SdSelectListItemCustomEvent<SelectOption>> };
|
|
601
618
|
|
|
602
|
-
export const SdSelectListItem: StencilReactComponent<SdSelectListItemElement, SdSelectListItemEvents> = /*@__PURE__*/ createComponent<SdSelectListItemElement, SdSelectListItemEvents>({
|
|
619
|
+
export const SdSelectListItem: StencilReactComponent<SdSelectListItemElement, SdSelectListItemEvents, Components.SdSelectListItem> = /*@__PURE__*/ createComponent<SdSelectListItemElement, SdSelectListItemEvents, Components.SdSelectListItem>({
|
|
603
620
|
tagName: 'sd-select-list-item',
|
|
604
621
|
elementClass: SdSelectListItemElement,
|
|
605
622
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -609,11 +626,11 @@ export const SdSelectListItem: StencilReactComponent<SdSelectListItemElement, Sd
|
|
|
609
626
|
});
|
|
610
627
|
|
|
611
628
|
export type SdSelectListItemSearchEvents = {
|
|
612
|
-
onSdSearchFilter: EventName<
|
|
613
|
-
onSdSearchFocus: EventName<
|
|
629
|
+
onSdSearchFilter: EventName<SdSelectListItemSearchCustomEvent<string>>,
|
|
630
|
+
onSdSearchFocus: EventName<SdSelectListItemSearchCustomEvent<void>>
|
|
614
631
|
};
|
|
615
632
|
|
|
616
|
-
export const SdSelectListItemSearch: StencilReactComponent<SdSelectListItemSearchElement, SdSelectListItemSearchEvents> = /*@__PURE__*/ createComponent<SdSelectListItemSearchElement, SdSelectListItemSearchEvents>({
|
|
633
|
+
export const SdSelectListItemSearch: StencilReactComponent<SdSelectListItemSearchElement, SdSelectListItemSearchEvents, Components.SdSelectListItemSearch> = /*@__PURE__*/ createComponent<SdSelectListItemSearchElement, SdSelectListItemSearchEvents, Components.SdSelectListItemSearch>({
|
|
617
634
|
tagName: 'sd-select-list-item-search',
|
|
618
635
|
elementClass: SdSelectListItemSearchElement,
|
|
619
636
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -627,7 +644,7 @@ export const SdSelectListItemSearch: StencilReactComponent<SdSelectListItemSearc
|
|
|
627
644
|
|
|
628
645
|
export type SdSelectListboxEvents = { onSdOptionSelect: EventName<SdSelectListboxCustomEvent<SelectOptionSelectDetail>> };
|
|
629
646
|
|
|
630
|
-
export const SdSelectListbox: StencilReactComponent<SdSelectListboxElement, SdSelectListboxEvents> = /*@__PURE__*/ createComponent<SdSelectListboxElement, SdSelectListboxEvents>({
|
|
647
|
+
export const SdSelectListbox: StencilReactComponent<SdSelectListboxElement, SdSelectListboxEvents, Components.SdSelectListbox> = /*@__PURE__*/ createComponent<SdSelectListboxElement, SdSelectListboxEvents, Components.SdSelectListbox>({
|
|
631
648
|
tagName: 'sd-select-listbox',
|
|
632
649
|
elementClass: SdSelectListboxElement,
|
|
633
650
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -637,12 +654,12 @@ export const SdSelectListbox: StencilReactComponent<SdSelectListboxElement, SdSe
|
|
|
637
654
|
});
|
|
638
655
|
|
|
639
656
|
export type SdSelectTriggerEvents = {
|
|
640
|
-
onSdTriggerClick: EventName<
|
|
641
|
-
onSdTriggerFocus: EventName<
|
|
642
|
-
onSdTriggerBlur: EventName<
|
|
657
|
+
onSdTriggerClick: EventName<SdSelectTriggerCustomEvent<void>>,
|
|
658
|
+
onSdTriggerFocus: EventName<SdSelectTriggerCustomEvent<void>>,
|
|
659
|
+
onSdTriggerBlur: EventName<SdSelectTriggerCustomEvent<void>>
|
|
643
660
|
};
|
|
644
661
|
|
|
645
|
-
export const SdSelectTrigger: StencilReactComponent<SdSelectTriggerElement, SdSelectTriggerEvents> = /*@__PURE__*/ createComponent<SdSelectTriggerElement, SdSelectTriggerEvents>({
|
|
662
|
+
export const SdSelectTrigger: StencilReactComponent<SdSelectTriggerElement, SdSelectTriggerEvents, Components.SdSelectTrigger> = /*@__PURE__*/ createComponent<SdSelectTriggerElement, SdSelectTriggerEvents, Components.SdSelectTrigger>({
|
|
646
663
|
tagName: 'sd-select-trigger',
|
|
647
664
|
elementClass: SdSelectTriggerElement,
|
|
648
665
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -655,9 +672,9 @@ export const SdSelectTrigger: StencilReactComponent<SdSelectTriggerElement, SdSe
|
|
|
655
672
|
defineCustomElement: defineSdSelectTrigger
|
|
656
673
|
});
|
|
657
674
|
|
|
658
|
-
export type SdSwitchEvents = { onSdUpdate: EventName<
|
|
675
|
+
export type SdSwitchEvents = { onSdUpdate: EventName<SdSwitchCustomEvent<boolean>> };
|
|
659
676
|
|
|
660
|
-
export const SdSwitch: StencilReactComponent<SdSwitchElement, SdSwitchEvents> = /*@__PURE__*/ createComponent<SdSwitchElement, SdSwitchEvents>({
|
|
677
|
+
export const SdSwitch: StencilReactComponent<SdSwitchElement, SdSwitchEvents, Components.SdSwitch> = /*@__PURE__*/ createComponent<SdSwitchElement, SdSwitchEvents, Components.SdSwitch>({
|
|
661
678
|
tagName: 'sd-switch',
|
|
662
679
|
elementClass: SdSwitchElement,
|
|
663
680
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -668,21 +685,13 @@ export const SdSwitch: StencilReactComponent<SdSwitchElement, SdSwitchEvents> =
|
|
|
668
685
|
|
|
669
686
|
export type SdTableEvents = {
|
|
670
687
|
onSdSelectChange: EventName<SdTableCustomEvent<Row[]>>,
|
|
671
|
-
onSdPageChange: EventName<
|
|
672
|
-
onSdRowsPerPageChange: EventName<
|
|
673
|
-
onSdVirtualUpdate: EventName<
|
|
674
|
-
|
|
675
|
-
to: number;
|
|
676
|
-
}>>,
|
|
677
|
-
onSdVirtualReachEnd: EventName<CustomEvent<{
|
|
678
|
-
from: number;
|
|
679
|
-
to: number;
|
|
680
|
-
rowCount: number;
|
|
681
|
-
threshold: number;
|
|
682
|
-
}>>
|
|
688
|
+
onSdPageChange: EventName<SdTableCustomEvent<number>>,
|
|
689
|
+
onSdRowsPerPageChange: EventName<SdTableCustomEvent<number>>,
|
|
690
|
+
onSdVirtualUpdate: EventName<SdTableCustomEvent<{ from: number; to: number; }>>,
|
|
691
|
+
onSdVirtualReachEnd: EventName<SdTableCustomEvent<{ from: number; to: number; rowCount: number; threshold: number; }>>
|
|
683
692
|
};
|
|
684
693
|
|
|
685
|
-
export const SdTable: StencilReactComponent<SdTableElement, SdTableEvents> = /*@__PURE__*/ createComponent<SdTableElement, SdTableEvents>({
|
|
694
|
+
export const SdTable: StencilReactComponent<SdTableElement, SdTableEvents, Components.SdTable> = /*@__PURE__*/ createComponent<SdTableElement, SdTableEvents, Components.SdTable>({
|
|
686
695
|
tagName: 'sd-table',
|
|
687
696
|
elementClass: SdTableElement,
|
|
688
697
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -697,9 +706,9 @@ export const SdTable: StencilReactComponent<SdTableElement, SdTableEvents> = /*@
|
|
|
697
706
|
defineCustomElement: defineSdTable
|
|
698
707
|
});
|
|
699
708
|
|
|
700
|
-
export type SdTabsEvents = { onSdUpdate: EventName<
|
|
709
|
+
export type SdTabsEvents = { onSdUpdate: EventName<SdTabsCustomEvent<string>> };
|
|
701
710
|
|
|
702
|
-
export const SdTabs: StencilReactComponent<SdTabsElement, SdTabsEvents> = /*@__PURE__*/ createComponent<SdTabsElement, SdTabsEvents>({
|
|
711
|
+
export const SdTabs: StencilReactComponent<SdTabsElement, SdTabsEvents, Components.SdTabs> = /*@__PURE__*/ createComponent<SdTabsElement, SdTabsEvents, Components.SdTabs>({
|
|
703
712
|
tagName: 'sd-tabs',
|
|
704
713
|
elementClass: SdTabsElement,
|
|
705
714
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -710,7 +719,7 @@ export const SdTabs: StencilReactComponent<SdTabsElement, SdTabsEvents> = /*@__P
|
|
|
710
719
|
|
|
711
720
|
export type SdTagEvents = NonNullable<unknown>;
|
|
712
721
|
|
|
713
|
-
export const SdTag: StencilReactComponent<SdTagElement, SdTagEvents> = /*@__PURE__*/ createComponent<SdTagElement, SdTagEvents>({
|
|
722
|
+
export const SdTag: StencilReactComponent<SdTagElement, SdTagEvents, Components.SdTag> = /*@__PURE__*/ createComponent<SdTagElement, SdTagEvents, Components.SdTag>({
|
|
714
723
|
tagName: 'sd-tag',
|
|
715
724
|
elementClass: SdTagElement,
|
|
716
725
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -721,7 +730,7 @@ export const SdTag: StencilReactComponent<SdTagElement, SdTagEvents> = /*@__PURE
|
|
|
721
730
|
|
|
722
731
|
export type SdTbodyEvents = NonNullable<unknown>;
|
|
723
732
|
|
|
724
|
-
export const SdTbody: StencilReactComponent<SdTbodyElement, SdTbodyEvents> = /*@__PURE__*/ createComponent<SdTbodyElement, SdTbodyEvents>({
|
|
733
|
+
export const SdTbody: StencilReactComponent<SdTbodyElement, SdTbodyEvents, Components.SdTbody> = /*@__PURE__*/ createComponent<SdTbodyElement, SdTbodyEvents, Components.SdTbody>({
|
|
725
734
|
tagName: 'sd-tbody',
|
|
726
735
|
elementClass: SdTbodyElement,
|
|
727
736
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -732,7 +741,7 @@ export const SdTbody: StencilReactComponent<SdTbodyElement, SdTbodyEvents> = /*@
|
|
|
732
741
|
|
|
733
742
|
export type SdTdEvents = NonNullable<unknown>;
|
|
734
743
|
|
|
735
|
-
export const SdTd: StencilReactComponent<SdTdElement, SdTdEvents> = /*@__PURE__*/ createComponent<SdTdElement, SdTdEvents>({
|
|
744
|
+
export const SdTd: StencilReactComponent<SdTdElement, SdTdEvents, Components.SdTd> = /*@__PURE__*/ createComponent<SdTdElement, SdTdEvents, Components.SdTd>({
|
|
736
745
|
tagName: 'sd-td',
|
|
737
746
|
elementClass: SdTdElement,
|
|
738
747
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -741,9 +750,9 @@ export const SdTd: StencilReactComponent<SdTdElement, SdTdEvents> = /*@__PURE__*
|
|
|
741
750
|
defineCustomElement: defineSdTd
|
|
742
751
|
});
|
|
743
752
|
|
|
744
|
-
export type SdTextLinkEvents = { onSdClick: EventName<
|
|
753
|
+
export type SdTextLinkEvents = { onSdClick: EventName<SdTextLinkCustomEvent<void>> };
|
|
745
754
|
|
|
746
|
-
export const SdTextLink: StencilReactComponent<SdTextLinkElement, SdTextLinkEvents> = /*@__PURE__*/ createComponent<SdTextLinkElement, SdTextLinkEvents>({
|
|
755
|
+
export const SdTextLink: StencilReactComponent<SdTextLinkElement, SdTextLinkEvents, Components.SdTextLink> = /*@__PURE__*/ createComponent<SdTextLinkElement, SdTextLinkEvents, Components.SdTextLink>({
|
|
747
756
|
tagName: 'sd-text-link',
|
|
748
757
|
elementClass: SdTextLinkElement,
|
|
749
758
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -753,12 +762,12 @@ export const SdTextLink: StencilReactComponent<SdTextLinkElement, SdTextLinkEven
|
|
|
753
762
|
});
|
|
754
763
|
|
|
755
764
|
export type SdTextareaEvents = {
|
|
756
|
-
onSdUpdate: EventName<
|
|
765
|
+
onSdUpdate: EventName<SdTextareaCustomEvent<string | null>>,
|
|
757
766
|
onSdFocus: EventName<SdTextareaCustomEvent<Event>>,
|
|
758
767
|
onSdBlur: EventName<SdTextareaCustomEvent<Event>>
|
|
759
768
|
};
|
|
760
769
|
|
|
761
|
-
export const SdTextarea: StencilReactComponent<SdTextareaElement, SdTextareaEvents> = /*@__PURE__*/ createComponent<SdTextareaElement, SdTextareaEvents>({
|
|
770
|
+
export const SdTextarea: StencilReactComponent<SdTextareaElement, SdTextareaEvents, Components.SdTextarea> = /*@__PURE__*/ createComponent<SdTextareaElement, SdTextareaEvents, Components.SdTextarea>({
|
|
762
771
|
tagName: 'sd-textarea',
|
|
763
772
|
elementClass: SdTextareaElement,
|
|
764
773
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -773,7 +782,7 @@ export const SdTextarea: StencilReactComponent<SdTextareaElement, SdTextareaEven
|
|
|
773
782
|
|
|
774
783
|
export type SdTheadEvents = { onSdColumnSort: EventName<SdTheadCustomEvent<{ column: SdTableColumn }>> };
|
|
775
784
|
|
|
776
|
-
export const SdThead: StencilReactComponent<SdTheadElement, SdTheadEvents> = /*@__PURE__*/ createComponent<SdTheadElement, SdTheadEvents>({
|
|
785
|
+
export const SdThead: StencilReactComponent<SdTheadElement, SdTheadEvents, Components.SdThead> = /*@__PURE__*/ createComponent<SdTheadElement, SdTheadEvents, Components.SdThead>({
|
|
777
786
|
tagName: 'sd-thead',
|
|
778
787
|
elementClass: SdTheadElement,
|
|
779
788
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -782,23 +791,29 @@ export const SdThead: StencilReactComponent<SdTheadElement, SdTheadEvents> = /*@
|
|
|
782
791
|
defineCustomElement: defineSdThead
|
|
783
792
|
});
|
|
784
793
|
|
|
785
|
-
export type SdToastEvents = {
|
|
794
|
+
export type SdToastEvents = {
|
|
795
|
+
onSdClose: EventName<SdToastCustomEvent<void>>,
|
|
796
|
+
onSdButtonClick: EventName<SdToastCustomEvent<MouseEvent>>
|
|
797
|
+
};
|
|
786
798
|
|
|
787
|
-
export const SdToast: StencilReactComponent<SdToastElement, SdToastEvents> = /*@__PURE__*/ createComponent<SdToastElement, SdToastEvents>({
|
|
799
|
+
export const SdToast: StencilReactComponent<SdToastElement, SdToastEvents, Components.SdToast> = /*@__PURE__*/ createComponent<SdToastElement, SdToastEvents, Components.SdToast>({
|
|
788
800
|
tagName: 'sd-toast',
|
|
789
801
|
elementClass: SdToastElement,
|
|
790
802
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
791
803
|
react: React,
|
|
792
|
-
events: {
|
|
804
|
+
events: {
|
|
805
|
+
onSdClose: 'sdClose',
|
|
806
|
+
onSdButtonClick: 'sdButtonClick'
|
|
807
|
+
} as SdToastEvents,
|
|
793
808
|
defineCustomElement: defineSdToast
|
|
794
809
|
});
|
|
795
810
|
|
|
796
811
|
export type SdToastContainerEvents = {
|
|
797
|
-
onSdToastShow: EventName<
|
|
798
|
-
onSdToastDismiss: EventName<
|
|
812
|
+
onSdToastShow: EventName<SdToastContainerCustomEvent<{ id: string }>>,
|
|
813
|
+
onSdToastDismiss: EventName<SdToastContainerCustomEvent<{ id: string }>>
|
|
799
814
|
};
|
|
800
815
|
|
|
801
|
-
export const SdToastContainer: StencilReactComponent<SdToastContainerElement, SdToastContainerEvents> = /*@__PURE__*/ createComponent<SdToastContainerElement, SdToastContainerEvents>({
|
|
816
|
+
export const SdToastContainer: StencilReactComponent<SdToastContainerElement, SdToastContainerEvents, Components.SdToastContainer> = /*@__PURE__*/ createComponent<SdToastContainerElement, SdToastContainerEvents, Components.SdToastContainer>({
|
|
802
817
|
tagName: 'sd-toast-container',
|
|
803
818
|
elementClass: SdToastContainerElement,
|
|
804
819
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -810,9 +825,9 @@ export const SdToastContainer: StencilReactComponent<SdToastContainerElement, Sd
|
|
|
810
825
|
defineCustomElement: defineSdToastContainer
|
|
811
826
|
});
|
|
812
827
|
|
|
813
|
-
export type SdToggleEvents = { onSdUpdate: EventName<
|
|
828
|
+
export type SdToggleEvents = { onSdUpdate: EventName<SdToggleCustomEvent<boolean>> };
|
|
814
829
|
|
|
815
|
-
export const SdToggle: StencilReactComponent<SdToggleElement, SdToggleEvents> = /*@__PURE__*/ createComponent<SdToggleElement, SdToggleEvents>({
|
|
830
|
+
export const SdToggle: StencilReactComponent<SdToggleElement, SdToggleEvents, Components.SdToggle> = /*@__PURE__*/ createComponent<SdToggleElement, SdToggleEvents, Components.SdToggle>({
|
|
816
831
|
tagName: 'sd-toggle',
|
|
817
832
|
elementClass: SdToggleElement,
|
|
818
833
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -823,7 +838,7 @@ export const SdToggle: StencilReactComponent<SdToggleElement, SdToggleEvents> =
|
|
|
823
838
|
|
|
824
839
|
export type SdTooltipEvents = NonNullable<unknown>;
|
|
825
840
|
|
|
826
|
-
export const SdTooltip: StencilReactComponent<SdTooltipElement, SdTooltipEvents> = /*@__PURE__*/ createComponent<SdTooltipElement, SdTooltipEvents>({
|
|
841
|
+
export const SdTooltip: StencilReactComponent<SdTooltipElement, SdTooltipEvents, Components.SdTooltip> = /*@__PURE__*/ createComponent<SdTooltipElement, SdTooltipEvents, Components.SdTooltip>({
|
|
827
842
|
tagName: 'sd-tooltip',
|
|
828
843
|
elementClass: SdTooltipElement,
|
|
829
844
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
@@ -834,7 +849,7 @@ export const SdTooltip: StencilReactComponent<SdTooltipElement, SdTooltipEvents>
|
|
|
834
849
|
|
|
835
850
|
export type SdTrEvents = NonNullable<unknown>;
|
|
836
851
|
|
|
837
|
-
export const SdTr: StencilReactComponent<SdTrElement, SdTrEvents> = /*@__PURE__*/ createComponent<SdTrElement, SdTrEvents>({
|
|
852
|
+
export const SdTr: StencilReactComponent<SdTrElement, SdTrEvents, Components.SdTr> = /*@__PURE__*/ createComponent<SdTrElement, SdTrEvents, Components.SdTr>({
|
|
838
853
|
tagName: 'sd-tr',
|
|
839
854
|
elementClass: SdTrElement,
|
|
840
855
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|