@djb25/digit-ui-css 1.0.2 → 1.0.3

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 (98) hide show
  1. package/README.md +80 -0
  2. package/dist/index.css +7 -15823
  3. package/dist/index.min.css +1 -1
  4. package/package.json +1 -1
  5. package/src/components/CardBasedOptions.scss +36 -97
  6. package/src/components/CitizenHomeCard.scss +41 -43
  7. package/src/components/PageBasedInput.scss +0 -2
  8. package/src/components/PropertySearchForm.scss +4 -4
  9. package/src/components/SearchOnRadioButton.scss +1 -1
  10. package/src/components/StandaloneSearchBar.scss +1 -1
  11. package/src/components/TimeLine.scss +4 -4
  12. package/src/components/bannercomponents.scss +3 -4
  13. package/src/components/body.scss +4 -7
  14. package/src/components/buttons.scss +57 -1
  15. package/src/components/card.scss +97 -42
  16. package/src/components/charts.scss +3 -150
  17. package/src/components/checkbox.scss +4 -35
  18. package/src/components/checkpoint.scss +1 -3
  19. package/src/components/datatable.scss +65 -7
  20. package/src/components/filters.scss +3 -3
  21. package/src/components/financeUi.scss +875 -0
  22. package/src/components/hoc/InboxComposer.scss +1 -1
  23. package/src/components/inboxv2/InboxLinks.scss +59 -0
  24. package/src/components/inboxv2/horizontalNav.scss +224 -0
  25. package/src/components/inboxv2/inboxSearch.scss +116 -0
  26. package/src/components/inboxv2/inboxSearchComposer.scss +134 -0
  27. package/src/components/inboxv2/index.scss +5 -0
  28. package/src/components/inboxv2/searchComponentTable.scss +44 -0
  29. package/src/components/languageSelector.scss +1 -2
  30. package/src/components/loader.scss +1 -1
  31. package/src/components/metricsTable.scss +2 -1
  32. package/src/components/multiLink.scss +1 -1
  33. package/src/components/multiSelectDropdown.scss +4 -0
  34. package/src/components/navbar.scss +13 -9
  35. package/src/components/plusMinus.scss +3 -3
  36. package/src/components/radiobtn.scss +0 -12
  37. package/src/components/searchAction.scss +1 -1
  38. package/src/components/selectdropdown.scss +12 -37
  39. package/src/components/sidebar.scss +141 -0
  40. package/src/components/table.scss +60 -8
  41. package/src/components/textfields.scss +4 -16
  42. package/src/components/toggleSwitch.scss +1 -1
  43. package/src/components/topbar.scss +11 -8
  44. package/src/components/uploadcomponents.scss +3 -16
  45. package/src/digitv2/components/ErrorMessage.scss +6 -0
  46. package/src/digitv2/components/FormComposerV2.scss +120 -0
  47. package/src/digitv2/components/actionLinkV2.scss +7 -0
  48. package/src/digitv2/components/actionbarV2.scss +110 -0
  49. package/src/digitv2/components/appContainerV2.scss +55 -0
  50. package/src/digitv2/components/backButtonV2.scss +26 -0
  51. package/src/digitv2/components/bannerV2.scss +120 -0
  52. package/src/digitv2/components/bodyContainerV2.scss +39 -0
  53. package/src/digitv2/components/breadCrumbV2.scss +31 -0
  54. package/src/digitv2/components/breakLineV2.scss +6 -0
  55. package/src/digitv2/components/buttonsV2.scss +40 -0
  56. package/src/digitv2/components/cardV2.scss +385 -0
  57. package/src/digitv2/components/checkboxV2.scss +61 -0
  58. package/src/digitv2/components/checkpointV2.scss +71 -0
  59. package/src/digitv2/components/collapseAndExpandGroups.scss +60 -0
  60. package/src/digitv2/components/dateWrapV2.scss +12 -0
  61. package/src/digitv2/components/displayPhotosV2.scss +33 -0
  62. package/src/digitv2/components/headerV2.scss +6 -0
  63. package/src/digitv2/components/infoBannerV2.scss +37 -0
  64. package/src/digitv2/components/keynoteV2.scss +35 -0
  65. package/src/digitv2/components/loaderV2.scss +81 -0
  66. package/src/digitv2/components/mobileNumberV2.scss +33 -0
  67. package/src/digitv2/components/multiSelectDropdownV2.scss +92 -0
  68. package/src/digitv2/components/noresultsfoundV2.scss +11 -0
  69. package/src/digitv2/components/otpInputV2.scss +15 -0
  70. package/src/digitv2/components/popUpV2.scss +16 -0
  71. package/src/digitv2/components/radiobtnV2.scss +51 -0
  72. package/src/digitv2/components/ratingV2.scss +33 -0
  73. package/src/digitv2/components/selectdropdownV2.scss +170 -0
  74. package/src/digitv2/components/tagV2.scss +28 -0
  75. package/src/digitv2/components/telephoneV2.scss +18 -0
  76. package/src/digitv2/components/textInputV2.scss +123 -0
  77. package/src/digitv2/components/textareaV2.scss +11 -0
  78. package/src/digitv2/components/uploadFileV2.scss +146 -0
  79. package/src/digitv2/index.scss +168 -0
  80. package/src/digitv2/pages/employee/index.scss +1 -0
  81. package/src/digitv2/pages/employee/workbench.scss +1042 -0
  82. package/src/digitv2/typography.scss +241 -0
  83. package/src/index.scss +109 -74
  84. package/src/pages/citizen/DocumentList.scss +5 -5
  85. package/src/pages/citizen/HomePageWrapper.scss +6 -11
  86. package/src/pages/citizen/container.scss +1 -1
  87. package/src/pages/employee/cardfix.scss +1 -2
  88. package/src/pages/employee/container.scss +8 -9
  89. package/src/pages/employee/dss.scss +29 -12
  90. package/src/pages/employee/inbox.scss +91 -144
  91. package/src/pages/employee/index.scss +244 -248
  92. package/src/pages/employee/login.scss +135 -93
  93. package/src/pages/employee/popupmodule.scss +0 -13
  94. package/src/pages/employee/scroll-table.scss +9 -4
  95. package/src/pages/employee/surveys.scss +14 -13
  96. package/svg/check.svg +1 -1
  97. package/svg/starempty.svg +1 -1
  98. package/svg/starfilled.svg +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djb25/digit-ui-css",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "satyam",
@@ -1,107 +1,46 @@
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;
1
+ .CardBasedOptions {
2
+ box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.16);
5
3
  @apply bg-white mb-md px-sm py-md mx-sm rounded w-full;
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
- }
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
+ }
14
12
  }
15
13
 
16
- .mainContent{
17
- @apply flex justify-evenly;
18
-
19
- .CardBasedOptionsMainChildOption{
20
- width: 25%;
21
-
22
- @apply text-center;
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);
23
29
  margin: auto;
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
- }
30
+ }
41
31
  }
32
+ .ChildOptionName {
33
+ font-size: 12px;
34
+ line-height: 14px;
35
+ padding-top: 1rem;
36
+ }
37
+ }
42
38
  }
43
39
  }
44
40
 
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;
68
- }
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) {
41
+ @screen dt {
101
42
  .CardBasedOptions {
102
- height: 200px;
43
+ width: calc(50% - 16px);
44
+ @apply p-md;
103
45
  }
104
- .employeeCustomCard{
105
- font-size: 1rem;
106
- }
107
- }
46
+ }
@@ -1,58 +1,56 @@
1
- .CitizenHomeCard{
2
-
1
+ .CitizenHomeCard {
3
2
  @apply bg-white mx-md p-md mb-lg;
4
3
 
5
- .header{
6
- @apply flex font-bold text-heading-l text-text-primary justify-between pb-sm;
4
+ .header {
5
+ @apply flex font-bold text-heading-l text-text-primary justify-between pb-sm;
7
6
 
8
- svg{
9
- width: 33px;
10
- height: 33px;
11
- }
7
+ svg {
8
+ width: 33px;
9
+ height: 33px;
10
+ }
12
11
  }
13
12
 
14
- .links{
15
-
16
- @apply text-heading-s text-primary-main;
13
+ .links {
14
+ @apply text-heading-s text-primary-main;
17
15
 
18
- a{
19
- @apply block pb-sm;
20
- }
16
+ a {
17
+ @apply block pb-sm;
18
+ }
21
19
  }
22
20
  }
23
21
 
24
- @screen dt{
22
+ @screen dt {
23
+ .citizenAllServiceGrid {
24
+ display: flex;
25
+ flex-direction: column;
26
+ justify-content: center;
27
+ flex: 1;
28
+ }
25
29
 
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;
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
+ }
35
37
  }
36
38
 
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
- }
39
+ .links {
40
+ @apply grid grid-cols-4 gap-px;
41
+ .linksWrapper {
42
+ height: 25px;
43
+ margin-bottom: 0.5em;
48
44
  }
49
-
50
- .links{
51
-
52
- a{
53
-
54
- @apply pb-md
55
- }
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;
56
53
  }
54
+ }
57
55
  }
58
- }
56
+ }
@@ -18,8 +18,6 @@
18
18
  }
19
19
  .SubmitBarInCardInDesktopView {
20
20
  @apply block;
21
- position:relative;
22
- background-color: #fff0;
23
21
  }
24
22
  .card {
25
23
  max-width: 960px;
@@ -15,19 +15,19 @@
15
15
  }
16
16
 
17
17
  .PropertySearchFormSwitcher{
18
- border-bottom: 1px solid #d6d5d4;
18
+ border-bottom: 1px solid theme(colors.border);
19
19
  cursor: pointer;
20
20
  margin-bottom: 20px;
21
21
  display: flex;
22
22
  .non-selected {
23
- color: #505a5f;
23
+ color: theme(colors.text.secondary);
24
24
  font-weight: 400;
25
25
  }
26
26
  .selected {
27
- color: #a82227;
27
+ color: theme(colors.primary.main);
28
28
  font-weight: 700;
29
29
  padding-bottom: 10px;
30
- border-bottom: 2px solid #a82227;
30
+ border-bottom: 2px solid theme(colors.primary.main);
31
31
  }
32
32
  span {
33
33
  margin-right: 20px;
@@ -1,6 +1,6 @@
1
1
  .SearchOnRadioButton{
2
2
  svg{
3
- fill: #505A5F;
3
+ fill: theme(colors.text.secondary);
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: #505A5F;
4
+ fill: theme(colors.text.secondary);
5
5
  @apply mr-md;
6
6
  }
7
7
  input{
@@ -15,7 +15,7 @@
15
15
  }
16
16
 
17
17
  .secondary-color {
18
- color: #0B0C0C;
18
+ color: theme(colors.text.primary);
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 #D6D5D4;
29
+ border-top: 4px solid theme(colors.border);
30
30
  z-index: -1;
31
31
  }
32
32
 
@@ -39,8 +39,8 @@
39
39
  }
40
40
 
41
41
  .active {
42
- background-color: #a82227;
43
- border-color: #a82227;
42
+ background-color: theme(colors.primary.main);
43
+ border-color: theme(colors.primary.main);
44
44
  }
45
45
  }
46
46
 
@@ -62,7 +62,6 @@
62
62
 
63
63
  @screen dt {
64
64
  .success-wrap {
65
- width: calc(100%);
66
65
  header {
67
66
  @apply text-heading-xl-dt;
68
67
  }
@@ -75,7 +74,7 @@
75
74
  }
76
75
 
77
76
  .error-wrap {
78
- width: calc(100%);
77
+ width: 100%;
79
78
  header {
80
79
  @apply text-heading-xl-dt;
81
80
  }
@@ -111,7 +110,7 @@
111
110
  .banner {
112
111
  @apply flex justify-center items-center;
113
112
  height: calc(100vh - 80px);
114
- position: relative;
113
+ background: linear-gradient(rgba(11, 75, 102, 0.8), rgba(11, 75, 102, 0.8)), var(--banner-url) center center;
115
114
 
116
115
  .bannerCard {
117
116
  min-width: 400px;
@@ -122,7 +121,7 @@
122
121
  object-fit: contain;
123
122
  padding-right: 10px;
124
123
  margin-right: 10px;
125
- border-right: 1px solid #0b0c0c;
124
+ border-right: 1px solid theme(colors.text.primary);
126
125
  }
127
126
  .bannerHeader {
128
127
  @apply flex justify-center items-center;
@@ -4,14 +4,10 @@ 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
-
10
7
  }
11
8
 
12
9
  .navbar {
13
10
  @apply text-white bg-secondary p-md w-full mb-md;
14
- background: linear-gradient(to right, #feeee7, #a82227,#feeee7) !important;
15
11
  img {
16
12
  height: 24px;
17
13
  }
@@ -51,10 +47,11 @@ body {
51
47
 
52
48
  .bread-crumb {
53
49
  font-size: 14px;
54
- color: #505a5f;
50
+ color: theme(colors.text.secondary);
55
51
  display: flex;
56
52
  margin-bottom: 10px;
57
- flex-wrap: wrap
53
+ list-style: none;
54
+ padding: 0;
58
55
  }
59
56
  .bread-crumb--item {
60
57
  margin-left: 5px;
@@ -68,7 +65,7 @@ body {
68
65
  }
69
66
 
70
67
  .last {
71
- color: #0b0c0c;
68
+ color: theme(colors.text.primary);
72
69
  }
73
70
  }
74
71
 
@@ -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,6 +45,62 @@
45
45
  @apply font-rc font-medium text-legend text-white;
46
46
  }
47
47
  }
48
+
48
49
  .submit-bar:focus {
49
50
  @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
+ }
50
106
  }