@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
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* This file was automatically generated by the Stencil React Output Target.
|
|
3
5
|
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
@@ -5,14 +7,16 @@
|
|
|
5
7
|
|
|
6
8
|
/* eslint-disable */
|
|
7
9
|
|
|
8
|
-
|
|
9
|
-
import
|
|
10
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
11
|
+
import { createComponent, type HydrateModule, type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
|
|
10
12
|
|
|
11
|
-
import { type CheckedType, type DateRangeValue, type DropdownButtonValue, type Event, type RadioValue, type Row, type SdBarcodeInputCustomEvent, type SdButtonCustomEvent, type
|
|
13
|
+
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";
|
|
14
|
+
// @ts-ignore - ignore potential type issues as the project is importing itself
|
|
15
|
+
import * as clientComponents from "@sellmate/design-system-react";
|
|
16
|
+
import type { Components } from "@sellmate/design-system/dist/components";
|
|
12
17
|
import { SdActionModal as SdActionModalElement } from "@sellmate/design-system/dist/components/sd-action-modal.js";
|
|
13
18
|
import { SdBadge as SdBadgeElement } from "@sellmate/design-system/dist/components/sd-badge.js";
|
|
14
19
|
import { SdBarcodeInput as SdBarcodeInputElement } from "@sellmate/design-system/dist/components/sd-barcode-input.js";
|
|
15
|
-
import { SdButtonV2 as SdButtonV2Element } from "@sellmate/design-system/dist/components/sd-button-v2.js";
|
|
16
20
|
import { SdButton as SdButtonElement } from "@sellmate/design-system/dist/components/sd-button.js";
|
|
17
21
|
import { SdCalendar as SdCalendarElement } from "@sellmate/design-system/dist/components/sd-calendar.js";
|
|
18
22
|
import { SdCard as SdCardElement } from "@sellmate/design-system/dist/components/sd-card.js";
|
|
@@ -35,6 +39,7 @@ import { SdGhostButton as SdGhostButtonElement } from "@sellmate/design-system/d
|
|
|
35
39
|
import { SdGuide as SdGuideElement } from "@sellmate/design-system/dist/components/sd-guide.js";
|
|
36
40
|
import { SdIcon as SdIconElement } from "@sellmate/design-system/dist/components/sd-icon.js";
|
|
37
41
|
import { SdInput as SdInputElement } from "@sellmate/design-system/dist/components/sd-input.js";
|
|
42
|
+
import { SdKeyValueTable as SdKeyValueTableElement } from "@sellmate/design-system/dist/components/sd-key-value-table.js";
|
|
38
43
|
import { SdLinearProgress as SdLinearProgressElement } from "@sellmate/design-system/dist/components/sd-linear-progress.js";
|
|
39
44
|
import { SdLoadingContainer as SdLoadingContainerElement } from "@sellmate/design-system/dist/components/sd-loading-container.js";
|
|
40
45
|
import { SdLoadingModal as SdLoadingModalElement } from "@sellmate/design-system/dist/components/sd-loading-modal.js";
|
|
@@ -42,6 +47,7 @@ import { SdModalContainer as SdModalContainerElement } from "@sellmate/design-sy
|
|
|
42
47
|
import { SdNumberInput as SdNumberInputElement } from "@sellmate/design-system/dist/components/sd-number-input.js";
|
|
43
48
|
import { SdPagination as SdPaginationElement } from "@sellmate/design-system/dist/components/sd-pagination.js";
|
|
44
49
|
import { SdPopover as SdPopoverElement } from "@sellmate/design-system/dist/components/sd-popover.js";
|
|
50
|
+
import { SdPopup as SdPopupElement } from "@sellmate/design-system/dist/components/sd-popup.js";
|
|
45
51
|
import { SdPortal as SdPortalElement } from "@sellmate/design-system/dist/components/sd-portal.js";
|
|
46
52
|
import { SdRadioButton as SdRadioButtonElement } from "@sellmate/design-system/dist/components/sd-radio-button.js";
|
|
47
53
|
import { SdRadioGroup as SdRadioGroupElement } from "@sellmate/design-system/dist/components/sd-radio-group.js";
|
|
@@ -65,17 +71,15 @@ import { SdToast as SdToastElement } from "@sellmate/design-system/dist/componen
|
|
|
65
71
|
import { SdToggle as SdToggleElement } from "@sellmate/design-system/dist/components/sd-toggle.js";
|
|
66
72
|
import { SdTooltip as SdTooltipElement } from "@sellmate/design-system/dist/components/sd-tooltip.js";
|
|
67
73
|
import { SdTr as SdTrElement } from "@sellmate/design-system/dist/components/sd-tr.js";
|
|
68
|
-
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
69
|
-
import { createComponent, type HydrateModule, type ReactWebComponent, type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
|
|
70
74
|
|
|
71
75
|
export const serializeShadowRoot: SerializeShadowRootOptions = { default: "declarative-shadow-dom" };
|
|
72
76
|
|
|
73
77
|
export type SdActionModalEvents = {
|
|
74
|
-
onSdClose: EventName<
|
|
75
|
-
onSdOk: EventName<
|
|
78
|
+
onSdClose: EventName<SdActionModalCustomEvent<void>>,
|
|
79
|
+
onSdOk: EventName<SdActionModalCustomEvent<void>>
|
|
76
80
|
};
|
|
77
81
|
|
|
78
|
-
export const SdActionModal: StencilReactComponent<SdActionModalElement, SdActionModalEvents> = /*@__PURE__*/ createComponent<SdActionModalElement, SdActionModalEvents>({
|
|
82
|
+
export const SdActionModal: StencilReactComponent<SdActionModalElement, SdActionModalEvents, Components.SdActionModal> = /*@__PURE__*/ createComponent<SdActionModalElement, SdActionModalEvents, Components.SdActionModal>({
|
|
79
83
|
tagName: 'sd-action-modal',
|
|
80
84
|
properties: {
|
|
81
85
|
modalTitle: 'modal-title',
|
|
@@ -83,30 +87,27 @@ export const SdActionModal: StencilReactComponent<SdActionModalElement, SdAction
|
|
|
83
87
|
height: 'height'
|
|
84
88
|
},
|
|
85
89
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
86
|
-
clientModule: clientComponents.SdActionModal as
|
|
87
|
-
serializeShadowRoot
|
|
90
|
+
clientModule: clientComponents.SdActionModal as StencilReactComponent<SdActionModalElement, SdActionModalEvents, Components.SdActionModal>,
|
|
91
|
+
serializeShadowRoot
|
|
88
92
|
});
|
|
89
93
|
|
|
90
94
|
export type SdBadgeEvents = NonNullable<unknown>;
|
|
91
95
|
|
|
92
|
-
export const SdBadge: StencilReactComponent<SdBadgeElement, SdBadgeEvents> = /*@__PURE__*/ createComponent<SdBadgeElement, SdBadgeEvents>({
|
|
96
|
+
export const SdBadge: StencilReactComponent<SdBadgeElement, SdBadgeEvents, Components.SdBadge> = /*@__PURE__*/ createComponent<SdBadgeElement, SdBadgeEvents, Components.SdBadge>({
|
|
93
97
|
tagName: 'sd-badge',
|
|
94
|
-
properties: {
|
|
95
|
-
color: 'color',
|
|
96
|
-
label: 'label'
|
|
97
|
-
},
|
|
98
|
+
properties: { color: 'color' },
|
|
98
99
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
99
|
-
clientModule: clientComponents.SdBadge as
|
|
100
|
-
serializeShadowRoot
|
|
100
|
+
clientModule: clientComponents.SdBadge as StencilReactComponent<SdBadgeElement, SdBadgeEvents, Components.SdBadge>,
|
|
101
|
+
serializeShadowRoot
|
|
101
102
|
});
|
|
102
103
|
|
|
103
104
|
export type SdBarcodeInputEvents = {
|
|
104
|
-
onSdUpdate: EventName<
|
|
105
|
+
onSdUpdate: EventName<SdBarcodeInputCustomEvent<string | number | null>>,
|
|
105
106
|
onSdFocus: EventName<SdBarcodeInputCustomEvent<Event>>,
|
|
106
107
|
onSdBlur: EventName<SdBarcodeInputCustomEvent<Event>>
|
|
107
108
|
};
|
|
108
109
|
|
|
109
|
-
export const SdBarcodeInput: StencilReactComponent<SdBarcodeInputElement, SdBarcodeInputEvents> = /*@__PURE__*/ createComponent<SdBarcodeInputElement, SdBarcodeInputEvents>({
|
|
110
|
+
export const SdBarcodeInput: StencilReactComponent<SdBarcodeInputElement, SdBarcodeInputEvents, Components.SdBarcodeInput> = /*@__PURE__*/ createComponent<SdBarcodeInputElement, SdBarcodeInputEvents, Components.SdBarcodeInput>({
|
|
110
111
|
tagName: 'sd-barcode-input',
|
|
111
112
|
properties: {
|
|
112
113
|
value: 'value',
|
|
@@ -132,37 +133,14 @@ export const SdBarcodeInput: StencilReactComponent<SdBarcodeInputElement, SdBarc
|
|
|
132
133
|
name: 'name',
|
|
133
134
|
rules: 'rules'},
|
|
134
135
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
135
|
-
clientModule: clientComponents.SdBarcodeInput as
|
|
136
|
-
serializeShadowRoot
|
|
136
|
+
clientModule: clientComponents.SdBarcodeInput as StencilReactComponent<SdBarcodeInputElement, SdBarcodeInputEvents, Components.SdBarcodeInput>,
|
|
137
|
+
serializeShadowRoot
|
|
137
138
|
});
|
|
138
139
|
|
|
139
140
|
export type SdButtonEvents = { onSdClick: EventName<SdButtonCustomEvent<MouseEvent>> };
|
|
140
141
|
|
|
141
|
-
export const SdButton: StencilReactComponent<SdButtonElement, SdButtonEvents> = /*@__PURE__*/ createComponent<SdButtonElement, SdButtonEvents>({
|
|
142
|
+
export const SdButton: StencilReactComponent<SdButtonElement, SdButtonEvents, Components.SdButton> = /*@__PURE__*/ createComponent<SdButtonElement, SdButtonEvents, Components.SdButton>({
|
|
142
143
|
tagName: 'sd-button',
|
|
143
|
-
properties: {
|
|
144
|
-
variant: 'variant',
|
|
145
|
-
size: 'size',
|
|
146
|
-
color: 'color',
|
|
147
|
-
label: 'label',
|
|
148
|
-
disabled: 'disabled',
|
|
149
|
-
type: 'type',
|
|
150
|
-
icon: 'icon',
|
|
151
|
-
iconColor: 'icon-color',
|
|
152
|
-
iconSize: 'icon-size',
|
|
153
|
-
iconRight: 'icon-right',
|
|
154
|
-
noHover: 'no-hover',
|
|
155
|
-
sdClass: 'sd-class'
|
|
156
|
-
},
|
|
157
|
-
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
158
|
-
clientModule: clientComponents.SdButton as ReactWebComponent<SdButtonElement, SdButtonEvents>,
|
|
159
|
-
serializeShadowRoot,
|
|
160
|
-
});
|
|
161
|
-
|
|
162
|
-
export type SdButtonV2Events = { onSdClick: EventName<SdButtonV2CustomEvent<MouseEvent>> };
|
|
163
|
-
|
|
164
|
-
export const SdButtonV2: StencilReactComponent<SdButtonV2Element, SdButtonV2Events> = /*@__PURE__*/ createComponent<SdButtonV2Element, SdButtonV2Events>({
|
|
165
|
-
tagName: 'sd-button-v2',
|
|
166
144
|
properties: {
|
|
167
145
|
name: 'name',
|
|
168
146
|
label: 'label',
|
|
@@ -173,39 +151,39 @@ export const SdButtonV2: StencilReactComponent<SdButtonV2Element, SdButtonV2Even
|
|
|
173
151
|
type: 'type'
|
|
174
152
|
},
|
|
175
153
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
176
|
-
clientModule: clientComponents.
|
|
177
|
-
serializeShadowRoot
|
|
154
|
+
clientModule: clientComponents.SdButton as StencilReactComponent<SdButtonElement, SdButtonEvents, Components.SdButton>,
|
|
155
|
+
serializeShadowRoot
|
|
178
156
|
});
|
|
179
157
|
|
|
180
158
|
export type SdCalendarEvents = {
|
|
181
|
-
onSdSelect: EventName<
|
|
182
|
-
onSdViewChange: EventName<
|
|
159
|
+
onSdSelect: EventName<SdCalendarCustomEvent<string>>,
|
|
160
|
+
onSdViewChange: EventName<SdCalendarCustomEvent<{ year: number; month: number }>>
|
|
183
161
|
};
|
|
184
162
|
|
|
185
|
-
export const SdCalendar: StencilReactComponent<SdCalendarElement, SdCalendarEvents> = /*@__PURE__*/ createComponent<SdCalendarElement, SdCalendarEvents>({
|
|
163
|
+
export const SdCalendar: StencilReactComponent<SdCalendarElement, SdCalendarEvents, Components.SdCalendar> = /*@__PURE__*/ createComponent<SdCalendarElement, SdCalendarEvents, Components.SdCalendar>({
|
|
186
164
|
tagName: 'sd-calendar',
|
|
187
165
|
properties: { value: 'value' },
|
|
188
166
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
189
|
-
clientModule: clientComponents.SdCalendar as
|
|
190
|
-
serializeShadowRoot
|
|
167
|
+
clientModule: clientComponents.SdCalendar as StencilReactComponent<SdCalendarElement, SdCalendarEvents, Components.SdCalendar>,
|
|
168
|
+
serializeShadowRoot
|
|
191
169
|
});
|
|
192
170
|
|
|
193
171
|
export type SdCardEvents = NonNullable<unknown>;
|
|
194
172
|
|
|
195
|
-
export const SdCard: StencilReactComponent<SdCardElement, SdCardEvents> = /*@__PURE__*/ createComponent<SdCardElement, SdCardEvents>({
|
|
173
|
+
export const SdCard: StencilReactComponent<SdCardElement, SdCardEvents, Components.SdCard> = /*@__PURE__*/ createComponent<SdCardElement, SdCardEvents, Components.SdCard>({
|
|
196
174
|
tagName: 'sd-card',
|
|
197
175
|
properties: {
|
|
198
176
|
bordered: 'bordered',
|
|
199
177
|
sdClass: 'sd-class'
|
|
200
178
|
},
|
|
201
179
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
202
|
-
clientModule: clientComponents.SdCard as
|
|
203
|
-
serializeShadowRoot
|
|
180
|
+
clientModule: clientComponents.SdCard as StencilReactComponent<SdCardElement, SdCardEvents, Components.SdCard>,
|
|
181
|
+
serializeShadowRoot
|
|
204
182
|
});
|
|
205
183
|
|
|
206
184
|
export type SdCheckboxEvents = { onSdUpdate: EventName<SdCheckboxCustomEvent<CheckedType>> };
|
|
207
185
|
|
|
208
|
-
export const SdCheckbox: StencilReactComponent<SdCheckboxElement, SdCheckboxEvents> = /*@__PURE__*/ createComponent<SdCheckboxElement, SdCheckboxEvents>({
|
|
186
|
+
export const SdCheckbox: StencilReactComponent<SdCheckboxElement, SdCheckboxEvents, Components.SdCheckbox> = /*@__PURE__*/ createComponent<SdCheckboxElement, SdCheckboxEvents, Components.SdCheckbox>({
|
|
209
187
|
tagName: 'sd-checkbox',
|
|
210
188
|
properties: {
|
|
211
189
|
value: 'value',
|
|
@@ -215,18 +193,18 @@ export const SdCheckbox: StencilReactComponent<SdCheckboxElement, SdCheckboxEven
|
|
|
215
193
|
label: 'label'
|
|
216
194
|
},
|
|
217
195
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
218
|
-
clientModule: clientComponents.SdCheckbox as
|
|
219
|
-
serializeShadowRoot
|
|
196
|
+
clientModule: clientComponents.SdCheckbox as StencilReactComponent<SdCheckboxElement, SdCheckboxEvents, Components.SdCheckbox>,
|
|
197
|
+
serializeShadowRoot
|
|
220
198
|
});
|
|
221
199
|
|
|
222
200
|
export type SdChipEvents = {
|
|
223
|
-
onSdUpdate: EventName<
|
|
224
|
-
onSdRemove: EventName<
|
|
225
|
-
onSdFocus: EventName<
|
|
226
|
-
onSdBlur: EventName<
|
|
201
|
+
onSdUpdate: EventName<SdChipCustomEvent<string>>,
|
|
202
|
+
onSdRemove: EventName<SdChipCustomEvent<void>>,
|
|
203
|
+
onSdFocus: EventName<SdChipCustomEvent<void>>,
|
|
204
|
+
onSdBlur: EventName<SdChipCustomEvent<void>>
|
|
227
205
|
};
|
|
228
206
|
|
|
229
|
-
export const SdChip: StencilReactComponent<SdChipElement, SdChipEvents> = /*@__PURE__*/ createComponent<SdChipElement, SdChipEvents>({
|
|
207
|
+
export const SdChip: StencilReactComponent<SdChipElement, SdChipEvents, Components.SdChip> = /*@__PURE__*/ createComponent<SdChipElement, SdChipEvents, Components.SdChip>({
|
|
230
208
|
tagName: 'sd-chip',
|
|
231
209
|
properties: {
|
|
232
210
|
name: 'name',
|
|
@@ -236,13 +214,13 @@ export const SdChip: StencilReactComponent<SdChipElement, SdChipEvents> = /*@__P
|
|
|
236
214
|
placeholder: 'placeholder',
|
|
237
215
|
rules: 'rules'},
|
|
238
216
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
239
|
-
clientModule: clientComponents.SdChip as
|
|
240
|
-
serializeShadowRoot
|
|
217
|
+
clientModule: clientComponents.SdChip as StencilReactComponent<SdChipElement, SdChipEvents, Components.SdChip>,
|
|
218
|
+
serializeShadowRoot
|
|
241
219
|
});
|
|
242
220
|
|
|
243
221
|
export type SdCircleProgressEvents = NonNullable<unknown>;
|
|
244
222
|
|
|
245
|
-
export const SdCircleProgress: StencilReactComponent<SdCircleProgressElement, SdCircleProgressEvents> = /*@__PURE__*/ createComponent<SdCircleProgressElement, SdCircleProgressEvents>({
|
|
223
|
+
export const SdCircleProgress: StencilReactComponent<SdCircleProgressElement, SdCircleProgressEvents, Components.SdCircleProgress> = /*@__PURE__*/ createComponent<SdCircleProgressElement, SdCircleProgressEvents, Components.SdCircleProgress>({
|
|
246
224
|
tagName: 'sd-circle-progress',
|
|
247
225
|
properties: {
|
|
248
226
|
indeterminate: 'indeterminate',
|
|
@@ -251,17 +229,17 @@ export const SdCircleProgress: StencilReactComponent<SdCircleProgressElement, Sd
|
|
|
251
229
|
label: 'label'
|
|
252
230
|
},
|
|
253
231
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
254
|
-
clientModule: clientComponents.SdCircleProgress as
|
|
255
|
-
serializeShadowRoot
|
|
232
|
+
clientModule: clientComponents.SdCircleProgress as StencilReactComponent<SdCircleProgressElement, SdCircleProgressEvents, Components.SdCircleProgress>,
|
|
233
|
+
serializeShadowRoot
|
|
256
234
|
});
|
|
257
235
|
|
|
258
236
|
export type SdConfirmModalEvents = {
|
|
259
|
-
onSdClose: EventName<
|
|
260
|
-
onSdCancel: EventName<
|
|
261
|
-
onSdOk: EventName<
|
|
237
|
+
onSdClose: EventName<SdConfirmModalCustomEvent<void>>,
|
|
238
|
+
onSdCancel: EventName<SdConfirmModalCustomEvent<void>>,
|
|
239
|
+
onSdOk: EventName<SdConfirmModalCustomEvent<void>>
|
|
262
240
|
};
|
|
263
241
|
|
|
264
|
-
export const SdConfirmModal: StencilReactComponent<SdConfirmModalElement, SdConfirmModalEvents> = /*@__PURE__*/ createComponent<SdConfirmModalElement, SdConfirmModalEvents>({
|
|
242
|
+
export const SdConfirmModal: StencilReactComponent<SdConfirmModalElement, SdConfirmModalEvents, Components.SdConfirmModal> = /*@__PURE__*/ createComponent<SdConfirmModalElement, SdConfirmModalEvents, Components.SdConfirmModal>({
|
|
265
243
|
tagName: 'sd-confirm-modal',
|
|
266
244
|
properties: {
|
|
267
245
|
type: 'type',
|
|
@@ -276,16 +254,16 @@ export const SdConfirmModal: StencilReactComponent<SdConfirmModalElement, SdConf
|
|
|
276
254
|
topMessage: 'topMessage',
|
|
277
255
|
bottomMessage: 'bottomMessage'},
|
|
278
256
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
279
|
-
clientModule: clientComponents.SdConfirmModal as
|
|
280
|
-
serializeShadowRoot
|
|
257
|
+
clientModule: clientComponents.SdConfirmModal as StencilReactComponent<SdConfirmModalElement, SdConfirmModalEvents, Components.SdConfirmModal>,
|
|
258
|
+
serializeShadowRoot
|
|
281
259
|
});
|
|
282
260
|
|
|
283
261
|
export type SdDateBoxEvents = {
|
|
284
|
-
onSdClick: EventName<
|
|
285
|
-
onSdMouseOver: EventName<
|
|
262
|
+
onSdClick: EventName<SdDateBoxCustomEvent<number | string | null>>,
|
|
263
|
+
onSdMouseOver: EventName<SdDateBoxCustomEvent<number | string | null>>
|
|
286
264
|
};
|
|
287
265
|
|
|
288
|
-
export const SdDateBox: StencilReactComponent<SdDateBoxElement, SdDateBoxEvents> = /*@__PURE__*/ createComponent<SdDateBoxElement, SdDateBoxEvents>({
|
|
266
|
+
export const SdDateBox: StencilReactComponent<SdDateBoxElement, SdDateBoxEvents, Components.SdDateBox> = /*@__PURE__*/ createComponent<SdDateBoxElement, SdDateBoxEvents, Components.SdDateBox>({
|
|
289
267
|
tagName: 'sd-date-box',
|
|
290
268
|
properties: {
|
|
291
269
|
date: 'date',
|
|
@@ -298,16 +276,16 @@ export const SdDateBox: StencilReactComponent<SdDateBoxElement, SdDateBoxEvents>
|
|
|
298
276
|
type: 'type'
|
|
299
277
|
},
|
|
300
278
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
301
|
-
clientModule: clientComponents.SdDateBox as
|
|
302
|
-
serializeShadowRoot
|
|
279
|
+
clientModule: clientComponents.SdDateBox as StencilReactComponent<SdDateBoxElement, SdDateBoxEvents, Components.SdDateBox>,
|
|
280
|
+
serializeShadowRoot
|
|
303
281
|
});
|
|
304
282
|
|
|
305
283
|
export type SdDatePickerEvents = {
|
|
306
|
-
onSdUpdate: EventName<
|
|
307
|
-
onSdViewChange: EventName<
|
|
284
|
+
onSdUpdate: EventName<SdDatePickerCustomEvent<string | null>>,
|
|
285
|
+
onSdViewChange: EventName<SdDatePickerCustomEvent<{ year: number; month: number }>>
|
|
308
286
|
};
|
|
309
287
|
|
|
310
|
-
export const SdDatePicker: StencilReactComponent<SdDatePickerElement, SdDatePickerEvents> = /*@__PURE__*/ createComponent<SdDatePickerElement, SdDatePickerEvents>({
|
|
288
|
+
export const SdDatePicker: StencilReactComponent<SdDatePickerElement, SdDatePickerEvents, Components.SdDatePicker> = /*@__PURE__*/ createComponent<SdDatePickerElement, SdDatePickerEvents, Components.SdDatePicker>({
|
|
311
289
|
tagName: 'sd-date-picker',
|
|
312
290
|
properties: {
|
|
313
291
|
value: 'value',
|
|
@@ -326,26 +304,26 @@ export const SdDatePicker: StencilReactComponent<SdDatePickerElement, SdDatePick
|
|
|
326
304
|
name: 'name',
|
|
327
305
|
rules: 'rules'},
|
|
328
306
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
329
|
-
clientModule: clientComponents.SdDatePicker as
|
|
330
|
-
serializeShadowRoot
|
|
307
|
+
clientModule: clientComponents.SdDatePicker as StencilReactComponent<SdDatePickerElement, SdDatePickerEvents, Components.SdDatePicker>,
|
|
308
|
+
serializeShadowRoot
|
|
331
309
|
});
|
|
332
310
|
|
|
333
311
|
export type SdDatePickerCalendarEvents = {
|
|
334
|
-
onSdSelect: EventName<
|
|
335
|
-
onSdViewChange: EventName<
|
|
312
|
+
onSdSelect: EventName<SdDatePickerCalendarCustomEvent<string>>,
|
|
313
|
+
onSdViewChange: EventName<SdDatePickerCalendarCustomEvent<{ year: number; month: number }>>
|
|
336
314
|
};
|
|
337
315
|
|
|
338
|
-
export const SdDatePickerCalendar: StencilReactComponent<SdDatePickerCalendarElement, SdDatePickerCalendarEvents> = /*@__PURE__*/ createComponent<SdDatePickerCalendarElement, SdDatePickerCalendarEvents>({
|
|
316
|
+
export const SdDatePickerCalendar: StencilReactComponent<SdDatePickerCalendarElement, SdDatePickerCalendarEvents, Components.SdDatePickerCalendar> = /*@__PURE__*/ createComponent<SdDatePickerCalendarElement, SdDatePickerCalendarEvents, Components.SdDatePickerCalendar>({
|
|
339
317
|
tagName: 'sd-date-picker-calendar',
|
|
340
318
|
properties: { value: 'value' },
|
|
341
319
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
342
|
-
clientModule: clientComponents.SdDatePickerCalendar as
|
|
343
|
-
serializeShadowRoot
|
|
320
|
+
clientModule: clientComponents.SdDatePickerCalendar as StencilReactComponent<SdDatePickerCalendarElement, SdDatePickerCalendarEvents, Components.SdDatePickerCalendar>,
|
|
321
|
+
serializeShadowRoot
|
|
344
322
|
});
|
|
345
323
|
|
|
346
|
-
export type SdDatePickerTriggerEvents = { onSdTriggerClick: EventName<
|
|
324
|
+
export type SdDatePickerTriggerEvents = { onSdTriggerClick: EventName<SdDatePickerTriggerCustomEvent<void>> };
|
|
347
325
|
|
|
348
|
-
export const SdDatePickerTrigger: StencilReactComponent<SdDatePickerTriggerElement, SdDatePickerTriggerEvents> = /*@__PURE__*/ createComponent<SdDatePickerTriggerElement, SdDatePickerTriggerEvents>({
|
|
326
|
+
export const SdDatePickerTrigger: StencilReactComponent<SdDatePickerTriggerElement, SdDatePickerTriggerEvents, Components.SdDatePickerTrigger> = /*@__PURE__*/ createComponent<SdDatePickerTriggerElement, SdDatePickerTriggerEvents, Components.SdDatePickerTrigger>({
|
|
349
327
|
tagName: 'sd-date-picker-trigger',
|
|
350
328
|
properties: {
|
|
351
329
|
displayText: 'display-text',
|
|
@@ -354,16 +332,16 @@ export const SdDatePickerTrigger: StencilReactComponent<SdDatePickerTriggerEleme
|
|
|
354
332
|
size: 'size'
|
|
355
333
|
},
|
|
356
334
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
357
|
-
clientModule: clientComponents.SdDatePickerTrigger as
|
|
358
|
-
serializeShadowRoot
|
|
335
|
+
clientModule: clientComponents.SdDatePickerTrigger as StencilReactComponent<SdDatePickerTriggerElement, SdDatePickerTriggerEvents, Components.SdDatePickerTrigger>,
|
|
336
|
+
serializeShadowRoot
|
|
359
337
|
});
|
|
360
338
|
|
|
361
339
|
export type SdDateRangePickerEvents = {
|
|
362
340
|
onSdUpdate: EventName<SdDateRangePickerCustomEvent<DateRangeValue>>,
|
|
363
|
-
onSdViewChange: EventName<
|
|
341
|
+
onSdViewChange: EventName<SdDateRangePickerCustomEvent<{ year: number; month: number }>>
|
|
364
342
|
};
|
|
365
343
|
|
|
366
|
-
export const SdDateRangePicker: StencilReactComponent<SdDateRangePickerElement, SdDateRangePickerEvents> = /*@__PURE__*/ createComponent<SdDateRangePickerElement, SdDateRangePickerEvents>({
|
|
344
|
+
export const SdDateRangePicker: StencilReactComponent<SdDateRangePickerElement, SdDateRangePickerEvents, Components.SdDateRangePicker> = /*@__PURE__*/ createComponent<SdDateRangePickerElement, SdDateRangePickerEvents, Components.SdDateRangePicker>({
|
|
367
345
|
tagName: 'sd-date-range-picker',
|
|
368
346
|
properties: {
|
|
369
347
|
size: 'size',
|
|
@@ -382,29 +360,29 @@ export const SdDateRangePicker: StencilReactComponent<SdDateRangePickerElement,
|
|
|
382
360
|
name: 'name',
|
|
383
361
|
rules: 'rules'},
|
|
384
362
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
385
|
-
clientModule: clientComponents.SdDateRangePicker as
|
|
386
|
-
serializeShadowRoot
|
|
363
|
+
clientModule: clientComponents.SdDateRangePicker as StencilReactComponent<SdDateRangePickerElement, SdDateRangePickerEvents, Components.SdDateRangePicker>,
|
|
364
|
+
serializeShadowRoot
|
|
387
365
|
});
|
|
388
366
|
|
|
389
367
|
export type SdDateRangePickerCalendarEvents = {
|
|
390
|
-
onSdSelect: EventName<
|
|
391
|
-
onSdViewChange: EventName<
|
|
368
|
+
onSdSelect: EventName<SdDateRangePickerCalendarCustomEvent<[string, string]>>,
|
|
369
|
+
onSdViewChange: EventName<SdDateRangePickerCalendarCustomEvent<{ year: number; month: number }>>
|
|
392
370
|
};
|
|
393
371
|
|
|
394
|
-
export const SdDateRangePickerCalendar: StencilReactComponent<SdDateRangePickerCalendarElement, SdDateRangePickerCalendarEvents> = /*@__PURE__*/ createComponent<SdDateRangePickerCalendarElement, SdDateRangePickerCalendarEvents>({
|
|
372
|
+
export const SdDateRangePickerCalendar: StencilReactComponent<SdDateRangePickerCalendarElement, SdDateRangePickerCalendarEvents, Components.SdDateRangePickerCalendar> = /*@__PURE__*/ createComponent<SdDateRangePickerCalendarElement, SdDateRangePickerCalendarEvents, Components.SdDateRangePickerCalendar>({
|
|
395
373
|
tagName: 'sd-date-range-picker-calendar',
|
|
396
374
|
properties: { maxRange: 'max-range' },
|
|
397
375
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
398
|
-
clientModule: clientComponents.SdDateRangePickerCalendar as
|
|
399
|
-
serializeShadowRoot
|
|
376
|
+
clientModule: clientComponents.SdDateRangePickerCalendar as StencilReactComponent<SdDateRangePickerCalendarElement, SdDateRangePickerCalendarEvents, Components.SdDateRangePickerCalendar>,
|
|
377
|
+
serializeShadowRoot
|
|
400
378
|
});
|
|
401
379
|
|
|
402
380
|
export type SdDropdownButtonEvents = {
|
|
403
381
|
onSdClick: EventName<SdDropdownButtonCustomEvent<DropdownButtonValue>>,
|
|
404
|
-
onSdDropDownShow: EventName<
|
|
382
|
+
onSdDropDownShow: EventName<SdDropdownButtonCustomEvent<{ isOpen: boolean }>>
|
|
405
383
|
};
|
|
406
384
|
|
|
407
|
-
export const SdDropdownButton: StencilReactComponent<SdDropdownButtonElement, SdDropdownButtonEvents> = /*@__PURE__*/ createComponent<SdDropdownButtonElement, SdDropdownButtonEvents>({
|
|
385
|
+
export const SdDropdownButton: StencilReactComponent<SdDropdownButtonElement, SdDropdownButtonEvents, Components.SdDropdownButton> = /*@__PURE__*/ createComponent<SdDropdownButtonElement, SdDropdownButtonEvents, Components.SdDropdownButton>({
|
|
408
386
|
tagName: 'sd-dropdown-button',
|
|
409
387
|
properties: {
|
|
410
388
|
name: 'name',
|
|
@@ -412,18 +390,19 @@ export const SdDropdownButton: StencilReactComponent<SdDropdownButtonElement, Sd
|
|
|
412
390
|
disabled: 'disabled',
|
|
413
391
|
items: 'items'},
|
|
414
392
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
415
|
-
clientModule: clientComponents.SdDropdownButton as
|
|
416
|
-
serializeShadowRoot
|
|
393
|
+
clientModule: clientComponents.SdDropdownButton as StencilReactComponent<SdDropdownButtonElement, SdDropdownButtonEvents, Components.SdDropdownButton>,
|
|
394
|
+
serializeShadowRoot
|
|
417
395
|
});
|
|
418
396
|
|
|
419
397
|
export type SdFieldEvents = NonNullable<unknown>;
|
|
420
398
|
|
|
421
|
-
export const SdField: StencilReactComponent<SdFieldElement, SdFieldEvents> = /*@__PURE__*/ createComponent<SdFieldElement, SdFieldEvents>({
|
|
399
|
+
export const SdField: StencilReactComponent<SdFieldElement, SdFieldEvents, Components.SdField> = /*@__PURE__*/ createComponent<SdFieldElement, SdFieldEvents, Components.SdField>({
|
|
422
400
|
tagName: 'sd-field',
|
|
423
401
|
properties: {
|
|
424
402
|
name: 'name',
|
|
425
403
|
error: 'error',
|
|
426
404
|
disabled: 'disabled',
|
|
405
|
+
readonly: 'readonly',
|
|
427
406
|
hovered: 'hovered',
|
|
428
407
|
focused: 'focused',
|
|
429
408
|
status: 'status',
|
|
@@ -438,19 +417,16 @@ export const SdField: StencilReactComponent<SdFieldElement, SdFieldEvents> = /*@
|
|
|
438
417
|
labelTooltip: 'label-tooltip',
|
|
439
418
|
rules: 'rules'},
|
|
440
419
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
441
|
-
clientModule: clientComponents.SdField as
|
|
442
|
-
serializeShadowRoot
|
|
420
|
+
clientModule: clientComponents.SdField as StencilReactComponent<SdFieldElement, SdFieldEvents, Components.SdField>,
|
|
421
|
+
serializeShadowRoot
|
|
443
422
|
});
|
|
444
423
|
|
|
445
424
|
export type SdFilePickerEvents = {
|
|
446
425
|
onSdUpdate: EventName<SdFilePickerCustomEvent<File[] | File | null>>,
|
|
447
|
-
onSdReject: EventName<SdFilePickerCustomEvent<{
|
|
448
|
-
files: File[];
|
|
449
|
-
reason: 'max-file-size' | 'max-total-size' | 'max-files';
|
|
450
|
-
}>>
|
|
426
|
+
onSdReject: EventName<SdFilePickerCustomEvent<{ files: File[]; reason: 'max-file-size' | 'max-total-size' | 'max-files'; }>>
|
|
451
427
|
};
|
|
452
428
|
|
|
453
|
-
export const SdFilePicker: StencilReactComponent<SdFilePickerElement, SdFilePickerEvents> = /*@__PURE__*/ createComponent<SdFilePickerElement, SdFilePickerEvents>({
|
|
429
|
+
export const SdFilePicker: StencilReactComponent<SdFilePickerElement, SdFilePickerEvents, Components.SdFilePicker> = /*@__PURE__*/ createComponent<SdFilePickerElement, SdFilePickerEvents, Components.SdFilePicker>({
|
|
454
430
|
tagName: 'sd-file-picker',
|
|
455
431
|
properties: {
|
|
456
432
|
placeholder: 'placeholder',
|
|
@@ -477,13 +453,13 @@ export const SdFilePicker: StencilReactComponent<SdFilePickerElement, SdFilePick
|
|
|
477
453
|
value: 'value',
|
|
478
454
|
rules: 'rules'},
|
|
479
455
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
480
|
-
clientModule: clientComponents.SdFilePicker as
|
|
481
|
-
serializeShadowRoot
|
|
456
|
+
clientModule: clientComponents.SdFilePicker as StencilReactComponent<SdFilePickerElement, SdFilePickerEvents, Components.SdFilePicker>,
|
|
457
|
+
serializeShadowRoot
|
|
482
458
|
});
|
|
483
459
|
|
|
484
|
-
export type SdFloatingPortalEvents = { onSdClose: EventName<
|
|
460
|
+
export type SdFloatingPortalEvents = { onSdClose: EventName<SdFloatingPortalCustomEvent<void>> };
|
|
485
461
|
|
|
486
|
-
export const SdFloatingPortal: StencilReactComponent<SdFloatingPortalElement, SdFloatingPortalEvents> = /*@__PURE__*/ createComponent<SdFloatingPortalElement, SdFloatingPortalEvents>({
|
|
462
|
+
export const SdFloatingPortal: StencilReactComponent<SdFloatingPortalElement, SdFloatingPortalEvents, Components.SdFloatingPortal> = /*@__PURE__*/ createComponent<SdFloatingPortalElement, SdFloatingPortalEvents, Components.SdFloatingPortal>({
|
|
487
463
|
tagName: 'sd-floating-portal',
|
|
488
464
|
properties: {
|
|
489
465
|
to: 'to',
|
|
@@ -492,26 +468,26 @@ export const SdFloatingPortal: StencilReactComponent<SdFloatingPortalElement, Sd
|
|
|
492
468
|
open: 'open'
|
|
493
469
|
},
|
|
494
470
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
495
|
-
clientModule: clientComponents.SdFloatingPortal as
|
|
496
|
-
serializeShadowRoot
|
|
471
|
+
clientModule: clientComponents.SdFloatingPortal as StencilReactComponent<SdFloatingPortalElement, SdFloatingPortalEvents, Components.SdFloatingPortal>,
|
|
472
|
+
serializeShadowRoot
|
|
497
473
|
});
|
|
498
474
|
|
|
499
475
|
export type SdFormEvents = {
|
|
500
|
-
onSdSubmit: EventName<
|
|
501
|
-
onSdValidationError: EventName<
|
|
476
|
+
onSdSubmit: EventName<SdFormCustomEvent<void>>,
|
|
477
|
+
onSdValidationError: EventName<SdFormCustomEvent<{ names: string[] }>>
|
|
502
478
|
};
|
|
503
479
|
|
|
504
|
-
export const SdForm: StencilReactComponent<SdFormElement, SdFormEvents> = /*@__PURE__*/ createComponent<SdFormElement, SdFormEvents>({
|
|
480
|
+
export const SdForm: StencilReactComponent<SdFormElement, SdFormEvents, Components.SdForm> = /*@__PURE__*/ createComponent<SdFormElement, SdFormEvents, Components.SdForm>({
|
|
505
481
|
tagName: 'sd-form',
|
|
506
482
|
properties: { formClass: 'form-class' },
|
|
507
483
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
508
|
-
clientModule: clientComponents.SdForm as
|
|
509
|
-
serializeShadowRoot
|
|
484
|
+
clientModule: clientComponents.SdForm as StencilReactComponent<SdFormElement, SdFormEvents, Components.SdForm>,
|
|
485
|
+
serializeShadowRoot
|
|
510
486
|
});
|
|
511
487
|
|
|
512
488
|
export type SdGhostButtonEvents = { onSdClick: EventName<SdGhostButtonCustomEvent<MouseEvent>> };
|
|
513
489
|
|
|
514
|
-
export const SdGhostButton: StencilReactComponent<SdGhostButtonElement, SdGhostButtonEvents> = /*@__PURE__*/ createComponent<SdGhostButtonElement, SdGhostButtonEvents>({
|
|
490
|
+
export const SdGhostButton: StencilReactComponent<SdGhostButtonElement, SdGhostButtonEvents, Components.SdGhostButton> = /*@__PURE__*/ createComponent<SdGhostButtonElement, SdGhostButtonEvents, Components.SdGhostButton>({
|
|
515
491
|
tagName: 'sd-ghost-button',
|
|
516
492
|
properties: {
|
|
517
493
|
icon: 'icon',
|
|
@@ -521,13 +497,13 @@ export const SdGhostButton: StencilReactComponent<SdGhostButtonElement, SdGhostB
|
|
|
521
497
|
disabled: 'disabled'
|
|
522
498
|
},
|
|
523
499
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
524
|
-
clientModule: clientComponents.SdGhostButton as
|
|
525
|
-
serializeShadowRoot
|
|
500
|
+
clientModule: clientComponents.SdGhostButton as StencilReactComponent<SdGhostButtonElement, SdGhostButtonEvents, Components.SdGhostButton>,
|
|
501
|
+
serializeShadowRoot
|
|
526
502
|
});
|
|
527
503
|
|
|
528
504
|
export type SdGuideEvents = NonNullable<unknown>;
|
|
529
505
|
|
|
530
|
-
export const SdGuide: StencilReactComponent<SdGuideElement, SdGuideEvents> = /*@__PURE__*/ createComponent<SdGuideElement, SdGuideEvents>({
|
|
506
|
+
export const SdGuide: StencilReactComponent<SdGuideElement, SdGuideEvents, Components.SdGuide> = /*@__PURE__*/ createComponent<SdGuideElement, SdGuideEvents, Components.SdGuide>({
|
|
531
507
|
tagName: 'sd-guide',
|
|
532
508
|
properties: {
|
|
533
509
|
type: 'type',
|
|
@@ -537,13 +513,13 @@ export const SdGuide: StencilReactComponent<SdGuideElement, SdGuideEvents> = /*@
|
|
|
537
513
|
popupTitle: 'popup-title',
|
|
538
514
|
popupWidth: 'popup-width'},
|
|
539
515
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
540
|
-
clientModule: clientComponents.SdGuide as
|
|
541
|
-
serializeShadowRoot
|
|
516
|
+
clientModule: clientComponents.SdGuide as StencilReactComponent<SdGuideElement, SdGuideEvents, Components.SdGuide>,
|
|
517
|
+
serializeShadowRoot
|
|
542
518
|
});
|
|
543
519
|
|
|
544
520
|
export type SdIconEvents = NonNullable<unknown>;
|
|
545
521
|
|
|
546
|
-
export const SdIcon: StencilReactComponent<SdIconElement, SdIconEvents> = /*@__PURE__*/ createComponent<SdIconElement, SdIconEvents>({
|
|
522
|
+
export const SdIcon: StencilReactComponent<SdIconElement, SdIconEvents, Components.SdIcon> = /*@__PURE__*/ createComponent<SdIconElement, SdIconEvents, Components.SdIcon>({
|
|
547
523
|
tagName: 'sd-icon',
|
|
548
524
|
properties: {
|
|
549
525
|
name: 'name',
|
|
@@ -553,17 +529,17 @@ export const SdIcon: StencilReactComponent<SdIconElement, SdIconEvents> = /*@__P
|
|
|
553
529
|
label: 'label'
|
|
554
530
|
},
|
|
555
531
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
556
|
-
clientModule: clientComponents.SdIcon as
|
|
557
|
-
serializeShadowRoot
|
|
532
|
+
clientModule: clientComponents.SdIcon as StencilReactComponent<SdIconElement, SdIconEvents, Components.SdIcon>,
|
|
533
|
+
serializeShadowRoot
|
|
558
534
|
});
|
|
559
535
|
|
|
560
536
|
export type SdInputEvents = {
|
|
561
|
-
onSdUpdate: EventName<
|
|
537
|
+
onSdUpdate: EventName<SdInputCustomEvent<string | number | null>>,
|
|
562
538
|
onSdFocus: EventName<SdInputCustomEvent<Event>>,
|
|
563
539
|
onSdBlur: EventName<SdInputCustomEvent<Event>>
|
|
564
540
|
};
|
|
565
541
|
|
|
566
|
-
export const SdInput: StencilReactComponent<SdInputElement, SdInputEvents> = /*@__PURE__*/ createComponent<SdInputElement, SdInputEvents>({
|
|
542
|
+
export const SdInput: StencilReactComponent<SdInputElement, SdInputEvents, Components.SdInput> = /*@__PURE__*/ createComponent<SdInputElement, SdInputEvents, Components.SdInput>({
|
|
567
543
|
tagName: 'sd-input',
|
|
568
544
|
properties: {
|
|
569
545
|
value: 'value',
|
|
@@ -596,13 +572,29 @@ export const SdInput: StencilReactComponent<SdInputElement, SdInputEvents> = /*@
|
|
|
596
572
|
name: 'name',
|
|
597
573
|
rules: 'rules'},
|
|
598
574
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
599
|
-
clientModule: clientComponents.SdInput as
|
|
600
|
-
serializeShadowRoot
|
|
575
|
+
clientModule: clientComponents.SdInput as StencilReactComponent<SdInputElement, SdInputEvents, Components.SdInput>,
|
|
576
|
+
serializeShadowRoot
|
|
577
|
+
});
|
|
578
|
+
|
|
579
|
+
export type SdKeyValueTableEvents = {
|
|
580
|
+
onSdChange: EventName<SdKeyValueTableCustomEvent<SdKeyValueChangeDetail>>,
|
|
581
|
+
onSdSearch: EventName<SdKeyValueTableCustomEvent<void>>
|
|
582
|
+
};
|
|
583
|
+
|
|
584
|
+
export const SdKeyValueTable: StencilReactComponent<SdKeyValueTableElement, SdKeyValueTableEvents, Components.SdKeyValueTable> = /*@__PURE__*/ createComponent<SdKeyValueTableElement, SdKeyValueTableEvents, Components.SdKeyValueTable>({
|
|
585
|
+
tagName: 'sd-key-value-table',
|
|
586
|
+
properties: {
|
|
587
|
+
search: 'search',
|
|
588
|
+
useTop: 'use-top',
|
|
589
|
+
fields: 'fields'},
|
|
590
|
+
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
591
|
+
clientModule: clientComponents.SdKeyValueTable as StencilReactComponent<SdKeyValueTableElement, SdKeyValueTableEvents, Components.SdKeyValueTable>,
|
|
592
|
+
serializeShadowRoot
|
|
601
593
|
});
|
|
602
594
|
|
|
603
595
|
export type SdLinearProgressEvents = NonNullable<unknown>;
|
|
604
596
|
|
|
605
|
-
export const SdLinearProgress: StencilReactComponent<SdLinearProgressElement, SdLinearProgressEvents> = /*@__PURE__*/ createComponent<SdLinearProgressElement, SdLinearProgressEvents>({
|
|
597
|
+
export const SdLinearProgress: StencilReactComponent<SdLinearProgressElement, SdLinearProgressEvents, Components.SdLinearProgress> = /*@__PURE__*/ createComponent<SdLinearProgressElement, SdLinearProgressEvents, Components.SdLinearProgress>({
|
|
606
598
|
tagName: 'sd-linear-progress',
|
|
607
599
|
properties: {
|
|
608
600
|
indeterminate: 'indeterminate',
|
|
@@ -611,23 +603,23 @@ export const SdLinearProgress: StencilReactComponent<SdLinearProgressElement, Sd
|
|
|
611
603
|
label: 'label'
|
|
612
604
|
},
|
|
613
605
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
614
|
-
clientModule: clientComponents.SdLinearProgress as
|
|
615
|
-
serializeShadowRoot
|
|
606
|
+
clientModule: clientComponents.SdLinearProgress as StencilReactComponent<SdLinearProgressElement, SdLinearProgressEvents, Components.SdLinearProgress>,
|
|
607
|
+
serializeShadowRoot
|
|
616
608
|
});
|
|
617
609
|
|
|
618
610
|
export type SdLoadingContainerEvents = NonNullable<unknown>;
|
|
619
611
|
|
|
620
|
-
export const SdLoadingContainer: StencilReactComponent<SdLoadingContainerElement, SdLoadingContainerEvents> = /*@__PURE__*/ createComponent<SdLoadingContainerElement, SdLoadingContainerEvents>({
|
|
612
|
+
export const SdLoadingContainer: StencilReactComponent<SdLoadingContainerElement, SdLoadingContainerEvents, Components.SdLoadingContainer> = /*@__PURE__*/ createComponent<SdLoadingContainerElement, SdLoadingContainerEvents, Components.SdLoadingContainer>({
|
|
621
613
|
tagName: 'sd-loading-container',
|
|
622
614
|
properties: {},
|
|
623
615
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
624
|
-
clientModule: clientComponents.SdLoadingContainer as
|
|
625
|
-
serializeShadowRoot
|
|
616
|
+
clientModule: clientComponents.SdLoadingContainer as StencilReactComponent<SdLoadingContainerElement, SdLoadingContainerEvents, Components.SdLoadingContainer>,
|
|
617
|
+
serializeShadowRoot
|
|
626
618
|
});
|
|
627
619
|
|
|
628
|
-
export type SdLoadingModalEvents = { onSdClick: EventName<
|
|
620
|
+
export type SdLoadingModalEvents = { onSdClick: EventName<SdLoadingModalCustomEvent<void>> };
|
|
629
621
|
|
|
630
|
-
export const SdLoadingModal: StencilReactComponent<SdLoadingModalElement, SdLoadingModalEvents> = /*@__PURE__*/ createComponent<SdLoadingModalElement, SdLoadingModalEvents>({
|
|
622
|
+
export const SdLoadingModal: StencilReactComponent<SdLoadingModalElement, SdLoadingModalEvents, Components.SdLoadingModal> = /*@__PURE__*/ createComponent<SdLoadingModalElement, SdLoadingModalEvents, Components.SdLoadingModal>({
|
|
631
623
|
tagName: 'sd-loading-modal',
|
|
632
624
|
properties: {
|
|
633
625
|
state: 'state',
|
|
@@ -637,27 +629,27 @@ export const SdLoadingModal: StencilReactComponent<SdLoadingModalElement, SdLoad
|
|
|
637
629
|
width: 'width',
|
|
638
630
|
height: 'height'},
|
|
639
631
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
640
|
-
clientModule: clientComponents.SdLoadingModal as
|
|
641
|
-
serializeShadowRoot
|
|
632
|
+
clientModule: clientComponents.SdLoadingModal as StencilReactComponent<SdLoadingModalElement, SdLoadingModalEvents, Components.SdLoadingModal>,
|
|
633
|
+
serializeShadowRoot
|
|
642
634
|
});
|
|
643
635
|
|
|
644
636
|
export type SdModalContainerEvents = NonNullable<unknown>;
|
|
645
637
|
|
|
646
|
-
export const SdModalContainer: StencilReactComponent<SdModalContainerElement, SdModalContainerEvents> = /*@__PURE__*/ createComponent<SdModalContainerElement, SdModalContainerEvents>({
|
|
638
|
+
export const SdModalContainer: StencilReactComponent<SdModalContainerElement, SdModalContainerEvents, Components.SdModalContainer> = /*@__PURE__*/ createComponent<SdModalContainerElement, SdModalContainerEvents, Components.SdModalContainer>({
|
|
647
639
|
tagName: 'sd-modal-container',
|
|
648
640
|
properties: { autoRemove: 'auto-remove' },
|
|
649
641
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
650
|
-
clientModule: clientComponents.SdModalContainer as
|
|
651
|
-
serializeShadowRoot
|
|
642
|
+
clientModule: clientComponents.SdModalContainer as StencilReactComponent<SdModalContainerElement, SdModalContainerEvents, Components.SdModalContainer>,
|
|
643
|
+
serializeShadowRoot
|
|
652
644
|
});
|
|
653
645
|
|
|
654
646
|
export type SdNumberInputEvents = {
|
|
655
|
-
onSdUpdate: EventName<
|
|
647
|
+
onSdUpdate: EventName<SdNumberInputCustomEvent<number | null>>,
|
|
656
648
|
onSdFocus: EventName<SdNumberInputCustomEvent<Event>>,
|
|
657
649
|
onSdBlur: EventName<SdNumberInputCustomEvent<Event>>
|
|
658
650
|
};
|
|
659
651
|
|
|
660
|
-
export const SdNumberInput: StencilReactComponent<SdNumberInputElement, SdNumberInputEvents> = /*@__PURE__*/ createComponent<SdNumberInputElement, SdNumberInputEvents>({
|
|
652
|
+
export const SdNumberInput: StencilReactComponent<SdNumberInputElement, SdNumberInputEvents, Components.SdNumberInput> = /*@__PURE__*/ createComponent<SdNumberInputElement, SdNumberInputEvents, Components.SdNumberInput>({
|
|
661
653
|
tagName: 'sd-number-input',
|
|
662
654
|
properties: {
|
|
663
655
|
size: 'size',
|
|
@@ -688,13 +680,13 @@ export const SdNumberInput: StencilReactComponent<SdNumberInputElement, SdNumber
|
|
|
688
680
|
name: 'name',
|
|
689
681
|
rules: 'rules'},
|
|
690
682
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
691
|
-
clientModule: clientComponents.SdNumberInput as
|
|
692
|
-
serializeShadowRoot
|
|
683
|
+
clientModule: clientComponents.SdNumberInput as StencilReactComponent<SdNumberInputElement, SdNumberInputEvents, Components.SdNumberInput>,
|
|
684
|
+
serializeShadowRoot
|
|
693
685
|
});
|
|
694
686
|
|
|
695
|
-
export type SdPaginationEvents = { onSdPageChange: EventName<
|
|
687
|
+
export type SdPaginationEvents = { onSdPageChange: EventName<SdPaginationCustomEvent<number>> };
|
|
696
688
|
|
|
697
|
-
export const SdPagination: StencilReactComponent<SdPaginationElement, SdPaginationEvents> = /*@__PURE__*/ createComponent<SdPaginationElement, SdPaginationEvents>({
|
|
689
|
+
export const SdPagination: StencilReactComponent<SdPaginationElement, SdPaginationEvents, Components.SdPagination> = /*@__PURE__*/ createComponent<SdPaginationElement, SdPaginationEvents, Components.SdPagination>({
|
|
698
690
|
tagName: 'sd-pagination',
|
|
699
691
|
properties: {
|
|
700
692
|
currentPage: 'current-page',
|
|
@@ -702,13 +694,13 @@ export const SdPagination: StencilReactComponent<SdPaginationElement, SdPaginati
|
|
|
702
694
|
simple: 'simple'
|
|
703
695
|
},
|
|
704
696
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
705
|
-
clientModule: clientComponents.SdPagination as
|
|
706
|
-
serializeShadowRoot
|
|
697
|
+
clientModule: clientComponents.SdPagination as StencilReactComponent<SdPaginationElement, SdPaginationEvents, Components.SdPagination>,
|
|
698
|
+
serializeShadowRoot
|
|
707
699
|
});
|
|
708
700
|
|
|
709
|
-
export type SdPopoverEvents = { onSdShowChange: EventName<
|
|
701
|
+
export type SdPopoverEvents = { onSdShowChange: EventName<SdPopoverCustomEvent<boolean>> };
|
|
710
702
|
|
|
711
|
-
export const SdPopover: StencilReactComponent<SdPopoverElement, SdPopoverEvents> = /*@__PURE__*/ createComponent<SdPopoverElement, SdPopoverEvents>({
|
|
703
|
+
export const SdPopover: StencilReactComponent<SdPopoverElement, SdPopoverEvents, Components.SdPopover> = /*@__PURE__*/ createComponent<SdPopoverElement, SdPopoverEvents, Components.SdPopover>({
|
|
712
704
|
tagName: 'sd-popover',
|
|
713
705
|
properties: {
|
|
714
706
|
show: 'show',
|
|
@@ -717,21 +709,37 @@ export const SdPopover: StencilReactComponent<SdPopoverElement, SdPopoverEvents>
|
|
|
717
709
|
icon: 'icon',
|
|
718
710
|
iconSize: 'icon-size',
|
|
719
711
|
label: 'label',
|
|
720
|
-
|
|
721
|
-
|
|
712
|
+
name: 'name',
|
|
713
|
+
rightIcon: 'right-icon',
|
|
714
|
+
ariaLabel: 'aria-label',
|
|
715
|
+
disabled: 'disabled',
|
|
716
|
+
type: 'type',
|
|
722
717
|
menuTitle: 'menu-title',
|
|
723
718
|
menuClass: 'menu-class',
|
|
724
719
|
useClose: 'use-close',
|
|
725
|
-
messages: 'messages',
|
|
726
|
-
buttons: 'buttons'},
|
|
720
|
+
messages: 'messages'},
|
|
727
721
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
728
|
-
clientModule: clientComponents.SdPopover as
|
|
729
|
-
serializeShadowRoot
|
|
722
|
+
clientModule: clientComponents.SdPopover as StencilReactComponent<SdPopoverElement, SdPopoverEvents, Components.SdPopover>,
|
|
723
|
+
serializeShadowRoot
|
|
730
724
|
});
|
|
731
725
|
|
|
732
|
-
export type
|
|
726
|
+
export type SdPopupEvents = { onSdSubmit: EventName<SdPopupCustomEvent<void>> };
|
|
733
727
|
|
|
734
|
-
export const
|
|
728
|
+
export const SdPopup: StencilReactComponent<SdPopupElement, SdPopupEvents, Components.SdPopup> = /*@__PURE__*/ createComponent<SdPopupElement, SdPopupEvents, Components.SdPopup>({
|
|
729
|
+
tagName: 'sd-popup',
|
|
730
|
+
properties: {
|
|
731
|
+
popupTitle: 'popup-title',
|
|
732
|
+
type: 'type',
|
|
733
|
+
useFooter: 'use-footer'
|
|
734
|
+
},
|
|
735
|
+
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
736
|
+
clientModule: clientComponents.SdPopup as StencilReactComponent<SdPopupElement, SdPopupEvents, Components.SdPopup>,
|
|
737
|
+
serializeShadowRoot
|
|
738
|
+
});
|
|
739
|
+
|
|
740
|
+
export type SdPortalEvents = { onSdClose: EventName<SdPortalCustomEvent<void>> };
|
|
741
|
+
|
|
742
|
+
export const SdPortal: StencilReactComponent<SdPortalElement, SdPortalEvents, Components.SdPortal> = /*@__PURE__*/ createComponent<SdPortalElement, SdPortalEvents, Components.SdPortal>({
|
|
735
743
|
tagName: 'sd-portal',
|
|
736
744
|
properties: {
|
|
737
745
|
to: 'to',
|
|
@@ -740,13 +748,13 @@ export const SdPortal: StencilReactComponent<SdPortalElement, SdPortalEvents> =
|
|
|
740
748
|
open: 'open'
|
|
741
749
|
},
|
|
742
750
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
743
|
-
clientModule: clientComponents.SdPortal as
|
|
744
|
-
serializeShadowRoot
|
|
751
|
+
clientModule: clientComponents.SdPortal as StencilReactComponent<SdPortalElement, SdPortalEvents, Components.SdPortal>,
|
|
752
|
+
serializeShadowRoot
|
|
745
753
|
});
|
|
746
754
|
|
|
747
755
|
export type SdRadioEvents = { onSdUpdate: EventName<SdRadioCustomEvent<RadioValue>> };
|
|
748
756
|
|
|
749
|
-
export const SdRadio: StencilReactComponent<SdRadioElement, SdRadioEvents> = /*@__PURE__*/ createComponent<SdRadioElement, SdRadioEvents>({
|
|
757
|
+
export const SdRadio: StencilReactComponent<SdRadioElement, SdRadioEvents, Components.SdRadio> = /*@__PURE__*/ createComponent<SdRadioElement, SdRadioEvents, Components.SdRadio>({
|
|
750
758
|
tagName: 'sd-radio',
|
|
751
759
|
properties: {
|
|
752
760
|
value: 'value',
|
|
@@ -755,13 +763,13 @@ export const SdRadio: StencilReactComponent<SdRadioElement, SdRadioEvents> = /*@
|
|
|
755
763
|
label: 'label'
|
|
756
764
|
},
|
|
757
765
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
758
|
-
clientModule: clientComponents.SdRadio as
|
|
759
|
-
serializeShadowRoot
|
|
766
|
+
clientModule: clientComponents.SdRadio as StencilReactComponent<SdRadioElement, SdRadioEvents, Components.SdRadio>,
|
|
767
|
+
serializeShadowRoot
|
|
760
768
|
});
|
|
761
769
|
|
|
762
770
|
export type SdRadioButtonEvents = { onSdUpdate: EventName<SdRadioButtonCustomEvent<RadioValue>> };
|
|
763
771
|
|
|
764
|
-
export const SdRadioButton: StencilReactComponent<SdRadioButtonElement, SdRadioButtonEvents> = /*@__PURE__*/ createComponent<SdRadioButtonElement, SdRadioButtonEvents>({
|
|
772
|
+
export const SdRadioButton: StencilReactComponent<SdRadioButtonElement, SdRadioButtonEvents, Components.SdRadioButton> = /*@__PURE__*/ createComponent<SdRadioButtonElement, SdRadioButtonEvents, Components.SdRadioButton>({
|
|
765
773
|
tagName: 'sd-radio-button',
|
|
766
774
|
properties: {
|
|
767
775
|
value: 'value',
|
|
@@ -770,13 +778,13 @@ export const SdRadioButton: StencilReactComponent<SdRadioButtonElement, SdRadioB
|
|
|
770
778
|
name: 'name',
|
|
771
779
|
options: 'options'},
|
|
772
780
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
773
|
-
clientModule: clientComponents.SdRadioButton as
|
|
774
|
-
serializeShadowRoot
|
|
781
|
+
clientModule: clientComponents.SdRadioButton as StencilReactComponent<SdRadioButtonElement, SdRadioButtonEvents, Components.SdRadioButton>,
|
|
782
|
+
serializeShadowRoot
|
|
775
783
|
});
|
|
776
784
|
|
|
777
785
|
export type SdRadioGroupEvents = { onSdUpdate: EventName<SdRadioGroupCustomEvent<RadioValue>> };
|
|
778
786
|
|
|
779
|
-
export const SdRadioGroup: StencilReactComponent<SdRadioGroupElement, SdRadioGroupEvents> = /*@__PURE__*/ createComponent<SdRadioGroupElement, SdRadioGroupEvents>({
|
|
787
|
+
export const SdRadioGroup: StencilReactComponent<SdRadioGroupElement, SdRadioGroupEvents, Components.SdRadioGroup> = /*@__PURE__*/ createComponent<SdRadioGroupElement, SdRadioGroupEvents, Components.SdRadioGroup>({
|
|
780
788
|
tagName: 'sd-radio-group',
|
|
781
789
|
properties: {
|
|
782
790
|
value: 'value',
|
|
@@ -785,16 +793,16 @@ export const SdRadioGroup: StencilReactComponent<SdRadioGroupElement, SdRadioGro
|
|
|
785
793
|
groupName: 'group-name',
|
|
786
794
|
options: 'options'},
|
|
787
795
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
788
|
-
clientModule: clientComponents.SdRadioGroup as
|
|
789
|
-
serializeShadowRoot
|
|
796
|
+
clientModule: clientComponents.SdRadioGroup as StencilReactComponent<SdRadioGroupElement, SdRadioGroupEvents, Components.SdRadioGroup>,
|
|
797
|
+
serializeShadowRoot
|
|
790
798
|
});
|
|
791
799
|
|
|
792
800
|
export type SdSelectEvents = {
|
|
793
801
|
onSdUpdate: EventName<SdSelectCustomEvent<SelectValue>>,
|
|
794
|
-
onSdDropDownShow: EventName<
|
|
802
|
+
onSdDropDownShow: EventName<SdSelectCustomEvent<{ isOpen: boolean }>>
|
|
795
803
|
};
|
|
796
804
|
|
|
797
|
-
export const SdSelect: StencilReactComponent<SdSelectElement, SdSelectEvents> = /*@__PURE__*/ createComponent<SdSelectElement, SdSelectEvents>({
|
|
805
|
+
export const SdSelect: StencilReactComponent<SdSelectElement, SdSelectEvents, Components.SdSelect> = /*@__PURE__*/ createComponent<SdSelectElement, SdSelectEvents, Components.SdSelect>({
|
|
798
806
|
tagName: 'sd-select',
|
|
799
807
|
properties: {
|
|
800
808
|
type: 'type',
|
|
@@ -820,13 +828,13 @@ export const SdSelect: StencilReactComponent<SdSelectElement, SdSelectEvents> =
|
|
|
820
828
|
options: 'options',
|
|
821
829
|
rules: 'rules'},
|
|
822
830
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
823
|
-
clientModule: clientComponents.SdSelect as
|
|
824
|
-
serializeShadowRoot
|
|
831
|
+
clientModule: clientComponents.SdSelect as StencilReactComponent<SdSelectElement, SdSelectEvents, Components.SdSelect>,
|
|
832
|
+
serializeShadowRoot
|
|
825
833
|
});
|
|
826
834
|
|
|
827
835
|
export type SdSelectListItemEvents = { onSdListItemClick: EventName<SdSelectListItemCustomEvent<SelectOption>> };
|
|
828
836
|
|
|
829
|
-
export const SdSelectListItem: StencilReactComponent<SdSelectListItemElement, SdSelectListItemEvents> = /*@__PURE__*/ createComponent<SdSelectListItemElement, SdSelectListItemEvents>({
|
|
837
|
+
export const SdSelectListItem: StencilReactComponent<SdSelectListItemElement, SdSelectListItemEvents, Components.SdSelectListItem> = /*@__PURE__*/ createComponent<SdSelectListItemElement, SdSelectListItemEvents, Components.SdSelectListItem>({
|
|
830
838
|
tagName: 'sd-select-list-item',
|
|
831
839
|
properties: {
|
|
832
840
|
depth: 'depth',
|
|
@@ -835,26 +843,26 @@ export const SdSelectListItem: StencilReactComponent<SdSelectListItemElement, Sd
|
|
|
835
843
|
useCheckbox: 'use-checkbox'
|
|
836
844
|
},
|
|
837
845
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
838
|
-
clientModule: clientComponents.SdSelectListItem as
|
|
839
|
-
serializeShadowRoot
|
|
846
|
+
clientModule: clientComponents.SdSelectListItem as StencilReactComponent<SdSelectListItemElement, SdSelectListItemEvents, Components.SdSelectListItem>,
|
|
847
|
+
serializeShadowRoot
|
|
840
848
|
});
|
|
841
849
|
|
|
842
850
|
export type SdSelectListItemSearchEvents = {
|
|
843
|
-
onSdSearchFilter: EventName<
|
|
844
|
-
onSdSearchFocus: EventName<
|
|
851
|
+
onSdSearchFilter: EventName<SdSelectListItemSearchCustomEvent<string>>,
|
|
852
|
+
onSdSearchFocus: EventName<SdSelectListItemSearchCustomEvent<void>>
|
|
845
853
|
};
|
|
846
854
|
|
|
847
|
-
export const SdSelectListItemSearch: StencilReactComponent<SdSelectListItemSearchElement, SdSelectListItemSearchEvents> = /*@__PURE__*/ createComponent<SdSelectListItemSearchElement, SdSelectListItemSearchEvents>({
|
|
855
|
+
export const SdSelectListItemSearch: StencilReactComponent<SdSelectListItemSearchElement, SdSelectListItemSearchEvents, Components.SdSelectListItemSearch> = /*@__PURE__*/ createComponent<SdSelectListItemSearchElement, SdSelectListItemSearchEvents, Components.SdSelectListItemSearch>({
|
|
848
856
|
tagName: 'sd-select-list-item-search',
|
|
849
857
|
properties: { isScrolled: 'is-scrolled' },
|
|
850
858
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
851
|
-
clientModule: clientComponents.SdSelectListItemSearch as
|
|
852
|
-
serializeShadowRoot
|
|
859
|
+
clientModule: clientComponents.SdSelectListItemSearch as StencilReactComponent<SdSelectListItemSearchElement, SdSelectListItemSearchEvents, Components.SdSelectListItemSearch>,
|
|
860
|
+
serializeShadowRoot
|
|
853
861
|
});
|
|
854
862
|
|
|
855
863
|
export type SdSelectListboxEvents = { onSdOptionSelect: EventName<SdSelectListboxCustomEvent<SelectOptionSelectDetail>> };
|
|
856
864
|
|
|
857
|
-
export const SdSelectListbox: StencilReactComponent<SdSelectListboxElement, SdSelectListboxEvents> = /*@__PURE__*/ createComponent<SdSelectListboxElement, SdSelectListboxEvents>({
|
|
865
|
+
export const SdSelectListbox: StencilReactComponent<SdSelectListboxElement, SdSelectListboxEvents, Components.SdSelectListbox> = /*@__PURE__*/ createComponent<SdSelectListboxElement, SdSelectListboxEvents, Components.SdSelectListbox>({
|
|
858
866
|
tagName: 'sd-select-listbox',
|
|
859
867
|
properties: {
|
|
860
868
|
type: 'type',
|
|
@@ -867,17 +875,17 @@ export const SdSelectListbox: StencilReactComponent<SdSelectListboxElement, SdSe
|
|
|
867
875
|
maxHeight: 'max-height',
|
|
868
876
|
options: 'options'},
|
|
869
877
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
870
|
-
clientModule: clientComponents.SdSelectListbox as
|
|
871
|
-
serializeShadowRoot
|
|
878
|
+
clientModule: clientComponents.SdSelectListbox as StencilReactComponent<SdSelectListboxElement, SdSelectListboxEvents, Components.SdSelectListbox>,
|
|
879
|
+
serializeShadowRoot
|
|
872
880
|
});
|
|
873
881
|
|
|
874
882
|
export type SdSelectTriggerEvents = {
|
|
875
|
-
onSdTriggerClick: EventName<
|
|
876
|
-
onSdTriggerFocus: EventName<
|
|
877
|
-
onSdTriggerBlur: EventName<
|
|
883
|
+
onSdTriggerClick: EventName<SdSelectTriggerCustomEvent<void>>,
|
|
884
|
+
onSdTriggerFocus: EventName<SdSelectTriggerCustomEvent<void>>,
|
|
885
|
+
onSdTriggerBlur: EventName<SdSelectTriggerCustomEvent<void>>
|
|
878
886
|
};
|
|
879
887
|
|
|
880
|
-
export const SdSelectTrigger: StencilReactComponent<SdSelectTriggerElement, SdSelectTriggerEvents> = /*@__PURE__*/ createComponent<SdSelectTriggerElement, SdSelectTriggerEvents>({
|
|
888
|
+
export const SdSelectTrigger: StencilReactComponent<SdSelectTriggerElement, SdSelectTriggerEvents, Components.SdSelectTrigger> = /*@__PURE__*/ createComponent<SdSelectTriggerElement, SdSelectTriggerEvents, Components.SdSelectTrigger>({
|
|
881
889
|
tagName: 'sd-select-trigger',
|
|
882
890
|
properties: {
|
|
883
891
|
displayText: 'display-text',
|
|
@@ -886,13 +894,13 @@ export const SdSelectTrigger: StencilReactComponent<SdSelectTriggerElement, SdSe
|
|
|
886
894
|
isOpen: 'is-open'
|
|
887
895
|
},
|
|
888
896
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
889
|
-
clientModule: clientComponents.SdSelectTrigger as
|
|
890
|
-
serializeShadowRoot
|
|
897
|
+
clientModule: clientComponents.SdSelectTrigger as StencilReactComponent<SdSelectTriggerElement, SdSelectTriggerEvents, Components.SdSelectTrigger>,
|
|
898
|
+
serializeShadowRoot
|
|
891
899
|
});
|
|
892
900
|
|
|
893
|
-
export type SdSwitchEvents = { onSdUpdate: EventName<
|
|
901
|
+
export type SdSwitchEvents = { onSdUpdate: EventName<SdSwitchCustomEvent<boolean>> };
|
|
894
902
|
|
|
895
|
-
export const SdSwitch: StencilReactComponent<SdSwitchElement, SdSwitchEvents> = /*@__PURE__*/ createComponent<SdSwitchElement, SdSwitchEvents>({
|
|
903
|
+
export const SdSwitch: StencilReactComponent<SdSwitchElement, SdSwitchEvents, Components.SdSwitch> = /*@__PURE__*/ createComponent<SdSwitchElement, SdSwitchEvents, Components.SdSwitch>({
|
|
896
904
|
tagName: 'sd-switch',
|
|
897
905
|
properties: {
|
|
898
906
|
value: 'value',
|
|
@@ -900,27 +908,19 @@ export const SdSwitch: StencilReactComponent<SdSwitchElement, SdSwitchEvents> =
|
|
|
900
908
|
disabled: 'disabled'
|
|
901
909
|
},
|
|
902
910
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
903
|
-
clientModule: clientComponents.SdSwitch as
|
|
904
|
-
serializeShadowRoot
|
|
911
|
+
clientModule: clientComponents.SdSwitch as StencilReactComponent<SdSwitchElement, SdSwitchEvents, Components.SdSwitch>,
|
|
912
|
+
serializeShadowRoot
|
|
905
913
|
});
|
|
906
914
|
|
|
907
915
|
export type SdTableEvents = {
|
|
908
916
|
onSdSelectChange: EventName<SdTableCustomEvent<Row[]>>,
|
|
909
|
-
onSdPageChange: EventName<
|
|
910
|
-
onSdRowsPerPageChange: EventName<
|
|
911
|
-
onSdVirtualUpdate: EventName<
|
|
912
|
-
|
|
913
|
-
to: number;
|
|
914
|
-
}>>,
|
|
915
|
-
onSdVirtualReachEnd: EventName<CustomEvent<{
|
|
916
|
-
from: number;
|
|
917
|
-
to: number;
|
|
918
|
-
rowCount: number;
|
|
919
|
-
threshold: number;
|
|
920
|
-
}>>
|
|
917
|
+
onSdPageChange: EventName<SdTableCustomEvent<number>>,
|
|
918
|
+
onSdRowsPerPageChange: EventName<SdTableCustomEvent<number>>,
|
|
919
|
+
onSdVirtualUpdate: EventName<SdTableCustomEvent<{ from: number; to: number; }>>,
|
|
920
|
+
onSdVirtualReachEnd: EventName<SdTableCustomEvent<{ from: number; to: number; rowCount: number; threshold: number; }>>
|
|
921
921
|
};
|
|
922
922
|
|
|
923
|
-
export const SdTable: StencilReactComponent<SdTableElement, SdTableEvents> = /*@__PURE__*/ createComponent<SdTableElement, SdTableEvents>({
|
|
923
|
+
export const SdTable: StencilReactComponent<SdTableElement, SdTableEvents, Components.SdTable> = /*@__PURE__*/ createComponent<SdTableElement, SdTableEvents, Components.SdTable>({
|
|
924
924
|
tagName: 'sd-table',
|
|
925
925
|
properties: {
|
|
926
926
|
tableId: 'table-id',
|
|
@@ -930,6 +930,7 @@ export const SdTable: StencilReactComponent<SdTableElement, SdTableEvents> = /*@
|
|
|
930
930
|
width: 'width',
|
|
931
931
|
height: 'height',
|
|
932
932
|
stickyHeader: 'sticky-header',
|
|
933
|
+
radius: 'radius',
|
|
933
934
|
noDataLabel: 'no-data-label',
|
|
934
935
|
isLoading: 'is-loading',
|
|
935
936
|
useInternalPagination: 'use-internal-pagination',
|
|
@@ -943,13 +944,13 @@ export const SdTable: StencilReactComponent<SdTableElement, SdTableEvents> = /*@
|
|
|
943
944
|
selected: 'selected',
|
|
944
945
|
rowsPerPageOption: 'rowsPerPageOption'},
|
|
945
946
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
946
|
-
clientModule: clientComponents.SdTable as
|
|
947
|
-
serializeShadowRoot
|
|
947
|
+
clientModule: clientComponents.SdTable as StencilReactComponent<SdTableElement, SdTableEvents, Components.SdTable>,
|
|
948
|
+
serializeShadowRoot
|
|
948
949
|
});
|
|
949
950
|
|
|
950
|
-
export type SdTabsEvents = { onSdUpdate: EventName<
|
|
951
|
+
export type SdTabsEvents = { onSdUpdate: EventName<SdTabsCustomEvent<string>> };
|
|
951
952
|
|
|
952
|
-
export const SdTabs: StencilReactComponent<SdTabsElement, SdTabsEvents> = /*@__PURE__*/ createComponent<SdTabsElement, SdTabsEvents>({
|
|
953
|
+
export const SdTabs: StencilReactComponent<SdTabsElement, SdTabsEvents, Components.SdTabs> = /*@__PURE__*/ createComponent<SdTabsElement, SdTabsEvents, Components.SdTabs>({
|
|
953
954
|
tagName: 'sd-tabs',
|
|
954
955
|
properties: {
|
|
955
956
|
value: 'value',
|
|
@@ -957,13 +958,13 @@ export const SdTabs: StencilReactComponent<SdTabsElement, SdTabsEvents> = /*@__P
|
|
|
957
958
|
isSub: 'is-sub',
|
|
958
959
|
tabs: 'tabs'},
|
|
959
960
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
960
|
-
clientModule: clientComponents.SdTabs as
|
|
961
|
-
serializeShadowRoot
|
|
961
|
+
clientModule: clientComponents.SdTabs as StencilReactComponent<SdTabsElement, SdTabsEvents, Components.SdTabs>,
|
|
962
|
+
serializeShadowRoot
|
|
962
963
|
});
|
|
963
964
|
|
|
964
965
|
export type SdTagEvents = NonNullable<unknown>;
|
|
965
966
|
|
|
966
|
-
export const SdTag: StencilReactComponent<SdTagElement, SdTagEvents> = /*@__PURE__*/ createComponent<SdTagElement, SdTagEvents>({
|
|
967
|
+
export const SdTag: StencilReactComponent<SdTagElement, SdTagEvents, Components.SdTag> = /*@__PURE__*/ createComponent<SdTagElement, SdTagEvents, Components.SdTag>({
|
|
967
968
|
tagName: 'sd-tag',
|
|
968
969
|
properties: {
|
|
969
970
|
name: 'name',
|
|
@@ -972,24 +973,24 @@ export const SdTag: StencilReactComponent<SdTagElement, SdTagEvents> = /*@__PURE
|
|
|
972
973
|
isLeft: 'is-left'
|
|
973
974
|
},
|
|
974
975
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
975
|
-
clientModule: clientComponents.SdTag as
|
|
976
|
-
serializeShadowRoot
|
|
976
|
+
clientModule: clientComponents.SdTag as StencilReactComponent<SdTagElement, SdTagEvents, Components.SdTag>,
|
|
977
|
+
serializeShadowRoot
|
|
977
978
|
});
|
|
978
979
|
|
|
979
980
|
export type SdTbodyEvents = NonNullable<unknown>;
|
|
980
981
|
|
|
981
|
-
export const SdTbody: StencilReactComponent<SdTbodyElement, SdTbodyEvents> = /*@__PURE__*/ createComponent<SdTbodyElement, SdTbodyEvents>({
|
|
982
|
+
export const SdTbody: StencilReactComponent<SdTbodyElement, SdTbodyEvents, Components.SdTbody> = /*@__PURE__*/ createComponent<SdTbodyElement, SdTbodyEvents, Components.SdTbody>({
|
|
982
983
|
tagName: 'sd-tbody',
|
|
983
984
|
properties: {
|
|
984
985
|
rows: 'rows'},
|
|
985
986
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
986
|
-
clientModule: clientComponents.SdTbody as
|
|
987
|
-
serializeShadowRoot
|
|
987
|
+
clientModule: clientComponents.SdTbody as StencilReactComponent<SdTbodyElement, SdTbodyEvents, Components.SdTbody>,
|
|
988
|
+
serializeShadowRoot
|
|
988
989
|
});
|
|
989
990
|
|
|
990
991
|
export type SdTdEvents = NonNullable<unknown>;
|
|
991
992
|
|
|
992
|
-
export const SdTd: StencilReactComponent<SdTdElement, SdTdEvents> = /*@__PURE__*/ createComponent<SdTdElement, SdTdEvents>({
|
|
993
|
+
export const SdTd: StencilReactComponent<SdTdElement, SdTdEvents, Components.SdTd> = /*@__PURE__*/ createComponent<SdTdElement, SdTdEvents, Components.SdTd>({
|
|
993
994
|
tagName: 'sd-td',
|
|
994
995
|
properties: {
|
|
995
996
|
field: 'field',
|
|
@@ -1000,13 +1001,13 @@ export const SdTd: StencilReactComponent<SdTdElement, SdTdEvents> = /*@__PURE__*
|
|
|
1000
1001
|
sdClass: 'sd-class'
|
|
1001
1002
|
},
|
|
1002
1003
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
1003
|
-
clientModule: clientComponents.SdTd as
|
|
1004
|
-
serializeShadowRoot
|
|
1004
|
+
clientModule: clientComponents.SdTd as StencilReactComponent<SdTdElement, SdTdEvents, Components.SdTd>,
|
|
1005
|
+
serializeShadowRoot
|
|
1005
1006
|
});
|
|
1006
1007
|
|
|
1007
|
-
export type SdTextLinkEvents = { onSdClick: EventName<
|
|
1008
|
+
export type SdTextLinkEvents = { onSdClick: EventName<SdTextLinkCustomEvent<void>> };
|
|
1008
1009
|
|
|
1009
|
-
export const SdTextLink: StencilReactComponent<SdTextLinkElement, SdTextLinkEvents> = /*@__PURE__*/ createComponent<SdTextLinkElement, SdTextLinkEvents>({
|
|
1010
|
+
export const SdTextLink: StencilReactComponent<SdTextLinkElement, SdTextLinkEvents, Components.SdTextLink> = /*@__PURE__*/ createComponent<SdTextLinkElement, SdTextLinkEvents, Components.SdTextLink>({
|
|
1010
1011
|
tagName: 'sd-text-link',
|
|
1011
1012
|
properties: {
|
|
1012
1013
|
label: 'label',
|
|
@@ -1018,17 +1019,17 @@ export const SdTextLink: StencilReactComponent<SdTextLinkElement, SdTextLinkEven
|
|
|
1018
1019
|
disabled: 'disabled'
|
|
1019
1020
|
},
|
|
1020
1021
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
1021
|
-
clientModule: clientComponents.SdTextLink as
|
|
1022
|
-
serializeShadowRoot
|
|
1022
|
+
clientModule: clientComponents.SdTextLink as StencilReactComponent<SdTextLinkElement, SdTextLinkEvents, Components.SdTextLink>,
|
|
1023
|
+
serializeShadowRoot
|
|
1023
1024
|
});
|
|
1024
1025
|
|
|
1025
1026
|
export type SdTextareaEvents = {
|
|
1026
|
-
onSdUpdate: EventName<
|
|
1027
|
+
onSdUpdate: EventName<SdTextareaCustomEvent<string | null>>,
|
|
1027
1028
|
onSdFocus: EventName<SdTextareaCustomEvent<Event>>,
|
|
1028
1029
|
onSdBlur: EventName<SdTextareaCustomEvent<Event>>
|
|
1029
1030
|
};
|
|
1030
1031
|
|
|
1031
|
-
export const SdTextarea: StencilReactComponent<SdTextareaElement, SdTextareaEvents> = /*@__PURE__*/ createComponent<SdTextareaElement, SdTextareaEvents>({
|
|
1032
|
+
export const SdTextarea: StencilReactComponent<SdTextareaElement, SdTextareaEvents, Components.SdTextarea> = /*@__PURE__*/ createComponent<SdTextareaElement, SdTextareaEvents, Components.SdTextarea>({
|
|
1032
1033
|
tagName: 'sd-textarea',
|
|
1033
1034
|
properties: {
|
|
1034
1035
|
value: 'value',
|
|
@@ -1055,13 +1056,13 @@ export const SdTextarea: StencilReactComponent<SdTextareaElement, SdTextareaEven
|
|
|
1055
1056
|
name: 'name',
|
|
1056
1057
|
rules: 'rules'},
|
|
1057
1058
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
1058
|
-
clientModule: clientComponents.SdTextarea as
|
|
1059
|
-
serializeShadowRoot
|
|
1059
|
+
clientModule: clientComponents.SdTextarea as StencilReactComponent<SdTextareaElement, SdTextareaEvents, Components.SdTextarea>,
|
|
1060
|
+
serializeShadowRoot
|
|
1060
1061
|
});
|
|
1061
1062
|
|
|
1062
1063
|
export type SdTheadEvents = { onSdColumnSort: EventName<SdTheadCustomEvent<{ column: SdTableColumn }>> };
|
|
1063
1064
|
|
|
1064
|
-
export const SdThead: StencilReactComponent<SdTheadElement, SdTheadEvents> = /*@__PURE__*/ createComponent<SdTheadElement, SdTheadEvents>({
|
|
1065
|
+
export const SdThead: StencilReactComponent<SdTheadElement, SdTheadEvents, Components.SdThead> = /*@__PURE__*/ createComponent<SdTheadElement, SdTheadEvents, Components.SdThead>({
|
|
1065
1066
|
tagName: 'sd-thead',
|
|
1066
1067
|
properties: {
|
|
1067
1068
|
selectable: 'selectable',
|
|
@@ -1073,33 +1074,37 @@ export const SdThead: StencilReactComponent<SdTheadElement, SdTheadEvents> = /*@
|
|
|
1073
1074
|
rows: 'rows',
|
|
1074
1075
|
columnWidths: 'columnWidths'},
|
|
1075
1076
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
1076
|
-
clientModule: clientComponents.SdThead as
|
|
1077
|
-
serializeShadowRoot
|
|
1077
|
+
clientModule: clientComponents.SdThead as StencilReactComponent<SdTheadElement, SdTheadEvents, Components.SdThead>,
|
|
1078
|
+
serializeShadowRoot
|
|
1078
1079
|
});
|
|
1079
1080
|
|
|
1080
|
-
export type SdToastEvents = {
|
|
1081
|
+
export type SdToastEvents = {
|
|
1082
|
+
onSdClose: EventName<SdToastCustomEvent<void>>,
|
|
1083
|
+
onSdButtonClick: EventName<SdToastCustomEvent<MouseEvent>>
|
|
1084
|
+
};
|
|
1081
1085
|
|
|
1082
|
-
export const SdToast: StencilReactComponent<SdToastElement, SdToastEvents> = /*@__PURE__*/ createComponent<SdToastElement, SdToastEvents>({
|
|
1086
|
+
export const SdToast: StencilReactComponent<SdToastElement, SdToastEvents, Components.SdToast> = /*@__PURE__*/ createComponent<SdToastElement, SdToastEvents, Components.SdToast>({
|
|
1083
1087
|
tagName: 'sd-toast',
|
|
1084
1088
|
properties: {
|
|
1085
1089
|
icon: 'icon',
|
|
1086
1090
|
message: 'message',
|
|
1087
1091
|
link: 'link',
|
|
1088
1092
|
linkLabel: 'link-label',
|
|
1093
|
+
buttonLabel: 'button-label',
|
|
1089
1094
|
useClose: 'use-close',
|
|
1090
1095
|
type: 'type'
|
|
1091
1096
|
},
|
|
1092
1097
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
1093
|
-
clientModule: clientComponents.SdToast as
|
|
1094
|
-
serializeShadowRoot
|
|
1098
|
+
clientModule: clientComponents.SdToast as StencilReactComponent<SdToastElement, SdToastEvents, Components.SdToast>,
|
|
1099
|
+
serializeShadowRoot
|
|
1095
1100
|
});
|
|
1096
1101
|
|
|
1097
1102
|
export type SdToastContainerEvents = {
|
|
1098
|
-
onSdToastShow: EventName<
|
|
1099
|
-
onSdToastDismiss: EventName<
|
|
1103
|
+
onSdToastShow: EventName<SdToastContainerCustomEvent<{ id: string }>>,
|
|
1104
|
+
onSdToastDismiss: EventName<SdToastContainerCustomEvent<{ id: string }>>
|
|
1100
1105
|
};
|
|
1101
1106
|
|
|
1102
|
-
export const SdToastContainer: StencilReactComponent<SdToastContainerElement, SdToastContainerEvents> = /*@__PURE__*/ createComponent<SdToastContainerElement, SdToastContainerEvents>({
|
|
1107
|
+
export const SdToastContainer: StencilReactComponent<SdToastContainerElement, SdToastContainerEvents, Components.SdToastContainer> = /*@__PURE__*/ createComponent<SdToastContainerElement, SdToastContainerEvents, Components.SdToastContainer>({
|
|
1103
1108
|
tagName: 'sd-toast-container',
|
|
1104
1109
|
properties: {
|
|
1105
1110
|
position: 'position',
|
|
@@ -1108,13 +1113,13 @@ export const SdToastContainer: StencilReactComponent<SdToastContainerElement, Sd
|
|
|
1108
1113
|
zIndex: 'z-index'
|
|
1109
1114
|
},
|
|
1110
1115
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
1111
|
-
clientModule: clientComponents.SdToastContainer as
|
|
1112
|
-
serializeShadowRoot
|
|
1116
|
+
clientModule: clientComponents.SdToastContainer as StencilReactComponent<SdToastContainerElement, SdToastContainerEvents, Components.SdToastContainer>,
|
|
1117
|
+
serializeShadowRoot
|
|
1113
1118
|
});
|
|
1114
1119
|
|
|
1115
|
-
export type SdToggleEvents = { onSdUpdate: EventName<
|
|
1120
|
+
export type SdToggleEvents = { onSdUpdate: EventName<SdToggleCustomEvent<boolean>> };
|
|
1116
1121
|
|
|
1117
|
-
export const SdToggle: StencilReactComponent<SdToggleElement, SdToggleEvents> = /*@__PURE__*/ createComponent<SdToggleElement, SdToggleEvents>({
|
|
1122
|
+
export const SdToggle: StencilReactComponent<SdToggleElement, SdToggleEvents, Components.SdToggle> = /*@__PURE__*/ createComponent<SdToggleElement, SdToggleEvents, Components.SdToggle>({
|
|
1118
1123
|
tagName: 'sd-toggle',
|
|
1119
1124
|
properties: {
|
|
1120
1125
|
value: 'value',
|
|
@@ -1122,13 +1127,13 @@ export const SdToggle: StencilReactComponent<SdToggleElement, SdToggleEvents> =
|
|
|
1122
1127
|
disabled: 'disabled'
|
|
1123
1128
|
},
|
|
1124
1129
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
1125
|
-
clientModule: clientComponents.SdToggle as
|
|
1126
|
-
serializeShadowRoot
|
|
1130
|
+
clientModule: clientComponents.SdToggle as StencilReactComponent<SdToggleElement, SdToggleEvents, Components.SdToggle>,
|
|
1131
|
+
serializeShadowRoot
|
|
1127
1132
|
});
|
|
1128
1133
|
|
|
1129
1134
|
export type SdTooltipEvents = NonNullable<unknown>;
|
|
1130
1135
|
|
|
1131
|
-
export const SdTooltip: StencilReactComponent<SdTooltipElement, SdTooltipEvents> = /*@__PURE__*/ createComponent<SdTooltipElement, SdTooltipEvents>({
|
|
1136
|
+
export const SdTooltip: StencilReactComponent<SdTooltipElement, SdTooltipEvents, Components.SdTooltip> = /*@__PURE__*/ createComponent<SdTooltipElement, SdTooltipEvents, Components.SdTooltip>({
|
|
1132
1137
|
tagName: 'sd-tooltip',
|
|
1133
1138
|
properties: {
|
|
1134
1139
|
trigger: 'trigger',
|
|
@@ -1138,25 +1143,27 @@ export const SdTooltip: StencilReactComponent<SdTooltipElement, SdTooltipEvents>
|
|
|
1138
1143
|
icon: 'icon',
|
|
1139
1144
|
iconSize: 'icon-size',
|
|
1140
1145
|
label: 'label',
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1146
|
+
name: 'name',
|
|
1147
|
+
rightIcon: 'right-icon',
|
|
1148
|
+
ariaLabel: 'aria-label',
|
|
1149
|
+
disabled: 'disabled',
|
|
1150
|
+
type: 'type',
|
|
1144
1151
|
sdClass: 'sd-class'
|
|
1145
1152
|
},
|
|
1146
1153
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
1147
|
-
clientModule: clientComponents.SdTooltip as
|
|
1148
|
-
serializeShadowRoot
|
|
1154
|
+
clientModule: clientComponents.SdTooltip as StencilReactComponent<SdTooltipElement, SdTooltipEvents, Components.SdTooltip>,
|
|
1155
|
+
serializeShadowRoot
|
|
1149
1156
|
});
|
|
1150
1157
|
|
|
1151
1158
|
export type SdTrEvents = NonNullable<unknown>;
|
|
1152
1159
|
|
|
1153
|
-
export const SdTr: StencilReactComponent<SdTrElement, SdTrEvents> = /*@__PURE__*/ createComponent<SdTrElement, SdTrEvents>({
|
|
1160
|
+
export const SdTr: StencilReactComponent<SdTrElement, SdTrEvents, Components.SdTr> = /*@__PURE__*/ createComponent<SdTrElement, SdTrEvents, Components.SdTr>({
|
|
1154
1161
|
tagName: 'sd-tr',
|
|
1155
1162
|
properties: {
|
|
1156
1163
|
selectable: 'selectable',
|
|
1157
1164
|
rowKey: 'row-key',
|
|
1158
1165
|
columns: 'columns'},
|
|
1159
1166
|
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
1160
|
-
clientModule: clientComponents.SdTr as
|
|
1161
|
-
serializeShadowRoot
|
|
1167
|
+
clientModule: clientComponents.SdTr as StencilReactComponent<SdTrElement, SdTrEvents, Components.SdTr>,
|
|
1168
|
+
serializeShadowRoot
|
|
1162
1169
|
});
|