@sellmate/design-system-react 0.0.18 → 0.0.20

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.
@@ -4,6 +4,7 @@
4
4
  */
5
5
  export { SdBadge } from "./sd-badge.js";
6
6
  export { SdButton } from "./sd-button.js";
7
+ export { SdCard } from "./sd-card.js";
7
8
  export { SdCheckbox } from "./sd-checkbox.js";
8
9
  export { SdDateBox } from "./sd-date-box.js";
9
10
  export { SdDatePicker } from "./sd-date-picker.js";
@@ -5,6 +5,7 @@
5
5
  /* eslint-disable */
6
6
  export { SdBadge } from "./sd-badge.js";
7
7
  export { SdButton } from "./sd-button.js";
8
+ export { SdCard } from "./sd-card.js";
8
9
  export { SdCheckbox } from "./sd-checkbox.js";
9
10
  export { SdDateBox } from "./sd-date-box.js";
10
11
  export { SdDatePicker } from "./sd-date-picker.js";
@@ -20,7 +20,8 @@ export const SdButton = /*@__PURE__*/ createComponent({
20
20
  iconColor: 'icon-color',
21
21
  iconSize: 'icon-size',
22
22
  iconRight: 'icon-right',
23
- noHover: 'no-hover'
23
+ noHover: 'no-hover',
24
+ class: 'class'
24
25
  },
25
26
  hydrateModule: import('@sellmate/design-system/hydrate'),
26
27
  clientModule: clientComponents.SdButton,
@@ -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 { SdCard as SdCardElement } from "@sellmate/design-system/dist/components/sd-card.js";
6
+ import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
7
+ export type SdCardEvents = NonNullable<unknown>;
8
+ export declare const SdCard: StencilReactComponent<SdCardElement, SdCardEvents>;
@@ -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 { SdCard as SdCardElement, defineCustomElement as defineSdCard } from "@sellmate/design-system/dist/components/sd-card.js";
8
+ import { createComponent } from '@stencil/react-output-target/runtime';
9
+ import React from 'react';
10
+ export const SdCard = /*@__PURE__*/ createComponent({
11
+ tagName: 'sd-card',
12
+ elementClass: SdCardElement,
13
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
14
+ react: React,
15
+ events: {},
16
+ defineCustomElement: defineSdCard
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 { SdCard as SdCardElement } from "@sellmate/design-system/dist/components/sd-card.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 SdCardEvents = NonNullable<unknown>;
10
+ export declare const SdCard: StencilReactComponent<SdCardElement, SdCardEvents>;
@@ -0,0 +1,19 @@
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 SdCard = /*@__PURE__*/ createComponent({
11
+ tagName: 'sd-card',
12
+ properties: {
13
+ bordered: 'bordered',
14
+ class: 'class'
15
+ },
16
+ hydrateModule: import('@sellmate/design-system/hydrate'),
17
+ clientModule: clientComponents.SdCard,
18
+ serializeShadowRoot,
19
+ });
@@ -2,9 +2,10 @@
2
2
  * This file was automatically generated by the Stencil React Output Target.
3
3
  * Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
4
4
  */
5
+ import { type CheckedType, type SdCheckboxCustomEvent } from "@sellmate/design-system";
5
6
  import { SdCheckbox as SdCheckboxElement } from "@sellmate/design-system/dist/components/sd-checkbox.js";
6
7
  import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
7
8
  export type SdCheckboxEvents = {
8
- onSdChange: EventName<CustomEvent<any | any[]>>;
9
+ onSdChange: EventName<SdCheckboxCustomEvent<CheckedType>>;
9
10
  };
10
11
  export declare const SdCheckbox: StencilReactComponent<SdCheckboxElement, SdCheckboxEvents>;
@@ -1,9 +1,4 @@
1
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
2
  import { SdCheckbox as SdCheckboxElement, defineCustomElement as defineSdCheckbox } from "@sellmate/design-system/dist/components/sd-checkbox.js";
8
3
  import { createComponent } from '@stencil/react-output-target/runtime';
9
4
  import React from 'react';
@@ -2,11 +2,12 @@
2
2
  * This file was automatically generated by the Stencil React Output Target.
3
3
  * Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
4
4
  */
5
+ import { type CheckedType, type SdCheckboxCustomEvent } from "@sellmate/design-system";
5
6
  import { SdCheckbox as SdCheckboxElement } from "@sellmate/design-system/dist/components/sd-checkbox.js";
6
7
  import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
7
8
  import { type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
8
9
  export declare const serializeShadowRoot: SerializeShadowRootOptions;
9
10
  export type SdCheckboxEvents = {
10
- onSdChange: EventName<CustomEvent<any | any[]>>;
11
+ onSdChange: EventName<SdCheckboxCustomEvent<CheckedType>>;
11
12
  };
12
13
  export declare const SdCheckbox: StencilReactComponent<SdCheckboxElement, SdCheckboxEvents>;
@@ -11,7 +11,7 @@ export const SdGuide = /*@__PURE__*/ createComponent({
11
11
  tagName: 'sd-guide',
12
12
  properties: {
13
13
  type: 'type',
14
- popupTitle: 'popup-title',
14
+ label: 'label',
15
15
  message: 'message',
16
16
  guideUrl: 'guide-url',
17
17
  popupWidth: 'popup-width'
@@ -6,6 +6,7 @@
6
6
  /* eslint-disable */
7
7
  export { SdBadge } from "./sd-badge.js";
8
8
  export { SdButton } from "./sd-button.js";
9
+ export { SdCard } from "./sd-card.js";
9
10
  export { SdCheckbox } from "./sd-checkbox.js";
10
11
  export { SdDateBox } from "./sd-date-box.js";
11
12
  export { SdDatePicker } from "./sd-date-picker.js";
@@ -30,7 +30,8 @@ export const SdButton: StencilReactComponent<SdButtonElement, SdButtonEvents> =
30
30
  iconColor: 'icon-color',
31
31
  iconSize: 'icon-size',
32
32
  iconRight: 'icon-right',
33
- noHover: 'no-hover'
33
+ noHover: 'no-hover',
34
+ class: 'class'
34
35
  },
35
36
  hydrateModule: import('@sellmate/design-system/hydrate') as Promise<HydrateModule>,
36
37
  clientModule: clientComponents.SdButton as ReactWebComponent<SdButtonElement, SdButtonEvents>,
@@ -0,0 +1,28 @@
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
+ });
@@ -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 { 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
+ });
@@ -8,13 +8,14 @@
8
8
  // @ts-ignore - ignore potential type issues as the project is importing itself
9
9
  import * as clientComponents from '@sellmate/design-system-react';
10
10
 
11
+ import { type CheckedType, type SdCheckboxCustomEvent } from "@sellmate/design-system";
11
12
  import { SdCheckbox as SdCheckboxElement } from "@sellmate/design-system/dist/components/sd-checkbox.js";
12
13
  import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
13
14
  import { createComponent, type HydrateModule, type ReactWebComponent, type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
14
15
 
15
16
  export const serializeShadowRoot: SerializeShadowRootOptions = { default: "declarative-shadow-dom" };
16
17
 
17
- export type SdCheckboxEvents = { onSdChange: EventName<CustomEvent<any | any[]>> };
18
+ export type SdCheckboxEvents = { onSdChange: EventName<SdCheckboxCustomEvent<CheckedType>> };
18
19
 
19
20
  export const SdCheckbox: StencilReactComponent<SdCheckboxElement, SdCheckboxEvents> = /*@__PURE__*/ createComponent<SdCheckboxElement, SdCheckboxEvents>({
20
21
  tagName: 'sd-checkbox',
@@ -7,12 +7,13 @@
7
7
 
8
8
  /* eslint-disable */
9
9
 
10
+ import { type CheckedType, type SdCheckboxCustomEvent } from "@sellmate/design-system";
10
11
  import { SdCheckbox as SdCheckboxElement, defineCustomElement as defineSdCheckbox } from "@sellmate/design-system/dist/components/sd-checkbox.js";
11
12
  import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
12
13
  import { createComponent } from '@stencil/react-output-target/runtime';
13
14
  import React from 'react';
14
15
 
15
- export type SdCheckboxEvents = { onSdChange: EventName<CustomEvent<any | any[]>> };
16
+ export type SdCheckboxEvents = { onSdChange: EventName<SdCheckboxCustomEvent<CheckedType>> };
16
17
 
17
18
  export const SdCheckbox: StencilReactComponent<SdCheckboxElement, SdCheckboxEvents> = /*@__PURE__*/ createComponent<SdCheckboxElement, SdCheckboxEvents>({
18
19
  tagName: 'sd-checkbox',
@@ -20,7 +20,7 @@ export const SdGuide: StencilReactComponent<SdGuideElement, SdGuideEvents> = /*@
20
20
  tagName: 'sd-guide',
21
21
  properties: {
22
22
  type: 'type',
23
- popupTitle: 'popup-title',
23
+ label: 'label',
24
24
  message: 'message',
25
25
  guideUrl: 'guide-url',
26
26
  popupWidth: 'popup-width'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellmate/design-system-react",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "description": "Design System - React Component Wrappers",
5
5
  "keywords": [
6
6
  "react",
@@ -53,7 +53,7 @@
53
53
  "dev": "tsc --watch"
54
54
  },
55
55
  "dependencies": {
56
- "@sellmate/design-system": "^0.0.13",
56
+ "@sellmate/design-system": "^0.0.15",
57
57
  "@stencil/react-output-target": "^1.2.0"
58
58
  },
59
59
  "peerDependencies": {
@@ -67,5 +67,5 @@
67
67
  "rimraf": "^6.0.1",
68
68
  "typescript": "^5.9.3"
69
69
  },
70
- "gitHead": "1f01304d6cc3770a5de3ff56afa8bd55f759b537"
70
+ "gitHead": "759287eea304252ee96284134cd989639d487ed0"
71
71
  }