@eka-care/abha-stg 0.1.0 → 0.1.2
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.
- package/{index.html → dist/index.html} +2 -1
- package/dist/sdk/abha/css/abha.css +1 -0
- package/dist/sdk/abha/js/abha.js +63 -0
- package/package.json +1 -1
- package/.eslintignore +0 -3
- package/.eslintrc +0 -29
- package/.prettierrc +0 -7
- package/.turbo/daemon/da13e0828a6aedf8-turbo.log.2025-10-30 +0 -0
- package/package/styles/pds2/border.ts +0 -69
- package/package/styles/pds2/colors.ts +0 -70
- package/package/styles/pds2/spacing.ts +0 -1007
- package/package/tailwind/tailwind.config.ts +0 -124
- package/postcss.config.js +0 -6
- package/scripts/build-purged-css.cjs +0 -70
- package/src/App.css +0 -0
- package/src/App.tsx +0 -43
- package/src/api-queries/aorta-go/v3/get-profile-patient.ts +0 -32
- package/src/api-queries/aorta-go/v3/get-profiles-phr-user.ts +0 -26
- package/src/api-queries/aorta-go/v3/post-auth-init-v2.ts +0 -34
- package/src/api-queries/aorta-go/v3/post-auth-logout-v2.ts +0 -32
- package/src/api-queries/aorta-go/v3/post-auth-verify-v2.ts +0 -38
- package/src/api-queries/aorta-go/v3/post-profile-switch.ts +0 -39
- package/src/api-queries/ndhm/get-abdm-register-suggest.ts +0 -37
- package/src/api-queries/ndhm/get-pincode-details.ts +0 -28
- package/src/api-queries/ndhm/post-abdm-login-init.ts +0 -37
- package/src/api-queries/ndhm/post-abdm-login-phr.ts +0 -37
- package/src/api-queries/ndhm/post-abdm-login-verify.ts +0 -37
- package/src/api-queries/ndhm/post-abdm-profile-eka-link-phr.ts +0 -40
- package/src/api-queries/ndhm/post-abdm-profile-eka.ts +0 -66
- package/src/api-queries/ndhm/post-abdm-register-abha-number-create-phr.ts +0 -37
- package/src/api-queries/ndhm/post-abdm-register-mobile-create-phr.ts +0 -66
- package/src/api-queries/ndhm/post-abdm-register-mobile-resend-otp.ts +0 -32
- package/src/api-queries/ndhm/post-abdm-register-mobile-verify.ts +0 -38
- package/src/api-queries/ndhm/post-abdm-register-phr-check.ts +0 -34
- package/src/api-queries/ndhm/post-register-aadhaar-create-phr.ts +0 -37
- package/src/api-queries/ndhm/post-register-aadhaar-init.ts +0 -34
- package/src/api-queries/ndhm/post-register-aadhaar-mobile-resend-otp.ts +0 -34
- package/src/api-queries/ndhm/post-register-aadhaar-mobile-verify.ts +0 -37
- package/src/api-queries/ndhm/post-register-aadhaar-resend-otp.ts +0 -34
- package/src/api-queries/ndhm/post-register-aadhaar-verify.ts +0 -40
- package/src/api-queries/ndhm/post-register-mobile-init.ts +0 -34
- package/src/api-queries/use-get-profiles-patient.ts +0 -12
- package/src/api-queries/use-get-profiles-phr-user.ts +0 -28
- package/src/api-queries/use-post-abdm-login-verify-v1.ts +0 -26
- package/src/api-queries/use-post-auth-verify-v2.ts +0 -50
- package/src/api-queries/use-post-profile-switch.ts +0 -58
- package/src/api-queries/use-post-register-mobile-create-phr.ts +0 -39
- package/src/api-queries/user-post-abdm-profile-login-phr.ts +0 -26
- package/src/assets/Success.json +0 -1
- package/src/assets/react.svg +0 -1
- package/src/atoms/button/custom-button.tsx +0 -32
- package/src/atoms/button/index.tsx +0 -40
- package/src/atoms/button/types.d.ts +0 -31
- package/src/atoms/header.tsx +0 -25
- package/src/atoms/input-field/index.tsx +0 -63
- package/src/atoms/input-field/patient-input-field.tsx +0 -16
- package/src/atoms/input-field/types.ts +0 -24
- package/src/atoms/pds2-otp-input/index.tsx +0 -35
- package/src/atoms/pds2-otp-input/types.d.ts +0 -3
- package/src/atoms/single-input-chip/index.tsx +0 -32
- package/src/atoms/single-input-chip/types.ts +0 -6
- package/src/atoms/spinner.tsx +0 -33
- package/src/atoms/text-separator.tsx +0 -11
- package/src/atoms/ui/spinner.tsx +0 -75
- package/src/constants/constants.ts +0 -376
- package/src/fetch-client/index.ts +0 -164
- package/src/index.css +0 -152
- package/src/main.tsx +0 -374
- package/src/molecules/abha/bottom-sheet/bottom-sheet-wrapper.tsx +0 -40
- package/src/molecules/abha/bottom-sheet/index.tsx +0 -66
- package/src/molecules/abha/spaced-input-component.tsx +0 -168
- package/src/molecules/copyright-year.tsx +0 -16
- package/src/molecules/exit-popup/index.tsx +0 -101
- package/src/molecules/pds2-otp-component/index.tsx +0 -147
- package/src/organisms/abha/abha-header.tsx +0 -25
- package/src/organisms/abha/abha-stepper.tsx +0 -83
- package/src/organisms/abha/error-bottom-sheet.tsx +0 -27
- package/src/organisms/abha/otp-card.tsx +0 -99
- package/src/organisms/abha/verification-status.tsx +0 -30
- package/src/organisms/choose-language/choose-language.tsx +0 -53
- package/src/organisms/choose-language/types.ts +0 -10
- package/src/organisms/screen-switcher/screen-switcher.tsx +0 -80
- package/src/routes/abha-aadhaar-verification-status-screen.tsx +0 -246
- package/src/routes/abha-created-screen.tsx +0 -45
- package/src/routes/abha-login-otp-verify-screen.tsx +0 -519
- package/src/routes/abha-mobile-linking-status-screen.tsx +0 -267
- package/src/routes/abha-otp-and-mobile-screen.tsx +0 -435
- package/src/routes/abha-phone-number-verification-screen.tsx +0 -388
- package/src/routes/create-abha-address-screen.tsx +0 -928
- package/src/routes/create-abha-with-aadhaar-screen.tsx +0 -986
- package/src/routes/create-eka-profile-screen.tsx +0 -831
- package/src/routes/get-all-profiles-screen.tsx +0 -161
- package/src/routes/login-or-create-abha-address-screen.tsx +0 -1056
- package/src/routes/login-with-abha-screen.tsx +0 -454
- package/src/routes/select-abha-from-list-screen.tsx +0 -792
- package/src/routes/select-eka-profile-screen.tsx +0 -446
- package/src/routes/utils/trackAbhaEvent.ts +0 -41
- package/src/stores/auth-abha-store/index.ts +0 -152
- package/src/stores/auth-abha-store/types.ts +0 -217
- package/src/utils/mock-auth-response.ts +0 -29
- package/src/utils/send-event-utils.ts +0 -76
- package/src/utils/validations.ts +0 -89
- package/src/vite-env.d.ts +0 -1
- package/tailwind.config.ts +0 -9
- package/tsconfig.json +0 -25
- package/tsconfig.node.json +0 -10
- package/tsconfig.node.tsbuildinfo +0 -1
- package/tsconfig.tsbuildinfo +0 -1
- package/vite.config.d.ts +0 -2
- package/vite.config.js +0 -45
- package/vite.config.ts +0 -50
- /package/{public → dist}/images/adhaar.webp +0 -0
- /package/{public → dist}/images/at-the-rate.webp +0 -0
- /package/{public → dist}/images/avatar.webp +0 -0
- /package/{public → dist}/images/ayushman-bharat.webp +0 -0
- /package/{public → dist}/images/circle-checkmark.webp +0 -0
- /package/{public → dist}/images/link-abha.webp +0 -0
- /package/{public → dist}/images/national-authority.webp +0 -0
- /package/{public → dist}/images/three-dots.webp +0 -0
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { useMutation } from '@tanstack/react-query';
|
|
2
|
-
|
|
3
|
-
import { onAbhaSuccess, unMount } from '../main';
|
|
4
|
-
import { TAuthVerifyV2Response } from '../constants/constants';
|
|
5
|
-
import postProfileSwitch from './aorta-go/v3/post-profile-switch';
|
|
6
|
-
|
|
7
|
-
const usePostProfileSwitch = () => {
|
|
8
|
-
return useMutation({
|
|
9
|
-
mutationFn: ({ oid, token }: { oid: string; token?: string }) => {
|
|
10
|
-
return postProfileSwitch({
|
|
11
|
-
oid,
|
|
12
|
-
});
|
|
13
|
-
},
|
|
14
|
-
onSuccess: (profileSwitchResponse) => {
|
|
15
|
-
if (profileSwitchResponse) {
|
|
16
|
-
const {
|
|
17
|
-
skip_state,
|
|
18
|
-
method,
|
|
19
|
-
sess,
|
|
20
|
-
refresh,
|
|
21
|
-
profile,
|
|
22
|
-
txn_id,
|
|
23
|
-
error: profileSwitchError,
|
|
24
|
-
} = profileSwitchResponse;
|
|
25
|
-
|
|
26
|
-
const updatedProfileSwitchResponse: TAuthVerifyV2Response = {
|
|
27
|
-
skip_state: skip_state,
|
|
28
|
-
method: method,
|
|
29
|
-
data: {
|
|
30
|
-
tokens: {
|
|
31
|
-
sess: sess,
|
|
32
|
-
refresh: refresh,
|
|
33
|
-
},
|
|
34
|
-
profile: profile,
|
|
35
|
-
},
|
|
36
|
-
txn_id: txn_id,
|
|
37
|
-
...(profileSwitchError
|
|
38
|
-
? {
|
|
39
|
-
error: {
|
|
40
|
-
code: profileSwitchError.code,
|
|
41
|
-
message: profileSwitchError.message,
|
|
42
|
-
},
|
|
43
|
-
}
|
|
44
|
-
: null),
|
|
45
|
-
};
|
|
46
|
-
if (window.EkaAbha && window.EkaAbha.onAbhaSuccess) {
|
|
47
|
-
window.EkaAbha?.onAbhaSuccess(JSON.stringify({ response: updatedProfileSwitchResponse }));
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
50
|
-
onAbhaSuccess({ response: updatedProfileSwitchResponse });
|
|
51
|
-
unMount();
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
});
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
export default usePostProfileSwitch;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { useMutation } from '@tanstack/react-query';
|
|
2
|
-
import { queryClient } from '../App';
|
|
3
|
-
import useAuthAbhaStore from '../stores/auth-abha-store';
|
|
4
|
-
import postAbdmRegisterMobileCreatePhr from './ndhm/post-abdm-register-mobile-create-phr';
|
|
5
|
-
|
|
6
|
-
type TReqBody = {
|
|
7
|
-
abha_address: string;
|
|
8
|
-
address?: string;
|
|
9
|
-
day_of_birth: number;
|
|
10
|
-
first_name: string;
|
|
11
|
-
gender: string;
|
|
12
|
-
last_name: string;
|
|
13
|
-
month_of_birth: number;
|
|
14
|
-
pincode: string;
|
|
15
|
-
year_of_birth: number;
|
|
16
|
-
middle_name?: string;
|
|
17
|
-
txn_id: string;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export type TCachedQueryPhrResponse = TReqBody;
|
|
21
|
-
|
|
22
|
-
const usePostRegisterMobileCreatePhr = () => {
|
|
23
|
-
const setSelectedAbhaAddress = useAuthAbhaStore((state) => state.setSelectedAbhaAddress);
|
|
24
|
-
|
|
25
|
-
return useMutation({
|
|
26
|
-
mutationFn: (reqBody: TReqBody) => {
|
|
27
|
-
return postAbdmRegisterMobileCreatePhr(reqBody);
|
|
28
|
-
},
|
|
29
|
-
onSuccess(createPhrResponse) {
|
|
30
|
-
if (createPhrResponse.profile) {
|
|
31
|
-
queryClient.setQueryData(['abdmProfilePhrResponse'], createPhrResponse.profile);
|
|
32
|
-
setSelectedAbhaAddress(createPhrResponse.profile.abha_address);
|
|
33
|
-
}
|
|
34
|
-
return;
|
|
35
|
-
},
|
|
36
|
-
});
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
export default usePostRegisterMobileCreatePhr;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { useMutation } from '@tanstack/react-query';
|
|
2
|
-
|
|
3
|
-
import { queryClient } from '../App';
|
|
4
|
-
import useAuthAbhaStore from '../stores/auth-abha-store';
|
|
5
|
-
import postAbdmProfileLoginPhr from './ndhm/post-abdm-login-phr';
|
|
6
|
-
|
|
7
|
-
const usePostAbdmProfileLoginPhr = () => {
|
|
8
|
-
const setSelectedAbhaAddress = useAuthAbhaStore((state) => state.setSelectedAbhaAddress);
|
|
9
|
-
return useMutation({
|
|
10
|
-
mutationFn: ({ txn_id, phr_address }: { txn_id: string; phr_address: string }) => {
|
|
11
|
-
return postAbdmProfileLoginPhr({
|
|
12
|
-
txn_id,
|
|
13
|
-
phr_address,
|
|
14
|
-
});
|
|
15
|
-
},
|
|
16
|
-
onSuccess(profileLoginPhrResponse) {
|
|
17
|
-
if (profileLoginPhrResponse.profile) {
|
|
18
|
-
queryClient.setQueryData(['abdmProfilePhrResponse'], profileLoginPhrResponse.profile);
|
|
19
|
-
setSelectedAbhaAddress(profileLoginPhrResponse.profile.abha_address);
|
|
20
|
-
}
|
|
21
|
-
return;
|
|
22
|
-
},
|
|
23
|
-
});
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
export default usePostAbdmProfileLoginPhr;
|
package/src/assets/Success.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"v":"5.9.6","fr":60,"ip":0,"op":106,"w":1080,"h":1080,"nm":"Check Mark 01","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Tick","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":-45,"ix":10},"p":{"a":0,"k":[50.412,45.412,0],"ix":2,"l":2},"a":{"a":0,"k":[-0.5,18,0],"ix":1,"l":2},"s":{"a":0,"k":[76.923,76.923,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-50,-2.455],[-50,43],[49,43]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":22,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,-2.308],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[110,110],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.2],"y":[1]},"o":{"x":[0.167],"y":[0.167]},"t":41,"s":[0]},{"t":56,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":181,"st":0,"ct":1,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Burst","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[539.521,540.438,0],"ix":2,"l":2},"a":{"a":0,"k":[539.958,540.438,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"gr","it":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1,0.5],[322,1]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.203921568627,0.698039215686,0.2,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":10,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-3.375,-5.5],"ix":2},"a":{"a":0,"k":[1,0.75],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":270,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Line4","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1,0.5],[322,1]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.203921568627,0.698039215686,0.2,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":10,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-4,7.625],"ix":2},"a":{"a":0,"k":[1,0.75],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":-270,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Line3","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1,0.5],[322,1]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.203921568627,0.698039215686,0.2,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":10,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-7.625,0.125],"ix":2},"a":{"a":0,"k":[1,0.75],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":180,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Line2","np":2,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1,0.5],[322,1]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.203921568627,0.698039215686,0.2,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":10,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[1,0.75],"ix":2},"a":{"a":0,"k":[1,0.75],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Line1","np":2,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.3],"y":[1]},"o":{"x":[0.207],"y":[0.133]},"t":31,"s":[0]},{"t":58,"s":[100]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.3],"y":[1]},"o":{"x":[0.202],"y":[0.137]},"t":26,"s":[0]},{"t":58,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":5,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false},{"ty":"tr","p":{"a":0,"k":[544.75,540.125],"ix":2},"a":{"a":0,"k":[1,0.75],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Lines","np":5,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tr","p":{"a":0,"k":[541.012,539.718],"ix":2},"a":{"a":0,"k":[541.012,539.718],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":65,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Line Burst 4","np":1,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"gr","it":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1,0.5],[322,1]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.203921568627,0.698039215686,0.2,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":10,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-3.375,-5.5],"ix":2},"a":{"a":0,"k":[1,0.75],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":270,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Line4","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1,0.5],[322,1]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.203921568627,0.698039215686,0.2,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":10,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-4,7.625],"ix":2},"a":{"a":0,"k":[1,0.75],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":-270,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Line3","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1,0.5],[322,1]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.203921568627,0.698039215686,0.2,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":10,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-7.625,0.125],"ix":2},"a":{"a":0,"k":[1,0.75],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":180,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Line2","np":2,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1,0.5],[322,1]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.203921568627,0.698039215686,0.2,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":10,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[1,0.75],"ix":2},"a":{"a":0,"k":[1,0.75],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Line1","np":2,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.3],"y":[1]},"o":{"x":[0.207],"y":[0.133]},"t":31,"s":[0]},{"t":58,"s":[100]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.3],"y":[1]},"o":{"x":[0.202],"y":[0.137]},"t":26,"s":[0]},{"t":58,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":5,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false},{"ty":"tr","p":{"a":0,"k":[544.75,540.125],"ix":2},"a":{"a":0,"k":[1,0.75],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Lines","np":5,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tr","p":{"a":0,"k":[541.012,539.718],"ix":2},"a":{"a":0,"k":[541.012,539.718],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":20,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Line Burst 3","np":1,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"gr","it":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1,0.5],[322,1]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.203921568627,0.698039215686,0.2,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":10,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-3.375,-5.5],"ix":2},"a":{"a":0,"k":[1,0.75],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":270,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Line4","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1,0.5],[322,1]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.203921568627,0.698039215686,0.2,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":10,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-4,7.625],"ix":2},"a":{"a":0,"k":[1,0.75],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":-270,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Line3","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1,0.5],[322,1]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.203921568627,0.698039215686,0.2,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":10,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-7.625,0.125],"ix":2},"a":{"a":0,"k":[1,0.75],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":180,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Line2","np":2,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1,0.5],[322,1]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.203921568627,0.698039215686,0.2,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":10,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[1,0.75],"ix":2},"a":{"a":0,"k":[1,0.75],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Line1","np":2,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.3],"y":[1]},"o":{"x":[0.207],"y":[0.133]},"t":31,"s":[0]},{"t":58,"s":[100]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.3],"y":[1]},"o":{"x":[0.202],"y":[0.137]},"t":26,"s":[0]},{"t":58,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":5,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false},{"ty":"tr","p":{"a":0,"k":[544.75,540.125],"ix":2},"a":{"a":0,"k":[1,0.75],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Lines","np":5,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tr","p":{"a":0,"k":[541.012,539.718],"ix":2},"a":{"a":0,"k":[541.012,539.718],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":45,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Line Burst 2","np":1,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"gr","it":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1,0.5],[322,1]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.203921568627,0.698039215686,0.2,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":10,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-3.375,-5.5],"ix":2},"a":{"a":0,"k":[1,0.75],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":270,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Line4","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1,0.5],[322,1]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.203921568627,0.698039215686,0.2,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":10,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-4,7.625],"ix":2},"a":{"a":0,"k":[1,0.75],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":-270,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Line3","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1,0.5],[322,1]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.203921568627,0.698039215686,0.2,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":10,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-7.625,0.125],"ix":2},"a":{"a":0,"k":[1,0.75],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":180,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Line2","np":2,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1,0.5],[322,1]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.203921568627,0.698039215686,0.2,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":10,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[1,0.75],"ix":2},"a":{"a":0,"k":[1,0.75],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Line1","np":2,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.3],"y":[1]},"o":{"x":[0.207],"y":[0.133]},"t":31,"s":[0]},{"t":58,"s":[100]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.3],"y":[1]},"o":{"x":[0.202],"y":[0.137]},"t":26,"s":[0]},{"t":58,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":5,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false},{"ty":"tr","p":{"a":0,"k":[544.75,540.125],"ix":2},"a":{"a":0,"k":[1,0.75],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Lines","np":5,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tr","p":{"a":0,"k":[541.012,539.718],"ix":2},"a":{"a":0,"k":[541.012,539.718],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Line Burst","np":1,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false}],"ip":39,"op":448,"st":32,"ct":1,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Circle 2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[540,540,0],"ix":2,"l":2},"a":{"a":0,"k":[12,-8,0],"ix":1,"l":2},"s":{"a":1,"k":[{"i":{"x":[0.2,0.2,0.2],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0]},"t":36,"s":[0,0,100]},{"t":62,"s":[120,120,100]}],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[424,424],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[0.203921568627,0.698039215686,0.2,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":1,"k":[{"i":{"x":[0.2],"y":[1]},"o":{"x":[0.167],"y":[0.167]},"t":36,"s":[200]},{"t":57,"s":[0]}],"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[12,-8],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":36,"op":159,"st":-22,"ct":1,"bm":0},{"ddd":0,"ind":4,"ty":3,"nm":"Controller - 1","sr":1,"ks":{"o":{"a":0,"k":0,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[540,526,0],"ix":2,"l":2},"a":{"a":0,"k":[50,50,0],"ix":1,"l":2},"s":{"a":1,"k":[{"i":{"x":[0.48,0.48,0.2],"y":[1,1,1]},"o":{"x":[0.8,0.8,0.8],"y":[0,0,0]},"t":30,"s":[130,130,100]},{"i":{"x":[0.254,0.254,0.667],"y":[1,1,1]},"o":{"x":[0.166,0.166,0.333],"y":[0,0,0]},"t":37.5,"s":[111.8,111.8,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.6,0.6,0.333],"y":[0,0,0]},"t":52.5,"s":[140.4,140.4,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":61,"s":[124.8,124.8,100]},{"i":{"x":[0.398,0.398,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":69.5,"s":[135.2,135.2,100]},{"t":78,"s":[130,130,100]}],"ix":6,"l":2}},"ao":0,"ip":-30,"op":151,"st":-30,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"Circle_Fill","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[50,60.769,0],"ix":2,"l":2},"a":{"a":0,"k":[93,57,0],"ix":1,"l":2},"s":{"a":1,"k":[{"i":{"x":[0,0,0.2],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0]},"t":38,"s":[0,0,100]},{"t":53,"s":[76.923,76.923,100]}],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[350,350],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.203921568627,0.698039215686,0.2,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[93,57],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[90,90],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":38,"op":418,"st":-2,"ct":1,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"Circle_Outline","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[50,60.769,0],"ix":2,"l":2},"a":{"a":0,"k":[93,57,0],"ix":1,"l":2},"s":{"a":0,"k":[76.923,76.923,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[350,350],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[0.203921583587,0.698039215686,0.20000001496,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":12,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[93,57],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.2],"y":[1]},"o":{"x":[0.167],"y":[0.167]},"t":9,"s":[0]},{"t":33,"s":[100]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.2],"y":[1]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[0]},{"t":33,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":38,"st":-2,"ct":1,"bm":0}],"markers":[]}
|
package/src/assets/react.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="35.93" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 228"><path fill="#00D8FF" d="M210.483 73.824a171.49 171.49 0 0 0-8.24-2.597c.465-1.9.893-3.777 1.273-5.621c6.238-30.281 2.16-54.676-11.769-62.708c-13.355-7.7-35.196.329-57.254 19.526a171.23 171.23 0 0 0-6.375 5.848a155.866 155.866 0 0 0-4.241-3.917C100.759 3.829 77.587-4.822 63.673 3.233C50.33 10.957 46.379 33.89 51.995 62.588a170.974 170.974 0 0 0 1.892 8.48c-3.28.932-6.445 1.924-9.474 2.98C17.309 83.498 0 98.307 0 113.668c0 15.865 18.582 31.778 46.812 41.427a145.52 145.52 0 0 0 6.921 2.165a167.467 167.467 0 0 0-2.01 9.138c-5.354 28.2-1.173 50.591 12.134 58.266c13.744 7.926 36.812-.22 59.273-19.855a145.567 145.567 0 0 0 5.342-4.923a168.064 168.064 0 0 0 6.92 6.314c21.758 18.722 43.246 26.282 56.54 18.586c13.731-7.949 18.194-32.003 12.4-61.268a145.016 145.016 0 0 0-1.535-6.842c1.62-.48 3.21-.974 4.76-1.488c29.348-9.723 48.443-25.443 48.443-41.52c0-15.417-17.868-30.326-45.517-39.844Zm-6.365 70.984c-1.4.463-2.836.91-4.3 1.345c-3.24-10.257-7.612-21.163-12.963-32.432c5.106-11 9.31-21.767 12.459-31.957c2.619.758 5.16 1.557 7.61 2.4c23.69 8.156 38.14 20.213 38.14 29.504c0 9.896-15.606 22.743-40.946 31.14Zm-10.514 20.834c2.562 12.94 2.927 24.64 1.23 33.787c-1.524 8.219-4.59 13.698-8.382 15.893c-8.067 4.67-25.32-1.4-43.927-17.412a156.726 156.726 0 0 1-6.437-5.87c7.214-7.889 14.423-17.06 21.459-27.246c12.376-1.098 24.068-2.894 34.671-5.345a134.17 134.17 0 0 1 1.386 6.193ZM87.276 214.515c-7.882 2.783-14.16 2.863-17.955.675c-8.075-4.657-11.432-22.636-6.853-46.752a156.923 156.923 0 0 1 1.869-8.499c10.486 2.32 22.093 3.988 34.498 4.994c7.084 9.967 14.501 19.128 21.976 27.15a134.668 134.668 0 0 1-4.877 4.492c-9.933 8.682-19.886 14.842-28.658 17.94ZM50.35 144.747c-12.483-4.267-22.792-9.812-29.858-15.863c-6.35-5.437-9.555-10.836-9.555-15.216c0-9.322 13.897-21.212 37.076-29.293c2.813-.98 5.757-1.905 8.812-2.773c3.204 10.42 7.406 21.315 12.477 32.332c-5.137 11.18-9.399 22.249-12.634 32.792a134.718 134.718 0 0 1-6.318-1.979Zm12.378-84.26c-4.811-24.587-1.616-43.134 6.425-47.789c8.564-4.958 27.502 2.111 47.463 19.835a144.318 144.318 0 0 1 3.841 3.545c-7.438 7.987-14.787 17.08-21.808 26.988c-12.04 1.116-23.565 2.908-34.161 5.309a160.342 160.342 0 0 1-1.76-7.887Zm110.427 27.268a347.8 347.8 0 0 0-7.785-12.803c8.168 1.033 15.994 2.404 23.343 4.08c-2.206 7.072-4.956 14.465-8.193 22.045a381.151 381.151 0 0 0-7.365-13.322Zm-45.032-43.861c5.044 5.465 10.096 11.566 15.065 18.186a322.04 322.04 0 0 0-30.257-.006c4.974-6.559 10.069-12.652 15.192-18.18ZM82.802 87.83a323.167 323.167 0 0 0-7.227 13.238c-3.184-7.553-5.909-14.98-8.134-22.152c7.304-1.634 15.093-2.97 23.209-3.984a321.524 321.524 0 0 0-7.848 12.897Zm8.081 65.352c-8.385-.936-16.291-2.203-23.593-3.793c2.26-7.3 5.045-14.885 8.298-22.6a321.187 321.187 0 0 0 7.257 13.246c2.594 4.48 5.28 8.868 8.038 13.147Zm37.542 31.03c-5.184-5.592-10.354-11.779-15.403-18.433c4.902.192 9.899.29 14.978.29c5.218 0 10.376-.117 15.453-.343c-4.985 6.774-10.018 12.97-15.028 18.486Zm52.198-57.817c3.422 7.8 6.306 15.345 8.596 22.52c-7.422 1.694-15.436 3.058-23.88 4.071a382.417 382.417 0 0 0 7.859-13.026a347.403 347.403 0 0 0 7.425-13.565Zm-16.898 8.101a358.557 358.557 0 0 1-12.281 19.815a329.4 329.4 0 0 1-23.444.823c-7.967 0-15.716-.248-23.178-.732a310.202 310.202 0 0 1-12.513-19.846h.001a307.41 307.41 0 0 1-10.923-20.627a310.278 310.278 0 0 1 10.89-20.637l-.001.001a307.318 307.318 0 0 1 12.413-19.761c7.613-.576 15.42-.876 23.31-.876H128c7.926 0 15.743.303 23.354.883a329.357 329.357 0 0 1 12.335 19.695a358.489 358.489 0 0 1 11.036 20.54a329.472 329.472 0 0 1-11 20.722Zm22.56-122.124c8.572 4.944 11.906 24.881 6.52 51.026c-.344 1.668-.73 3.367-1.15 5.09c-10.622-2.452-22.155-4.275-34.23-5.408c-7.034-10.017-14.323-19.124-21.64-27.008a160.789 160.789 0 0 1 5.888-5.4c18.9-16.447 36.564-22.941 44.612-18.3ZM128 90.808c12.625 0 22.86 10.235 22.86 22.86s-10.235 22.86-22.86 22.86s-22.86-10.235-22.86-22.86s10.235-22.86 22.86-22.86Z"></path></svg>
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
const Pds2CustomButton = ({
|
|
2
|
-
prefixIcon,
|
|
3
|
-
title,
|
|
4
|
-
suffixIcon,
|
|
5
|
-
className = '',
|
|
6
|
-
onClick,
|
|
7
|
-
width = 'pds2-w-full',
|
|
8
|
-
padding,
|
|
9
|
-
isRippleStyle = true,
|
|
10
|
-
}: {
|
|
11
|
-
prefixIcon?: React.ReactNode;
|
|
12
|
-
title: string;
|
|
13
|
-
suffixIcon?: React.ReactNode;
|
|
14
|
-
className?: string;
|
|
15
|
-
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
16
|
-
width?: string;
|
|
17
|
-
padding?: string;
|
|
18
|
-
isRippleStyle?: boolean;
|
|
19
|
-
}) => {
|
|
20
|
-
return (
|
|
21
|
-
<button
|
|
22
|
-
onClick={onClick}
|
|
23
|
-
className={`pds2-flex pds2-flex-row pds2-items-center pds2-gap-12 ${padding || `pds2-p-16`} pds2-rounded-16 pds2-text-bg-invert pds2-bg-bg-white pds2-border pds2-border-border-03 ${isRippleStyle && 'ripple'} ${width} ${className}`}
|
|
24
|
-
>
|
|
25
|
-
{prefixIcon ? prefixIcon : null}
|
|
26
|
-
<span className="Body1Medium">{title}</span>
|
|
27
|
-
{suffixIcon ? suffixIcon : null}
|
|
28
|
-
</button>
|
|
29
|
-
);
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
export default Pds2CustomButton;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import Spinner from '../ui/spinner';
|
|
2
|
-
import { TPds2ButtonProps } from './types';
|
|
3
|
-
const buttonSizeStyles = '';
|
|
4
|
-
const Pds2Button = ({
|
|
5
|
-
title,
|
|
6
|
-
textColor,
|
|
7
|
-
size,
|
|
8
|
-
state,
|
|
9
|
-
buttonColor = '',
|
|
10
|
-
isLoading,
|
|
11
|
-
className,
|
|
12
|
-
onClick,
|
|
13
|
-
width,
|
|
14
|
-
buttonIconPosition = 'right',
|
|
15
|
-
IconComponent,
|
|
16
|
-
}: TPds2ButtonProps) => {
|
|
17
|
-
return (
|
|
18
|
-
<button
|
|
19
|
-
title={title}
|
|
20
|
-
className={`${className} pds2-px-24 pds2-py-16 pds2-text-text-invert ${buttonColor ? buttonColor : 'pds2-bg-bg-brand-01'} pds2-flex pds2-justify-center pds2-items-center pds2-rounded-16 ${isLoading ? 'pds2-pointer-events-none pds2-cursor-not-allowed' : ''
|
|
21
|
-
} disabled:pds2-pointer-events-none disabled:pds2-bg-bg-04 disabled:pds2-text-text-03 ${state === 'disabled' ? '' : 'ripple'}`}
|
|
22
|
-
onClick={onClick}
|
|
23
|
-
{...(width ? { style: { width } } : null)}
|
|
24
|
-
disabled={state === 'disabled'}
|
|
25
|
-
>
|
|
26
|
-
{isLoading ? (
|
|
27
|
-
<Spinner size={24} className={textColor} />
|
|
28
|
-
) : (
|
|
29
|
-
<>
|
|
30
|
-
{IconComponent && buttonIconPosition === 'left' ? <IconComponent /> : null}
|
|
31
|
-
<div className={`${textColor} ${size === 'large' ? 'Body1Semibold' : 'Body1Semibold'}`}>
|
|
32
|
-
{title}
|
|
33
|
-
</div>
|
|
34
|
-
{IconComponent && buttonIconPosition === 'right' ? <IconComponent /> : null}
|
|
35
|
-
</>
|
|
36
|
-
)}
|
|
37
|
-
</button>
|
|
38
|
-
);
|
|
39
|
-
};
|
|
40
|
-
export default Pds2Button;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
type TButtonType = 'filled';
|
|
2
|
-
|
|
3
|
-
export type TButtonState = 'enabled' | 'disabled';
|
|
4
|
-
|
|
5
|
-
type TButtonSize = 'large' | 'small';
|
|
6
|
-
|
|
7
|
-
type TButtonIconPosition = 'left' | 'right';
|
|
8
|
-
|
|
9
|
-
export type TPds2ButtonProps = {
|
|
10
|
-
// core props
|
|
11
|
-
title: string;
|
|
12
|
-
size?: TButtonSize;
|
|
13
|
-
type?: TButtonType;
|
|
14
|
-
|
|
15
|
-
// action props
|
|
16
|
-
onClick: React.MouseEventHandler<HTMLButtonElement>;
|
|
17
|
-
|
|
18
|
-
// styling props
|
|
19
|
-
className?: string;
|
|
20
|
-
textColor?: string;
|
|
21
|
-
buttonColor?: string;
|
|
22
|
-
width?: number;
|
|
23
|
-
|
|
24
|
-
// status props
|
|
25
|
-
state?: TButtonState;
|
|
26
|
-
isLoading?: boolean;
|
|
27
|
-
|
|
28
|
-
// icon props
|
|
29
|
-
buttonIconPosition?: TButtonIconPosition;
|
|
30
|
-
IconComponent?: () => JSX.Element;
|
|
31
|
-
};
|
package/src/atoms/header.tsx
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
const Pds2Header = ({
|
|
2
|
-
prefixIcon,
|
|
3
|
-
title,
|
|
4
|
-
suffixIcon,
|
|
5
|
-
className = '',
|
|
6
|
-
}: {
|
|
7
|
-
prefixIcon?: React.ReactNode;
|
|
8
|
-
title: string;
|
|
9
|
-
suffixIcon?: React.ReactNode;
|
|
10
|
-
className?: string;
|
|
11
|
-
}) => {
|
|
12
|
-
return (
|
|
13
|
-
<div
|
|
14
|
-
className={`pds2-flex pds2-items-center pds2-justify-between pds2-w-full pds2-p-16 pds2-sticky pds2-top-0 pds2-z-50 ${className}`}
|
|
15
|
-
>
|
|
16
|
-
{prefixIcon ? prefixIcon : <div className="pds2-w-24 pds2-h-24" />}
|
|
17
|
-
<div className="pds2-flex-1 Heading4Semibold pds2-text-center pds2-text-text-black">
|
|
18
|
-
{title}
|
|
19
|
-
</div>
|
|
20
|
-
{suffixIcon ? suffixIcon : <div className="pds2-w-24 pds2-h-24" />}
|
|
21
|
-
</div>
|
|
22
|
-
);
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export default Pds2Header;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { InputFieldProps } from './types';
|
|
2
|
-
|
|
3
|
-
const Pds2InputField = ({
|
|
4
|
-
PrefixComponent,
|
|
5
|
-
placeholder,
|
|
6
|
-
value,
|
|
7
|
-
onChange,
|
|
8
|
-
borderStyle = '',
|
|
9
|
-
borderRadius = 'pds2-rounded-16',
|
|
10
|
-
padding = 'pds2-px-24 pds2-py-16',
|
|
11
|
-
textColor = 'pds2-text-text-black',
|
|
12
|
-
textStyle = '',
|
|
13
|
-
onKeyDown = () => {},
|
|
14
|
-
type = 'text',
|
|
15
|
-
label,
|
|
16
|
-
isMandatory,
|
|
17
|
-
maxDate,
|
|
18
|
-
error,
|
|
19
|
-
autoCapitalize = 'off',
|
|
20
|
-
autoCorrect = 'off',
|
|
21
|
-
disabled,
|
|
22
|
-
inputMode,
|
|
23
|
-
autoFocus,
|
|
24
|
-
pattern,
|
|
25
|
-
maxLength,
|
|
26
|
-
}: InputFieldProps) => {
|
|
27
|
-
return (
|
|
28
|
-
<div className="pds2-flex pds2-flex-col pds2-space-y-8 pds2-w-full">
|
|
29
|
-
{label ? (
|
|
30
|
-
<div className="Body3Medium pds2-text-text-04">
|
|
31
|
-
{label}
|
|
32
|
-
{isMandatory ? <span className="pds2-text-text-error Body3Semibold">*</span> : null}
|
|
33
|
-
</div>
|
|
34
|
-
) : null}
|
|
35
|
-
<label
|
|
36
|
-
className={`${padding} ${borderRadius} ${borderStyle} pds2-border ${
|
|
37
|
-
error ? 'pds2-border-text-error pds2-border-2' : 'pds2-border-border-03'
|
|
38
|
-
} pds2-flex pds2-flex-row pds2-items-center pds2-gap-x-8 pds2-w-full pds2-bg-bg-white pds2-text-text-invert`}
|
|
39
|
-
>
|
|
40
|
-
{PrefixComponent ? PrefixComponent : null}
|
|
41
|
-
<input
|
|
42
|
-
className={`${textColor} ${textStyle} pds2-outline-none pds2-w-full pds2-bg-transparent disabled:pds2-text-text-04`}
|
|
43
|
-
placeholder={placeholder || 'Enter Value'}
|
|
44
|
-
value={value}
|
|
45
|
-
onChange={onChange}
|
|
46
|
-
type={type}
|
|
47
|
-
max={type === 'date' && maxDate ? maxDate : undefined}
|
|
48
|
-
onKeyDown={onKeyDown}
|
|
49
|
-
autoCapitalize={autoCapitalize}
|
|
50
|
-
autoCorrect={autoCorrect}
|
|
51
|
-
disabled={disabled}
|
|
52
|
-
inputMode={inputMode}
|
|
53
|
-
autoFocus={autoFocus}
|
|
54
|
-
pattern={pattern}
|
|
55
|
-
maxLength={maxLength}
|
|
56
|
-
required={isMandatory}
|
|
57
|
-
/>
|
|
58
|
-
</label>
|
|
59
|
-
</div>
|
|
60
|
-
);
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
export default Pds2InputField;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import Pds2InputField from '.';
|
|
2
|
-
import { InputFieldProps } from './types';
|
|
3
|
-
|
|
4
|
-
type TPatientPds2InputFieldProps = InputFieldProps;
|
|
5
|
-
|
|
6
|
-
const PatientPds2InputField = (props: TPatientPds2InputFieldProps) => {
|
|
7
|
-
return (
|
|
8
|
-
<Pds2InputField
|
|
9
|
-
{...props}
|
|
10
|
-
textStyle="Body1Medium"
|
|
11
|
-
borderStyle="focus-within:pds2-ring-2 focus-within:pds2-ring-border-brand-01 focus-within:pds2-ring-offset-2"
|
|
12
|
-
/>
|
|
13
|
-
);
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export default PatientPds2InputField;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export type InputFieldProps = {
|
|
2
|
-
borderRadius?: string;
|
|
3
|
-
borderStyle?: string;
|
|
4
|
-
padding?: string;
|
|
5
|
-
textColor?: string;
|
|
6
|
-
textStyle?: string;
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
PrefixComponent?: React.ReactNode;
|
|
9
|
-
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
10
|
-
onKeyDown?: React.KeyboardEventHandler<HTMLInputElement>;
|
|
11
|
-
value: string;
|
|
12
|
-
type?: React.HTMLInputTypeAttribute;
|
|
13
|
-
label?: string;
|
|
14
|
-
isMandatory?: boolean;
|
|
15
|
-
maxDate?: string;
|
|
16
|
-
error?: string;
|
|
17
|
-
autoCapitalize?: string;
|
|
18
|
-
autoCorrect?: string;
|
|
19
|
-
disabled?: boolean;
|
|
20
|
-
inputMode?: 'email' | 'search' | 'tel' | 'text' | 'url' | 'none' | 'numeric' | 'decimal';
|
|
21
|
-
autoFocus?: boolean;
|
|
22
|
-
pattern?: string;
|
|
23
|
-
maxLength?: number;
|
|
24
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { InputHTMLAttributes, useState } from 'react';
|
|
2
|
-
import { TOtpInputProps } from './types';
|
|
3
|
-
|
|
4
|
-
const Pds2OtpInput = ({
|
|
5
|
-
value,
|
|
6
|
-
isError,
|
|
7
|
-
...restProps
|
|
8
|
-
}: InputHTMLAttributes<HTMLInputElement> & TOtpInputProps) => {
|
|
9
|
-
const [isFocused, setIsFocused] = useState(false);
|
|
10
|
-
|
|
11
|
-
return (
|
|
12
|
-
<input
|
|
13
|
-
{...restProps}
|
|
14
|
-
value={value}
|
|
15
|
-
placeholder="."
|
|
16
|
-
onFocus={(e) => {
|
|
17
|
-
setIsFocused(true);
|
|
18
|
-
restProps.onFocus?.(e);
|
|
19
|
-
}}
|
|
20
|
-
onBlur={(e) => {
|
|
21
|
-
setIsFocused(false);
|
|
22
|
-
restProps.onBlur?.(e);
|
|
23
|
-
}}
|
|
24
|
-
className={`pds2-rounded-16 pds2-border-1 pds2-p-16 ${
|
|
25
|
-
isError
|
|
26
|
-
? 'pds2-border-border-error'
|
|
27
|
-
: isFocused
|
|
28
|
-
? 'pds2-border-border-doc'
|
|
29
|
-
: 'pds2-border-border-03'
|
|
30
|
-
} pds2-w-48 pds2-bg-bg-white pds2-text-text-primary pds2-text-center placeholder:pds2-text-text-04 Body1Regular pds2-outline-none`}
|
|
31
|
-
/>
|
|
32
|
-
);
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export default Pds2OtpInput;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { useRef } from 'react';
|
|
2
|
-
import { TSingleInputChipProps } from './types';
|
|
3
|
-
|
|
4
|
-
export default function Pds2SingleInputChip({
|
|
5
|
-
title,
|
|
6
|
-
isDisabled,
|
|
7
|
-
isSelected,
|
|
8
|
-
onSelect,
|
|
9
|
-
}: TSingleInputChipProps) {
|
|
10
|
-
const divRef = useRef<HTMLInputElement>(null);
|
|
11
|
-
return (
|
|
12
|
-
<div
|
|
13
|
-
onClick={!isDisabled ? onSelect : undefined}
|
|
14
|
-
className={`pds2-flex pds2-items-center pds2-cursor-pointer pds2-py-12 pds2-px-16 pds2-border-1 pds2-rounded-12 pds2-bg-bg-white
|
|
15
|
-
${isSelected ? 'pds2-border-border-brand-01' : 'pds2-border-border-03'}
|
|
16
|
-
focus-within:pds2-ring-2 focus-within:pds2-ring-border-brand-01 focus-within:pds2-ring-offset-2
|
|
17
|
-
active:pds2-bg-bg-brand-02 hover:pds2-bg-bg-hover-01
|
|
18
|
-
pds2-transition-colors pds2-duration-200
|
|
19
|
-
`}
|
|
20
|
-
tabIndex={-1}
|
|
21
|
-
ref={divRef}
|
|
22
|
-
>
|
|
23
|
-
<p
|
|
24
|
-
className={`${
|
|
25
|
-
isSelected ? 'pds2-text-text-brand Body2Semibold' : 'pds2-text-text-01 Body2Medium'
|
|
26
|
-
}`}
|
|
27
|
-
>
|
|
28
|
-
{title}
|
|
29
|
-
</p>
|
|
30
|
-
</div>
|
|
31
|
-
);
|
|
32
|
-
}
|
package/src/atoms/spinner.tsx
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
type TSpinner = {
|
|
2
|
-
className?: string;
|
|
3
|
-
size?: number;
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
const Pds2Spinner = ({ className = '', size = 40 }: TSpinner): JSX.Element => {
|
|
7
|
-
return (
|
|
8
|
-
<div className={`pds2-w-fit pds2-flex pds2-justify-center pds2-items-center ${className}`}>
|
|
9
|
-
<svg
|
|
10
|
-
className="pds2-animate-spin"
|
|
11
|
-
id="svg-spinner"
|
|
12
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
13
|
-
width={size}
|
|
14
|
-
height={size}
|
|
15
|
-
viewBox="0 0 48 48"
|
|
16
|
-
fill="currentColor"
|
|
17
|
-
>
|
|
18
|
-
<circle cx="24" cy="4" r="2.5" className="fill-current opacity-100" />
|
|
19
|
-
<circle cx="12.19" cy="7.86" r="2.5" className="fill-current opacity-90" />
|
|
20
|
-
<circle cx="5.02" cy="17.68" r="2.5" className="fill-current opacity-80" />
|
|
21
|
-
<circle cx="5.02" cy="30.32" r="2.5" className="fill-current opacity-70" />
|
|
22
|
-
<circle cx="12.19" cy="40.14" r="2.5" className="fill-current opacity-60" />
|
|
23
|
-
<circle cx="24" cy="44" r="2.5" className="fill-current opacity-50" />
|
|
24
|
-
<circle cx="35.81" cy="40.14" r="2.5" className="fill-current opacity-40" />
|
|
25
|
-
<circle cx="42.98" cy="30.32" r="2.5" className="fill-current opacity-30" />
|
|
26
|
-
<circle cx="42.98" cy="17.68" r="2.5" className="fill-current opacity-20" />
|
|
27
|
-
<circle cx="35.81" cy="7.86" r="2.5" className="fill-current opacity-10" />
|
|
28
|
-
</svg>
|
|
29
|
-
</div>
|
|
30
|
-
);
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
export default Pds2Spinner;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
const TextSeparator = ({ title }: { title: string }) => {
|
|
2
|
-
return (
|
|
3
|
-
<div className="pds2-relative pds2-flex pds2-flex-row pds2-items-center pds2-gap-16">
|
|
4
|
-
<div className="pds2-w-full pds2-h-1 pds2-bg-border-03"></div>
|
|
5
|
-
<div className="pds2-text-text-04 Body2Regular pds2-text-center pds2-min-w-max">{title}</div>
|
|
6
|
-
<div className="pds2-w-full pds2-h-1 pds2-bg-border-03"></div>
|
|
7
|
-
</div>
|
|
8
|
-
);
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export default TextSeparator;
|