@djb25/digit-ui-css 1.0.0 → 1.0.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.
Files changed (99) hide show
  1. package/dist/index.css +12539 -14251
  2. package/dist/index.min.css +1 -1
  3. package/package.json +4 -3
  4. package/src/components/CardBasedOptions.scss +97 -36
  5. package/src/components/CitizenHomeCard.scss +43 -41
  6. package/src/components/PageBasedInput.scss +2 -0
  7. package/src/components/PropertySearchForm.scss +4 -4
  8. package/src/components/SearchOnRadioButton.scss +1 -1
  9. package/src/components/StandaloneSearchBar.scss +1 -1
  10. package/src/components/TimeLine.scss +4 -4
  11. package/src/components/bannercomponents.scss +4 -3
  12. package/src/components/body.scss +7 -4
  13. package/src/components/buttons.scss +1 -57
  14. package/src/components/card.scss +42 -97
  15. package/src/components/charts.scss +150 -3
  16. package/src/components/checkbox.scss +35 -4
  17. package/src/components/checkpoint.scss +3 -1
  18. package/src/components/datatable.scss +7 -65
  19. package/src/components/filters.scss +3 -3
  20. package/src/components/hoc/InboxComposer.scss +1 -1
  21. package/src/components/landingpage.scss +249 -18
  22. package/src/components/languageSelector.scss +2 -1
  23. package/src/components/loader.scss +1 -1
  24. package/src/components/metricsTable.scss +1 -2
  25. package/src/components/multiLink.scss +1 -1
  26. package/src/components/multiSelectDropdown.scss +0 -4
  27. package/src/components/navbar.scss +9 -13
  28. package/src/components/plusMinus.scss +3 -3
  29. package/src/components/radiobtn.scss +12 -0
  30. package/src/components/searchAction.scss +1 -1
  31. package/src/components/selectdropdown.scss +37 -12
  32. package/src/components/table.scss +8 -60
  33. package/src/components/textfields.scss +16 -4
  34. package/src/components/toggleSwitch.scss +1 -1
  35. package/src/components/topbar.scss +8 -11
  36. package/src/components/uploadcomponents.scss +16 -3
  37. package/src/index.scss +74 -109
  38. package/src/pages/citizen/DocumentList.scss +5 -5
  39. package/src/pages/citizen/HomePageWrapper.scss +11 -6
  40. package/src/pages/citizen/container.scss +1 -1
  41. package/src/pages/employee/cardfix.scss +2 -1
  42. package/src/pages/employee/container.scss +9 -8
  43. package/src/pages/employee/dss.scss +12 -29
  44. package/src/pages/employee/inbox.scss +144 -91
  45. package/src/pages/employee/index.scss +248 -244
  46. package/src/pages/employee/login.scss +93 -135
  47. package/src/pages/employee/popupmodule.scss +13 -0
  48. package/src/pages/employee/scroll-table.scss +4 -9
  49. package/src/pages/employee/surveys.scss +13 -14
  50. package/svg/check.svg +1 -1
  51. package/svg/starempty.svg +1 -1
  52. package/svg/starfilled.svg +1 -1
  53. package/README.md +0 -80
  54. package/src/components/financeUi.scss +0 -875
  55. package/src/components/inboxv2/InboxLinks.scss +0 -59
  56. package/src/components/inboxv2/horizontalNav.scss +0 -224
  57. package/src/components/inboxv2/inboxSearch.scss +0 -116
  58. package/src/components/inboxv2/inboxSearchComposer.scss +0 -134
  59. package/src/components/inboxv2/index.scss +0 -5
  60. package/src/components/inboxv2/searchComponentTable.scss +0 -44
  61. package/src/components/sidebar.scss +0 -141
  62. package/src/digitv2/components/ErrorMessage.scss +0 -6
  63. package/src/digitv2/components/FormComposerV2.scss +0 -120
  64. package/src/digitv2/components/actionLinkV2.scss +0 -7
  65. package/src/digitv2/components/actionbarV2.scss +0 -110
  66. package/src/digitv2/components/appContainerV2.scss +0 -55
  67. package/src/digitv2/components/backButtonV2.scss +0 -26
  68. package/src/digitv2/components/bannerV2.scss +0 -120
  69. package/src/digitv2/components/bodyContainerV2.scss +0 -39
  70. package/src/digitv2/components/breadCrumbV2.scss +0 -31
  71. package/src/digitv2/components/breakLineV2.scss +0 -6
  72. package/src/digitv2/components/buttonsV2.scss +0 -40
  73. package/src/digitv2/components/cardV2.scss +0 -385
  74. package/src/digitv2/components/checkboxV2.scss +0 -61
  75. package/src/digitv2/components/checkpointV2.scss +0 -71
  76. package/src/digitv2/components/collapseAndExpandGroups.scss +0 -60
  77. package/src/digitv2/components/dateWrapV2.scss +0 -12
  78. package/src/digitv2/components/displayPhotosV2.scss +0 -33
  79. package/src/digitv2/components/headerV2.scss +0 -6
  80. package/src/digitv2/components/infoBannerV2.scss +0 -37
  81. package/src/digitv2/components/keynoteV2.scss +0 -35
  82. package/src/digitv2/components/loaderV2.scss +0 -81
  83. package/src/digitv2/components/mobileNumberV2.scss +0 -33
  84. package/src/digitv2/components/multiSelectDropdownV2.scss +0 -92
  85. package/src/digitv2/components/noresultsfoundV2.scss +0 -11
  86. package/src/digitv2/components/otpInputV2.scss +0 -15
  87. package/src/digitv2/components/popUpV2.scss +0 -16
  88. package/src/digitv2/components/radiobtnV2.scss +0 -51
  89. package/src/digitv2/components/ratingV2.scss +0 -33
  90. package/src/digitv2/components/selectdropdownV2.scss +0 -170
  91. package/src/digitv2/components/tagV2.scss +0 -28
  92. package/src/digitv2/components/telephoneV2.scss +0 -18
  93. package/src/digitv2/components/textInputV2.scss +0 -123
  94. package/src/digitv2/components/textareaV2.scss +0 -11
  95. package/src/digitv2/components/uploadFileV2.scss +0 -146
  96. package/src/digitv2/index.scss +0 -168
  97. package/src/digitv2/pages/employee/index.scss +0 -1
  98. package/src/digitv2/pages/employee/workbench.scss +0 -1042
  99. package/src/digitv2/typography.scss +0 -241
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@djb25/digit-ui-css",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "satyam",
7
7
  "engines": {
8
- "node": ">=14"
8
+ "node": ">=18"
9
9
  },
10
10
  "cssConfig": {
11
11
  "prefix": ""
@@ -23,9 +23,10 @@
23
23
  ],
24
24
  "style": "./dist/index.css",
25
25
  "dependencies": {
26
- "node-sass": "4.14.1",
26
+ "gulp-sass": "^5.1.0",
27
27
  "normalize.css": "8.0.1",
28
28
  "postcss-scss": "3.0.5",
29
+ "sass": "^1.72.0",
29
30
  "tailwindcss": "1.9.6"
30
31
  },
31
32
  "devDependencies": {
@@ -1,46 +1,107 @@
1
- .CardBasedOptions {
2
- box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.16);
1
+ .CardBasedOptions{
2
+ box-shadow: #32325d14 0px 50px 100px -20px, rgb(0 0 0 / 18%) 0px 30px 60px -30px, #0a254038 0px -2px 6px 0px inset;
3
+ border-radius: 12px;
4
+ padding: 0px !important;
3
5
  @apply bg-white mb-md px-sm py-md mx-sm rounded w-full;
4
- .headContent {
5
- @apply flex justify-between mb-lg;
6
- h2 {
7
- @apply text-heading-s font-bold text-text-primary;
8
- }
9
- p {
10
- @apply text-link text-primary-main font-medium cursor-pointer;
11
- }
6
+ .headContent{
7
+ @apply flex justify-between mb-lg;
8
+ h2{
9
+ @apply text-heading-s font-bold text-text-primary;
10
+ }
11
+ p{
12
+ @apply text-link text-primary-main font-medium cursor-pointer;
13
+ }
12
14
  }
13
15
 
14
- .mainContent {
15
- @apply flex justify-evenly;
16
- .CardBasedOptionsMainChildOption {
17
- width: 25%;
18
- @apply text-center;
19
- .ChildOptionImageWrapper {
20
- margin: auto !important;
21
- background: rgba(244, 119, 56, 0.12);
22
- mix-blend-mode: normal;
23
- padding-top: 14px;
24
- @apply h-12 w-12 rounded-full cursor-pointer;
25
- svg {
26
- height: 20px;
27
- width: 20px;
28
- fill: theme(colors.primary.main);
16
+ .mainContent{
17
+ @apply flex justify-evenly;
18
+
19
+ .CardBasedOptionsMainChildOption{
20
+ width: 25%;
21
+
22
+ @apply text-center;
29
23
  margin: auto;
30
- }
31
- }
32
- .ChildOptionName {
33
- font-size: 12px;
34
- line-height: 14px;
35
- padding-top: 1rem;
24
+ .ChildOptionImageWrapper{
25
+ margin: auto !important;
26
+ background: rgba(244, 119, 56, 0.12);
27
+ mix-blend-mode: normal;
28
+ padding-top: 14px;
29
+ @apply h-12 w-12 rounded-full cursor-pointer;
30
+ svg{
31
+ height: 20px;
32
+ width: 20px;
33
+ fill: #a82227;
34
+ margin: auto;
35
+ }
36
+ }
37
+ .ChildOptionName{
38
+ font-size: 12px;
39
+ line-height: 14px;
40
+ }
36
41
  }
37
- }
38
42
  }
39
43
  }
40
44
 
41
- @screen dt {
42
- .CardBasedOptions {
43
- width: calc(50% - 16px);
44
- @apply p-md;
45
+ @screen dt{
46
+ .CardBasedOptions{
47
+ width: calc( 50% - 16px );
48
+ padding: 0px !important;
49
+ height: 250px !important;
50
+ }
51
+ }
52
+ .citizen .ServicesSection .CardBasedOptions:nth-child(odd){
53
+ .employeeCustomCard{
54
+ background-size: cover
55
+ }
56
+ }
57
+ .citizen .ServicesSection .CardBasedOptions:nth-child(even){
58
+ .employeeCustomCard{
59
+ background-size: cover
60
+ }
61
+ }
62
+ .citizen .employeeCustomCard {
63
+ border-radius: 10px;
64
+ background-size: cover;
65
+ .employeeCustomCard {
66
+ border-radius: 10px;
67
+ background-size: cover;
45
68
  }
46
69
  }
70
+ .employee-card-banner{
71
+ background-color: white;
72
+ width: 88%;
73
+ height: 60%;
74
+ bottom: 0px;
75
+ position: absolute;
76
+ margin-bottom: -10%;
77
+ left: 6%;
78
+ box-shadow: 1px 5px 6px 0px #e3e4e3;
79
+ border-radius: 10px;
80
+ }
81
+ .citizen .employee-card-banner{
82
+ margin-bottom: -5% !important;
83
+ height: 65% !important;
84
+ }
85
+ .text-employee-card{
86
+ font-size: 1.5rem;
87
+ font-weight: 700;
88
+ font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
89
+ position: absolute;
90
+ top:10%;
91
+ padding-left: 10%;
92
+ color: white !important;
93
+
94
+ }
95
+ .citizen .employee-card-banner .citizenAllServiceGrid{
96
+ display: flex-root !important;
97
+ height: 100% !important;
98
+ }
99
+
100
+ @media screen and (min-width: 300px) {
101
+ .CardBasedOptions {
102
+ height: 200px;
103
+ }
104
+ .employeeCustomCard{
105
+ font-size: 1rem;
106
+ }
107
+ }
@@ -1,56 +1,58 @@
1
- .CitizenHomeCard {
1
+ .CitizenHomeCard{
2
+
2
3
  @apply bg-white mx-md p-md mb-lg;
3
4
 
4
- .header {
5
- @apply flex font-bold text-heading-l text-text-primary justify-between pb-sm;
5
+ .header{
6
+ @apply flex font-bold text-heading-l text-text-primary justify-between pb-sm;
6
7
 
7
- svg {
8
- width: 33px;
9
- height: 33px;
10
- }
8
+ svg{
9
+ width: 33px;
10
+ height: 33px;
11
+ }
11
12
  }
12
13
 
13
- .links {
14
- @apply text-heading-s text-primary-main;
14
+ .links{
15
+
16
+ @apply text-heading-s text-primary-main;
15
17
 
16
- a {
17
- @apply block pb-sm;
18
- }
18
+ a{
19
+ @apply block pb-sm;
20
+ }
19
21
  }
20
22
  }
21
23
 
22
- @screen dt {
23
- .citizenAllServiceGrid {
24
- display: flex;
25
- flex-direction: column;
26
- justify-content: center;
27
- flex: 1;
28
- }
24
+ @screen dt{
29
25
 
30
- .CitizenHomeCard {
31
- @apply p-lg;
32
- .header {
33
- @apply pb-lg text-heading-l-dt;
34
- svg {
35
- @apply w-12 h-12;
36
- }
26
+ .citizenAllServiceGrid{
27
+ display: flex-root !important;
28
+ @apply grid grid-cols-2 gap-4;
29
+ }
30
+ .links{
31
+ display: grid;
32
+ grid-template-columns: repeat(4, minmax(0, 1fr));
33
+ grid-gap: 1px;
34
+ gap: 1px;
37
35
  }
38
36
 
39
- .links {
40
- @apply grid grid-cols-4 gap-px;
41
- .linksWrapper {
42
- height: 25px;
43
- margin-bottom: 0.5em;
37
+ .CitizenHomeCard{
38
+ padding: 16px !important;
39
+ margin-right:16px !important;
40
+ display:block !important;
41
+ box-shadow: rgb(50 50 93 / 18%) 0px 50px 100px -20px, rgb(0 0 0 / 16%) 0px 30px 60px -30px, rgb(10 37 64 / 17%) 0px -2px 6px 0px inset;
42
+ @apply inline-block mr-lg p-lg align-top;
43
+ .header{
44
+ @apply pb-lg text-heading-l-dt;
45
+ svg{
46
+ @apply w-12 h-12;
47
+ }
44
48
  }
45
- a {
46
- @apply pb-md;
47
- padding-left: 0.2em;
48
- margin-bottom: 16px;
49
- width: 100%;
50
- overflow: hidden;
51
- text-overflow: ellipsis;
52
- min-width: 0;
49
+
50
+ .links{
51
+
52
+ a{
53
+
54
+ @apply pb-md
55
+ }
53
56
  }
54
- }
55
57
  }
56
- }
58
+ }
@@ -18,6 +18,8 @@
18
18
  }
19
19
  .SubmitBarInCardInDesktopView {
20
20
  @apply block;
21
+ position:relative;
22
+ background-color: #fff0;
21
23
  }
22
24
  .card {
23
25
  max-width: 960px;
@@ -15,19 +15,19 @@
15
15
  }
16
16
 
17
17
  .PropertySearchFormSwitcher{
18
- border-bottom: 1px solid theme(colors.border);
18
+ border-bottom: 1px solid #d6d5d4;
19
19
  cursor: pointer;
20
20
  margin-bottom: 20px;
21
21
  display: flex;
22
22
  .non-selected {
23
- color: theme(colors.text.secondary);
23
+ color: #505a5f;
24
24
  font-weight: 400;
25
25
  }
26
26
  .selected {
27
- color: theme(colors.primary.main);
27
+ color: #a82227;
28
28
  font-weight: 700;
29
29
  padding-bottom: 10px;
30
- border-bottom: 2px solid theme(colors.primary.main);
30
+ border-bottom: 2px solid #a82227;
31
31
  }
32
32
  span {
33
33
  margin-right: 20px;
@@ -1,6 +1,6 @@
1
1
  .SearchOnRadioButton{
2
2
  svg{
3
- fill: theme(colors.text.secondary);
3
+ fill: #505A5F;
4
4
  width: 24px;
5
5
  height: 24px;
6
6
  top: 8px;
@@ -1,7 +1,7 @@
1
1
  .StandaloneSearchBar{
2
2
  @apply bg-white flex rounded-3xl px-md py-sm w-full;
3
3
  svg{
4
- fill: theme(colors.text.secondary);
4
+ fill: #505A5F;
5
5
  @apply mr-md;
6
6
  }
7
7
  input{
@@ -15,7 +15,7 @@
15
15
  }
16
16
 
17
17
  .secondary-color {
18
- color: theme(colors.text.primary);
18
+ color: #0B0C0C;
19
19
  padding: 5px;
20
20
  font-size: small;
21
21
  }
@@ -26,7 +26,7 @@
26
26
  top: 12px;
27
27
  left: calc(50% + 8px);
28
28
  right: calc(-50% + 8px);
29
- border-top: 4px solid theme(colors.border);
29
+ border-top: 4px solid #D6D5D4;
30
30
  z-index: -1;
31
31
  }
32
32
 
@@ -39,8 +39,8 @@
39
39
  }
40
40
 
41
41
  .active {
42
- background-color: theme(colors.primary.main);
43
- border-color: theme(colors.primary.main);
42
+ background-color: #a82227;
43
+ border-color: #a82227;
44
44
  }
45
45
  }
46
46
 
@@ -62,6 +62,7 @@
62
62
 
63
63
  @screen dt {
64
64
  .success-wrap {
65
+ width: calc(100%);
65
66
  header {
66
67
  @apply text-heading-xl-dt;
67
68
  }
@@ -74,7 +75,7 @@
74
75
  }
75
76
 
76
77
  .error-wrap {
77
- width: 100%;
78
+ width: calc(100%);
78
79
  header {
79
80
  @apply text-heading-xl-dt;
80
81
  }
@@ -110,7 +111,7 @@
110
111
  .banner {
111
112
  @apply flex justify-center items-center;
112
113
  height: calc(100vh - 80px);
113
- background: linear-gradient(rgba(11, 75, 102, 0.8), rgba(11, 75, 102, 0.8)), var(--banner-url) center center;
114
+ position: relative;
114
115
 
115
116
  .bannerCard {
116
117
  min-width: 400px;
@@ -121,7 +122,7 @@
121
122
  object-fit: contain;
122
123
  padding-right: 10px;
123
124
  margin-right: 10px;
124
- border-right: 1px solid theme(colors.text.primary);
125
+ border-right: 1px solid #0b0c0c;
125
126
  }
126
127
  .bannerHeader {
127
128
  @apply flex justify-center items-center;
@@ -4,10 +4,14 @@ body {
4
4
 
5
5
  .body-container {
6
6
  @apply bg-grey-bg h-full min-h-screen overflow-x-hidden;
7
+ position: relative !important;
8
+
9
+
7
10
  }
8
11
 
9
12
  .navbar {
10
13
  @apply text-white bg-secondary p-md w-full mb-md;
14
+ background: linear-gradient(to right, #feeee7, #a82227,#feeee7) !important;
11
15
  img {
12
16
  height: 24px;
13
17
  }
@@ -47,11 +51,10 @@ body {
47
51
 
48
52
  .bread-crumb {
49
53
  font-size: 14px;
50
- color: theme(colors.text.secondary);
54
+ color: #505a5f;
51
55
  display: flex;
52
56
  margin-bottom: 10px;
53
- list-style: none;
54
- padding: 0;
57
+ flex-wrap: wrap
55
58
  }
56
59
  .bread-crumb--item {
57
60
  margin-left: 5px;
@@ -65,7 +68,7 @@ body {
65
68
  }
66
69
 
67
70
  .last {
68
- color: theme(colors.text.primary);
71
+ color: #0b0c0c;
69
72
  }
70
73
  }
71
74
 
@@ -22,7 +22,7 @@
22
22
  }
23
23
  }
24
24
 
25
- .input-mirror-selector-button {
25
+ .input-mirror-selector-button{
26
26
  @apply h-16 bg-border text-center border-b-2 border-input-border border-solid outline-none px-lg !important;
27
27
 
28
28
  &:focus {
@@ -45,62 +45,6 @@
45
45
  @apply font-rc font-medium text-legend text-white;
46
46
  }
47
47
  }
48
-
49
48
  .submit-bar:focus {
50
49
  @apply outline-none !important;
51
- }
52
-
53
- .jk-digit-secondary-btn {
54
- width: auto;
55
- height: 40px;
56
- background: theme(colors.white);
57
- border: 1px solid theme(colors.primary.main);
58
- padding: 20px;
59
- color: theme(colors.primary.main);
60
- display: flex;
61
- align-items: center;
62
- font-size: 19px;
63
- cursor: pointer;
64
- border-radius: 6px;
65
-
66
- svg {
67
- margin: 0 10px;
68
- }
69
- }
70
-
71
- .jk-digit-primary-btn {
72
- width: auto;
73
- height: 40px;
74
- background: linear-gradient(135deg, #667eea, #764ba2);
75
- border: 1px solid linear-gradient(135deg, #667eea, #764ba2);
76
- padding: 20px;
77
- color: theme(colors.white);
78
- display: flex;
79
- align-items: center;
80
- cursor: pointer;
81
- font-size: 19px;
82
- border-radius: 6px;
83
-
84
- svg {
85
- margin: 0 15px;
86
- }
87
- }
88
-
89
- .jk-digit-disabled-btn {
90
- opacity: 0.5;
91
- font-size: 19px;
92
- cursor: not-allowed;
93
- }
94
-
95
- .jk-header-btn-wrapper {
96
- display: flex;
97
- justify-content: space-between;
98
- }
99
-
100
- /* for mobile view */
101
- @media (max-width: 780px) {
102
- .jk-header-btn-wrapper {
103
- flex-flow: column;
104
- margin-bottom: 15px;
105
- }
106
50
  }