@asgardeo/react 0.4.0 → 0.5.1

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.
Files changed (87) hide show
  1. package/dist/AsgardeoReactClient.d.ts +13 -5
  2. package/dist/__temp__/api.d.ts +11 -5
  3. package/dist/__temp__/models.d.ts +3 -3
  4. package/dist/api/createOrganization.d.ts +81 -0
  5. package/dist/api/getAllOrganizations.d.ts +73 -0
  6. package/dist/api/getMeOrganizations.d.ts +77 -0
  7. package/dist/api/getOrganization.d.ts +69 -0
  8. package/dist/api/getSchemas.d.ts +67 -0
  9. package/dist/api/getScim2Me.d.ts +67 -0
  10. package/dist/api/updateMeProfile.d.ts +55 -0
  11. package/dist/api/updateOrganization.d.ts +76 -0
  12. package/dist/cjs/index.js +9685 -17275
  13. package/dist/cjs/index.js.map +4 -4
  14. package/dist/components/actions/SignInButton/BaseSignInButton.d.ts +5 -5
  15. package/dist/components/actions/SignOutButton/BaseSignOutButton.d.ts +5 -5
  16. package/dist/components/actions/SignUpButton/BaseSignUpButton.d.ts +5 -5
  17. package/dist/components/control/AsgardeoLoading.d.ts +47 -0
  18. package/dist/components/control/SignedIn.d.ts +2 -0
  19. package/dist/components/control/SignedOut.d.ts +2 -0
  20. package/dist/components/factories/FieldFactory.d.ts +6 -11
  21. package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.d.ts +53 -0
  22. package/dist/components/presentation/CreateOrganization/CreateOrganization.d.ts +67 -0
  23. package/dist/components/presentation/Organization/BaseOrganization.d.ts +66 -0
  24. package/dist/components/presentation/Organization/Organization.d.ts +66 -0
  25. package/dist/components/presentation/OrganizationList/BaseOrganizationList.d.ts +117 -0
  26. package/dist/components/presentation/OrganizationList/OrganizationList.d.ts +93 -0
  27. package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.d.ts +153 -0
  28. package/dist/components/presentation/OrganizationProfile/OrganizationProfile.d.ts +119 -0
  29. package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.d.ts +141 -0
  30. package/dist/components/presentation/OrganizationSwitcher/OrganizationSwitcher.d.ts +70 -0
  31. package/dist/components/presentation/SignIn/BaseSignIn.d.ts +31 -38
  32. package/dist/components/presentation/SignIn/SignIn.d.ts +3 -14
  33. package/dist/components/presentation/SignIn/options/SignInOptionFactory.d.ts +4 -4
  34. package/dist/components/presentation/SignIn/types.d.ts +6 -6
  35. package/dist/components/presentation/SignUp/BaseSignUp.d.ts +126 -0
  36. package/dist/components/presentation/SignUp/SignUp.d.ts +55 -0
  37. package/dist/components/presentation/SignUp/options/CheckboxInput.d.ts +24 -0
  38. package/dist/components/presentation/SignUp/options/DateInput.d.ts +24 -0
  39. package/dist/components/presentation/SignUp/options/DividerComponent.d.ts +24 -0
  40. package/dist/components/presentation/SignUp/options/EmailInput.d.ts +24 -0
  41. package/dist/components/presentation/SignUp/options/FormContainer.d.ts +24 -0
  42. package/dist/components/presentation/SignUp/options/GoogleButton.d.ts +25 -0
  43. package/dist/components/presentation/SignUp/options/ImageComponent.d.ts +24 -0
  44. package/dist/components/presentation/SignUp/options/NumberInput.d.ts +24 -0
  45. package/dist/components/presentation/SignUp/options/PasswordInput.d.ts +24 -0
  46. package/dist/components/presentation/SignUp/options/SignUpOptionFactory.d.ts +100 -0
  47. package/dist/components/presentation/SignUp/options/SocialButton.d.ts +24 -0
  48. package/dist/components/presentation/SignUp/options/SubmitButton.d.ts +24 -0
  49. package/dist/components/presentation/SignUp/options/TelephoneInput.d.ts +24 -0
  50. package/dist/components/presentation/SignUp/options/TextInput.d.ts +24 -0
  51. package/dist/components/presentation/SignUp/options/Typography.d.ts +24 -0
  52. package/dist/components/presentation/SignUp/options/index.d.ts +26 -0
  53. package/dist/components/presentation/UserDropdown/BaseUserDropdown.d.ts +34 -22
  54. package/dist/components/presentation/UserDropdown/UserDropdown.d.ts +60 -4
  55. package/dist/components/presentation/UserProfile/BaseUserProfile.d.ts +17 -15
  56. package/dist/components/presentation/UserProfile/UserProfile.d.ts +1 -1
  57. package/dist/components/primitives/Avatar/Avatar.d.ts +21 -8
  58. package/dist/components/primitives/Card/Card.d.ts +8 -9
  59. package/dist/components/primitives/Divider/Divider.d.ts +8 -8
  60. package/dist/components/primitives/Icons/Building.d.ts +40 -0
  61. package/dist/components/primitives/Icons/BuildingAlt.d.ts +40 -0
  62. package/dist/components/primitives/Icons/Check.d.ts +40 -0
  63. package/dist/components/primitives/Icons/ChevronDown.d.ts +40 -0
  64. package/dist/components/primitives/Icons/LogOut.d.ts +23 -0
  65. package/dist/components/primitives/Icons/Plus.d.ts +23 -0
  66. package/dist/components/primitives/Icons/Settings.d.ts +0 -0
  67. package/dist/components/primitives/Icons/User.d.ts +23 -0
  68. package/dist/components/primitives/Icons/X.d.ts +23 -0
  69. package/dist/components/primitives/Icons/index.d.ts +27 -0
  70. package/dist/components/primitives/KeyValueInput/KeyValueInput.d.ts +123 -0
  71. package/dist/components/primitives/KeyValueInput/index.d.ts +0 -0
  72. package/dist/components/primitives/Popover/Popover.d.ts +19 -19
  73. package/dist/contexts/Asgardeo/AsgardeoContext.d.ts +7 -2
  74. package/dist/contexts/Organization/OrganizationContext.d.ts +74 -0
  75. package/dist/contexts/Organization/OrganizationProvider.d.ts +90 -0
  76. package/dist/contexts/Organization/useOrganization.d.ts +104 -0
  77. package/dist/contexts/Theme/types.d.ts +38 -9
  78. package/dist/contexts/User/UserContext.d.ts +3 -2
  79. package/dist/contexts/User/UserProvider.d.ts +2 -1
  80. package/dist/hooks/useForm.d.ts +52 -52
  81. package/dist/index.d.ts +53 -1
  82. package/dist/index.js +9725 -17303
  83. package/dist/index.js.map +4 -4
  84. package/package.json +1 -1
  85. package/dist/api/scim2/getMeProfile.d.ts +0 -39
  86. package/dist/api/scim2/getSchemas.d.ts +0 -39
  87. package/dist/api/scim2/updateMeProfile.d.ts +0 -38
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
3
+ *
4
+ * WSO2 LLC. licenses this file to you under the Apache License,
5
+ * Version 2.0 (the "License"); you may not use this file except
6
+ * in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import { FC } from 'react';
19
+ import { BaseSignUpOptionProps } from './SignUpOptionFactory';
20
+ /**
21
+ * Typography component for sign-up forms (titles, descriptions, etc.).
22
+ */
23
+ declare const TypographyComponent: FC<BaseSignUpOptionProps>;
24
+ export default TypographyComponent;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
3
+ *
4
+ * WSO2 LLC. licenses this file to you under the Apache License,
5
+ * Version 2.0 (the "License"); you may not use this file except
6
+ * in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ export { default as TextInput } from './TextInput';
19
+ export { default as EmailInput } from './EmailInput';
20
+ export { default as PasswordInput } from './PasswordInput';
21
+ export { default as SubmitButton } from './SubmitButton';
22
+ export { default as SocialButton } from './SocialButton';
23
+ export { default as GoogleButton } from './GoogleButton';
24
+ export { default as Typography } from './Typography';
25
+ export { default as FormContainer } from './FormContainer';
26
+ export { createSignUpComponent, createSignUpOptionFromComponent, renderSignUpComponents, type BaseSignUpOptionProps, } from './SignUpOptionFactory';
@@ -16,56 +16,68 @@
16
16
  * under the License.
17
17
  */
18
18
  import { FC, ReactElement, ReactNode } from 'react';
19
- export interface MenuItem {
20
- label: string;
19
+ interface MenuItem {
20
+ href?: string;
21
21
  icon?: ReactNode;
22
+ label: ReactNode;
22
23
  onClick?: () => void;
23
- href?: string;
24
24
  }
25
25
  export interface BaseUserDropdownProps {
26
26
  /**
27
- * Optional element to render when no user is signed in.
27
+ * Mapping of component attribute names to identity provider field names.
28
+ * Allows customizing which user profile fields should be used for each attribute.
28
29
  */
29
- fallback?: ReactElement;
30
+ attributeMapping?: {
31
+ [key: string]: string | string[] | undefined;
32
+ firstName?: string | string[];
33
+ lastName?: string | string[];
34
+ picture?: string | string[];
35
+ username?: string | string[];
36
+ };
37
+ /**
38
+ * Optional size for the avatar
39
+ */
40
+ avatarSize?: number;
30
41
  /**
31
42
  * Optional className for the dropdown container.
32
43
  */
33
44
  className?: string;
34
45
  /**
35
- * The user object containing profile information
46
+ * Optional element to render when no user is signed in.
36
47
  */
37
- user: any;
48
+ fallback?: ReactElement;
38
49
  /**
39
- * The HTML element ID where the portal should be mounted
50
+ * Whether the user data is currently loading
40
51
  */
41
- portalId?: string;
52
+ isLoading?: boolean;
42
53
  /**
43
54
  * Menu items to display in the dropdown
44
55
  */
45
56
  menuItems?: MenuItem[];
46
57
  /**
47
- * Show user's display name next to avatar in the trigger button
58
+ * Callback function for "Manage Profile" action
48
59
  */
49
- showTriggerLabel?: boolean;
60
+ onManageProfile?: () => void;
61
+ /**
62
+ * Callback function for "Sign Out" action
63
+ */
64
+ onSignOut?: () => void;
65
+ /**
66
+ * The HTML element ID where the portal should be mounted
67
+ */
68
+ portalId?: string;
50
69
  /**
51
70
  * Show dropdown header with user information
52
71
  */
53
72
  showDropdownHeader?: boolean;
54
73
  /**
55
- * Optional size for the avatar
74
+ * Show user's display name next to avatar in the trigger button
56
75
  */
57
- avatarSize?: number;
76
+ showTriggerLabel?: boolean;
58
77
  /**
59
- * Mapping of component attribute names to identity provider field names.
60
- * Allows customizing which user profile fields should be used for each attribute.
78
+ * The user object containing profile information
61
79
  */
62
- attributeMapping?: {
63
- picture?: string | string[];
64
- firstName?: string | string[];
65
- lastName?: string | string[];
66
- username?: string | string[];
67
- [key: string]: string | string[] | undefined;
68
- };
80
+ user: any;
69
81
  }
70
82
  /**
71
83
  * BaseUserDropdown component displays a user avatar with a dropdown menu.
@@ -15,19 +15,54 @@
15
15
  * specific language governing permissions and limitations
16
16
  * under the License.
17
17
  */
18
- import { FC } from 'react';
18
+ import { FC, ReactNode } from 'react';
19
19
  import { BaseUserDropdownProps } from './BaseUserDropdown';
20
+ /**
21
+ * Render props data passed to the children function
22
+ */
23
+ export interface UserDropdownRenderProps {
24
+ /** Function to close the profile dialog */
25
+ closeProfile: () => void;
26
+ /** Whether user data is currently loading */
27
+ isLoading: boolean;
28
+ /** Whether the profile dialog is currently open */
29
+ isProfileOpen: boolean;
30
+ /** Function to open the user profile dialog */
31
+ openProfile: () => void;
32
+ /** Function to sign out the user */
33
+ signOut: () => void;
34
+ /** The authenticated user object */
35
+ user: any;
36
+ }
20
37
  /**
21
38
  * Props for the UserDropdown component.
22
- * Extends BaseUserDropdownProps but makes the user prop optional since it will be obtained from useAsgardeo
39
+ * Extends BaseUserDropdownProps but excludes user, onManageProfile, and onSignOut since they're handled internally
23
40
  */
24
- export type UserDropdownProps = Omit<BaseUserDropdownProps, 'user'>;
41
+ export type UserDropdownProps = Omit<BaseUserDropdownProps, 'user' | 'onManageProfile'> & {
42
+ /**
43
+ * Render prop function that receives user state and actions.
44
+ * When provided, this completely replaces the default dropdown rendering.
45
+ */
46
+ children?: (props: UserDropdownRenderProps) => ReactNode;
47
+ /**
48
+ * Custom render function for the dropdown content.
49
+ * When provided, this replaces just the dropdown content while keeping the trigger.
50
+ */
51
+ renderDropdown?: (props: UserDropdownRenderProps) => ReactNode;
52
+ /**
53
+ * Custom render function for the trigger button.
54
+ * When provided, this replaces just the trigger button while keeping the dropdown.
55
+ */
56
+ renderTrigger?: (props: UserDropdownRenderProps) => ReactNode;
57
+ };
25
58
  /**
26
59
  * UserDropdown component displays a user avatar with a dropdown menu.
27
60
  * When clicked, it shows a popover with customizable menu items.
28
61
  * This component is the React-specific implementation that uses the BaseUserDropdown
29
62
  * and automatically retrieves the user data from Asgardeo context.
30
63
  *
64
+ * Supports render props for complete customization of the dropdown appearance and behavior.
65
+ *
31
66
  * @example
32
67
  * ```tsx
33
68
  * // Basic usage - will use user from Asgardeo context
@@ -39,10 +74,31 @@ export type UserDropdownProps = Omit<BaseUserDropdownProps, 'user'>;
39
74
  *
40
75
  * // With custom configuration
41
76
  * <UserDropdown
42
- * showUsername={false}
77
+ * showTriggerLabel={true}
43
78
  * avatarSize={40}
44
79
  * fallback={<div>Please sign in</div>}
45
80
  * />
81
+ *
82
+ * // Using render props for complete customization
83
+ * <UserDropdown>
84
+ * {({ user, isLoading, openProfile, signOut }) => (
85
+ * <div>
86
+ * <button onClick={openProfile}>
87
+ * {user?.name || 'Loading...'}
88
+ * </button>
89
+ * <button onClick={signOut}>Logout</button>
90
+ * </div>
91
+ * )}
92
+ * </UserDropdown>
93
+ *
94
+ * // Using partial render props
95
+ * <UserDropdown
96
+ * renderTrigger={({ user, openProfile }) => (
97
+ * <button onClick={openProfile} className="custom-trigger">
98
+ * Welcome, {user?.name}!
99
+ * </button>
100
+ * )}
101
+ * />
46
102
  * ```
47
103
  */
48
104
  declare const UserDropdown: FC<UserDropdownProps>;
@@ -15,11 +15,11 @@
15
15
  * specific language governing permissions and limitations
16
16
  * under the License.
17
17
  */
18
- import { FC, ReactElement } from 'react';
19
18
  import { User } from '@asgardeo/browser';
19
+ import { FC, ReactElement } from 'react';
20
20
  interface ExtendedFlatSchema {
21
- schemaId?: string;
22
21
  path?: string;
22
+ schemaId?: string;
23
23
  }
24
24
  interface Schema extends ExtendedFlatSchema {
25
25
  caseExact?: boolean;
@@ -31,33 +31,35 @@ interface Schema extends ExtendedFlatSchema {
31
31
  name?: string;
32
32
  required?: boolean;
33
33
  returned?: string;
34
+ subAttributes?: Schema[];
34
35
  type?: string;
35
36
  uniqueness?: string;
36
37
  value?: any;
37
- subAttributes?: Schema[];
38
38
  }
39
39
  export interface BaseUserProfileProps {
40
- fallback?: ReactElement;
41
- className?: string;
42
- cardLayout?: boolean;
43
- profile?: User;
44
- flattenedProfile?: User;
45
- schemas?: Schema[];
46
- mode?: 'inline' | 'popup';
47
- title?: string;
48
40
  attributeMapping?: {
49
- picture?: string | string[];
41
+ [key: string]: string | string[] | undefined;
50
42
  firstName?: string | string[];
51
43
  lastName?: string | string[];
44
+ picture?: string | string[];
52
45
  username?: string | string[];
53
- [key: string]: string | string[] | undefined;
54
46
  };
47
+ cancelButtonText?: string;
48
+ cardLayout?: boolean;
49
+ className?: string;
55
50
  editable?: boolean;
51
+ fallback?: ReactElement;
52
+ flattenedProfile?: User;
53
+ mode?: 'inline' | 'popup';
56
54
  onChange?: (field: string, value: any) => void;
55
+ onOpenChange?: (open: boolean) => void;
57
56
  onSubmit?: (data: any) => void;
58
- saveButtonText?: string;
59
- cancelButtonText?: string;
60
57
  onUpdate?: (payload: any) => Promise<void>;
58
+ open?: boolean;
59
+ profile?: User;
60
+ saveButtonText?: string;
61
+ schemas?: Schema[];
62
+ title?: string;
61
63
  }
62
64
  declare const BaseUserProfile: FC<BaseUserProfileProps>;
63
65
  export default BaseUserProfile;
@@ -21,7 +21,7 @@ import { BaseUserProfileProps } from './BaseUserProfile';
21
21
  * Props for the UserProfile component.
22
22
  * Extends BaseUserProfileProps but makes the user prop optional since it will be obtained from useAsgardeo
23
23
  */
24
- export type UserProfileProps = Omit<BaseUserProfileProps, 'user'>;
24
+ export type UserProfileProps = Omit<BaseUserProfileProps, 'user' | 'profile' | 'flattenedProfile' | 'schemas'>;
25
25
  /**
26
26
  * UserProfile component displays the authenticated user's profile information in a
27
27
  * structured and styled format. It shows user details such as display name, email,
@@ -17,26 +17,39 @@
17
17
  */
18
18
  import { FC } from 'react';
19
19
  export interface AvatarProps {
20
- /**
21
- * The URL of the avatar image
22
- */
23
- imageUrl?: string;
24
20
  /**
25
21
  * Alternative text for the avatar image
26
22
  */
27
23
  alt?: string;
28
24
  /**
29
- * The size of the avatar in pixels
25
+ * Background generation strategy
26
+ * - 'random': Generate background color based on ASCII values of the name
27
+ * - 'none': Use default theme background
28
+ * - string: Use custom background color
29
+ * @default 'random'
30
30
  */
31
- size?: number;
31
+ background?: 'random' | 'none' | string;
32
+ /**
33
+ * Optional className for the avatar
34
+ */
35
+ className?: string;
36
+ /**
37
+ * The URL of the avatar image
38
+ */
39
+ imageUrl?: string;
32
40
  /**
33
41
  * The name to use for generating initials when no image is provided
34
42
  */
35
43
  name?: string;
36
44
  /**
37
- * Optional className for the avatar
45
+ * The size of the avatar in pixels
38
46
  */
39
- className?: string;
47
+ size?: number;
48
+ /**
49
+ * The variant of the avatar shape
50
+ * @default 'circular'
51
+ */
52
+ variant?: 'circular' | 'square';
40
53
  }
41
54
  export declare const Avatar: FC<AvatarProps>;
42
55
  export default Avatar;
@@ -1,6 +1,5 @@
1
1
  /**
2
- * Copyright (import {CSSProperties, HTMLAttributes, forwardRef, useMemo, ReactNode, ForwardRefExoticComponent, Ref} from 'react';
3
- import useTheme from '../../../theme/useTheme'; 2025, WSO2 LLC. (https://www.wso2.com).
2
+ * Copyright (c) {{year}}, WSO2 LLC. (https://www.wso2.com).
4
3
  *
5
4
  * WSO2 LLC. licenses this file to you under the Apache License,
6
5
  * Version 2.0 (the "License"); you may not use this file except
@@ -20,17 +19,17 @@ import { HTMLAttributes, ReactNode, ForwardRefExoticComponent, RefAttributes } f
20
19
  export type CardVariant = 'default' | 'outlined' | 'elevated';
21
20
  export interface CardProps extends HTMLAttributes<HTMLDivElement> {
22
21
  /**
23
- * The visual variant of the card
22
+ * Card content
24
23
  */
25
- variant?: CardVariant;
24
+ children?: ReactNode;
26
25
  /**
27
26
  * Whether the card should be clickable (shows hover effects)
28
27
  */
29
28
  clickable?: boolean;
30
29
  /**
31
- * Card content
30
+ * The visual variant of the card
32
31
  */
33
- children?: ReactNode;
32
+ variant?: CardVariant;
34
33
  }
35
34
  export interface CardHeaderProps extends HTMLAttributes<HTMLDivElement> {
36
35
  /**
@@ -121,12 +120,12 @@ declare const CardContent: ForwardRefExoticComponent<CardContentProps & RefAttri
121
120
  */
122
121
  declare const CardFooter: ForwardRefExoticComponent<CardFooterProps & RefAttributes<HTMLDivElement>>;
123
122
  export interface CardComponent extends ForwardRefExoticComponent<CardProps & RefAttributes<HTMLDivElement>> {
124
- Header: typeof CardHeader;
125
- Title: typeof CardTitle;
126
- Description: typeof CardDescription;
127
123
  Action: typeof CardAction;
128
124
  Content: typeof CardContent;
125
+ Description: typeof CardDescription;
129
126
  Footer: typeof CardFooter;
127
+ Header: typeof CardHeader;
128
+ Title: typeof CardTitle;
130
129
  }
131
130
  declare const _default: CardComponent;
132
131
  export default _default;
@@ -19,14 +19,6 @@ import { FC, HTMLAttributes } from 'react';
19
19
  export type DividerOrientation = 'horizontal' | 'vertical';
20
20
  export type DividerVariant = 'solid' | 'dashed' | 'dotted';
21
21
  export interface DividerProps extends HTMLAttributes<HTMLDivElement> {
22
- /**
23
- * The orientation of the divider
24
- */
25
- orientation?: DividerOrientation;
26
- /**
27
- * The variant style of the divider
28
- */
29
- variant?: DividerVariant;
30
22
  /**
31
23
  * Text to display in the center of the divider
32
24
  */
@@ -35,6 +27,14 @@ export interface DividerProps extends HTMLAttributes<HTMLDivElement> {
35
27
  * Custom color for the divider
36
28
  */
37
29
  color?: string;
30
+ /**
31
+ * The orientation of the divider
32
+ */
33
+ orientation?: DividerOrientation;
34
+ /**
35
+ * The variant style of the divider
36
+ */
37
+ variant?: DividerVariant;
38
38
  }
39
39
  /**
40
40
  * Divider component for separating content sections.
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
3
+ *
4
+ * WSO2 LLC. licenses this file to you under the Apache License,
5
+ * Version 2.0 (the "License"); you may not use this file except
6
+ * in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import { FC } from 'react';
19
+ export interface BuildingProps {
20
+ /**
21
+ * Color of the icon.
22
+ */
23
+ color?: string;
24
+ /**
25
+ * Height of the icon.
26
+ */
27
+ height?: number | string;
28
+ /**
29
+ * Width of the icon.
30
+ */
31
+ width?: number | string;
32
+ }
33
+ /**
34
+ * Building Icon component.
35
+ *
36
+ * @param props - Props injected to the component.
37
+ * @returns Building Icon component.
38
+ */
39
+ declare const Building: FC<BuildingProps>;
40
+ export default Building;
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
3
+ *
4
+ * WSO2 LLC. licenses this file to you under the Apache License,
5
+ * Version 2.0 (the "License"); you may not use this file except
6
+ * in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import { FC } from 'react';
19
+ export interface BuildingAltProps {
20
+ /**
21
+ * Color of the icon.
22
+ */
23
+ color?: string;
24
+ /**
25
+ * Height of the icon.
26
+ */
27
+ height?: number | string;
28
+ /**
29
+ * Width of the icon.
30
+ */
31
+ width?: number | string;
32
+ }
33
+ /**
34
+ * Alternative Building Icon component.
35
+ *
36
+ * @param props - Props injected to the component.
37
+ * @returns Alternative Building Icon component.
38
+ */
39
+ declare const BuildingAlt: FC<BuildingAltProps>;
40
+ export default BuildingAlt;
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
3
+ *
4
+ * WSO2 LLC. licenses this file to you under the Apache License,
5
+ * Version 2.0 (the "License"); you may not use this file except
6
+ * in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import { FC } from 'react';
19
+ export interface CheckProps {
20
+ /**
21
+ * Color of the icon.
22
+ */
23
+ color?: string;
24
+ /**
25
+ * Height of the icon.
26
+ */
27
+ height?: number | string;
28
+ /**
29
+ * Width of the icon.
30
+ */
31
+ width?: number | string;
32
+ }
33
+ /**
34
+ * Check Icon component.
35
+ *
36
+ * @param props - Props injected to the component.
37
+ * @returns Check Icon component.
38
+ */
39
+ declare const Check: FC<CheckProps>;
40
+ export default Check;
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
3
+ *
4
+ * WSO2 LLC. licenses this file to you under the Apache License,
5
+ * Version 2.0 (the "License"); you may not use this file except
6
+ * in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import { FC } from 'react';
19
+ export interface ChevronDownProps {
20
+ /**
21
+ * Color of the icon.
22
+ */
23
+ color?: string;
24
+ /**
25
+ * Height of the icon.
26
+ */
27
+ height?: number | string;
28
+ /**
29
+ * Width of the icon.
30
+ */
31
+ width?: number | string;
32
+ }
33
+ /**
34
+ * ChevronDown Icon component.
35
+ *
36
+ * @param props - Props injected to the component.
37
+ * @returns ChevronDown Icon component.
38
+ */
39
+ declare const ChevronDown: FC<ChevronDownProps>;
40
+ export default ChevronDown;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
3
+ *
4
+ * WSO2 LLC. licenses this file to you under the Apache License,
5
+ * Version 2.0 (the "License"); you may not use this file except
6
+ * in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import { FC, SVGProps } from 'react';
19
+ /**
20
+ * LogOut icon component.
21
+ */
22
+ declare const LogOut: FC<SVGProps<SVGSVGElement>>;
23
+ export default LogOut;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
3
+ *
4
+ * WSO2 LLC. licenses this file to you under the Apache License,
5
+ * Version 2.0 (the "License"); you may not use this file except
6
+ * in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import { FC, SVGProps } from 'react';
19
+ /**
20
+ * Plus (add) icon component.
21
+ */
22
+ declare const Plus: FC<SVGProps<SVGSVGElement>>;
23
+ export default Plus;
File without changes
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
3
+ *
4
+ * WSO2 LLC. licenses this file to you under the Apache License,
5
+ * Version 2.0 (the "License"); you may not use this file except
6
+ * in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import { FC, SVGProps } from 'react';
19
+ /**
20
+ * User icon component.
21
+ */
22
+ declare const User: FC<SVGProps<SVGSVGElement>>;
23
+ export default User;