@sellmate/design-system-react 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/components.d.ts +18 -88
- package/dist/components/components.js +23 -171
- package/dist/components/sd-badge.d.ts +8 -0
- package/dist/components/sd-badge.js +17 -0
- package/dist/components/sd-button.d.ts +11 -0
- package/dist/components/sd-button.js +12 -0
- package/dist/components/sd-checkbox.d.ts +10 -0
- package/dist/components/sd-checkbox.js +17 -0
- package/dist/components/sd-date-box.d.ts +11 -0
- package/dist/components/sd-date-box.js +20 -0
- package/dist/components/sd-date-picker.d.ts +10 -0
- package/dist/components/sd-date-picker.js +17 -0
- package/dist/components/sd-date-range-picker.d.ts +10 -0
- package/dist/components/sd-date-range-picker.js +17 -0
- package/dist/components/sd-guide.d.ts +8 -0
- package/dist/components/sd-guide.js +17 -0
- package/dist/components/sd-icon.d.ts +8 -0
- package/dist/components/sd-icon.js +17 -0
- package/dist/components/sd-input.d.ts +15 -0
- package/dist/components/sd-input.js +18 -0
- package/dist/components/sd-pagination.d.ts +10 -0
- package/dist/components/sd-pagination.js +17 -0
- package/dist/components/sd-popover.d.ts +8 -0
- package/dist/components/sd-popover.js +17 -0
- package/dist/components/sd-portal.d.ts +10 -0
- package/dist/components/sd-portal.js +17 -0
- package/dist/components/sd-select-option.d.ts +15 -0
- package/dist/components/sd-select-option.js +12 -0
- package/dist/components/sd-select.d.ts +12 -0
- package/dist/components/sd-select.js +15 -0
- package/dist/components/sd-table.d.ts +12 -0
- package/dist/components/sd-table.js +15 -0
- package/dist/components/sd-tag.d.ts +8 -0
- package/dist/components/sd-tag.js +17 -0
- package/dist/components/sd-tooltip-portal.d.ts +10 -0
- package/dist/components/sd-tooltip-portal.js +17 -0
- package/dist/components/sd-tooltip.d.ts +8 -0
- package/dist/components/sd-tooltip.js +17 -0
- package/dist/hydrate.js +1 -0
- package/lib/components/components.ts +18 -247
- package/lib/components/sd-badge.ts +24 -0
- package/lib/components/sd-button.ts +25 -0
- package/lib/components/sd-checkbox.ts +24 -0
- package/lib/components/sd-date-box.ts +30 -0
- package/lib/components/sd-date-picker.ts +24 -0
- package/lib/components/sd-date-range-picker.ts +24 -0
- package/lib/components/sd-guide.ts +24 -0
- package/lib/components/sd-icon.ts +24 -0
- package/lib/components/sd-input.ts +37 -0
- package/lib/components/sd-pagination.ts +24 -0
- package/lib/components/sd-popover.ts +24 -0
- package/lib/components/sd-portal.ts +24 -0
- package/lib/components/sd-select-option.ts +31 -0
- package/lib/components/sd-select.ts +31 -0
- package/lib/components/sd-table.ts +31 -0
- package/lib/components/sd-tag.ts +24 -0
- package/lib/components/sd-tooltip-portal.ts +24 -0
- package/lib/components/sd-tooltip.ts +24 -0
- package/lib/hydrate.ts +1 -0
- package/package.json +3 -3
|
@@ -2,91 +2,21 @@
|
|
|
2
2
|
* This file was automatically generated by the Stencil React Output Target.
|
|
3
3
|
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
4
|
*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
24
|
-
export type SdButtonEvents = {
|
|
25
|
-
onSdClick: EventName<SdButtonCustomEvent<MouseEvent>>;
|
|
26
|
-
};
|
|
27
|
-
export declare const SdButton: StencilReactComponent<SdButtonElement, SdButtonEvents>;
|
|
28
|
-
export type SdCheckboxEvents = {
|
|
29
|
-
onSdChange: EventName<CustomEvent<any | any[]>>;
|
|
30
|
-
};
|
|
31
|
-
export declare const SdCheckbox: StencilReactComponent<SdCheckboxElement, SdCheckboxEvents>;
|
|
32
|
-
export type SdDateBoxEvents = {
|
|
33
|
-
onSdClick: EventName<CustomEvent<number | string | null>>;
|
|
34
|
-
onSdMouseOver: EventName<CustomEvent<number | string | null>>;
|
|
35
|
-
};
|
|
36
|
-
export declare const SdDateBox: StencilReactComponent<SdDateBoxElement, SdDateBoxEvents>;
|
|
37
|
-
export type SdDatePickerEvents = {
|
|
38
|
-
onSdChange: EventName<CustomEvent<string | null>>;
|
|
39
|
-
};
|
|
40
|
-
export declare const SdDatePicker: StencilReactComponent<SdDatePickerElement, SdDatePickerEvents>;
|
|
41
|
-
export type SdDateRangePickerEvents = {
|
|
42
|
-
onSdChange: EventName<CustomEvent<[string, string]>>;
|
|
43
|
-
};
|
|
44
|
-
export declare const SdDateRangePicker: StencilReactComponent<SdDateRangePickerElement, SdDateRangePickerEvents>;
|
|
45
|
-
export type SdGuideEvents = NonNullable<unknown>;
|
|
46
|
-
export declare const SdGuide: StencilReactComponent<SdGuideElement, SdGuideEvents>;
|
|
47
|
-
export type SdIconEvents = NonNullable<unknown>;
|
|
48
|
-
export declare const SdIcon: StencilReactComponent<SdIconElement, SdIconEvents>;
|
|
49
|
-
export type SdInputEvents = {
|
|
50
|
-
onSdClick: EventName<CustomEvent<string | number | null>>;
|
|
51
|
-
onSdInput: EventName<CustomEvent<string | number | null>>;
|
|
52
|
-
onSdChange: EventName<CustomEvent<string | number | null>>;
|
|
53
|
-
onSdFocus: EventName<SdInputCustomEvent<Event>>;
|
|
54
|
-
onSdBlur: EventName<SdInputCustomEvent<Event>>;
|
|
55
|
-
};
|
|
56
|
-
export declare const SdInput: StencilReactComponent<SdInputElement, SdInputEvents>;
|
|
57
|
-
export type SdPaginationEvents = {
|
|
58
|
-
onPageChange: EventName<CustomEvent<number>>;
|
|
59
|
-
};
|
|
60
|
-
export declare const SdPagination: StencilReactComponent<SdPaginationElement, SdPaginationEvents>;
|
|
61
|
-
export type SdPopoverEvents = NonNullable<unknown>;
|
|
62
|
-
export declare const SdPopover: StencilReactComponent<SdPopoverElement, SdPopoverEvents>;
|
|
63
|
-
export type SdPortalEvents = {
|
|
64
|
-
onSdClose: EventName<CustomEvent<void>>;
|
|
65
|
-
};
|
|
66
|
-
export declare const SdPortal: StencilReactComponent<SdPortalElement, SdPortalEvents>;
|
|
67
|
-
export type SdSelectEvents = {
|
|
68
|
-
onSdChange: EventName<SdSelectCustomEvent<SelectEvents['sdChange']>>;
|
|
69
|
-
onDropDownShow: EventName<SdSelectCustomEvent<SelectEvents['dropDownShow']>>;
|
|
70
|
-
};
|
|
71
|
-
export declare const SdSelect: StencilReactComponent<SdSelectElement, SdSelectEvents>;
|
|
72
|
-
export type SdSelectOptionEvents = {
|
|
73
|
-
onOptionClick: EventName<SdSelectOptionCustomEvent<{
|
|
74
|
-
option: SelectOption;
|
|
75
|
-
index: number;
|
|
76
|
-
event: MouseEvent;
|
|
77
|
-
}>>;
|
|
78
|
-
};
|
|
79
|
-
export declare const SdSelectOption: StencilReactComponent<SdSelectOptionElement, SdSelectOptionEvents>;
|
|
80
|
-
export type SdTableEvents = {
|
|
81
|
-
onSdSelectChange: EventName<SdTableCustomEvent<Row[]>>;
|
|
82
|
-
onSdPageChange: EventName<CustomEvent<number>>;
|
|
83
|
-
};
|
|
84
|
-
export declare const SdTable: StencilReactComponent<SdTableElement, SdTableEvents>;
|
|
85
|
-
export type SdTagEvents = NonNullable<unknown>;
|
|
86
|
-
export declare const SdTag: StencilReactComponent<SdTagElement, SdTagEvents>;
|
|
87
|
-
export type SdTooltipEvents = NonNullable<unknown>;
|
|
88
|
-
export declare const SdTooltip: StencilReactComponent<SdTooltipElement, SdTooltipEvents>;
|
|
89
|
-
export type SdTooltipPortalEvents = {
|
|
90
|
-
onSdClose: EventName<CustomEvent<void>>;
|
|
91
|
-
};
|
|
92
|
-
export declare const SdTooltipPortal: StencilReactComponent<SdTooltipPortalElement, SdTooltipPortalEvents>;
|
|
5
|
+
export { SdBadge } from "./sd-badge.js";
|
|
6
|
+
export { SdButton } from "./sd-button.js";
|
|
7
|
+
export { SdCheckbox } from "./sd-checkbox.js";
|
|
8
|
+
export { SdDateBox } from "./sd-date-box.js";
|
|
9
|
+
export { SdDatePicker } from "./sd-date-picker.js";
|
|
10
|
+
export { SdDateRangePicker } from "./sd-date-range-picker.js";
|
|
11
|
+
export { SdGuide } from "./sd-guide.js";
|
|
12
|
+
export { SdIcon } from "./sd-icon.js";
|
|
13
|
+
export { SdInput } from "./sd-input.js";
|
|
14
|
+
export { SdPagination } from "./sd-pagination.js";
|
|
15
|
+
export { SdPopover } from "./sd-popover.js";
|
|
16
|
+
export { SdPortal } from "./sd-portal.js";
|
|
17
|
+
export { SdSelectOption } from "./sd-select-option.js";
|
|
18
|
+
export { SdSelect } from "./sd-select.js";
|
|
19
|
+
export { SdTable } from "./sd-table.js";
|
|
20
|
+
export { SdTag } from "./sd-tag.js";
|
|
21
|
+
export { SdTooltipPortal } from "./sd-tooltip-portal.js";
|
|
22
|
+
export { SdTooltip } from "./sd-tooltip.js";
|
|
@@ -1,171 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
export
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
25
|
-
react: React,
|
|
26
|
-
events: { onSdClick: 'sdClick' },
|
|
27
|
-
defineCustomElement: defineSdButton
|
|
28
|
-
});
|
|
29
|
-
export const SdCheckbox = /*@__PURE__*/ createComponent({
|
|
30
|
-
tagName: 'sd-checkbox',
|
|
31
|
-
elementClass: SdCheckboxElement,
|
|
32
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
33
|
-
react: React,
|
|
34
|
-
events: { onSdChange: 'sdChange' },
|
|
35
|
-
defineCustomElement: defineSdCheckbox
|
|
36
|
-
});
|
|
37
|
-
export const SdDateBox = /*@__PURE__*/ createComponent({
|
|
38
|
-
tagName: 'sd-date-box',
|
|
39
|
-
elementClass: SdDateBoxElement,
|
|
40
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
41
|
-
react: React,
|
|
42
|
-
events: {
|
|
43
|
-
onSdClick: 'sdClick',
|
|
44
|
-
onSdMouseOver: 'sdMouseOver'
|
|
45
|
-
},
|
|
46
|
-
defineCustomElement: defineSdDateBox
|
|
47
|
-
});
|
|
48
|
-
export const SdDatePicker = /*@__PURE__*/ createComponent({
|
|
49
|
-
tagName: 'sd-date-picker',
|
|
50
|
-
elementClass: SdDatePickerElement,
|
|
51
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
52
|
-
react: React,
|
|
53
|
-
events: { onSdChange: 'sdChange' },
|
|
54
|
-
defineCustomElement: defineSdDatePicker
|
|
55
|
-
});
|
|
56
|
-
export const SdDateRangePicker = /*@__PURE__*/ createComponent({
|
|
57
|
-
tagName: 'sd-date-range-picker',
|
|
58
|
-
elementClass: SdDateRangePickerElement,
|
|
59
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
60
|
-
react: React,
|
|
61
|
-
events: { onSdChange: 'sdChange' },
|
|
62
|
-
defineCustomElement: defineSdDateRangePicker
|
|
63
|
-
});
|
|
64
|
-
export const SdGuide = /*@__PURE__*/ createComponent({
|
|
65
|
-
tagName: 'sd-guide',
|
|
66
|
-
elementClass: SdGuideElement,
|
|
67
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
68
|
-
react: React,
|
|
69
|
-
events: {},
|
|
70
|
-
defineCustomElement: defineSdGuide
|
|
71
|
-
});
|
|
72
|
-
export const SdIcon = /*@__PURE__*/ createComponent({
|
|
73
|
-
tagName: 'sd-icon',
|
|
74
|
-
elementClass: SdIconElement,
|
|
75
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
76
|
-
react: React,
|
|
77
|
-
events: {},
|
|
78
|
-
defineCustomElement: defineSdIcon
|
|
79
|
-
});
|
|
80
|
-
export const SdInput = /*@__PURE__*/ createComponent({
|
|
81
|
-
tagName: 'sd-input',
|
|
82
|
-
elementClass: SdInputElement,
|
|
83
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
84
|
-
react: React,
|
|
85
|
-
events: {
|
|
86
|
-
onSdClick: 'sdClick',
|
|
87
|
-
onSdInput: 'sdInput',
|
|
88
|
-
onSdChange: 'sdChange',
|
|
89
|
-
onSdFocus: 'sdFocus',
|
|
90
|
-
onSdBlur: 'sdBlur'
|
|
91
|
-
},
|
|
92
|
-
defineCustomElement: defineSdInput
|
|
93
|
-
});
|
|
94
|
-
export const SdPagination = /*@__PURE__*/ createComponent({
|
|
95
|
-
tagName: 'sd-pagination',
|
|
96
|
-
elementClass: SdPaginationElement,
|
|
97
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
98
|
-
react: React,
|
|
99
|
-
events: { onPageChange: 'pageChange' },
|
|
100
|
-
defineCustomElement: defineSdPagination
|
|
101
|
-
});
|
|
102
|
-
export const SdPopover = /*@__PURE__*/ createComponent({
|
|
103
|
-
tagName: 'sd-popover',
|
|
104
|
-
elementClass: SdPopoverElement,
|
|
105
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
106
|
-
react: React,
|
|
107
|
-
events: {},
|
|
108
|
-
defineCustomElement: defineSdPopover
|
|
109
|
-
});
|
|
110
|
-
export const SdPortal = /*@__PURE__*/ createComponent({
|
|
111
|
-
tagName: 'sd-portal',
|
|
112
|
-
elementClass: SdPortalElement,
|
|
113
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
114
|
-
react: React,
|
|
115
|
-
events: { onSdClose: 'sdClose' },
|
|
116
|
-
defineCustomElement: defineSdPortal
|
|
117
|
-
});
|
|
118
|
-
export const SdSelect = /*@__PURE__*/ createComponent({
|
|
119
|
-
tagName: 'sd-select',
|
|
120
|
-
elementClass: SdSelectElement,
|
|
121
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
122
|
-
react: React,
|
|
123
|
-
events: {
|
|
124
|
-
onSdChange: 'sdChange',
|
|
125
|
-
onDropDownShow: 'dropDownShow'
|
|
126
|
-
},
|
|
127
|
-
defineCustomElement: defineSdSelect
|
|
128
|
-
});
|
|
129
|
-
export const SdSelectOption = /*@__PURE__*/ createComponent({
|
|
130
|
-
tagName: 'sd-select-option',
|
|
131
|
-
elementClass: SdSelectOptionElement,
|
|
132
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
133
|
-
react: React,
|
|
134
|
-
events: { onOptionClick: 'optionClick' },
|
|
135
|
-
defineCustomElement: defineSdSelectOption
|
|
136
|
-
});
|
|
137
|
-
export const SdTable = /*@__PURE__*/ createComponent({
|
|
138
|
-
tagName: 'sd-table',
|
|
139
|
-
elementClass: SdTableElement,
|
|
140
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
141
|
-
react: React,
|
|
142
|
-
events: {
|
|
143
|
-
onSdSelectChange: 'sdSelectChange',
|
|
144
|
-
onSdPageChange: 'sdPageChange'
|
|
145
|
-
},
|
|
146
|
-
defineCustomElement: defineSdTable
|
|
147
|
-
});
|
|
148
|
-
export const SdTag = /*@__PURE__*/ createComponent({
|
|
149
|
-
tagName: 'sd-tag',
|
|
150
|
-
elementClass: SdTagElement,
|
|
151
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
152
|
-
react: React,
|
|
153
|
-
events: {},
|
|
154
|
-
defineCustomElement: defineSdTag
|
|
155
|
-
});
|
|
156
|
-
export const SdTooltip = /*@__PURE__*/ createComponent({
|
|
157
|
-
tagName: 'sd-tooltip',
|
|
158
|
-
elementClass: SdTooltipElement,
|
|
159
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
160
|
-
react: React,
|
|
161
|
-
events: {},
|
|
162
|
-
defineCustomElement: defineSdTooltip
|
|
163
|
-
});
|
|
164
|
-
export const SdTooltipPortal = /*@__PURE__*/ createComponent({
|
|
165
|
-
tagName: 'sd-tooltip-portal',
|
|
166
|
-
elementClass: SdTooltipPortalElement,
|
|
167
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
168
|
-
react: React,
|
|
169
|
-
events: { onSdClose: 'sdClose' },
|
|
170
|
-
defineCustomElement: defineSdTooltipPortal
|
|
171
|
-
});
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
export { SdBadge } from "./sd-badge.js";
|
|
7
|
+
export { SdButton } from "./sd-button.js";
|
|
8
|
+
export { SdCheckbox } from "./sd-checkbox.js";
|
|
9
|
+
export { SdDateBox } from "./sd-date-box.js";
|
|
10
|
+
export { SdDatePicker } from "./sd-date-picker.js";
|
|
11
|
+
export { SdDateRangePicker } from "./sd-date-range-picker.js";
|
|
12
|
+
export { SdGuide } from "./sd-guide.js";
|
|
13
|
+
export { SdIcon } from "./sd-icon.js";
|
|
14
|
+
export { SdInput } from "./sd-input.js";
|
|
15
|
+
export { SdPagination } from "./sd-pagination.js";
|
|
16
|
+
export { SdPopover } from "./sd-popover.js";
|
|
17
|
+
export { SdPortal } from "./sd-portal.js";
|
|
18
|
+
export { SdSelectOption } from "./sd-select-option.js";
|
|
19
|
+
export { SdSelect } from "./sd-select.js";
|
|
20
|
+
export { SdTable } from "./sd-table.js";
|
|
21
|
+
export { SdTag } from "./sd-tag.js";
|
|
22
|
+
export { SdTooltipPortal } from "./sd-tooltip-portal.js";
|
|
23
|
+
export { SdTooltip } from "./sd-tooltip.js";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import { SdBadge as SdBadgeElement } from "@sellmate/design-system/dist/components/sd-badge.js";
|
|
6
|
+
import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
7
|
+
export type SdBadgeEvents = NonNullable<unknown>;
|
|
8
|
+
export declare const SdBadge: StencilReactComponent<SdBadgeElement, SdBadgeEvents>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
4
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5
|
+
*/
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
import { SdBadge as SdBadgeElement, defineCustomElement as defineSdBadge } from "@sellmate/design-system/dist/components/sd-badge.js";
|
|
8
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
9
|
+
import React from 'react';
|
|
10
|
+
export const SdBadge = /*@__PURE__*/ createComponent({
|
|
11
|
+
tagName: 'sd-badge',
|
|
12
|
+
elementClass: SdBadgeElement,
|
|
13
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
14
|
+
react: React,
|
|
15
|
+
events: {},
|
|
16
|
+
defineCustomElement: defineSdBadge
|
|
17
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import { type SdButtonCustomEvent } from "@sellmate/design-system";
|
|
6
|
+
import { SdButton as SdButtonElement } from "@sellmate/design-system/dist/components/sd-button.js";
|
|
7
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
8
|
+
export type SdButtonEvents = {
|
|
9
|
+
onSdClick: EventName<SdButtonCustomEvent<MouseEvent>>;
|
|
10
|
+
};
|
|
11
|
+
export declare const SdButton: StencilReactComponent<SdButtonElement, SdButtonEvents>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { SdButton as SdButtonElement, defineCustomElement as defineSdButton } from "@sellmate/design-system/dist/components/sd-button.js";
|
|
3
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
export const SdButton = /*@__PURE__*/ createComponent({
|
|
6
|
+
tagName: 'sd-button',
|
|
7
|
+
elementClass: SdButtonElement,
|
|
8
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
9
|
+
react: React,
|
|
10
|
+
events: { onSdClick: 'sdClick' },
|
|
11
|
+
defineCustomElement: defineSdButton
|
|
12
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import { SdCheckbox as SdCheckboxElement } from "@sellmate/design-system/dist/components/sd-checkbox.js";
|
|
6
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
7
|
+
export type SdCheckboxEvents = {
|
|
8
|
+
onSdChange: EventName<CustomEvent<any | any[]>>;
|
|
9
|
+
};
|
|
10
|
+
export declare const SdCheckbox: StencilReactComponent<SdCheckboxElement, SdCheckboxEvents>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
4
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5
|
+
*/
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
import { SdCheckbox as SdCheckboxElement, defineCustomElement as defineSdCheckbox } from "@sellmate/design-system/dist/components/sd-checkbox.js";
|
|
8
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
9
|
+
import React from 'react';
|
|
10
|
+
export const SdCheckbox = /*@__PURE__*/ createComponent({
|
|
11
|
+
tagName: 'sd-checkbox',
|
|
12
|
+
elementClass: SdCheckboxElement,
|
|
13
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
14
|
+
react: React,
|
|
15
|
+
events: { onSdChange: 'sdChange' },
|
|
16
|
+
defineCustomElement: defineSdCheckbox
|
|
17
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import { SdDateBox as SdDateBoxElement } from "@sellmate/design-system/dist/components/sd-date-box.js";
|
|
6
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
7
|
+
export type SdDateBoxEvents = {
|
|
8
|
+
onSdClick: EventName<CustomEvent<number | string | null>>;
|
|
9
|
+
onSdMouseOver: EventName<CustomEvent<number | string | null>>;
|
|
10
|
+
};
|
|
11
|
+
export declare const SdDateBox: StencilReactComponent<SdDateBoxElement, SdDateBoxEvents>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
4
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5
|
+
*/
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
import { SdDateBox as SdDateBoxElement, defineCustomElement as defineSdDateBox } from "@sellmate/design-system/dist/components/sd-date-box.js";
|
|
8
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
9
|
+
import React from 'react';
|
|
10
|
+
export const SdDateBox = /*@__PURE__*/ createComponent({
|
|
11
|
+
tagName: 'sd-date-box',
|
|
12
|
+
elementClass: SdDateBoxElement,
|
|
13
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
14
|
+
react: React,
|
|
15
|
+
events: {
|
|
16
|
+
onSdClick: 'sdClick',
|
|
17
|
+
onSdMouseOver: 'sdMouseOver'
|
|
18
|
+
},
|
|
19
|
+
defineCustomElement: defineSdDateBox
|
|
20
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import { SdDatePicker as SdDatePickerElement } from "@sellmate/design-system/dist/components/sd-date-picker.js";
|
|
6
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
7
|
+
export type SdDatePickerEvents = {
|
|
8
|
+
onSdChange: EventName<CustomEvent<string | null>>;
|
|
9
|
+
};
|
|
10
|
+
export declare const SdDatePicker: StencilReactComponent<SdDatePickerElement, SdDatePickerEvents>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
4
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5
|
+
*/
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
import { SdDatePicker as SdDatePickerElement, defineCustomElement as defineSdDatePicker } from "@sellmate/design-system/dist/components/sd-date-picker.js";
|
|
8
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
9
|
+
import React from 'react';
|
|
10
|
+
export const SdDatePicker = /*@__PURE__*/ createComponent({
|
|
11
|
+
tagName: 'sd-date-picker',
|
|
12
|
+
elementClass: SdDatePickerElement,
|
|
13
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
14
|
+
react: React,
|
|
15
|
+
events: { onSdChange: 'sdChange' },
|
|
16
|
+
defineCustomElement: defineSdDatePicker
|
|
17
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import { SdDateRangePicker as SdDateRangePickerElement } from "@sellmate/design-system/dist/components/sd-date-range-picker.js";
|
|
6
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
7
|
+
export type SdDateRangePickerEvents = {
|
|
8
|
+
onSdChange: EventName<CustomEvent<[string, string]>>;
|
|
9
|
+
};
|
|
10
|
+
export declare const SdDateRangePicker: StencilReactComponent<SdDateRangePickerElement, SdDateRangePickerEvents>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
4
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5
|
+
*/
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
import { SdDateRangePicker as SdDateRangePickerElement, defineCustomElement as defineSdDateRangePicker } from "@sellmate/design-system/dist/components/sd-date-range-picker.js";
|
|
8
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
9
|
+
import React from 'react';
|
|
10
|
+
export const SdDateRangePicker = /*@__PURE__*/ createComponent({
|
|
11
|
+
tagName: 'sd-date-range-picker',
|
|
12
|
+
elementClass: SdDateRangePickerElement,
|
|
13
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
14
|
+
react: React,
|
|
15
|
+
events: { onSdChange: 'sdChange' },
|
|
16
|
+
defineCustomElement: defineSdDateRangePicker
|
|
17
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import { SdGuide as SdGuideElement } from "@sellmate/design-system/dist/components/sd-guide.js";
|
|
6
|
+
import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
7
|
+
export type SdGuideEvents = NonNullable<unknown>;
|
|
8
|
+
export declare const SdGuide: StencilReactComponent<SdGuideElement, SdGuideEvents>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
4
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5
|
+
*/
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
import { SdGuide as SdGuideElement, defineCustomElement as defineSdGuide } from "@sellmate/design-system/dist/components/sd-guide.js";
|
|
8
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
9
|
+
import React from 'react';
|
|
10
|
+
export const SdGuide = /*@__PURE__*/ createComponent({
|
|
11
|
+
tagName: 'sd-guide',
|
|
12
|
+
elementClass: SdGuideElement,
|
|
13
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
14
|
+
react: React,
|
|
15
|
+
events: {},
|
|
16
|
+
defineCustomElement: defineSdGuide
|
|
17
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import { SdIcon as SdIconElement } from "@sellmate/design-system/dist/components/sd-icon.js";
|
|
6
|
+
import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
7
|
+
export type SdIconEvents = NonNullable<unknown>;
|
|
8
|
+
export declare const SdIcon: StencilReactComponent<SdIconElement, SdIconEvents>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
4
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5
|
+
*/
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
import { SdIcon as SdIconElement, defineCustomElement as defineSdIcon } from "@sellmate/design-system/dist/components/sd-icon.js";
|
|
8
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
9
|
+
import React from 'react';
|
|
10
|
+
export const SdIcon = /*@__PURE__*/ createComponent({
|
|
11
|
+
tagName: 'sd-icon',
|
|
12
|
+
elementClass: SdIconElement,
|
|
13
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
14
|
+
react: React,
|
|
15
|
+
events: {},
|
|
16
|
+
defineCustomElement: defineSdIcon
|
|
17
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import { type SdInputCustomEvent } from "@sellmate/design-system";
|
|
6
|
+
import { SdInput as SdInputElement } from "@sellmate/design-system/dist/components/sd-input.js";
|
|
7
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
8
|
+
export type SdInputEvents = {
|
|
9
|
+
onSdClick: EventName<CustomEvent<string | number | null>>;
|
|
10
|
+
onSdInput: EventName<CustomEvent<string | number | null>>;
|
|
11
|
+
onSdChange: EventName<CustomEvent<string | number | null>>;
|
|
12
|
+
onSdFocus: EventName<SdInputCustomEvent<Event>>;
|
|
13
|
+
onSdBlur: EventName<SdInputCustomEvent<Event>>;
|
|
14
|
+
};
|
|
15
|
+
export declare const SdInput: StencilReactComponent<SdInputElement, SdInputEvents>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { SdInput as SdInputElement, defineCustomElement as defineSdInput } from "@sellmate/design-system/dist/components/sd-input.js";
|
|
3
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
export const SdInput = /*@__PURE__*/ createComponent({
|
|
6
|
+
tagName: 'sd-input',
|
|
7
|
+
elementClass: SdInputElement,
|
|
8
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
9
|
+
react: React,
|
|
10
|
+
events: {
|
|
11
|
+
onSdClick: 'sdClick',
|
|
12
|
+
onSdInput: 'sdInput',
|
|
13
|
+
onSdChange: 'sdChange',
|
|
14
|
+
onSdFocus: 'sdFocus',
|
|
15
|
+
onSdBlur: 'sdBlur'
|
|
16
|
+
},
|
|
17
|
+
defineCustomElement: defineSdInput
|
|
18
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import { SdPagination as SdPaginationElement } from "@sellmate/design-system/dist/components/sd-pagination.js";
|
|
6
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
7
|
+
export type SdPaginationEvents = {
|
|
8
|
+
onPageChange: EventName<CustomEvent<number>>;
|
|
9
|
+
};
|
|
10
|
+
export declare const SdPagination: StencilReactComponent<SdPaginationElement, SdPaginationEvents>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
4
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5
|
+
*/
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
import { SdPagination as SdPaginationElement, defineCustomElement as defineSdPagination } from "@sellmate/design-system/dist/components/sd-pagination.js";
|
|
8
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
9
|
+
import React from 'react';
|
|
10
|
+
export const SdPagination = /*@__PURE__*/ createComponent({
|
|
11
|
+
tagName: 'sd-pagination',
|
|
12
|
+
elementClass: SdPaginationElement,
|
|
13
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
14
|
+
react: React,
|
|
15
|
+
events: { onPageChange: 'pageChange' },
|
|
16
|
+
defineCustomElement: defineSdPagination
|
|
17
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import { SdPopover as SdPopoverElement } from "@sellmate/design-system/dist/components/sd-popover.js";
|
|
6
|
+
import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
7
|
+
export type SdPopoverEvents = NonNullable<unknown>;
|
|
8
|
+
export declare const SdPopover: StencilReactComponent<SdPopoverElement, SdPopoverEvents>;
|