@saasbase-io/core-elements 1.1.9 → 1.1.11

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.
@@ -24,6 +24,7 @@ export interface Input {
24
24
  rules: ValidationRule[];
25
25
  on_event: ValidationOnEvent;
26
26
  };
27
+ label?: string;
27
28
  }
28
29
  export interface ImageVariants {
29
30
  dark?: string;
@@ -41,6 +42,7 @@ export interface Gap {
41
42
  size: string;
42
43
  }
43
44
  export interface Label {
45
+ for?: string;
44
46
  content: string;
45
47
  }
46
48
  export interface Logo {
@@ -59,8 +61,13 @@ export interface Html {
59
61
  }
60
62
  export interface Button {
61
63
  type: "secondary" | "link" | "default" | "destructive" | "outline" | "ghost";
64
+ size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg";
65
+ invalid?: boolean;
66
+ href?: string;
67
+ target?: "_blank" | "_parent" | "_self" | "_top" | "_unfencedTop";
62
68
  text?: string;
63
69
  icon_url?: string;
70
+ icon_position?: "start" | "end";
64
71
  event: string;
65
72
  requires_valid?: string[];
66
73
  submit?: boolean;
@@ -89,7 +96,11 @@ export interface OTP {
89
96
  };
90
97
  }
91
98
  export interface Error {
92
- message: string;
99
+ variant?: "destructive" | "destructive-tonal";
100
+ icon_url?: string;
101
+ title?: string;
102
+ description?: string;
103
+ message?: string;
93
104
  }
94
105
  export interface CountdownProperties {
95
106
  duration?: number;
@@ -23,6 +23,7 @@ export interface ICustomizations {
23
23
  ghostButton?: ICustomizationOptions;
24
24
  destructiveButton?: ICustomizationOptions;
25
25
  };
26
+ container?: ICustomizationOptions;
26
27
  errors?: {
27
28
  inputError?: ICustomizationOptions;
28
29
  serviceError?: ICustomizationOptions;
@@ -30,17 +31,15 @@ export interface ICustomizations {
30
31
  inputs?: {
31
32
  inputContainer?: ICustomizationOptions;
32
33
  inputField?: ICustomizationOptions;
34
+ inputLabel?: ICustomizationOptions;
33
35
  inputHint?: ICustomizationOptions;
36
+ inputError?: ICustomizationOptions;
34
37
  };
35
38
  labels?: {
36
39
  inputLabel?: ICustomizationOptions;
37
40
  checkboxLabel?: ICustomizationOptions;
38
41
  };
39
- divider?: {
40
- dividerContainer?: ICustomizationOptions;
41
- dividerLine?: ICustomizationOptions;
42
- dividerText?: ICustomizationOptions;
43
- };
42
+ divider?: ICustomizationOptions;
44
43
  timer?: {
45
44
  countdowns?: ICustomizationOptions;
46
45
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasbase-io/core-elements",
3
- "version": "1.1.9",
3
+ "version": "1.1.11",
4
4
  "license": "MIT",
5
5
  "description": "A collection saas based related components",
6
6
  "main": "dist/index.js",
@@ -58,7 +58,7 @@
58
58
  "@lit/context": "^1.1.0",
59
59
  "@lit/react": "^1.0.8",
60
60
  "@lit/reactive-element": "^2.1.0",
61
- "@revotech-group/revotech-ui-kit": "^0.2.1",
61
+ "@revotech-group/revotech-ui-kit": "^0.2.4",
62
62
  "@saasbase-io/loginflow-websdk": "^1.10.4",
63
63
  "jsoneditor": "^10.2.0",
64
64
  "lit-html": "^3.3.0"