@sellmate/design-system-react 0.0.52 → 0.0.54
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 +57 -57
- package/dist/components/components.server.js +1 -2
- package/lib/components/components.server.ts +1 -2
- package/lib/index.ts +11 -11
- package/package.json +71 -72
- package/dist/components/sd-badge.d.ts +0 -8
- package/dist/components/sd-badge.js +0 -17
- package/dist/components/sd-badge.server.d.ts +0 -10
- package/dist/components/sd-badge.server.js +0 -20
- package/dist/components/sd-button.d.ts +0 -11
- package/dist/components/sd-button.js +0 -12
- package/dist/components/sd-button.server.d.ts +0 -13
- package/dist/components/sd-button.server.js +0 -29
- package/dist/components/sd-card.d.ts +0 -8
- package/dist/components/sd-card.js +0 -17
- package/dist/components/sd-card.server.d.ts +0 -10
- package/dist/components/sd-card.server.js +0 -19
- package/dist/components/sd-checkbox.d.ts +0 -11
- package/dist/components/sd-checkbox.js +0 -12
- package/dist/components/sd-checkbox.server.d.ts +0 -13
- package/dist/components/sd-checkbox.server.js +0 -21
- package/dist/components/sd-date-box.d.ts +0 -11
- package/dist/components/sd-date-box.js +0 -20
- package/dist/components/sd-date-box.server.d.ts +0 -13
- package/dist/components/sd-date-box.server.js +0 -25
- package/dist/components/sd-date-picker.d.ts +0 -10
- package/dist/components/sd-date-picker.js +0 -17
- package/dist/components/sd-date-picker.server.d.ts +0 -12
- package/dist/components/sd-date-picker.server.js +0 -20
- package/dist/components/sd-date-range-picker.d.ts +0 -10
- package/dist/components/sd-date-range-picker.js +0 -17
- package/dist/components/sd-date-range-picker.server.d.ts +0 -12
- package/dist/components/sd-date-range-picker.server.js +0 -20
- package/dist/components/sd-guide.d.ts +0 -8
- package/dist/components/sd-guide.js +0 -17
- package/dist/components/sd-guide.server.d.ts +0 -10
- package/dist/components/sd-guide.server.js +0 -22
- package/dist/components/sd-icon.d.ts +0 -8
- package/dist/components/sd-icon.js +0 -17
- package/dist/components/sd-icon.server.d.ts +0 -10
- package/dist/components/sd-icon.server.js +0 -22
- package/dist/components/sd-input.d.ts +0 -15
- package/dist/components/sd-input.js +0 -18
- package/dist/components/sd-input.server.d.ts +0 -17
- package/dist/components/sd-input.server.js +0 -28
- package/dist/components/sd-pagination.d.ts +0 -10
- package/dist/components/sd-pagination.js +0 -17
- package/dist/components/sd-pagination.server.d.ts +0 -12
- package/dist/components/sd-pagination.server.js +0 -20
- package/dist/components/sd-popover.d.ts +0 -8
- package/dist/components/sd-popover.js +0 -17
- package/dist/components/sd-popover.server.d.ts +0 -10
- package/dist/components/sd-popover.server.js +0 -29
- package/dist/components/sd-portal.d.ts +0 -10
- package/dist/components/sd-portal.js +0 -17
- package/dist/components/sd-portal.server.d.ts +0 -12
- package/dist/components/sd-portal.server.js +0 -20
- package/dist/components/sd-select-multiple-group.d.ts +0 -12
- package/dist/components/sd-select-multiple-group.js +0 -15
- package/dist/components/sd-select-multiple-group.server.d.ts +0 -14
- package/dist/components/sd-select-multiple-group.server.js +0 -26
- package/dist/components/sd-select-multiple.d.ts +0 -12
- package/dist/components/sd-select-multiple.js +0 -15
- package/dist/components/sd-select-multiple.server.d.ts +0 -14
- package/dist/components/sd-select-multiple.server.js +0 -26
- package/dist/components/sd-select-option-group.d.ts +0 -16
- package/dist/components/sd-select-option-group.js +0 -12
- package/dist/components/sd-select-option-group.server.d.ts +0 -18
- package/dist/components/sd-select-option-group.server.js +0 -23
- package/dist/components/sd-select-option.d.ts +0 -15
- package/dist/components/sd-select-option.js +0 -12
- package/dist/components/sd-select-option.server.d.ts +0 -17
- package/dist/components/sd-select-option.server.js +0 -22
- package/dist/components/sd-select.d.ts +0 -12
- package/dist/components/sd-select.js +0 -15
- package/dist/components/sd-select.server.d.ts +0 -14
- package/dist/components/sd-select.server.js +0 -26
- package/dist/components/sd-table.d.ts +0 -12
- package/dist/components/sd-table.js +0 -15
- package/dist/components/sd-table.server.d.ts +0 -14
- package/dist/components/sd-table.server.js +0 -24
- package/dist/components/sd-tag.d.ts +0 -8
- package/dist/components/sd-tag.js +0 -17
- package/dist/components/sd-tag.server.d.ts +0 -10
- package/dist/components/sd-tag.server.js +0 -23
- package/dist/components/sd-tooltip-portal.d.ts +0 -10
- package/dist/components/sd-tooltip-portal.js +0 -17
- package/dist/components/sd-tooltip-portal.server.d.ts +0 -12
- package/dist/components/sd-tooltip-portal.server.js +0 -21
- package/dist/components/sd-tooltip.d.ts +0 -8
- package/dist/components/sd-tooltip.js +0 -17
- package/dist/components/sd-tooltip.server.d.ts +0 -10
- package/dist/components/sd-tooltip.server.js +0 -27
- package/lib/components/sd-badge.server.ts +0 -29
- package/lib/components/sd-badge.ts +0 -24
- package/lib/components/sd-button.server.ts +0 -39
- package/lib/components/sd-button.ts +0 -25
- package/lib/components/sd-card.server.ts +0 -28
- package/lib/components/sd-card.ts +0 -24
- package/lib/components/sd-checkbox.server.ts +0 -31
- package/lib/components/sd-checkbox.ts +0 -25
- package/lib/components/sd-date-box.server.ts +0 -37
- package/lib/components/sd-date-box.ts +0 -30
- package/lib/components/sd-date-picker.server.ts +0 -29
- package/lib/components/sd-date-picker.ts +0 -24
- package/lib/components/sd-date-range-picker.server.ts +0 -29
- package/lib/components/sd-date-range-picker.ts +0 -24
- package/lib/components/sd-guide.server.ts +0 -31
- package/lib/components/sd-guide.ts +0 -24
- package/lib/components/sd-icon.server.ts +0 -31
- package/lib/components/sd-icon.ts +0 -24
- package/lib/components/sd-input.server.ts +0 -44
- package/lib/components/sd-input.ts +0 -37
- package/lib/components/sd-pagination.server.ts +0 -29
- package/lib/components/sd-pagination.ts +0 -24
- package/lib/components/sd-popover.server.ts +0 -38
- package/lib/components/sd-popover.ts +0 -24
- package/lib/components/sd-portal.server.ts +0 -29
- package/lib/components/sd-portal.ts +0 -24
- package/lib/components/sd-select-multiple-group.server.ts +0 -39
- package/lib/components/sd-select-multiple-group.ts +0 -31
- package/lib/components/sd-select-multiple.server.ts +0 -39
- package/lib/components/sd-select-multiple.ts +0 -31
- package/lib/components/sd-select-option-group.server.ts +0 -40
- package/lib/components/sd-select-option-group.ts +0 -32
- package/lib/components/sd-select-option.server.ts +0 -38
- package/lib/components/sd-select-option.ts +0 -31
- package/lib/components/sd-select.server.ts +0 -39
- package/lib/components/sd-select.ts +0 -31
- package/lib/components/sd-table.server.ts +0 -37
- package/lib/components/sd-table.ts +0 -31
- package/lib/components/sd-tag.server.ts +0 -32
- package/lib/components/sd-tag.ts +0 -24
- package/lib/components/sd-tooltip-portal.server.ts +0 -30
- package/lib/components/sd-tooltip-portal.ts +0 -24
- package/lib/components/sd-tooltip.server.ts +0 -36
- package/lib/components/sd-tooltip.ts +0 -24
|
@@ -1,39 +0,0 @@
|
|
|
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
|
-
class: 'class'
|
|
35
|
-
},
|
|
36
|
-
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
37
|
-
clientModule: clientComponents.SdButton as ReactWebComponent<SdButtonElement, SdButtonEvents>,
|
|
38
|
-
serializeShadowRoot,
|
|
39
|
-
});
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* This file was automatically generated by the Stencil React Output Target.
|
|
5
|
-
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
/* eslint-disable */
|
|
9
|
-
|
|
10
|
-
import { type SdButtonCustomEvent } from "@sellmate/design-system";
|
|
11
|
-
import { SdButton as SdButtonElement, defineCustomElement as defineSdButton } from "@sellmate/design-system/dist/components/sd-button.js";
|
|
12
|
-
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
13
|
-
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
14
|
-
import React from 'react';
|
|
15
|
-
|
|
16
|
-
export type SdButtonEvents = { onSdClick: EventName<SdButtonCustomEvent<MouseEvent>> };
|
|
17
|
-
|
|
18
|
-
export const SdButton: StencilReactComponent<SdButtonElement, SdButtonEvents> = /*@__PURE__*/ createComponent<SdButtonElement, SdButtonEvents>({
|
|
19
|
-
tagName: 'sd-button',
|
|
20
|
-
elementClass: SdButtonElement,
|
|
21
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
22
|
-
react: React,
|
|
23
|
-
events: { onSdClick: 'sdClick' } as SdButtonEvents,
|
|
24
|
-
defineCustomElement: defineSdButton
|
|
25
|
-
});
|
|
@@ -1,28 +0,0 @@
|
|
|
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 { SdCard as SdCardElement } from "@sellmate/design-system/dist/components/sd-card.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 SdCardEvents = NonNullable<unknown>;
|
|
18
|
-
|
|
19
|
-
export const SdCard: StencilReactComponent<SdCardElement, SdCardEvents> = /*@__PURE__*/ createComponent<SdCardElement, SdCardEvents>({
|
|
20
|
-
tagName: 'sd-card',
|
|
21
|
-
properties: {
|
|
22
|
-
bordered: 'bordered',
|
|
23
|
-
class: 'class'
|
|
24
|
-
},
|
|
25
|
-
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
26
|
-
clientModule: clientComponents.SdCard as ReactWebComponent<SdCardElement, SdCardEvents>,
|
|
27
|
-
serializeShadowRoot,
|
|
28
|
-
});
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* This file was automatically generated by the Stencil React Output Target.
|
|
5
|
-
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
/* eslint-disable */
|
|
9
|
-
|
|
10
|
-
import { SdCard as SdCardElement, defineCustomElement as defineSdCard } from "@sellmate/design-system/dist/components/sd-card.js";
|
|
11
|
-
import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
12
|
-
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
13
|
-
import React from 'react';
|
|
14
|
-
|
|
15
|
-
export type SdCardEvents = NonNullable<unknown>;
|
|
16
|
-
|
|
17
|
-
export const SdCard: StencilReactComponent<SdCardElement, SdCardEvents> = /*@__PURE__*/ createComponent<SdCardElement, SdCardEvents>({
|
|
18
|
-
tagName: 'sd-card',
|
|
19
|
-
elementClass: SdCardElement,
|
|
20
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
21
|
-
react: React,
|
|
22
|
-
events: {} as SdCardEvents,
|
|
23
|
-
defineCustomElement: defineSdCard
|
|
24
|
-
});
|
|
@@ -1,31 +0,0 @@
|
|
|
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 CheckedType, type SdCheckboxCustomEvent } from "@sellmate/design-system";
|
|
12
|
-
import { SdCheckbox as SdCheckboxElement } from "@sellmate/design-system/dist/components/sd-checkbox.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 SdCheckboxEvents = { onSdChange: EventName<SdCheckboxCustomEvent<CheckedType>> };
|
|
19
|
-
|
|
20
|
-
export const SdCheckbox: StencilReactComponent<SdCheckboxElement, SdCheckboxEvents> = /*@__PURE__*/ createComponent<SdCheckboxElement, SdCheckboxEvents>({
|
|
21
|
-
tagName: 'sd-checkbox',
|
|
22
|
-
properties: {
|
|
23
|
-
checked: 'checked',
|
|
24
|
-
val: 'val',
|
|
25
|
-
disabled: 'disabled',
|
|
26
|
-
label: 'label'
|
|
27
|
-
},
|
|
28
|
-
hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
|
|
29
|
-
clientModule: clientComponents.SdCheckbox as ReactWebComponent<SdCheckboxElement, SdCheckboxEvents>,
|
|
30
|
-
serializeShadowRoot,
|
|
31
|
-
});
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* This file was automatically generated by the Stencil React Output Target.
|
|
5
|
-
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
/* eslint-disable */
|
|
9
|
-
|
|
10
|
-
import { type CheckedType, type SdCheckboxCustomEvent } from "@sellmate/design-system";
|
|
11
|
-
import { SdCheckbox as SdCheckboxElement, defineCustomElement as defineSdCheckbox } from "@sellmate/design-system/dist/components/sd-checkbox.js";
|
|
12
|
-
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
13
|
-
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
14
|
-
import React from 'react';
|
|
15
|
-
|
|
16
|
-
export type SdCheckboxEvents = { onSdChange: EventName<SdCheckboxCustomEvent<CheckedType>> };
|
|
17
|
-
|
|
18
|
-
export const SdCheckbox: StencilReactComponent<SdCheckboxElement, SdCheckboxEvents> = /*@__PURE__*/ createComponent<SdCheckboxElement, SdCheckboxEvents>({
|
|
19
|
-
tagName: 'sd-checkbox',
|
|
20
|
-
elementClass: SdCheckboxElement,
|
|
21
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
22
|
-
react: React,
|
|
23
|
-
events: { onSdChange: 'sdChange' } as SdCheckboxEvents,
|
|
24
|
-
defineCustomElement: defineSdCheckbox
|
|
25
|
-
});
|
|
@@ -1,37 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* This file was automatically generated by the Stencil React Output Target.
|
|
5
|
-
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
/* eslint-disable */
|
|
9
|
-
|
|
10
|
-
import { SdDateBox as SdDateBoxElement, defineCustomElement as defineSdDateBox } from "@sellmate/design-system/dist/components/sd-date-box.js";
|
|
11
|
-
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
12
|
-
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
13
|
-
import React from 'react';
|
|
14
|
-
|
|
15
|
-
export type SdDateBoxEvents = {
|
|
16
|
-
onSdClick: EventName<CustomEvent<number | string | null>>,
|
|
17
|
-
onSdMouseOver: EventName<CustomEvent<number | string | null>>
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export const SdDateBox: StencilReactComponent<SdDateBoxElement, SdDateBoxEvents> = /*@__PURE__*/ createComponent<SdDateBoxElement, SdDateBoxEvents>({
|
|
21
|
-
tagName: 'sd-date-box',
|
|
22
|
-
elementClass: SdDateBoxElement,
|
|
23
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
24
|
-
react: React,
|
|
25
|
-
events: {
|
|
26
|
-
onSdClick: 'sdClick',
|
|
27
|
-
onSdMouseOver: 'sdMouseOver'
|
|
28
|
-
} as SdDateBoxEvents,
|
|
29
|
-
defineCustomElement: defineSdDateBox
|
|
30
|
-
});
|
|
@@ -1,29 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* This file was automatically generated by the Stencil React Output Target.
|
|
5
|
-
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
/* eslint-disable */
|
|
9
|
-
|
|
10
|
-
import { SdDatePicker as SdDatePickerElement, defineCustomElement as defineSdDatePicker } from "@sellmate/design-system/dist/components/sd-date-picker.js";
|
|
11
|
-
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
12
|
-
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
13
|
-
import React from 'react';
|
|
14
|
-
|
|
15
|
-
export type SdDatePickerEvents = { onSdChange: EventName<CustomEvent<string | null>> };
|
|
16
|
-
|
|
17
|
-
export const SdDatePicker: StencilReactComponent<SdDatePickerElement, SdDatePickerEvents> = /*@__PURE__*/ createComponent<SdDatePickerElement, SdDatePickerEvents>({
|
|
18
|
-
tagName: 'sd-date-picker',
|
|
19
|
-
elementClass: SdDatePickerElement,
|
|
20
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
21
|
-
react: React,
|
|
22
|
-
events: { onSdChange: 'sdChange' } as SdDatePickerEvents,
|
|
23
|
-
defineCustomElement: defineSdDatePicker
|
|
24
|
-
});
|
|
@@ -1,29 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* This file was automatically generated by the Stencil React Output Target.
|
|
5
|
-
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
/* eslint-disable */
|
|
9
|
-
|
|
10
|
-
import { SdDateRangePicker as SdDateRangePickerElement, defineCustomElement as defineSdDateRangePicker } from "@sellmate/design-system/dist/components/sd-date-range-picker.js";
|
|
11
|
-
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
12
|
-
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
13
|
-
import React from 'react';
|
|
14
|
-
|
|
15
|
-
export type SdDateRangePickerEvents = { onSdChange: EventName<CustomEvent<[string, string]>> };
|
|
16
|
-
|
|
17
|
-
export const SdDateRangePicker: StencilReactComponent<SdDateRangePickerElement, SdDateRangePickerEvents> = /*@__PURE__*/ createComponent<SdDateRangePickerElement, SdDateRangePickerEvents>({
|
|
18
|
-
tagName: 'sd-date-range-picker',
|
|
19
|
-
elementClass: SdDateRangePickerElement,
|
|
20
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
21
|
-
react: React,
|
|
22
|
-
events: { onSdChange: 'sdChange' } as SdDateRangePickerEvents,
|
|
23
|
-
defineCustomElement: defineSdDateRangePicker
|
|
24
|
-
});
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
label: 'label',
|
|
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
|
-
});
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* This file was automatically generated by the Stencil React Output Target.
|
|
5
|
-
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
/* eslint-disable */
|
|
9
|
-
|
|
10
|
-
import { SdGuide as SdGuideElement, defineCustomElement as defineSdGuide } from "@sellmate/design-system/dist/components/sd-guide.js";
|
|
11
|
-
import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
12
|
-
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
13
|
-
import React from 'react';
|
|
14
|
-
|
|
15
|
-
export type SdGuideEvents = NonNullable<unknown>;
|
|
16
|
-
|
|
17
|
-
export const SdGuide: StencilReactComponent<SdGuideElement, SdGuideEvents> = /*@__PURE__*/ createComponent<SdGuideElement, SdGuideEvents>({
|
|
18
|
-
tagName: 'sd-guide',
|
|
19
|
-
elementClass: SdGuideElement,
|
|
20
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
21
|
-
react: React,
|
|
22
|
-
events: {} as SdGuideEvents,
|
|
23
|
-
defineCustomElement: defineSdGuide
|
|
24
|
-
});
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* This file was automatically generated by the Stencil React Output Target.
|
|
5
|
-
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
/* eslint-disable */
|
|
9
|
-
|
|
10
|
-
import { SdIcon as SdIconElement, defineCustomElement as defineSdIcon } from "@sellmate/design-system/dist/components/sd-icon.js";
|
|
11
|
-
import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
12
|
-
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
13
|
-
import React from 'react';
|
|
14
|
-
|
|
15
|
-
export type SdIconEvents = NonNullable<unknown>;
|
|
16
|
-
|
|
17
|
-
export const SdIcon: StencilReactComponent<SdIconElement, SdIconEvents> = /*@__PURE__*/ createComponent<SdIconElement, SdIconEvents>({
|
|
18
|
-
tagName: 'sd-icon',
|
|
19
|
-
elementClass: SdIconElement,
|
|
20
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
21
|
-
react: React,
|
|
22
|
-
events: {} as SdIconEvents,
|
|
23
|
-
defineCustomElement: defineSdIcon
|
|
24
|
-
});
|
|
@@ -1,44 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* This file was automatically generated by the Stencil React Output Target.
|
|
5
|
-
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
/* eslint-disable */
|
|
9
|
-
|
|
10
|
-
import { type Event, type SdInputCustomEvent } from "@sellmate/design-system";
|
|
11
|
-
import { SdInput as SdInputElement, defineCustomElement as defineSdInput } from "@sellmate/design-system/dist/components/sd-input.js";
|
|
12
|
-
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
13
|
-
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
14
|
-
import React from 'react';
|
|
15
|
-
|
|
16
|
-
export type SdInputEvents = {
|
|
17
|
-
onSdClick: EventName<CustomEvent<string | number | null>>,
|
|
18
|
-
onSdInput: EventName<CustomEvent<string | number | null>>,
|
|
19
|
-
onSdChange: EventName<CustomEvent<string | number | null>>,
|
|
20
|
-
onSdFocus: EventName<SdInputCustomEvent<Event>>,
|
|
21
|
-
onSdBlur: EventName<SdInputCustomEvent<Event>>
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
export const SdInput: StencilReactComponent<SdInputElement, SdInputEvents> = /*@__PURE__*/ createComponent<SdInputElement, SdInputEvents>({
|
|
25
|
-
tagName: 'sd-input',
|
|
26
|
-
elementClass: SdInputElement,
|
|
27
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
28
|
-
react: React,
|
|
29
|
-
events: {
|
|
30
|
-
onSdClick: 'sdClick',
|
|
31
|
-
onSdInput: 'sdInput',
|
|
32
|
-
onSdChange: 'sdChange',
|
|
33
|
-
onSdFocus: 'sdFocus',
|
|
34
|
-
onSdBlur: 'sdBlur'
|
|
35
|
-
} as SdInputEvents,
|
|
36
|
-
defineCustomElement: defineSdInput
|
|
37
|
-
});
|
|
@@ -1,29 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* This file was automatically generated by the Stencil React Output Target.
|
|
5
|
-
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
/* eslint-disable */
|
|
9
|
-
|
|
10
|
-
import { SdPagination as SdPaginationElement, defineCustomElement as defineSdPagination } from "@sellmate/design-system/dist/components/sd-pagination.js";
|
|
11
|
-
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
12
|
-
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
13
|
-
import React from 'react';
|
|
14
|
-
|
|
15
|
-
export type SdPaginationEvents = { onPageChange: EventName<CustomEvent<number>> };
|
|
16
|
-
|
|
17
|
-
export const SdPagination: StencilReactComponent<SdPaginationElement, SdPaginationEvents> = /*@__PURE__*/ createComponent<SdPaginationElement, SdPaginationEvents>({
|
|
18
|
-
tagName: 'sd-pagination',
|
|
19
|
-
elementClass: SdPaginationElement,
|
|
20
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
21
|
-
react: React,
|
|
22
|
-
events: { onPageChange: 'pageChange' } as SdPaginationEvents,
|
|
23
|
-
defineCustomElement: defineSdPagination
|
|
24
|
-
});
|