@sellmate/design-system-react 0.0.11 → 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/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-badge.server.d.ts +10 -0
- package/dist/components/sd-badge.server.js +20 -0
- package/dist/components/sd-button.d.ts +11 -0
- package/dist/components/sd-button.js +12 -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.d.ts +10 -0
- package/dist/components/sd-checkbox.js +17 -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.d.ts +11 -0
- package/dist/components/sd-date-box.js +20 -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.d.ts +10 -0
- package/dist/components/sd-date-picker.js +17 -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.d.ts +10 -0
- package/dist/components/sd-date-range-picker.js +17 -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.d.ts +8 -0
- package/dist/components/sd-guide.js +17 -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.d.ts +8 -0
- package/dist/components/sd-icon.js +17 -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.d.ts +15 -0
- package/dist/components/sd-input.js +18 -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.d.ts +10 -0
- package/dist/components/sd-pagination.js +17 -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.d.ts +8 -0
- package/dist/components/sd-popover.js +17 -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.d.ts +10 -0
- package/dist/components/sd-portal.js +17 -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.d.ts +15 -0
- package/dist/components/sd-select-option.js +12 -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.d.ts +12 -0
- package/dist/components/sd-select.js +15 -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.d.ts +12 -0
- package/dist/components/sd-table.js +15 -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.d.ts +8 -0
- package/dist/components/sd-tag.js +17 -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.d.ts +10 -0
- package/dist/components/sd-tooltip-portal.js +17 -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.d.ts +8 -0
- package/dist/components/sd-tooltip.js +17 -0
- package/dist/components/sd-tooltip.server.d.ts +10 -0
- package/dist/components/sd-tooltip.server.js +27 -0
- package/lib/components/components.ts +18 -247
- package/lib/components/sd-badge.server.ts +29 -0
- package/lib/components/sd-badge.ts +24 -0
- package/lib/components/sd-button.server.ts +38 -0
- package/lib/components/sd-button.ts +25 -0
- package/lib/components/sd-checkbox.server.ts +30 -0
- package/lib/components/sd-checkbox.ts +24 -0
- package/lib/components/sd-date-box.server.ts +37 -0
- package/lib/components/sd-date-box.ts +30 -0
- package/lib/components/sd-date-picker.server.ts +29 -0
- package/lib/components/sd-date-picker.ts +24 -0
- package/lib/components/sd-date-range-picker.server.ts +29 -0
- package/lib/components/sd-date-range-picker.ts +24 -0
- package/lib/components/sd-guide.server.ts +31 -0
- package/lib/components/sd-guide.ts +24 -0
- package/lib/components/sd-icon.server.ts +31 -0
- package/lib/components/sd-icon.ts +24 -0
- package/lib/components/sd-input.server.ts +44 -0
- package/lib/components/sd-input.ts +37 -0
- package/lib/components/sd-pagination.server.ts +29 -0
- package/lib/components/sd-pagination.ts +24 -0
- package/lib/components/sd-popover.server.ts +38 -0
- package/lib/components/sd-popover.ts +24 -0
- package/lib/components/sd-portal.server.ts +29 -0
- package/lib/components/sd-portal.ts +24 -0
- package/lib/components/sd-select-option.server.ts +38 -0
- package/lib/components/sd-select-option.ts +31 -0
- package/lib/components/sd-select.server.ts +39 -0
- package/lib/components/sd-select.ts +31 -0
- package/lib/components/sd-table.server.ts +36 -0
- package/lib/components/sd-table.ts +31 -0
- package/lib/components/sd-tag.server.ts +32 -0
- package/lib/components/sd-tag.ts +24 -0
- package/lib/components/sd-tooltip-portal.server.ts +30 -0
- package/lib/components/sd-tooltip-portal.ts +24 -0
- package/lib/components/sd-tooltip.server.ts +36 -0
- package/lib/components/sd-tooltip.ts +24 -0
- package/package.json +6 -7
- package/dist/hydrate.d.ts +0 -2
- package/dist/hydrate.js +0 -44
- package/lib/hydrate.ts +0 -52
|
@@ -0,0 +1,26 @@
|
|
|
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 SdSelect = /*@__PURE__*/ createComponent({
|
|
11
|
+
tagName: 'sd-select',
|
|
12
|
+
properties: {
|
|
13
|
+
value: 'value',
|
|
14
|
+
label: 'label',
|
|
15
|
+
placeholder: 'placeholder',
|
|
16
|
+
optionPlaceholder: 'option-placeholder',
|
|
17
|
+
width: 'width',
|
|
18
|
+
dropdownHeight: 'dropdown-height',
|
|
19
|
+
disabled: 'disabled',
|
|
20
|
+
clearable: 'clearable',
|
|
21
|
+
searchable: 'searchable'
|
|
22
|
+
},
|
|
23
|
+
hydrateModule: import('@sellmate/design-system/hydrate'),
|
|
24
|
+
clientModule: clientComponents.SdSelect,
|
|
25
|
+
serializeShadowRoot,
|
|
26
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
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 Row, type SdTableCustomEvent } from "@sellmate/design-system";
|
|
6
|
+
import { SdTable as SdTableElement } from "@sellmate/design-system/dist/components/sd-table.js";
|
|
7
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
8
|
+
export type SdTableEvents = {
|
|
9
|
+
onSdSelectChange: EventName<SdTableCustomEvent<Row[]>>;
|
|
10
|
+
onSdPageChange: EventName<CustomEvent<number>>;
|
|
11
|
+
};
|
|
12
|
+
export declare const SdTable: StencilReactComponent<SdTableElement, SdTableEvents>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { SdTable as SdTableElement, defineCustomElement as defineSdTable } from "@sellmate/design-system/dist/components/sd-table.js";
|
|
3
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
export const SdTable = /*@__PURE__*/ createComponent({
|
|
6
|
+
tagName: 'sd-table',
|
|
7
|
+
elementClass: SdTableElement,
|
|
8
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
9
|
+
react: React,
|
|
10
|
+
events: {
|
|
11
|
+
onSdSelectChange: 'sdSelectChange',
|
|
12
|
+
onSdPageChange: 'sdPageChange'
|
|
13
|
+
},
|
|
14
|
+
defineCustomElement: defineSdTable
|
|
15
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 Row, type SdTableCustomEvent } from "@sellmate/design-system";
|
|
6
|
+
import { SdTable as SdTableElement } from "@sellmate/design-system/dist/components/sd-table.js";
|
|
7
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
8
|
+
import { type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
|
|
9
|
+
export declare const serializeShadowRoot: SerializeShadowRootOptions;
|
|
10
|
+
export type SdTableEvents = {
|
|
11
|
+
onSdSelectChange: EventName<SdTableCustomEvent<Row[]>>;
|
|
12
|
+
onSdPageChange: EventName<CustomEvent<number>>;
|
|
13
|
+
};
|
|
14
|
+
export declare const SdTable: StencilReactComponent<SdTableElement, SdTableEvents>;
|
|
@@ -0,0 +1,23 @@
|
|
|
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 SdTable = /*@__PURE__*/ createComponent({
|
|
11
|
+
tagName: 'sd-table',
|
|
12
|
+
properties: {
|
|
13
|
+
rowKey: 'row-key',
|
|
14
|
+
selectable: 'selectable',
|
|
15
|
+
resizable: 'resizable',
|
|
16
|
+
height: 'height',
|
|
17
|
+
stickyHeader: 'sticky-header',
|
|
18
|
+
noDataLabel: 'no-data-label'
|
|
19
|
+
},
|
|
20
|
+
hydrateModule: import('@sellmate/design-system/hydrate'),
|
|
21
|
+
clientModule: clientComponents.SdTable,
|
|
22
|
+
serializeShadowRoot,
|
|
23
|
+
});
|
|
@@ -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 { SdTag as SdTagElement } from "@sellmate/design-system/dist/components/sd-tag.js";
|
|
6
|
+
import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
7
|
+
export type SdTagEvents = NonNullable<unknown>;
|
|
8
|
+
export declare const SdTag: StencilReactComponent<SdTagElement, SdTagEvents>;
|
|
@@ -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 { SdTag as SdTagElement, defineCustomElement as defineSdTag } from "@sellmate/design-system/dist/components/sd-tag.js";
|
|
8
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
9
|
+
import React from 'react';
|
|
10
|
+
export const SdTag = /*@__PURE__*/ createComponent({
|
|
11
|
+
tagName: 'sd-tag',
|
|
12
|
+
elementClass: SdTagElement,
|
|
13
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
14
|
+
react: React,
|
|
15
|
+
events: {},
|
|
16
|
+
defineCustomElement: defineSdTag
|
|
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 { SdTag as SdTagElement } from "@sellmate/design-system/dist/components/sd-tag.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 SdTagEvents = NonNullable<unknown>;
|
|
10
|
+
export declare const SdTag: StencilReactComponent<SdTagElement, SdTagEvents>;
|
|
@@ -0,0 +1,23 @@
|
|
|
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 SdTag = /*@__PURE__*/ createComponent({
|
|
11
|
+
tagName: 'sd-tag',
|
|
12
|
+
properties: {
|
|
13
|
+
size: 'size',
|
|
14
|
+
color: 'color',
|
|
15
|
+
rounded: 'rounded',
|
|
16
|
+
label: 'label',
|
|
17
|
+
bgColor: 'bg-color',
|
|
18
|
+
textColor: 'text-color'
|
|
19
|
+
},
|
|
20
|
+
hydrateModule: import('@sellmate/design-system/hydrate'),
|
|
21
|
+
clientModule: clientComponents.SdTag,
|
|
22
|
+
serializeShadowRoot,
|
|
23
|
+
});
|
|
@@ -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 { SdTooltipPortal as SdTooltipPortalElement } from "@sellmate/design-system/dist/components/sd-tooltip-portal.js";
|
|
6
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
7
|
+
export type SdTooltipPortalEvents = {
|
|
8
|
+
onSdClose: EventName<CustomEvent<void>>;
|
|
9
|
+
};
|
|
10
|
+
export declare const SdTooltipPortal: StencilReactComponent<SdTooltipPortalElement, SdTooltipPortalEvents>;
|
|
@@ -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 { SdTooltipPortal as SdTooltipPortalElement, defineCustomElement as defineSdTooltipPortal } from "@sellmate/design-system/dist/components/sd-tooltip-portal.js";
|
|
8
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
9
|
+
import React from 'react';
|
|
10
|
+
export const SdTooltipPortal = /*@__PURE__*/ createComponent({
|
|
11
|
+
tagName: 'sd-tooltip-portal',
|
|
12
|
+
elementClass: SdTooltipPortalElement,
|
|
13
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
14
|
+
react: React,
|
|
15
|
+
events: { onSdClose: 'sdClose' },
|
|
16
|
+
defineCustomElement: defineSdTooltipPortal
|
|
17
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
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 { SdTooltipPortal as SdTooltipPortalElement } from "@sellmate/design-system/dist/components/sd-tooltip-portal.js";
|
|
6
|
+
import type { EventName, 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 SdTooltipPortalEvents = {
|
|
10
|
+
onSdClose: EventName<CustomEvent<void>>;
|
|
11
|
+
};
|
|
12
|
+
export declare const SdTooltipPortal: StencilReactComponent<SdTooltipPortalElement, SdTooltipPortalEvents>;
|
|
@@ -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,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 { SdTooltip as SdTooltipElement } from "@sellmate/design-system/dist/components/sd-tooltip.js";
|
|
6
|
+
import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
7
|
+
export type SdTooltipEvents = NonNullable<unknown>;
|
|
8
|
+
export declare const SdTooltip: StencilReactComponent<SdTooltipElement, SdTooltipEvents>;
|
|
@@ -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 { SdTooltip as SdTooltipElement, defineCustomElement as defineSdTooltip } from "@sellmate/design-system/dist/components/sd-tooltip.js";
|
|
8
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
9
|
+
import React from 'react';
|
|
10
|
+
export const SdTooltip = /*@__PURE__*/ createComponent({
|
|
11
|
+
tagName: 'sd-tooltip',
|
|
12
|
+
elementClass: SdTooltipElement,
|
|
13
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
14
|
+
react: React,
|
|
15
|
+
events: {},
|
|
16
|
+
defineCustomElement: defineSdTooltip
|
|
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 { 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
|
+
});
|
|
@@ -1,253 +1,24 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
2
|
* This file was automatically generated by the Stencil React Output Target.
|
|
5
3
|
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6
4
|
*/
|
|
7
5
|
|
|
8
6
|
/* eslint-disable */
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
import { SdTooltip as SdTooltipElement, defineCustomElement as defineSdTooltip } from "@sellmate/design-system/dist/components/sd-tooltip.js";
|
|
28
|
-
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
29
|
-
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
30
|
-
import React from 'react';
|
|
31
|
-
|
|
32
|
-
export type SdButtonEvents = { onSdClick: EventName<SdButtonCustomEvent<MouseEvent>> };
|
|
33
|
-
|
|
34
|
-
export const SdButton: StencilReactComponent<SdButtonElement, SdButtonEvents> = /*@__PURE__*/ createComponent<SdButtonElement, SdButtonEvents>({
|
|
35
|
-
tagName: 'sd-button',
|
|
36
|
-
elementClass: SdButtonElement,
|
|
37
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
38
|
-
react: React,
|
|
39
|
-
events: { onSdClick: 'sdClick' } as SdButtonEvents,
|
|
40
|
-
defineCustomElement: defineSdButton
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
export type SdCheckboxEvents = { onSdChange: EventName<CustomEvent<any | any[]>> };
|
|
44
|
-
|
|
45
|
-
export const SdCheckbox: StencilReactComponent<SdCheckboxElement, SdCheckboxEvents> = /*@__PURE__*/ createComponent<SdCheckboxElement, SdCheckboxEvents>({
|
|
46
|
-
tagName: 'sd-checkbox',
|
|
47
|
-
elementClass: SdCheckboxElement,
|
|
48
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
49
|
-
react: React,
|
|
50
|
-
events: { onSdChange: 'sdChange' } as SdCheckboxEvents,
|
|
51
|
-
defineCustomElement: defineSdCheckbox
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
export type SdDateBoxEvents = {
|
|
55
|
-
onSdClick: EventName<CustomEvent<number | string | null>>,
|
|
56
|
-
onSdMouseOver: EventName<CustomEvent<number | string | null>>
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
export const SdDateBox: StencilReactComponent<SdDateBoxElement, SdDateBoxEvents> = /*@__PURE__*/ createComponent<SdDateBoxElement, SdDateBoxEvents>({
|
|
60
|
-
tagName: 'sd-date-box',
|
|
61
|
-
elementClass: SdDateBoxElement,
|
|
62
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
63
|
-
react: React,
|
|
64
|
-
events: {
|
|
65
|
-
onSdClick: 'sdClick',
|
|
66
|
-
onSdMouseOver: 'sdMouseOver'
|
|
67
|
-
} as SdDateBoxEvents,
|
|
68
|
-
defineCustomElement: defineSdDateBox
|
|
69
|
-
});
|
|
70
|
-
|
|
71
|
-
export type SdDatePickerEvents = { onSdChange: EventName<CustomEvent<string | null>> };
|
|
72
|
-
|
|
73
|
-
export const SdDatePicker: StencilReactComponent<SdDatePickerElement, SdDatePickerEvents> = /*@__PURE__*/ createComponent<SdDatePickerElement, SdDatePickerEvents>({
|
|
74
|
-
tagName: 'sd-date-picker',
|
|
75
|
-
elementClass: SdDatePickerElement,
|
|
76
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
77
|
-
react: React,
|
|
78
|
-
events: { onSdChange: 'sdChange' } as SdDatePickerEvents,
|
|
79
|
-
defineCustomElement: defineSdDatePicker
|
|
80
|
-
});
|
|
81
|
-
|
|
82
|
-
export type SdDateRangePickerEvents = { onSdChange: EventName<CustomEvent<[string, string]>> };
|
|
83
|
-
|
|
84
|
-
export const SdDateRangePicker: StencilReactComponent<SdDateRangePickerElement, SdDateRangePickerEvents> = /*@__PURE__*/ createComponent<SdDateRangePickerElement, SdDateRangePickerEvents>({
|
|
85
|
-
tagName: 'sd-date-range-picker',
|
|
86
|
-
elementClass: SdDateRangePickerElement,
|
|
87
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
88
|
-
react: React,
|
|
89
|
-
events: { onSdChange: 'sdChange' } as SdDateRangePickerEvents,
|
|
90
|
-
defineCustomElement: defineSdDateRangePicker
|
|
91
|
-
});
|
|
92
|
-
|
|
93
|
-
export type SdGuideEvents = NonNullable<unknown>;
|
|
94
|
-
|
|
95
|
-
export const SdGuide: StencilReactComponent<SdGuideElement, SdGuideEvents> = /*@__PURE__*/ createComponent<SdGuideElement, SdGuideEvents>({
|
|
96
|
-
tagName: 'sd-guide',
|
|
97
|
-
elementClass: SdGuideElement,
|
|
98
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
99
|
-
react: React,
|
|
100
|
-
events: {} as SdGuideEvents,
|
|
101
|
-
defineCustomElement: defineSdGuide
|
|
102
|
-
});
|
|
103
|
-
|
|
104
|
-
export type SdIconEvents = NonNullable<unknown>;
|
|
105
|
-
|
|
106
|
-
export const SdIcon: StencilReactComponent<SdIconElement, SdIconEvents> = /*@__PURE__*/ createComponent<SdIconElement, SdIconEvents>({
|
|
107
|
-
tagName: 'sd-icon',
|
|
108
|
-
elementClass: SdIconElement,
|
|
109
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
110
|
-
react: React,
|
|
111
|
-
events: {} as SdIconEvents,
|
|
112
|
-
defineCustomElement: defineSdIcon
|
|
113
|
-
});
|
|
114
|
-
|
|
115
|
-
export type SdInputEvents = {
|
|
116
|
-
onSdClick: EventName<CustomEvent<string | number | null>>,
|
|
117
|
-
onSdInput: EventName<CustomEvent<string | number | null>>,
|
|
118
|
-
onSdChange: EventName<CustomEvent<string | number | null>>,
|
|
119
|
-
onSdFocus: EventName<SdInputCustomEvent<Event>>,
|
|
120
|
-
onSdBlur: EventName<SdInputCustomEvent<Event>>
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
export const SdInput: StencilReactComponent<SdInputElement, SdInputEvents> = /*@__PURE__*/ createComponent<SdInputElement, SdInputEvents>({
|
|
124
|
-
tagName: 'sd-input',
|
|
125
|
-
elementClass: SdInputElement,
|
|
126
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
127
|
-
react: React,
|
|
128
|
-
events: {
|
|
129
|
-
onSdClick: 'sdClick',
|
|
130
|
-
onSdInput: 'sdInput',
|
|
131
|
-
onSdChange: 'sdChange',
|
|
132
|
-
onSdFocus: 'sdFocus',
|
|
133
|
-
onSdBlur: 'sdBlur'
|
|
134
|
-
} as SdInputEvents,
|
|
135
|
-
defineCustomElement: defineSdInput
|
|
136
|
-
});
|
|
137
|
-
|
|
138
|
-
export type SdPaginationEvents = { onPageChange: EventName<CustomEvent<number>> };
|
|
139
|
-
|
|
140
|
-
export const SdPagination: StencilReactComponent<SdPaginationElement, SdPaginationEvents> = /*@__PURE__*/ createComponent<SdPaginationElement, SdPaginationEvents>({
|
|
141
|
-
tagName: 'sd-pagination',
|
|
142
|
-
elementClass: SdPaginationElement,
|
|
143
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
144
|
-
react: React,
|
|
145
|
-
events: { onPageChange: 'pageChange' } as SdPaginationEvents,
|
|
146
|
-
defineCustomElement: defineSdPagination
|
|
147
|
-
});
|
|
148
|
-
|
|
149
|
-
export type SdPopoverEvents = NonNullable<unknown>;
|
|
150
|
-
|
|
151
|
-
export const SdPopover: StencilReactComponent<SdPopoverElement, SdPopoverEvents> = /*@__PURE__*/ createComponent<SdPopoverElement, SdPopoverEvents>({
|
|
152
|
-
tagName: 'sd-popover',
|
|
153
|
-
elementClass: SdPopoverElement,
|
|
154
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
155
|
-
react: React,
|
|
156
|
-
events: {} as SdPopoverEvents,
|
|
157
|
-
defineCustomElement: defineSdPopover
|
|
158
|
-
});
|
|
159
|
-
|
|
160
|
-
export type SdPortalEvents = { onSdClose: EventName<CustomEvent<void>> };
|
|
161
|
-
|
|
162
|
-
export const SdPortal: StencilReactComponent<SdPortalElement, SdPortalEvents> = /*@__PURE__*/ createComponent<SdPortalElement, SdPortalEvents>({
|
|
163
|
-
tagName: 'sd-portal',
|
|
164
|
-
elementClass: SdPortalElement,
|
|
165
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
166
|
-
react: React,
|
|
167
|
-
events: { onSdClose: 'sdClose' } as SdPortalEvents,
|
|
168
|
-
defineCustomElement: defineSdPortal
|
|
169
|
-
});
|
|
170
|
-
|
|
171
|
-
export type SdSelectEvents = {
|
|
172
|
-
onSdChange: EventName<SdSelectCustomEvent<SelectEvents['sdChange']>>,
|
|
173
|
-
onDropDownShow: EventName<SdSelectCustomEvent<SelectEvents['dropDownShow']>>
|
|
174
|
-
};
|
|
175
|
-
|
|
176
|
-
export const SdSelect: StencilReactComponent<SdSelectElement, SdSelectEvents> = /*@__PURE__*/ createComponent<SdSelectElement, SdSelectEvents>({
|
|
177
|
-
tagName: 'sd-select',
|
|
178
|
-
elementClass: SdSelectElement,
|
|
179
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
180
|
-
react: React,
|
|
181
|
-
events: {
|
|
182
|
-
onSdChange: 'sdChange',
|
|
183
|
-
onDropDownShow: 'dropDownShow'
|
|
184
|
-
} as SdSelectEvents,
|
|
185
|
-
defineCustomElement: defineSdSelect
|
|
186
|
-
});
|
|
187
|
-
|
|
188
|
-
export type SdSelectOptionEvents = {
|
|
189
|
-
onOptionClick: EventName<SdSelectOptionCustomEvent<{
|
|
190
|
-
option: SelectOption;
|
|
191
|
-
index: number;
|
|
192
|
-
event: MouseEvent;
|
|
193
|
-
}>>
|
|
194
|
-
};
|
|
195
|
-
|
|
196
|
-
export const SdSelectOption: StencilReactComponent<SdSelectOptionElement, SdSelectOptionEvents> = /*@__PURE__*/ createComponent<SdSelectOptionElement, SdSelectOptionEvents>({
|
|
197
|
-
tagName: 'sd-select-option',
|
|
198
|
-
elementClass: SdSelectOptionElement,
|
|
199
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
200
|
-
react: React,
|
|
201
|
-
events: { onOptionClick: 'optionClick' } as SdSelectOptionEvents,
|
|
202
|
-
defineCustomElement: defineSdSelectOption
|
|
203
|
-
});
|
|
204
|
-
|
|
205
|
-
export type SdTableEvents = {
|
|
206
|
-
onSdSelectChange: EventName<SdTableCustomEvent<Row[]>>,
|
|
207
|
-
onSdPageChange: EventName<CustomEvent<number>>
|
|
208
|
-
};
|
|
209
|
-
|
|
210
|
-
export const SdTable: StencilReactComponent<SdTableElement, SdTableEvents> = /*@__PURE__*/ createComponent<SdTableElement, SdTableEvents>({
|
|
211
|
-
tagName: 'sd-table',
|
|
212
|
-
elementClass: SdTableElement,
|
|
213
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
214
|
-
react: React,
|
|
215
|
-
events: {
|
|
216
|
-
onSdSelectChange: 'sdSelectChange',
|
|
217
|
-
onSdPageChange: 'sdPageChange'
|
|
218
|
-
} as SdTableEvents,
|
|
219
|
-
defineCustomElement: defineSdTable
|
|
220
|
-
});
|
|
221
|
-
|
|
222
|
-
export type SdTagEvents = NonNullable<unknown>;
|
|
223
|
-
|
|
224
|
-
export const SdTag: StencilReactComponent<SdTagElement, SdTagEvents> = /*@__PURE__*/ createComponent<SdTagElement, SdTagEvents>({
|
|
225
|
-
tagName: 'sd-tag',
|
|
226
|
-
elementClass: SdTagElement,
|
|
227
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
228
|
-
react: React,
|
|
229
|
-
events: {} as SdTagEvents,
|
|
230
|
-
defineCustomElement: defineSdTag
|
|
231
|
-
});
|
|
232
|
-
|
|
233
|
-
export type SdTooltipEvents = NonNullable<unknown>;
|
|
234
|
-
|
|
235
|
-
export const SdTooltip: StencilReactComponent<SdTooltipElement, SdTooltipEvents> = /*@__PURE__*/ createComponent<SdTooltipElement, SdTooltipEvents>({
|
|
236
|
-
tagName: 'sd-tooltip',
|
|
237
|
-
elementClass: SdTooltipElement,
|
|
238
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
239
|
-
react: React,
|
|
240
|
-
events: {} as SdTooltipEvents,
|
|
241
|
-
defineCustomElement: defineSdTooltip
|
|
242
|
-
});
|
|
243
|
-
|
|
244
|
-
export type SdTooltipPortalEvents = { onSdClose: EventName<CustomEvent<void>> };
|
|
245
|
-
|
|
246
|
-
export const SdTooltipPortal: StencilReactComponent<SdTooltipPortalElement, SdTooltipPortalEvents> = /*@__PURE__*/ createComponent<SdTooltipPortalElement, SdTooltipPortalEvents>({
|
|
247
|
-
tagName: 'sd-tooltip-portal',
|
|
248
|
-
elementClass: SdTooltipPortalElement,
|
|
249
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
250
|
-
react: React,
|
|
251
|
-
events: { onSdClose: 'sdClose' } as SdTooltipPortalEvents,
|
|
252
|
-
defineCustomElement: defineSdTooltipPortal
|
|
253
|
-
});
|
|
7
|
+
export { SdBadge } from "./sd-badge.js";
|
|
8
|
+
export { SdButton } from "./sd-button.js";
|
|
9
|
+
export { SdCheckbox } from "./sd-checkbox.js";
|
|
10
|
+
export { SdDateBox } from "./sd-date-box.js";
|
|
11
|
+
export { SdDatePicker } from "./sd-date-picker.js";
|
|
12
|
+
export { SdDateRangePicker } from "./sd-date-range-picker.js";
|
|
13
|
+
export { SdGuide } from "./sd-guide.js";
|
|
14
|
+
export { SdIcon } from "./sd-icon.js";
|
|
15
|
+
export { SdInput } from "./sd-input.js";
|
|
16
|
+
export { SdPagination } from "./sd-pagination.js";
|
|
17
|
+
export { SdPopover } from "./sd-popover.js";
|
|
18
|
+
export { SdPortal } from "./sd-portal.js";
|
|
19
|
+
export { SdSelectOption } from "./sd-select-option.js";
|
|
20
|
+
export { SdSelect } from "./sd-select.js";
|
|
21
|
+
export { SdTable } from "./sd-table.js";
|
|
22
|
+
export { SdTag } from "./sd-tag.js";
|
|
23
|
+
export { SdTooltipPortal } from "./sd-tooltip-portal.js";
|
|
24
|
+
export { SdTooltip } from "./sd-tooltip.js";
|
|
@@ -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,24 @@
|
|
|
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 { SdBadge as SdBadgeElement, defineCustomElement as defineSdBadge } from "@sellmate/design-system/dist/components/sd-badge.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 SdBadgeEvents = NonNullable<unknown>;
|
|
16
|
+
|
|
17
|
+
export const SdBadge: StencilReactComponent<SdBadgeElement, SdBadgeEvents> = /*@__PURE__*/ createComponent<SdBadgeElement, SdBadgeEvents>({
|
|
18
|
+
tagName: 'sd-badge',
|
|
19
|
+
elementClass: SdBadgeElement,
|
|
20
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
21
|
+
react: React,
|
|
22
|
+
events: {} as SdBadgeEvents,
|
|
23
|
+
defineCustomElement: defineSdBadge
|
|
24
|
+
});
|