@sellmate/design-system-react 1.0.72 → 1.0.73

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.
@@ -184,7 +184,9 @@ export type SdFloatingPortalEvents = {
184
184
  export declare const SdFloatingPortal: StencilReactComponent<SdFloatingPortalElement, SdFloatingPortalEvents>;
185
185
  export type SdFormEvents = {
186
186
  onSdSubmit: EventName<CustomEvent<void>>;
187
- onSdValidationError: EventName<CustomEvent<void>>;
187
+ onSdValidationError: EventName<CustomEvent<{
188
+ names: string[];
189
+ }>>;
188
190
  };
189
191
  export declare const SdForm: StencilReactComponent<SdFormElement, SdFormEvents>;
190
192
  export type SdGhostButtonEvents = {
@@ -186,7 +186,9 @@ export type SdFloatingPortalEvents = {
186
186
  export declare const SdFloatingPortal: StencilReactComponent<SdFloatingPortalElement, SdFloatingPortalEvents>;
187
187
  export type SdFormEvents = {
188
188
  onSdSubmit: EventName<CustomEvent<void>>;
189
- onSdValidationError: EventName<CustomEvent<void>>;
189
+ onSdValidationError: EventName<CustomEvent<{
190
+ names: string[];
191
+ }>>;
190
192
  };
191
193
  export declare const SdForm: StencilReactComponent<SdFormElement, SdFormEvents>;
192
194
  export type SdGhostButtonEvents = {
@@ -507,7 +507,7 @@ export const SdFloatingPortal: StencilReactComponent<SdFloatingPortalElement, Sd
507
507
 
508
508
  export type SdFormEvents = {
509
509
  onSdSubmit: EventName<CustomEvent<void>>,
510
- onSdValidationError: EventName<CustomEvent<void>>
510
+ onSdValidationError: EventName<CustomEvent<{ names: string[] }>>
511
511
  };
512
512
 
513
513
  export const SdForm: StencilReactComponent<SdFormElement, SdFormEvents> = /*@__PURE__*/ createComponent<SdFormElement, SdFormEvents>({
@@ -394,7 +394,7 @@ export const SdFloatingPortal: StencilReactComponent<SdFloatingPortalElement, Sd
394
394
 
395
395
  export type SdFormEvents = {
396
396
  onSdSubmit: EventName<CustomEvent<void>>,
397
- onSdValidationError: EventName<CustomEvent<void>>
397
+ onSdValidationError: EventName<CustomEvent<{ names: string[] }>>
398
398
  };
399
399
 
400
400
  export const SdForm: StencilReactComponent<SdFormElement, SdFormEvents> = /*@__PURE__*/ createComponent<SdFormElement, SdFormEvents>({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellmate/design-system-react",
3
- "version": "1.0.72",
3
+ "version": "1.0.73",
4
4
  "description": "Design System - React Component Wrappers",
5
5
  "keywords": [
6
6
  "react",
@@ -54,7 +54,7 @@
54
54
  "dev": "tsc --watch"
55
55
  },
56
56
  "dependencies": {
57
- "@sellmate/design-system": "^1.0.72",
57
+ "@sellmate/design-system": "^1.0.73",
58
58
  "@stencil/react-output-target": "^1.2.0"
59
59
  },
60
60
  "peerDependencies": {