@asgardeo/javascript 0.2.13 → 0.2.15

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.
@@ -40,16 +40,20 @@ export declare enum EmbeddedFlowComponentType {
40
40
  TextInput = "TEXT_INPUT",
41
41
  /** Password input field with masking for sensitive data */
42
42
  PasswordInput = "PASSWORD_INPUT",
43
- /**
44
- * Email input field with validation for email addresses.
45
- */
43
+ /** Email input field with validation for email addresses. */
46
44
  EmailInput = "EMAIL_INPUT",
45
+ /** One-time password input field for multi-factor authentication */
46
+ OtpInput = "OTP_INPUT",
47
+ /** Phone number input field with country code support */
48
+ PhoneInput = "PHONE_INPUT",
47
49
  /** Text display component for labels, headings, and messages */
48
50
  Text = "TEXT",
49
51
  /** Interactive action component (buttons, links) for user interactions */
50
52
  Action = "ACTION",
51
53
  /** Container block component that groups other components */
52
- Block = "BLOCK"
54
+ Block = "BLOCK",
55
+ /** Divider component for visual separation of content */
56
+ Divider = "DIVIDER"
53
57
  }
54
58
  /**
55
59
  * Action variant types for buttons and interactive elements.
@@ -57,14 +61,24 @@ export declare enum EmbeddedFlowComponentType {
57
61
  * @experimental This API may change in future versions
58
62
  */
59
63
  export declare enum EmbeddedFlowActionVariant {
64
+ /** Primary action button with highest visual emphasis */
60
65
  Primary = "PRIMARY",
66
+ /** Secondary action button with moderate visual emphasis */
61
67
  Secondary = "SECONDARY",
68
+ /** Tertiary action button with minimal visual emphasis */
62
69
  Tertiary = "TERTIARY",
70
+ /** Danger action button for destructive operations */
63
71
  Danger = "DANGER",
72
+ /** Success action button for positive confirmations */
64
73
  Success = "SUCCESS",
74
+ /** Info action button for informational purposes */
65
75
  Info = "INFO",
76
+ /** Warning action button for cautionary actions */
66
77
  Warning = "WARNING",
67
- Link = "LINK"
78
+ /** Link-styled action button */
79
+ Link = "LINK",
80
+ /** Social media action button (e.g., Google, Facebook) */
81
+ Social = "SOCIAL"
68
82
  }
69
83
  /**
70
84
  * Text variant types for typography components.
@@ -72,18 +86,31 @@ export declare enum EmbeddedFlowActionVariant {
72
86
  * @experimental This API may change in future versions
73
87
  */
74
88
  export declare enum EmbeddedFlowTextVariant {
89
+ /** Largest heading level for main titles */
75
90
  Heading1 = "HEADING_1",
91
+ /** Second level heading for major sections */
76
92
  Heading2 = "HEADING_2",
93
+ /** Third level heading for subsections */
77
94
  Heading3 = "HEADING_3",
95
+ /** Fourth level heading for minor sections */
78
96
  Heading4 = "HEADING_4",
97
+ /** Fifth level heading for detailed sections */
79
98
  Heading5 = "HEADING_5",
99
+ /** Smallest heading level for fine-grained sections */
80
100
  Heading6 = "HEADING_6",
101
+ /** Primary subtitle text with larger emphasis */
81
102
  Subtitle1 = "SUBTITLE_1",
103
+ /** Secondary subtitle text with moderate emphasis */
82
104
  Subtitle2 = "SUBTITLE_2",
105
+ /** Primary body text for main content */
83
106
  Body1 = "BODY_1",
107
+ /** Secondary body text for supplementary content */
84
108
  Body2 = "BODY_2",
109
+ /** Small caption text for annotations and descriptions */
85
110
  Caption = "CAPTION",
111
+ /** Overline text for labels and categories */
86
112
  Overline = "OVERLINE",
113
+ /** Text styled for button labels */
87
114
  ButtonText = "BUTTON_TEXT"
88
115
  }
89
116
  /**
@@ -92,11 +119,17 @@ export declare enum EmbeddedFlowTextVariant {
92
119
  * @experimental This API may change in future versions
93
120
  */
94
121
  export declare enum EmbeddedFlowEventType {
122
+ /** Trigger an action or event */
95
123
  Trigger = "TRIGGER",
124
+ /** Submit form data to the server */
96
125
  Submit = "SUBMIT",
126
+ /** Navigate to a different flow step or page */
97
127
  Navigate = "NAVIGATE",
128
+ /** Cancel the current operation */
98
129
  Cancel = "CANCEL",
130
+ /** Reset form fields to initial state */
99
131
  Reset = "RESET",
132
+ /** Navigate back to the previous step */
100
133
  Back = "BACK"
101
134
  }
102
135
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asgardeo/javascript",
3
- "version": "0.2.13",
3
+ "version": "0.2.15",
4
4
  "description": "Framework agnostic JavaScript SDK for Asgardeo.",
5
5
  "keywords": [
6
6
  "asgardeo",
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "tslib": "2.8.1",
49
- "@asgardeo/i18n": "0.3.8"
49
+ "@asgardeo/i18n": "0.3.9"
50
50
  },
51
51
  "publishConfig": {
52
52
  "access": "public"