@sellmate/design-system-react 0.0.12 → 0.0.13
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/sd-badge.server.d.ts +10 -0
- package/dist/components/sd-badge.server.js +20 -0
- package/dist/components/sd-button.server.d.ts +13 -0
- package/dist/components/sd-button.server.js +28 -0
- package/dist/components/sd-checkbox.server.d.ts +12 -0
- package/dist/components/sd-checkbox.server.js +21 -0
- package/dist/components/sd-date-box.server.d.ts +13 -0
- package/dist/components/sd-date-box.server.js +25 -0
- package/dist/components/sd-date-picker.server.d.ts +12 -0
- package/dist/components/sd-date-picker.server.js +20 -0
- package/dist/components/sd-date-range-picker.server.d.ts +12 -0
- package/dist/components/sd-date-range-picker.server.js +20 -0
- package/dist/components/sd-guide.server.d.ts +10 -0
- package/dist/components/sd-guide.server.js +22 -0
- package/dist/components/sd-icon.server.d.ts +10 -0
- package/dist/components/sd-icon.server.js +22 -0
- package/dist/components/sd-input.server.d.ts +17 -0
- package/dist/components/sd-input.server.js +28 -0
- package/dist/components/sd-pagination.server.d.ts +12 -0
- package/dist/components/sd-pagination.server.js +20 -0
- package/dist/components/sd-popover.server.d.ts +10 -0
- package/dist/components/sd-popover.server.js +29 -0
- package/dist/components/sd-portal.server.d.ts +12 -0
- package/dist/components/sd-portal.server.js +20 -0
- package/dist/components/sd-select-option.server.d.ts +17 -0
- package/dist/components/sd-select-option.server.js +22 -0
- package/dist/components/sd-select.server.d.ts +14 -0
- package/dist/components/sd-select.server.js +26 -0
- package/dist/components/sd-table.server.d.ts +14 -0
- package/dist/components/sd-table.server.js +23 -0
- package/dist/components/sd-tag.server.d.ts +10 -0
- package/dist/components/sd-tag.server.js +23 -0
- package/dist/components/sd-tooltip-portal.server.d.ts +12 -0
- package/dist/components/sd-tooltip-portal.server.js +21 -0
- package/dist/components/sd-tooltip.server.d.ts +10 -0
- package/dist/components/sd-tooltip.server.js +27 -0
- package/lib/components/sd-badge.server.ts +29 -0
- package/lib/components/sd-button.server.ts +38 -0
- package/lib/components/sd-checkbox.server.ts +30 -0
- package/lib/components/sd-date-box.server.ts +37 -0
- package/lib/components/sd-date-picker.server.ts +29 -0
- package/lib/components/sd-date-range-picker.server.ts +29 -0
- package/lib/components/sd-guide.server.ts +31 -0
- package/lib/components/sd-icon.server.ts +31 -0
- package/lib/components/sd-input.server.ts +44 -0
- package/lib/components/sd-pagination.server.ts +29 -0
- package/lib/components/sd-popover.server.ts +38 -0
- package/lib/components/sd-portal.server.ts +29 -0
- package/lib/components/sd-select-option.server.ts +38 -0
- package/lib/components/sd-select.server.ts +39 -0
- package/lib/components/sd-table.server.ts +36 -0
- package/lib/components/sd-tag.server.ts +32 -0
- package/lib/components/sd-tooltip-portal.server.ts +30 -0
- package/lib/components/sd-tooltip.server.ts +36 -0
- package/package.json +6 -7
- package/dist/hydrate.d.ts +0 -2
- package/dist/hydrate.js +0 -45
- package/lib/hydrate.ts +0 -53
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
// @ts-ignore - ignore potential type issues as the project is importing itself
|
|
7
|
+
import * as clientComponents from '@sellmate/design-system-react';
|
|
8
|
+
import { createComponent } from '@stencil/react-output-target/ssr';
|
|
9
|
+
export const serializeShadowRoot = { default: "declarative-shadow-dom" };
|
|
10
|
+
export const SdTooltipPortal = /*@__PURE__*/ createComponent({
|
|
11
|
+
tagName: 'sd-tooltip-portal',
|
|
12
|
+
properties: {
|
|
13
|
+
to: 'to',
|
|
14
|
+
zIndex: 'z-index',
|
|
15
|
+
placement: 'placement',
|
|
16
|
+
open: 'open'
|
|
17
|
+
},
|
|
18
|
+
hydrateModule: import('@sellmate/design-system/hydrate'),
|
|
19
|
+
clientModule: clientComponents.SdTooltipPortal,
|
|
20
|
+
serializeShadowRoot,
|
|
21
|
+
});
|
|
@@ -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 { SdTooltip as SdTooltipElement } from "@sellmate/design-system/dist/components/sd-tooltip.js";
|
|
6
|
+
import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
7
|
+
import { type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
|
|
8
|
+
export declare const serializeShadowRoot: SerializeShadowRootOptions;
|
|
9
|
+
export type SdTooltipEvents = NonNullable<unknown>;
|
|
10
|
+
export declare const SdTooltip: StencilReactComponent<SdTooltipElement, SdTooltipEvents>;
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
// @ts-ignore - ignore potential type issues as the project is importing itself
|
|
7
|
+
import * as clientComponents from '@sellmate/design-system-react';
|
|
8
|
+
import { createComponent } from '@stencil/react-output-target/ssr';
|
|
9
|
+
export const serializeShadowRoot = { default: "declarative-shadow-dom" };
|
|
10
|
+
export const SdTooltip = /*@__PURE__*/ createComponent({
|
|
11
|
+
tagName: 'sd-tooltip',
|
|
12
|
+
properties: {
|
|
13
|
+
trigger: 'trigger',
|
|
14
|
+
placement: 'placement',
|
|
15
|
+
color: 'color',
|
|
16
|
+
icon: 'icon',
|
|
17
|
+
iconSize: 'icon-size',
|
|
18
|
+
label: 'label',
|
|
19
|
+
buttonSize: 'button-size',
|
|
20
|
+
buttonVariant: 'button-variant',
|
|
21
|
+
noHover: 'no-hover',
|
|
22
|
+
useClose: 'use-close'
|
|
23
|
+
},
|
|
24
|
+
hydrateModule: import('@sellmate/design-system/hydrate'),
|
|
25
|
+
clientModule: clientComponents.SdTooltip,
|
|
26
|
+
serializeShadowRoot,
|
|
27
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
|
|
8
|
+
// @ts-ignore - ignore potential type issues as the project is importing itself
|
|
9
|
+
import * as clientComponents from '@sellmate/design-system-react';
|
|
10
|
+
|
|
11
|
+
import { SdBadge as SdBadgeElement } from "@sellmate/design-system/dist/components/sd-badge.js";
|
|
12
|
+
import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
13
|
+
import { createComponent, type HydrateModule, type ReactWebComponent, type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
|
|
14
|
+
|
|
15
|
+
export const serializeShadowRoot: SerializeShadowRootOptions = { default: "declarative-shadow-dom" };
|
|
16
|
+
|
|
17
|
+
export type SdBadgeEvents = NonNullable<unknown>;
|
|
18
|
+
|
|
19
|
+
export const SdBadge: StencilReactComponent<SdBadgeElement, SdBadgeEvents> = /*@__PURE__*/ createComponent<SdBadgeElement, SdBadgeEvents>({
|
|
20
|
+
tagName: 'sd-badge',
|
|
21
|
+
properties: {
|
|
22
|
+
size: 'size',
|
|
23
|
+
color: 'color',
|
|
24
|
+
label: 'label'
|
|
25
|
+
},
|
|
26
|
+
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
27
|
+
clientModule: clientComponents.SdBadge as ReactWebComponent<SdBadgeElement, SdBadgeEvents>,
|
|
28
|
+
serializeShadowRoot,
|
|
29
|
+
});
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
|
|
8
|
+
// @ts-ignore - ignore potential type issues as the project is importing itself
|
|
9
|
+
import * as clientComponents from '@sellmate/design-system-react';
|
|
10
|
+
|
|
11
|
+
import { type SdButtonCustomEvent } from "@sellmate/design-system";
|
|
12
|
+
import { SdButton as SdButtonElement } from "@sellmate/design-system/dist/components/sd-button.js";
|
|
13
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
14
|
+
import { createComponent, type HydrateModule, type ReactWebComponent, type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
|
|
15
|
+
|
|
16
|
+
export const serializeShadowRoot: SerializeShadowRootOptions = { default: "declarative-shadow-dom" };
|
|
17
|
+
|
|
18
|
+
export type SdButtonEvents = { onSdClick: EventName<SdButtonCustomEvent<MouseEvent>> };
|
|
19
|
+
|
|
20
|
+
export const SdButton: StencilReactComponent<SdButtonElement, SdButtonEvents> = /*@__PURE__*/ createComponent<SdButtonElement, SdButtonEvents>({
|
|
21
|
+
tagName: 'sd-button',
|
|
22
|
+
properties: {
|
|
23
|
+
variant: 'variant',
|
|
24
|
+
size: 'size',
|
|
25
|
+
color: 'color',
|
|
26
|
+
label: 'label',
|
|
27
|
+
disabled: 'disabled',
|
|
28
|
+
type: 'type',
|
|
29
|
+
icon: 'icon',
|
|
30
|
+
iconColor: 'icon-color',
|
|
31
|
+
iconSize: 'icon-size',
|
|
32
|
+
iconRight: 'icon-right',
|
|
33
|
+
noHover: 'no-hover'
|
|
34
|
+
},
|
|
35
|
+
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
36
|
+
clientModule: clientComponents.SdButton as ReactWebComponent<SdButtonElement, SdButtonEvents>,
|
|
37
|
+
serializeShadowRoot,
|
|
38
|
+
});
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
|
|
8
|
+
// @ts-ignore - ignore potential type issues as the project is importing itself
|
|
9
|
+
import * as clientComponents from '@sellmate/design-system-react';
|
|
10
|
+
|
|
11
|
+
import { SdCheckbox as SdCheckboxElement } from "@sellmate/design-system/dist/components/sd-checkbox.js";
|
|
12
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
13
|
+
import { createComponent, type HydrateModule, type ReactWebComponent, type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
|
|
14
|
+
|
|
15
|
+
export const serializeShadowRoot: SerializeShadowRootOptions = { default: "declarative-shadow-dom" };
|
|
16
|
+
|
|
17
|
+
export type SdCheckboxEvents = { onSdChange: EventName<CustomEvent<any | any[]>> };
|
|
18
|
+
|
|
19
|
+
export const SdCheckbox: StencilReactComponent<SdCheckboxElement, SdCheckboxEvents> = /*@__PURE__*/ createComponent<SdCheckboxElement, SdCheckboxEvents>({
|
|
20
|
+
tagName: 'sd-checkbox',
|
|
21
|
+
properties: {
|
|
22
|
+
checked: 'checked',
|
|
23
|
+
val: 'val',
|
|
24
|
+
disabled: 'disabled',
|
|
25
|
+
label: 'label'
|
|
26
|
+
},
|
|
27
|
+
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
28
|
+
clientModule: clientComponents.SdCheckbox as ReactWebComponent<SdCheckboxElement, SdCheckboxEvents>,
|
|
29
|
+
serializeShadowRoot,
|
|
30
|
+
});
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
|
|
8
|
+
// @ts-ignore - ignore potential type issues as the project is importing itself
|
|
9
|
+
import * as clientComponents from '@sellmate/design-system-react';
|
|
10
|
+
|
|
11
|
+
import { SdDateBox as SdDateBoxElement } from "@sellmate/design-system/dist/components/sd-date-box.js";
|
|
12
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
13
|
+
import { createComponent, type HydrateModule, type ReactWebComponent, type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
|
|
14
|
+
|
|
15
|
+
export const serializeShadowRoot: SerializeShadowRootOptions = { default: "declarative-shadow-dom" };
|
|
16
|
+
|
|
17
|
+
export type SdDateBoxEvents = {
|
|
18
|
+
onSdClick: EventName<CustomEvent<number | string | null>>,
|
|
19
|
+
onSdMouseOver: EventName<CustomEvent<number | string | null>>
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export const SdDateBox: StencilReactComponent<SdDateBoxElement, SdDateBoxEvents> = /*@__PURE__*/ createComponent<SdDateBoxElement, SdDateBoxEvents>({
|
|
23
|
+
tagName: 'sd-date-box',
|
|
24
|
+
properties: {
|
|
25
|
+
date: 'date',
|
|
26
|
+
disabled: 'disabled',
|
|
27
|
+
selected: 'selected',
|
|
28
|
+
isStartDate: 'is-start-date',
|
|
29
|
+
isEndDate: 'is-end-date',
|
|
30
|
+
isToday: 'is-today',
|
|
31
|
+
inRange: 'in-range',
|
|
32
|
+
type: 'type'
|
|
33
|
+
},
|
|
34
|
+
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
35
|
+
clientModule: clientComponents.SdDateBox as ReactWebComponent<SdDateBoxElement, SdDateBoxEvents>,
|
|
36
|
+
serializeShadowRoot,
|
|
37
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
|
|
8
|
+
// @ts-ignore - ignore potential type issues as the project is importing itself
|
|
9
|
+
import * as clientComponents from '@sellmate/design-system-react';
|
|
10
|
+
|
|
11
|
+
import { SdDatePicker as SdDatePickerElement } from "@sellmate/design-system/dist/components/sd-date-picker.js";
|
|
12
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
13
|
+
import { createComponent, type HydrateModule, type ReactWebComponent, type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
|
|
14
|
+
|
|
15
|
+
export const serializeShadowRoot: SerializeShadowRootOptions = { default: "declarative-shadow-dom" };
|
|
16
|
+
|
|
17
|
+
export type SdDatePickerEvents = { onSdChange: EventName<CustomEvent<string | null>> };
|
|
18
|
+
|
|
19
|
+
export const SdDatePicker: StencilReactComponent<SdDatePickerElement, SdDatePickerEvents> = /*@__PURE__*/ createComponent<SdDatePickerElement, SdDatePickerEvents>({
|
|
20
|
+
tagName: 'sd-date-picker',
|
|
21
|
+
properties: {
|
|
22
|
+
date: 'date',
|
|
23
|
+
label: 'label',
|
|
24
|
+
disabled: 'disabled'
|
|
25
|
+
},
|
|
26
|
+
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
27
|
+
clientModule: clientComponents.SdDatePicker as ReactWebComponent<SdDatePickerElement, SdDatePickerEvents>,
|
|
28
|
+
serializeShadowRoot,
|
|
29
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
|
|
8
|
+
// @ts-ignore - ignore potential type issues as the project is importing itself
|
|
9
|
+
import * as clientComponents from '@sellmate/design-system-react';
|
|
10
|
+
|
|
11
|
+
import { SdDateRangePicker as SdDateRangePickerElement } from "@sellmate/design-system/dist/components/sd-date-range-picker.js";
|
|
12
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
13
|
+
import { createComponent, type HydrateModule, type ReactWebComponent, type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
|
|
14
|
+
|
|
15
|
+
export const serializeShadowRoot: SerializeShadowRootOptions = { default: "declarative-shadow-dom" };
|
|
16
|
+
|
|
17
|
+
export type SdDateRangePickerEvents = { onSdChange: EventName<CustomEvent<[string, string]>> };
|
|
18
|
+
|
|
19
|
+
export const SdDateRangePicker: StencilReactComponent<SdDateRangePickerElement, SdDateRangePickerEvents> = /*@__PURE__*/ createComponent<SdDateRangePickerElement, SdDateRangePickerEvents>({
|
|
20
|
+
tagName: 'sd-date-range-picker',
|
|
21
|
+
properties: {
|
|
22
|
+
label: 'label',
|
|
23
|
+
maxRange: 'max-range',
|
|
24
|
+
disabled: 'disabled'
|
|
25
|
+
},
|
|
26
|
+
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
27
|
+
clientModule: clientComponents.SdDateRangePicker as ReactWebComponent<SdDateRangePickerElement, SdDateRangePickerEvents>,
|
|
28
|
+
serializeShadowRoot,
|
|
29
|
+
});
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
|
|
8
|
+
// @ts-ignore - ignore potential type issues as the project is importing itself
|
|
9
|
+
import * as clientComponents from '@sellmate/design-system-react';
|
|
10
|
+
|
|
11
|
+
import { SdGuide as SdGuideElement } from "@sellmate/design-system/dist/components/sd-guide.js";
|
|
12
|
+
import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
13
|
+
import { createComponent, type HydrateModule, type ReactWebComponent, type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
|
|
14
|
+
|
|
15
|
+
export const serializeShadowRoot: SerializeShadowRootOptions = { default: "declarative-shadow-dom" };
|
|
16
|
+
|
|
17
|
+
export type SdGuideEvents = NonNullable<unknown>;
|
|
18
|
+
|
|
19
|
+
export const SdGuide: StencilReactComponent<SdGuideElement, SdGuideEvents> = /*@__PURE__*/ createComponent<SdGuideElement, SdGuideEvents>({
|
|
20
|
+
tagName: 'sd-guide',
|
|
21
|
+
properties: {
|
|
22
|
+
type: 'type',
|
|
23
|
+
popupTitle: 'popup-title',
|
|
24
|
+
message: 'message',
|
|
25
|
+
guideUrl: 'guide-url',
|
|
26
|
+
popupWidth: 'popup-width'
|
|
27
|
+
},
|
|
28
|
+
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
29
|
+
clientModule: clientComponents.SdGuide as ReactWebComponent<SdGuideElement, SdGuideEvents>,
|
|
30
|
+
serializeShadowRoot,
|
|
31
|
+
});
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
|
|
8
|
+
// @ts-ignore - ignore potential type issues as the project is importing itself
|
|
9
|
+
import * as clientComponents from '@sellmate/design-system-react';
|
|
10
|
+
|
|
11
|
+
import { SdIcon as SdIconElement } from "@sellmate/design-system/dist/components/sd-icon.js";
|
|
12
|
+
import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
13
|
+
import { createComponent, type HydrateModule, type ReactWebComponent, type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
|
|
14
|
+
|
|
15
|
+
export const serializeShadowRoot: SerializeShadowRootOptions = { default: "declarative-shadow-dom" };
|
|
16
|
+
|
|
17
|
+
export type SdIconEvents = NonNullable<unknown>;
|
|
18
|
+
|
|
19
|
+
export const SdIcon: StencilReactComponent<SdIconElement, SdIconEvents> = /*@__PURE__*/ createComponent<SdIconElement, SdIconEvents>({
|
|
20
|
+
tagName: 'sd-icon',
|
|
21
|
+
properties: {
|
|
22
|
+
name: 'name',
|
|
23
|
+
size: 'size',
|
|
24
|
+
color: 'color',
|
|
25
|
+
rotate: 'rotate',
|
|
26
|
+
label: 'label'
|
|
27
|
+
},
|
|
28
|
+
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
29
|
+
clientModule: clientComponents.SdIcon as ReactWebComponent<SdIconElement, SdIconEvents>,
|
|
30
|
+
serializeShadowRoot,
|
|
31
|
+
});
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
|
|
8
|
+
// @ts-ignore - ignore potential type issues as the project is importing itself
|
|
9
|
+
import * as clientComponents from '@sellmate/design-system-react';
|
|
10
|
+
|
|
11
|
+
import { type Event, type SdInputCustomEvent } from "@sellmate/design-system";
|
|
12
|
+
import { SdInput as SdInputElement } from "@sellmate/design-system/dist/components/sd-input.js";
|
|
13
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
14
|
+
import { createComponent, type HydrateModule, type ReactWebComponent, type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
|
|
15
|
+
|
|
16
|
+
export const serializeShadowRoot: SerializeShadowRootOptions = { default: "declarative-shadow-dom" };
|
|
17
|
+
|
|
18
|
+
export type SdInputEvents = {
|
|
19
|
+
onSdClick: EventName<CustomEvent<string | number | null>>,
|
|
20
|
+
onSdInput: EventName<CustomEvent<string | number | null>>,
|
|
21
|
+
onSdChange: EventName<CustomEvent<string | number | null>>,
|
|
22
|
+
onSdFocus: EventName<SdInputCustomEvent<Event>>,
|
|
23
|
+
onSdBlur: EventName<SdInputCustomEvent<Event>>
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export const SdInput: StencilReactComponent<SdInputElement, SdInputEvents> = /*@__PURE__*/ createComponent<SdInputElement, SdInputEvents>({
|
|
27
|
+
tagName: 'sd-input',
|
|
28
|
+
properties: {
|
|
29
|
+
value: 'value',
|
|
30
|
+
label: 'label',
|
|
31
|
+
placeholder: 'placeholder',
|
|
32
|
+
disabled: 'disabled',
|
|
33
|
+
clearable: 'clearable',
|
|
34
|
+
width: 'width',
|
|
35
|
+
barcode: 'barcode',
|
|
36
|
+
autoFocus: 'auto-focus',
|
|
37
|
+
status: 'status',
|
|
38
|
+
inputClass: 'input-class',
|
|
39
|
+
readonly: 'readonly'
|
|
40
|
+
},
|
|
41
|
+
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
42
|
+
clientModule: clientComponents.SdInput as ReactWebComponent<SdInputElement, SdInputEvents>,
|
|
43
|
+
serializeShadowRoot,
|
|
44
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
|
|
8
|
+
// @ts-ignore - ignore potential type issues as the project is importing itself
|
|
9
|
+
import * as clientComponents from '@sellmate/design-system-react';
|
|
10
|
+
|
|
11
|
+
import { SdPagination as SdPaginationElement } from "@sellmate/design-system/dist/components/sd-pagination.js";
|
|
12
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
13
|
+
import { createComponent, type HydrateModule, type ReactWebComponent, type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
|
|
14
|
+
|
|
15
|
+
export const serializeShadowRoot: SerializeShadowRootOptions = { default: "declarative-shadow-dom" };
|
|
16
|
+
|
|
17
|
+
export type SdPaginationEvents = { onPageChange: EventName<CustomEvent<number>> };
|
|
18
|
+
|
|
19
|
+
export const SdPagination: StencilReactComponent<SdPaginationElement, SdPaginationEvents> = /*@__PURE__*/ createComponent<SdPaginationElement, SdPaginationEvents>({
|
|
20
|
+
tagName: 'sd-pagination',
|
|
21
|
+
properties: {
|
|
22
|
+
currentPage: 'current-page',
|
|
23
|
+
lastPage: 'last-page',
|
|
24
|
+
simple: 'simple'
|
|
25
|
+
},
|
|
26
|
+
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
27
|
+
clientModule: clientComponents.SdPagination as ReactWebComponent<SdPaginationElement, SdPaginationEvents>,
|
|
28
|
+
serializeShadowRoot,
|
|
29
|
+
});
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
|
|
8
|
+
// @ts-ignore - ignore potential type issues as the project is importing itself
|
|
9
|
+
import * as clientComponents from '@sellmate/design-system-react';
|
|
10
|
+
|
|
11
|
+
import { SdPopover as SdPopoverElement } from "@sellmate/design-system/dist/components/sd-popover.js";
|
|
12
|
+
import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
13
|
+
import { createComponent, type HydrateModule, type ReactWebComponent, type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
|
|
14
|
+
|
|
15
|
+
export const serializeShadowRoot: SerializeShadowRootOptions = { default: "declarative-shadow-dom" };
|
|
16
|
+
|
|
17
|
+
export type SdPopoverEvents = NonNullable<unknown>;
|
|
18
|
+
|
|
19
|
+
export const SdPopover: StencilReactComponent<SdPopoverElement, SdPopoverEvents> = /*@__PURE__*/ createComponent<SdPopoverElement, SdPopoverEvents>({
|
|
20
|
+
tagName: 'sd-popover',
|
|
21
|
+
properties: {
|
|
22
|
+
show: 'show',
|
|
23
|
+
placement: 'placement',
|
|
24
|
+
color: 'color',
|
|
25
|
+
icon: 'icon',
|
|
26
|
+
iconSize: 'icon-size',
|
|
27
|
+
label: 'label',
|
|
28
|
+
buttonSize: 'button-size',
|
|
29
|
+
buttonVariant: 'button-variant',
|
|
30
|
+
menuTitle: 'title',
|
|
31
|
+
menuClass: 'menu-class',
|
|
32
|
+
noHover: 'no-hover',
|
|
33
|
+
useClose: 'use-close'
|
|
34
|
+
},
|
|
35
|
+
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
36
|
+
clientModule: clientComponents.SdPopover as ReactWebComponent<SdPopoverElement, SdPopoverEvents>,
|
|
37
|
+
serializeShadowRoot,
|
|
38
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
|
|
8
|
+
// @ts-ignore - ignore potential type issues as the project is importing itself
|
|
9
|
+
import * as clientComponents from '@sellmate/design-system-react';
|
|
10
|
+
|
|
11
|
+
import { SdPortal as SdPortalElement } from "@sellmate/design-system/dist/components/sd-portal.js";
|
|
12
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
13
|
+
import { createComponent, type HydrateModule, type ReactWebComponent, type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
|
|
14
|
+
|
|
15
|
+
export const serializeShadowRoot: SerializeShadowRootOptions = { default: "declarative-shadow-dom" };
|
|
16
|
+
|
|
17
|
+
export type SdPortalEvents = { onSdClose: EventName<CustomEvent<void>> };
|
|
18
|
+
|
|
19
|
+
export const SdPortal: StencilReactComponent<SdPortalElement, SdPortalEvents> = /*@__PURE__*/ createComponent<SdPortalElement, SdPortalEvents>({
|
|
20
|
+
tagName: 'sd-portal',
|
|
21
|
+
properties: {
|
|
22
|
+
to: 'to',
|
|
23
|
+
zIndex: 'z-index',
|
|
24
|
+
open: 'open'
|
|
25
|
+
},
|
|
26
|
+
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
27
|
+
clientModule: clientComponents.SdPortal as ReactWebComponent<SdPortalElement, SdPortalEvents>,
|
|
28
|
+
serializeShadowRoot,
|
|
29
|
+
});
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
|
|
8
|
+
// @ts-ignore - ignore potential type issues as the project is importing itself
|
|
9
|
+
import * as clientComponents from '@sellmate/design-system-react';
|
|
10
|
+
|
|
11
|
+
import { type SdSelectOptionCustomEvent, type SelectOption } from "@sellmate/design-system";
|
|
12
|
+
import { SdSelectOption as SdSelectOptionElement } from "@sellmate/design-system/dist/components/sd-select-option.js";
|
|
13
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
14
|
+
import { createComponent, type HydrateModule, type ReactWebComponent, type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
|
|
15
|
+
|
|
16
|
+
export const serializeShadowRoot: SerializeShadowRootOptions = { default: "declarative-shadow-dom" };
|
|
17
|
+
|
|
18
|
+
export type SdSelectOptionEvents = {
|
|
19
|
+
onOptionClick: EventName<SdSelectOptionCustomEvent<{
|
|
20
|
+
option: SelectOption;
|
|
21
|
+
index: number;
|
|
22
|
+
event: MouseEvent;
|
|
23
|
+
}>>
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export const SdSelectOption: StencilReactComponent<SdSelectOptionElement, SdSelectOptionEvents> = /*@__PURE__*/ createComponent<SdSelectOptionElement, SdSelectOptionEvents>({
|
|
27
|
+
tagName: 'sd-select-option',
|
|
28
|
+
properties: {
|
|
29
|
+
index: 'index',
|
|
30
|
+
isSelected: 'is-selected',
|
|
31
|
+
isFocused: 'is-focused',
|
|
32
|
+
disabled: 'disabled',
|
|
33
|
+
useCheckbox: 'use-checkbox'
|
|
34
|
+
},
|
|
35
|
+
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
36
|
+
clientModule: clientComponents.SdSelectOption as ReactWebComponent<SdSelectOptionElement, SdSelectOptionEvents>,
|
|
37
|
+
serializeShadowRoot,
|
|
38
|
+
});
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
|
|
8
|
+
// @ts-ignore - ignore potential type issues as the project is importing itself
|
|
9
|
+
import * as clientComponents from '@sellmate/design-system-react';
|
|
10
|
+
|
|
11
|
+
import { type SdSelectCustomEvent, type SelectEvents } from "@sellmate/design-system";
|
|
12
|
+
import { SdSelect as SdSelectElement } from "@sellmate/design-system/dist/components/sd-select.js";
|
|
13
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
14
|
+
import { createComponent, type HydrateModule, type ReactWebComponent, type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
|
|
15
|
+
|
|
16
|
+
export const serializeShadowRoot: SerializeShadowRootOptions = { default: "declarative-shadow-dom" };
|
|
17
|
+
|
|
18
|
+
export type SdSelectEvents = {
|
|
19
|
+
onSdChange: EventName<SdSelectCustomEvent<SelectEvents['sdChange']>>,
|
|
20
|
+
onDropDownShow: EventName<SdSelectCustomEvent<SelectEvents['dropDownShow']>>
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export const SdSelect: StencilReactComponent<SdSelectElement, SdSelectEvents> = /*@__PURE__*/ createComponent<SdSelectElement, SdSelectEvents>({
|
|
24
|
+
tagName: 'sd-select',
|
|
25
|
+
properties: {
|
|
26
|
+
value: 'value',
|
|
27
|
+
label: 'label',
|
|
28
|
+
placeholder: 'placeholder',
|
|
29
|
+
optionPlaceholder: 'option-placeholder',
|
|
30
|
+
width: 'width',
|
|
31
|
+
dropdownHeight: 'dropdown-height',
|
|
32
|
+
disabled: 'disabled',
|
|
33
|
+
clearable: 'clearable',
|
|
34
|
+
searchable: 'searchable'
|
|
35
|
+
},
|
|
36
|
+
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
37
|
+
clientModule: clientComponents.SdSelect as ReactWebComponent<SdSelectElement, SdSelectEvents>,
|
|
38
|
+
serializeShadowRoot,
|
|
39
|
+
});
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
|
|
8
|
+
// @ts-ignore - ignore potential type issues as the project is importing itself
|
|
9
|
+
import * as clientComponents from '@sellmate/design-system-react';
|
|
10
|
+
|
|
11
|
+
import { type Row, type SdTableCustomEvent } from "@sellmate/design-system";
|
|
12
|
+
import { SdTable as SdTableElement } from "@sellmate/design-system/dist/components/sd-table.js";
|
|
13
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
14
|
+
import { createComponent, type HydrateModule, type ReactWebComponent, type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
|
|
15
|
+
|
|
16
|
+
export const serializeShadowRoot: SerializeShadowRootOptions = { default: "declarative-shadow-dom" };
|
|
17
|
+
|
|
18
|
+
export type SdTableEvents = {
|
|
19
|
+
onSdSelectChange: EventName<SdTableCustomEvent<Row[]>>,
|
|
20
|
+
onSdPageChange: EventName<CustomEvent<number>>
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export const SdTable: StencilReactComponent<SdTableElement, SdTableEvents> = /*@__PURE__*/ createComponent<SdTableElement, SdTableEvents>({
|
|
24
|
+
tagName: 'sd-table',
|
|
25
|
+
properties: {
|
|
26
|
+
rowKey: 'row-key',
|
|
27
|
+
selectable: 'selectable',
|
|
28
|
+
resizable: 'resizable',
|
|
29
|
+
height: 'height',
|
|
30
|
+
stickyHeader: 'sticky-header',
|
|
31
|
+
noDataLabel: 'no-data-label'
|
|
32
|
+
},
|
|
33
|
+
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
34
|
+
clientModule: clientComponents.SdTable as ReactWebComponent<SdTableElement, SdTableEvents>,
|
|
35
|
+
serializeShadowRoot,
|
|
36
|
+
});
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
|
|
8
|
+
// @ts-ignore - ignore potential type issues as the project is importing itself
|
|
9
|
+
import * as clientComponents from '@sellmate/design-system-react';
|
|
10
|
+
|
|
11
|
+
import { SdTag as SdTagElement } from "@sellmate/design-system/dist/components/sd-tag.js";
|
|
12
|
+
import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
13
|
+
import { createComponent, type HydrateModule, type ReactWebComponent, type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
|
|
14
|
+
|
|
15
|
+
export const serializeShadowRoot: SerializeShadowRootOptions = { default: "declarative-shadow-dom" };
|
|
16
|
+
|
|
17
|
+
export type SdTagEvents = NonNullable<unknown>;
|
|
18
|
+
|
|
19
|
+
export const SdTag: StencilReactComponent<SdTagElement, SdTagEvents> = /*@__PURE__*/ createComponent<SdTagElement, SdTagEvents>({
|
|
20
|
+
tagName: 'sd-tag',
|
|
21
|
+
properties: {
|
|
22
|
+
size: 'size',
|
|
23
|
+
color: 'color',
|
|
24
|
+
rounded: 'rounded',
|
|
25
|
+
label: 'label',
|
|
26
|
+
bgColor: 'bg-color',
|
|
27
|
+
textColor: 'text-color'
|
|
28
|
+
},
|
|
29
|
+
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
30
|
+
clientModule: clientComponents.SdTag as ReactWebComponent<SdTagElement, SdTagEvents>,
|
|
31
|
+
serializeShadowRoot,
|
|
32
|
+
});
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
|
|
8
|
+
// @ts-ignore - ignore potential type issues as the project is importing itself
|
|
9
|
+
import * as clientComponents from '@sellmate/design-system-react';
|
|
10
|
+
|
|
11
|
+
import { SdTooltipPortal as SdTooltipPortalElement } from "@sellmate/design-system/dist/components/sd-tooltip-portal.js";
|
|
12
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
13
|
+
import { createComponent, type HydrateModule, type ReactWebComponent, type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
|
|
14
|
+
|
|
15
|
+
export const serializeShadowRoot: SerializeShadowRootOptions = { default: "declarative-shadow-dom" };
|
|
16
|
+
|
|
17
|
+
export type SdTooltipPortalEvents = { onSdClose: EventName<CustomEvent<void>> };
|
|
18
|
+
|
|
19
|
+
export const SdTooltipPortal: StencilReactComponent<SdTooltipPortalElement, SdTooltipPortalEvents> = /*@__PURE__*/ createComponent<SdTooltipPortalElement, SdTooltipPortalEvents>({
|
|
20
|
+
tagName: 'sd-tooltip-portal',
|
|
21
|
+
properties: {
|
|
22
|
+
to: 'to',
|
|
23
|
+
zIndex: 'z-index',
|
|
24
|
+
placement: 'placement',
|
|
25
|
+
open: 'open'
|
|
26
|
+
},
|
|
27
|
+
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
28
|
+
clientModule: clientComponents.SdTooltipPortal as ReactWebComponent<SdTooltipPortalElement, SdTooltipPortalEvents>,
|
|
29
|
+
serializeShadowRoot,
|
|
30
|
+
});
|