-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7229 from brionmario/feat-sign-up-composer
🚧 [WIP][NEW SIGNUP] Improve functionality
- Loading branch information
Showing
47 changed files
with
2,011 additions
and
456 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
features/admin.flow-builder-core.v1/api/use-get-flow-builder-core-actions.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/** | ||
* Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com). | ||
* | ||
* WSO2 LLC. licenses this file to you under the Apache License, | ||
* Version 2.0 (the "License"); you may not use this file except | ||
* in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
import { RequestErrorInterface, RequestResultInterface } from "@wso2is/admin.core.v1/hooks/use-request"; | ||
import actions from "../data/actions.json"; | ||
import { Actions } from "../models/actions"; | ||
|
||
/** | ||
* Hook to get the actions supported by the flow builder. | ||
* | ||
* This function calls the GET method of the following endpoint to get the elements. | ||
* - TODO: Fill this | ||
* For more details, refer to the documentation: | ||
* {@link https://TODO:<fillthis>)} | ||
* | ||
* @returns SWR response object containing the data, error, isLoading, isValidating, mutate. | ||
*/ | ||
const useGetFlowBuilderCoreActions = <Data = Actions, Error = RequestErrorInterface>( | ||
_shouldFetch: boolean = true | ||
): RequestResultInterface<Data, Error> => { | ||
return { | ||
data: (actions as unknown) as Data, | ||
error: null, | ||
isLoading: false, | ||
isValidating: false, | ||
mutate: () => null | ||
}; | ||
}; | ||
|
||
export default useGetFlowBuilderCoreActions; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
...es/admin.flow-builder-core.v1/components/elements/components/adapters/button-adapter.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/** | ||
* Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com). | ||
* | ||
* WSO2 LLC. licenses this file to you under the Apache License, | ||
* Version 2.0 (the "License"); you may not use this file except | ||
* in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
.social-button.oxygen-button { | ||
background: var(--oxygen-palette-common-white); | ||
color: var(--oxygen-palette-common-black); | ||
width: 100%; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
box-shadow: 0 0 1px 0 rgba(0, 0, 0, .12), 0 1px 1px 0 rgba(0, 0, 0, .24); | ||
|
||
&:hover { | ||
color: rgba(0, 0, 0, .8); | ||
} | ||
|
||
.oxygen-sign-in-option-image { | ||
height: 20px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.