@eka-care/abdm-dashboard 0.0.21 → 0.0.23
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/eslint.config.js +23 -0
- package/{dist/index.html → index.html} +1 -2
- package/package.json +1 -1
- package/postcss.config.js +6 -0
- package/src/abdm-dashboard.tsx +18 -0
- package/src/app/store.ts +15 -0
- package/src/appointment-token-pdf/pdf-page1.tsx +324 -0
- package/src/appointment-token-pdf/pdf-page2.tsx +346 -0
- package/src/assets/react.svg +1 -0
- package/src/components/abha-metric.tsx +322 -0
- package/src/components/abha-workflows.tsx +225 -0
- package/src/components/automate-strip.tsx +29 -0
- package/src/components/cards/metric-card.tsx +75 -0
- package/src/components/cards/request-card.tsx +23 -0
- package/src/components/cards/request-cards.tsx +24 -0
- package/src/components/cards/workflow-card.tsx +55 -0
- package/src/components/custom/calendar.tsx +59 -0
- package/src/components/custom/switch.tsx +32 -0
- package/src/components/loader/abdm-dash-loader.tsx +21 -0
- package/src/components/loader/card-loader.tsx +20 -0
- package/src/components/modal/automateTaks-modal.tsx +110 -0
- package/src/components/modal/modal.tsx +67 -0
- package/src/components/modal/select-lang-modal.tsx +38 -0
- package/src/components/notification-header.tsx +11 -0
- package/src/config/runtime-config.ts +3 -0
- package/src/features/api/baseApi.ts +24 -0
- package/src/features/cardApis/cardApi.ts +15 -0
- package/src/features/landingApi/landingApi.ts +20 -0
- package/src/features/slice/landingApiSlice.ts +49 -0
- package/src/features/tasksApis/taskGetApi.ts +12 -0
- package/src/features/tasksApis/taskUpdateApi.ts +15 -0
- package/src/home.tsx +132 -0
- package/src/index.css +297 -0
- package/src/main.tsx +164 -0
- package/src/tailwind-theme-config/pds2/border.ts +69 -0
- package/src/tailwind-theme-config/pds2/colors.ts +88 -0
- package/src/tailwind-theme-config/pds2/spacing.ts +1007 -0
- package/src/types/pagify-sdk.d.ts +17 -0
- package/src/utils/constants.ts +19 -0
- package/src/utils/helpers.ts +32 -0
- package/tailwind.config.ts +131 -0
- package/tsconfig.app.json +28 -0
- package/tsconfig.json +7 -0
- package/tsconfig.node.json +26 -0
- package/vite.config.ts +62 -0
- package/dist/sdk/abdm/css/abdm.css +0 -1
- package/dist/sdk/abdm/js/abdm.js +0 -1890
- /package/{dist → public}/headerImg.png +0 -0
- /package/{dist → public}/iphoneStep2.png +0 -0
- /package/{dist → public}/iphoneStep3.png +0 -0
- /package/{dist → public}/vite.svg +0 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
const pdsColors = {
|
|
2
|
+
text: {
|
|
3
|
+
'disabled':"#9ca3af",
|
|
4
|
+
"01": "#111B31",
|
|
5
|
+
"02": "#39465B",
|
|
6
|
+
"03": "#4B596D",
|
|
7
|
+
"04": "#9EA8B8",
|
|
8
|
+
brand: "#6B5CE0",
|
|
9
|
+
black: "#000000",
|
|
10
|
+
doc: "#215FFF",
|
|
11
|
+
invert: "#FFFFFF",
|
|
12
|
+
primary: "#215FFF",
|
|
13
|
+
"red-primary": "#D74B41",
|
|
14
|
+
"primary-dark": "#143999",
|
|
15
|
+
secondary: "#4C5980",
|
|
16
|
+
success: "#1B7E43",
|
|
17
|
+
white: "#FFFFFF",
|
|
18
|
+
info: "#3B5BFA",
|
|
19
|
+
error: "#BD0F0F",
|
|
20
|
+
"black-20": "#00000033",
|
|
21
|
+
"neutral-600-medium": "#767676",
|
|
22
|
+
"neutral-800-dark": "#484848",
|
|
23
|
+
"neutral-1000-black": "#1A1A1A",
|
|
24
|
+
"primary-500": "#215FFF",
|
|
25
|
+
"color-foreground-on-primary": "#FFFFFF",
|
|
26
|
+
},
|
|
27
|
+
border: {
|
|
28
|
+
"green-light": "#75CAA6",
|
|
29
|
+
neutral: "#0000000D",
|
|
30
|
+
"brand-01": "#6B5CE0",
|
|
31
|
+
"brand-02": "#E4E1FA",
|
|
32
|
+
"03": "#D9DDE3",
|
|
33
|
+
error: "#BD0F0F",
|
|
34
|
+
doc: "#215FFF",
|
|
35
|
+
"blue-100": "#CDD5FE",
|
|
36
|
+
info: "#3B5BFA",
|
|
37
|
+
"neutral-300-strokedark": "#BABABA",
|
|
38
|
+
"neutral-200-strokelight": "#D1D1D1",
|
|
39
|
+
},
|
|
40
|
+
bg: {
|
|
41
|
+
"primary-container":"#EADDFF",
|
|
42
|
+
"modal-black":"#000000d1",
|
|
43
|
+
"primary-light": "#E9EFFF",
|
|
44
|
+
"green-light": "#E8F6F0",
|
|
45
|
+
"yellow-light": "#FDF7E7",
|
|
46
|
+
"green-dark": "#D1EDE1",
|
|
47
|
+
secondary: "#ABB7C2",
|
|
48
|
+
"02": "#E4E7EC",
|
|
49
|
+
"04": "#BEC5D0",
|
|
50
|
+
white: "#FFFFFF",
|
|
51
|
+
'doc': "#215FFF",
|
|
52
|
+
"brand-01": "#6B5CE0",
|
|
53
|
+
"brand-02": "#E4E1FA",
|
|
54
|
+
"brand-03": "#F4F2FF",
|
|
55
|
+
"01": "#F2F4F7",
|
|
56
|
+
"green-100": "#D5F6E2",
|
|
57
|
+
invert: "#111B31",
|
|
58
|
+
"seperator-dark": "#D6D9E0",
|
|
59
|
+
"fab-bg-brand-04": "#B3ABED",
|
|
60
|
+
"warning-03": "#FFFBE5",
|
|
61
|
+
"purple-800": "#1A1254",
|
|
62
|
+
"error-01": "#F15353",
|
|
63
|
+
"yellow-50": "#FDF7E7",
|
|
64
|
+
"primary-bg-light": "#E9EFFF",
|
|
65
|
+
"neutral-100-bg-dark": "#E8E8E8",
|
|
66
|
+
"button-danger-background-color": "#D92D20",
|
|
67
|
+
"color-foreground-heading": "#1A1A1A",
|
|
68
|
+
"color-foreground-warning": "#F79009",
|
|
69
|
+
"color-foreground-success": "#039855",
|
|
70
|
+
"success-02": "#27B961",
|
|
71
|
+
"success-03": "#EAFBF1",
|
|
72
|
+
red: "#DD3F3F",
|
|
73
|
+
"error-03": "#FDE7E7",
|
|
74
|
+
},
|
|
75
|
+
icon: {
|
|
76
|
+
"success-02": "#27B961",
|
|
77
|
+
"03": "#4B596D",
|
|
78
|
+
invert: "#FFFFFF",
|
|
79
|
+
"orange-600": "#B73B15",
|
|
80
|
+
"orange-500": "#E9673F",
|
|
81
|
+
"orange-400": "#FB9637",
|
|
82
|
+
"orange-300": "#FCB069",
|
|
83
|
+
brand: "#6B5CE0",
|
|
84
|
+
"01": "#F2F4F7",
|
|
85
|
+
},
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
export default pdsColors;
|