@egovernments/digit-ui-components-css 0.0.2-beta.1 → 0.0.2-beta.11

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 (197) hide show
  1. package/CHANGELOG.md +88 -54
  2. package/README.md +80 -80
  3. package/dist/index.css +5782 -14109
  4. package/dist/index.min.css +2 -2
  5. package/package.json +69 -67
  6. package/src/digitv2/components/FormComposerV2.scss +118 -118
  7. package/src/digitv2/components/actionbarV2.scss +207 -110
  8. package/src/digitv2/components/backLinkV2.scss +37 -0
  9. package/src/digitv2/components/bodyContainerV2.scss +39 -39
  10. package/src/digitv2/components/breadcrumbV2.scss +57 -0
  11. package/src/digitv2/components/buttonsV2.scss +451 -407
  12. package/src/digitv2/components/cardV2.scss +498 -383
  13. package/src/digitv2/components/cardbasedoptionsV2.scss +47 -0
  14. package/src/digitv2/components/{cardLabelV2.scss → cardlabelV2.scss} +7 -7
  15. package/src/digitv2/components/checkboxV2.scss +83 -79
  16. package/src/digitv2/components/{tagV2.scss → chipV2.scss} +129 -120
  17. package/src/digitv2/components/dividerV2.scss +11 -0
  18. package/src/digitv2/components/{ErrorMessage.scss → errorMessageV2.scss} +20 -18
  19. package/src/digitv2/components/fieldV1.scss +96 -96
  20. package/src/digitv2/components/headerdropdownV2.scss +152 -0
  21. package/src/digitv2/components/infoCardV2.scss +139 -142
  22. package/src/digitv2/components/{infobuttons.scss → infobuttonV2.scss} +75 -75
  23. package/src/digitv2/components/labelFieldPairV2.scss +66 -57
  24. package/src/digitv2/components/mobileNumberV2.scss +65 -65
  25. package/src/digitv2/components/multiSelectDropdownV2.scss +315 -315
  26. package/src/digitv2/components/{panelcard.scss → panelCardV2.scss} +160 -160
  27. package/src/digitv2/components/{panels.scss → panelV2.scss} +114 -114
  28. package/src/digitv2/components/popUpV2.scss +330 -308
  29. package/src/digitv2/components/radiobtnV2.scss +115 -113
  30. package/src/digitv2/components/{selectdropdownV2.scss → selectDropdownV2.scss} +364 -360
  31. package/src/digitv2/components/{stepper.scss → stepperV2.scss} +147 -126
  32. package/src/digitv2/components/textInputV2.scss +462 -462
  33. package/src/digitv2/components/textareaV2.scss +99 -99
  34. package/src/digitv2/components/{textblock.scss → textblockV2.scss} +46 -46
  35. package/src/digitv2/components/{timeline.scss → timelineV2.scss} +170 -126
  36. package/src/digitv2/components/toastV2.scss +80 -80
  37. package/src/digitv2/components/{toggle.scss → toggleV2.scss} +72 -72
  38. package/src/digitv2/components/topbarV2.scss +388 -187
  39. package/src/digitv2/components/treeSelectV2.scss +132 -132
  40. package/src/digitv2/components/{uploader.scss → uploaderV2.scss} +556 -468
  41. package/src/digitv2/components/viewCardFieldPairV2.scss +45 -0
  42. package/src/digitv2/index.scss +169 -197
  43. package/src/digitv2/pages/employee/index.scss +1 -1
  44. package/src/digitv2/pages/employee/workbench.scss +615 -615
  45. package/src/digitv2/typography.scss +638 -657
  46. package/src/index.scss +681 -774
  47. package/src/pages/employee/index.scss +625 -625
  48. package/src/pages/employee/login.scss +220 -220
  49. package/img/browser-icon.png +0 -0
  50. package/img/m_seva_white_logo.png +0 -0
  51. package/img/mseva-demo.png +0 -0
  52. package/src/components/CardBasedOptions.scss +0 -46
  53. package/src/components/CitizenHomeCard.scss +0 -56
  54. package/src/components/EllipsisMenu.scss +0 -17
  55. package/src/components/EventCalendarView.scss +0 -10
  56. package/src/components/FAQ.scss +0 -64
  57. package/src/components/OnGroundEventCard.scss +0 -72
  58. package/src/components/PageBasedInput.scss +0 -29
  59. package/src/components/PopupHeadingLabel.scss +0 -15
  60. package/src/components/PropertySearchForm.scss +0 -58
  61. package/src/components/SearchForm.scss +0 -56
  62. package/src/components/SearchOnRadioButton.scss +0 -10
  63. package/src/components/StandaloneSearchBar.scss +0 -10
  64. package/src/components/TimeLine.scss +0 -68
  65. package/src/components/WhatsNewCard.scss +0 -13
  66. package/src/components/actionLink.scss +0 -3
  67. package/src/components/actionbar.scss +0 -97
  68. package/src/components/bannercomponents.scss +0 -136
  69. package/src/components/body.scss +0 -144
  70. package/src/components/buttons.scss +0 -101
  71. package/src/components/card.scss +0 -391
  72. package/src/components/cardHeaderWithOptions.scss +0 -14
  73. package/src/components/changeLanguage.scss +0 -3
  74. package/src/components/charts.scss +0 -186
  75. package/src/components/checkbox.scss +0 -53
  76. package/src/components/checkpoint.scss +0 -63
  77. package/src/components/citizenInfoLabel.scss +0 -14
  78. package/src/components/custombtn.scss +0 -11
  79. package/src/components/datatable.scss +0 -134
  80. package/src/components/datewrap.scss +0 -21
  81. package/src/components/detailscard.scss +0 -6
  82. package/src/components/detailscontainer.scss +0 -13
  83. package/src/components/filters.scss +0 -98
  84. package/src/components/grey.scss +0 -3
  85. package/src/components/hoc/InboxComposer.scss +0 -115
  86. package/src/components/hoc/index.scss +0 -1
  87. package/src/components/howItWorks.scss +0 -71
  88. package/src/components/imageviewer.scss +0 -33
  89. package/src/components/inboxv2/InboxLinks.scss +0 -59
  90. package/src/components/inboxv2/horizontalNav.scss +0 -224
  91. package/src/components/inboxv2/inboxSearch.scss +0 -116
  92. package/src/components/inboxv2/inboxSearchComposer.scss +0 -134
  93. package/src/components/inboxv2/index.scss +0 -5
  94. package/src/components/inboxv2/searchComponentTable.scss +0 -44
  95. package/src/components/info-banner.scss +0 -35
  96. package/src/components/inputotp.scss +0 -15
  97. package/src/components/keynote.scss +0 -27
  98. package/src/components/languageSelector.scss +0 -24
  99. package/src/components/loader.scss +0 -96
  100. package/src/components/map.scss +0 -30
  101. package/src/components/menu.scss +0 -0
  102. package/src/components/metricsTable.scss +0 -28
  103. package/src/components/multiLink.scss +0 -88
  104. package/src/components/multiSelectDropdown.scss +0 -77
  105. package/src/components/navbar.scss +0 -312
  106. package/src/components/plusMinus.scss +0 -15
  107. package/src/components/popup.scss +0 -16
  108. package/src/components/radiobtn.scss +0 -45
  109. package/src/components/ratingstar.scss +0 -33
  110. package/src/components/roundedLabel.scss +0 -10
  111. package/src/components/searchAction.scss +0 -20
  112. package/src/components/sectionalDropdown.scss +0 -43
  113. package/src/components/selectdropdown.scss +0 -174
  114. package/src/components/sidebar.scss +0 -141
  115. package/src/components/staticDynamicMessages.scss +0 -107
  116. package/src/components/staticSideBar.scss +0 -27
  117. package/src/components/statushighlight.scss +0 -17
  118. package/src/components/submiterrors.scss +0 -11
  119. package/src/components/summary.scss +0 -29
  120. package/src/components/table.scss +0 -201
  121. package/src/components/tag.scss +0 -27
  122. package/src/components/telephone.scss +0 -17
  123. package/src/components/textfields.scss +0 -96
  124. package/src/components/toast.scss +0 -31
  125. package/src/components/toggleSwitch.scss +0 -41
  126. package/src/components/topbar.scss +0 -153
  127. package/src/components/uploadcomponents.scss +0 -100
  128. package/src/digitv2/components/CitizenHomeCardV2.scss +0 -56
  129. package/src/digitv2/components/PageBasedInputV2.scss +0 -33
  130. package/src/digitv2/components/WhatsNewCardV2.scss +0 -13
  131. package/src/digitv2/components/actionLinkV2.scss +0 -9
  132. package/src/digitv2/components/appContainerV2.scss +0 -49
  133. package/src/digitv2/components/backButtonV2.scss +0 -26
  134. package/src/digitv2/components/bannerV2.scss +0 -120
  135. package/src/digitv2/components/breadCrumbV2.scss +0 -34
  136. package/src/digitv2/components/breakLineV2.scss +0 -6
  137. package/src/digitv2/components/cardBasedOptionsV2.scss +0 -46
  138. package/src/digitv2/components/checkpointV2.scss +0 -71
  139. package/src/digitv2/components/collapseAndExpandGroups.scss +0 -60
  140. package/src/digitv2/components/dateWrapV2.scss +0 -17
  141. package/src/digitv2/components/detailsCardV2.scss +0 -17
  142. package/src/digitv2/components/displayPhotosV2.scss +0 -33
  143. package/src/digitv2/components/footerV2.scss +0 -55
  144. package/src/digitv2/components/headerBarV2.scss +0 -34
  145. package/src/digitv2/components/headerV2.scss +0 -12
  146. package/src/digitv2/components/keynoteV2.scss +0 -35
  147. package/src/digitv2/components/loaderV2.scss +0 -85
  148. package/src/digitv2/components/modalV2.scss +0 -46
  149. package/src/digitv2/components/multiUploadWrapperV2.scss +0 -6
  150. package/src/digitv2/components/navbarV2.scss +0 -9
  151. package/src/digitv2/components/noresultsfoundV2.scss +0 -11
  152. package/src/digitv2/components/numeric.scss +0 -47
  153. package/src/digitv2/components/otpInputV2.scss +0 -15
  154. package/src/digitv2/components/paragraphV2.scss +0 -5
  155. package/src/digitv2/components/ratingV2.scss +0 -33
  156. package/src/digitv2/components/searchActionV2.scss +0 -11
  157. package/src/digitv2/components/searchFormV2.scss +0 -76
  158. package/src/digitv2/components/searchcomponent.scss +0 -7
  159. package/src/digitv2/components/sidebarV2.scss +0 -11
  160. package/src/digitv2/components/telephoneV2.scss +0 -18
  161. package/src/digitv2/components/toggleswitchV2.scss +0 -42
  162. package/src/digitv2/components/uploadFileV2.scss +0 -146
  163. package/src/pages/citizen/CitizenEngagementNotificationWrapper.scss +0 -8
  164. package/src/pages/citizen/DocumentList.scss +0 -305
  165. package/src/pages/citizen/Events.scss +0 -47
  166. package/src/pages/citizen/HomePageWrapper.scss +0 -158
  167. package/src/pages/citizen/SurveyList.scss +0 -22
  168. package/src/pages/citizen/citizenDocument.scss +0 -22
  169. package/src/pages/citizen/container.scss +0 -19
  170. package/src/pages/citizen/payment/payment-type.scss +0 -3
  171. package/src/pages/citizen/updatePropertyNumber.scss +0 -46
  172. package/src/pages/employee/EmployeeLogin.scss +0 -7
  173. package/src/pages/employee/cardfix.scss +0 -13
  174. package/src/pages/employee/container.scss +0 -72
  175. package/src/pages/employee/dss.scss +0 -266
  176. package/src/pages/employee/form-fields.scss +0 -13
  177. package/src/pages/employee/iframe.scss +0 -66
  178. package/src/pages/employee/inbox.scss +0 -585
  179. package/src/pages/employee/oldMobileInbox.scss +0 -5
  180. package/src/pages/employee/popupmodule.scss +0 -34
  181. package/src/pages/employee/response.scss +0 -3
  182. package/src/pages/employee/scroll-table.scss +0 -119
  183. package/src/pages/employee/surveys.scss +0 -273
  184. package/src/pages/employee/tooltip.scss +0 -36
  185. package/src/pages/employee/updateNumber.scss +0 -13
  186. package/svg/arrowdown.svg +0 -1
  187. package/svg/arrowleft.svg +0 -1
  188. package/svg/calendar.svg +0 -1
  189. package/svg/camera.svg +0 -4
  190. package/svg/check.svg +0 -4
  191. package/svg/close.svg +0 -4
  192. package/svg/error.svg +0 -4
  193. package/svg/error2.svg +0 -5
  194. package/svg/searchicon.svg +0 -4
  195. package/svg/starempty.svg +0 -4
  196. package/svg/starfilled.svg +0 -5
  197. package/svg/success.svg +0 -4
@@ -1,361 +1,365 @@
1
- .digit-dropdown-employee-select-wrap {
2
- @apply w-full relative;
3
- @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
4
- /* Media query for tablets */
5
- max-width: 27.5rem;
6
- }
7
- @media (max-aspect-ratio: 9/16) {
8
- /* Media query for mobile */
9
- max-width: 20.5rem;
10
- width: 100%;
11
- }
12
- @media (min-aspect-ratio: 3/4) {
13
- /* Media query for desktop */
14
- max-width: 37.5rem;
15
- }
16
- .digit-dropdown-select {
17
- @extend .light-input-border;
18
- @apply relative block w-full h-10 bg-white;
19
- border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
20
- &.digit-field-error {
21
- border: 0.063rem solid;
22
- border-color: theme(digitv2.lightTheme.alert-error);
23
- }
24
- &.disabled {
25
- pointer-events: none !important;
26
- border: 0.063rem solid theme(digitv2.lightTheme.generic-divider) !important;
27
- color: theme(digitv2.lightTheme.generic-divider) !important;
28
- }
29
- input[type="text"] {
30
- @extend .typography.body-l;
31
- @apply absolute z-10 h-full outline-none;
32
- width:calc(100%- (theme(digitv2.spacers.spacer7)));
33
- background-color: transparent;
34
- padding-top:theme(digitv2.spacers.spacer2);
35
- padding-bottom: theme(digitv2.spacers.spacer2);
36
- padding-left:theme(digitv2.spacers.spacer3);
37
- color: theme(digitv2.lightTheme.text-primary);
38
- }
39
- p {
40
- @extend .light-text-color-primary;
41
- padding-top: 0.563rem;
42
- @apply text-form-field text-text-primary float-left ml-sm;
43
- }
44
- img {
45
- @apply float-right h-6 w-6 mt-sm mr-sm;
46
- }
47
- svg {
48
- @apply absolute right-0 float-right h-6 w-6 mt-sm mr-sm mb-sm;
49
- }
50
- }
51
- .digit-dropdown-select-active {
52
- @apply relative block w-full h-10;
53
- border: 0.063rem solid theme(digitv2.lightTheme.primary-1);
54
- input[type="text"] {
55
- @extend .typography.body-l;
56
- @apply absolute z-10 h-full outline-none;
57
- width:calc(100%- (theme(digitv2.spacers.spacer7)));
58
- background-color: transparent;
59
- font-size: theme(digitv2.spacers.spacer4);
60
- padding-top: theme(digitv2.spacers.spacer2);
61
- padding-bottom: theme(digitv2.spacers.spacer2);
62
- padding-left: theme(digitv2.spacers.spacer3);
63
- color: theme(digitv2.lightTheme.text-primary);
64
- }
65
- p {
66
- @extend .light-text-color-primary;
67
- @apply text-form-field text-text-primary float-left ml-sm;
68
- }
69
- p {
70
- padding-top: 0.563rem;
71
- }
72
- img {
73
- @apply float-right h-6 w-6 mt-sm mr-sm;
74
- }
75
- svg {
76
- @apply absolute right-0 float-right h-6 w-6 mt-sm mr-sm mb-sm;
77
- }
78
- }
79
- .digit-dropdown-options-card {
80
- width: 100% !important;
81
- box-shadow: theme(digitv2.spacers.spacer0) 0.063rem 0.275rem theme(digitv2.spacers.spacer0) #00000026;
82
- max-height: 20vmax;
83
- @apply absolute z-20 bg-white max-w-full overflow-y-auto overflow-x-hidden;
84
- p {
85
- @extend .light-text-color-primary;
86
- padding-top: 0.875rem;
87
- @apply w-full h-12 pl-sm text-text-primary text-form-field;
88
- &:hover {
89
- @extend .light-background;
90
- @apply bg-grey-mid;
91
- }
92
- }
93
- }
94
- .digit-dropdown-select,
95
- .digit-dropdown-select-active {
96
- &.treedropdown,
97
- &.notSearchable {
98
- @apply cursor-pointer;
99
- }
100
- }
101
- }
102
- .digit-dropdown-options-card::-webkit-scrollbar {
103
- width: theme(digitv2.spacers.spacer2);
104
- background-color: theme(digitv2.lightTheme.generic-background);
105
- }
106
- .digit-dropdown-options-card::-webkit-scrollbar-track {
107
- background-color: theme(digitv2.lightTheme.generic-background);
108
- border-radius: 0.563rem;
109
- }
110
- .digit-dropdown-options-card::-webkit-scrollbar-thumb {
111
- background-color: theme(digitv2.lightTheme.generic-divider);
112
- border-radius: 0.563rem;
113
- }
114
- .digit-nested-category {
115
- @apply flex items-center flex-shrink-0;
116
- background: theme(digitv2.lightTheme.background);
117
- height: 2.4375rem;
118
- padding: theme(digitv2.spacers.spacer4) 0.625rem;
119
- gap: 0.625rem;
120
- }
121
- .digit-nested-category:not(:first-child) {
122
- margin-top: theme(digitv2.spacers.spacer4);
123
- }
124
- .digit-category-name {
125
- @extend .typography.heading-s;
126
- @apply flex items-center overflow-hidden whitespace-no-wrap;
127
- color: theme(digitv2.lightTheme.text-primary);
128
- gap: theme(digitv2.spacers.spacer1);
129
- }
130
- .digit-dropdown-item {
131
- @apply flex flex-row;
132
- padding: 0.625rem;
133
- gap: 0.625rem;
134
- min-height: 2.438rem;
135
- color: theme(digitv2.lightTheme.text-primary) !important;
136
- .profile-icon-container {
137
- flex-shrink: 0;
138
- border-radius: 4.5rem;
139
- background-size: cover;
140
- background-position: center;
141
- }
142
- .option-des-container {
143
- @apply flex-col justify-center w-full max-w-full overflow-hidden box-border;
144
- display: flex !important;
145
- align-items: center;
146
- min-height: 1.125rem;
147
- .icon-option{
148
- @apply w-full items-center;
149
- display: flex !important;
150
- gap:theme(digitv2.spacers.spacer1);
151
- svg{
152
- flex-shrink: 0;
153
- }
154
- }
155
- .main-option {
156
- @extend .typography.body-s;
157
- @apply whitespace-no-wrap w-full max-w-full overflow-hidden;
158
- text-overflow: ellipsis;
159
- &.nestedtextdropdown,
160
- &.profilenestedtext {
161
- @extend .typography.body-l;
162
- color: theme(digitv2.lightTheme.text-secondary);
163
- }
164
- }
165
- .option-description {
166
- @extend .typography.body-xs;
167
- color: theme(digitv2.lightTheme.text-secondary);
168
- }
169
- }
170
- &:not(.nesteddropdown, .treedropdown):not(:active):nth-of-type(even) {
171
- background: theme(digitv2.lightTheme.paper-secondary);
172
- }
173
- &.nesteddropdown {
174
- position: relative;
175
- height: 2.4375rem;
176
- &::before {
177
- content: "";
178
- position: absolute;
179
- bottom: 0;
180
- left: 0.625rem;
181
- right: 0.635rem;
182
- border-bottom: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
183
- }
184
- &:hover,
185
- &:active {
186
- &::before {
187
- border-bottom: none;
188
- }
189
- }
190
- }
191
- &:hover,
192
- &.keyChange{
193
- background: theme(digitv2.lightTheme.primary-bg) !important;
194
- border: 0.031rem solid theme(digitv2.lightTheme.primary-1);
195
- }
196
- &:active {
197
- background: theme(digitv2.lightTheme.primary-1) !important;
198
- span,
199
- .option-description {
200
- color: theme(digitv2.lightTheme.paper-primary);
201
- }
202
- .svg {
203
- width: 6.25rem;
204
- }
205
- .option-des-container {
206
- .main-option {
207
- @extend .typography.heading-s;
208
- }
209
- }
210
- }
211
- &.nestedtextdropdown {
212
- min-height: 4.75rem;
213
- padding: theme(digitv2.spacers.spacer2) 0.635rem theme(digitv2.spacers.spacer2) 0.635rem;
214
- color: theme(digitv2.lightTheme.text-secondary) !important;
215
- &:hover {
216
- border: 0.063rem solid theme(digitv2.lightTheme.primary-1);
217
- }
218
- .option-des-container {
219
- padding-right: 0.125rem !important;
220
- }
221
- &:active {
222
- .option-des-container {
223
- .main-option {
224
- @extend .typography.heading-s;
225
- color: theme(digitv2.lightTheme.paper-primary);
226
- }
227
- }
228
- }
229
- }
230
- &.profiledropdown {
231
- min-height: theme(digitv2.spacers.spacer12);
232
- padding: theme(digitv2.spacers.spacer2) 0.625rem;
233
- }
234
- &.profilenestedtext {
235
- min-height: 4.75rem;
236
- padding: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer4);
237
- gap: theme(digitv2.spacers.spacer4);
238
- align-items: center;
239
- color: theme(digitv2.lightTheme.text-secondary) !important;
240
- &:active {
241
- .option-des-container {
242
- .main-option {
243
- @extend .typography.heading-s;
244
- color: theme(digitv2.lightTheme.paper-primary);
245
- }
246
- }
247
- }
248
- }
249
- &.unsuccessfulresults {
250
- background-color: theme(digitv2.lightTheme.paper-secondary);
251
- pointer-events: none;
252
- span {
253
- @extend .typography.body-s;
254
- color: theme(digitv2.lightTheme.text-disabled);
255
- }
256
- }
257
- }
258
- .digit-dropdown-employee-select-wrap--elipses {
259
- @apply overflow-hidden whitespace-no-wrap;
260
- width:calc(100%- (theme(digitv2.spacers.spacer7)));
261
- text-overflow: ellipsis;
262
- &.treedropdown,
263
- &.notSearchable {
264
- @apply pointer-events-none;
265
- }
266
- }
267
- .digit-dropdown-select-wrap {
268
- @apply mb-lg relative bg-white;
269
- @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
270
- /* Media query for tablets */
271
- max-width: 27.5rem;
272
- }
273
- @media (max-aspect-ratio: 9/16) {
274
- /* Media query for mobile */
275
- max-width: 20.5rem;
276
- width: 100%;
277
- }
278
- @media (min-aspect-ratio: 3/4) {
279
- /* Media query for desktop */
280
- max-width: 37.5rem;
281
- }
282
- .digit-dropdown-select {
283
- @extend .light-input-border;
284
- @apply relative block w-full h-10 bg-white;
285
- border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
286
- input[type="text"] {
287
- @extend .typography.body-l;
288
- @apply absolute z-10 h-full outline-none;
289
- width:calc(100%- (theme(digitv2.spacers.spacer7)));
290
- background-color: transparent;
291
- padding-top: theme(digitv2.spacers.spacer2);
292
- padding-bottom: theme(digitv2.spacers.spacer2);
293
- padding-left: theme(digitv2.spacers.spacer3);
294
- color: theme(digitv2.lightTheme.text-primary);
295
- }
296
- &.disabled {
297
- pointer-events: none !important;
298
- border: 0.063rem solid theme(digitv2.lightTheme.generic-divider) !important;
299
- color: theme(digitv2.lightTheme.generic-divider) !important;
300
- }
301
- p {
302
- @extend .light-text-color-primary;
303
- padding-top: 0.563rem;
304
- @apply text-form-field text-text-primary float-left ml-sm;
305
- }
306
- img {
307
- @apply float-right h-6 w-6 mt-sm mr-sm;
308
- }
309
- svg {
310
- @apply absolute right-0 float-right h-6 w-6 mt-sm mr-sm mb-sm;
311
- }
312
- }
313
- .digit-dropdown-select-active {
314
- @apply relative block w-full h-10;
315
- border: 0.063rem solid theme(digitv2.lightTheme.primary-1);
316
- input[type="text"] {
317
- @extend .typography.body-l;
318
- @apply absolute z-10 h-full outline-none;
319
- width:calc(100%- (theme(digitv2.spacers.spacer7)));
320
- background-color: transparent;
321
- padding-top: theme(digitv2.spacers.spacer2);
322
- padding-bottom: theme(digitv2.spacers.spacer2);
323
- padding-left: theme(digitv2.spacers.spacer3);
324
- color: theme(digitv2.lightTheme.text-primary);
325
- }
326
- p {
327
- @extend .light-text-color-primary;
328
- @apply text-form-field text-text-primary float-left ml-sm;
329
- }
330
- p {
331
- padding-top: 0.563rem;
332
- }
333
- img {
334
- @apply float-right h-6 w-6 mt-sm mr-sm;
335
- }
336
- svg {
337
- @apply absolute right-0 float-right h-6 w-6 mt-sm mr-sm mb-sm;
338
- }
339
- }
340
- .digit-dropdown-select,
341
- .digit-dropdown-select-active {
342
- &.treedropdown,
343
- &.notSearchable {
344
- @apply cursor-pointer;
345
- }
346
- }
347
- .digit-dropdown-options-card {
348
- width: 100% !important;
349
- box-shadow: theme(digitv2.spacers.spacer0) 0.063rem 0.275rem theme(digitv2.spacers.spacer0) #00000026;
350
- @apply z-20 bg-white overflow-y-auto overflow-x-hidden;
351
- max-height: 20vmax;
352
- p {
353
- @extend .light-text-color-primary;
354
- padding-top: 0.875rem;
355
- @apply w-full h-12 pl-sm text-text-primary text-form-field;
356
- &:hover {
357
- @apply bg-grey-mid;
358
- }
359
- }
360
- }
1
+ .digit-dropdown-employee-select-wrap {
2
+ @apply w-full relative;
3
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
4
+ /* Media query for tablets */
5
+ max-width: 27.5rem;
6
+ }
7
+ @media (max-aspect-ratio: 9/16) {
8
+ /* Media query for mobile */
9
+ max-width: 100%;
10
+ width: 100%;
11
+ }
12
+ @media (min-aspect-ratio: 3/4) {
13
+ /* Media query for desktop */
14
+ max-width: 37.5rem;
15
+ }
16
+ .digit-dropdown-select {
17
+ @extend .light-input-border;
18
+ @apply relative block w-full h-10 bg-white;
19
+ border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
20
+ &.digit-field-error {
21
+ border: 0.063rem solid;
22
+ border-color: theme(digitv2.lightTheme.alert-error);
23
+ }
24
+ &.disabled {
25
+ pointer-events: none !important;
26
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-divider) !important;
27
+ color: theme(digitv2.lightTheme.generic-divider) !important;
28
+ }
29
+ input[type="text"] {
30
+ @extend .typography.body-l;
31
+ @apply absolute z-10 h-full outline-none;
32
+ width:calc(100%- (theme(digitv2.spacers.spacer7)));
33
+ background-color: transparent;
34
+ padding-top:theme(digitv2.spacers.spacer2);
35
+ padding-bottom: theme(digitv2.spacers.spacer2);
36
+ padding-left:theme(digitv2.spacers.spacer3);
37
+ color: theme(digitv2.lightTheme.text-primary);
38
+ }
39
+ p {
40
+ @extend .light-text-color-primary;
41
+ padding-top: 0.563rem;
42
+ @apply text-form-field text-text-primary float-left ml-sm;
43
+ }
44
+ img {
45
+ @apply float-right h-6 w-6 mt-sm mr-sm;
46
+ }
47
+ svg {
48
+ @apply absolute right-0 float-right h-6 w-6 mt-sm mr-sm mb-sm;
49
+ }
50
+ }
51
+ .digit-dropdown-select-active {
52
+ @apply relative block w-full h-10;
53
+ border: 0.063rem solid theme(digitv2.lightTheme.primary-1);
54
+ input[type="text"] {
55
+ @extend .typography.body-l;
56
+ @apply absolute z-10 h-full outline-none;
57
+ width:calc(100%- (theme(digitv2.spacers.spacer7)));
58
+ background-color: transparent;
59
+ font-size: theme(digitv2.spacers.spacer4);
60
+ padding-top: theme(digitv2.spacers.spacer2);
61
+ padding-bottom: theme(digitv2.spacers.spacer2);
62
+ padding-left: theme(digitv2.spacers.spacer3);
63
+ color: theme(digitv2.lightTheme.text-primary);
64
+ }
65
+ p {
66
+ @extend .light-text-color-primary;
67
+ @apply text-form-field text-text-primary float-left ml-sm;
68
+ }
69
+ p {
70
+ padding-top: 0.563rem;
71
+ }
72
+ img {
73
+ @apply float-right h-6 w-6 mt-sm mr-sm;
74
+ }
75
+ svg {
76
+ @apply absolute right-0 float-right h-6 w-6 mt-sm mr-sm mb-sm;
77
+ }
78
+ }
79
+ .digit-dropdown-options-card {
80
+ width: 100% !important;
81
+ box-shadow: theme(digitv2.spacers.spacer0) 0.063rem 0.275rem theme(digitv2.spacers.spacer0) #00000026;
82
+ max-height: 20vmax;
83
+ @apply absolute z-20 bg-white max-w-full overflow-y-auto overflow-x-hidden;
84
+ p {
85
+ @extend .light-text-color-primary;
86
+ padding-top: 0.875rem;
87
+ @apply w-full h-12 pl-sm text-text-primary text-form-field;
88
+ &:hover {
89
+ @extend .light-background;
90
+ @apply bg-grey-mid;
91
+ }
92
+ }
93
+ }
94
+ .digit-dropdown-select,
95
+ .digit-dropdown-select-active {
96
+ &.treedropdown,
97
+ &.notSearchable {
98
+ @apply cursor-pointer;
99
+ }
100
+ }
101
+ }
102
+ .digit-dropdown-options-card::-webkit-scrollbar {
103
+ width: theme(digitv2.spacers.spacer2);
104
+ background-color: theme(digitv2.lightTheme.generic-background);
105
+ }
106
+ .digit-dropdown-options-card::-webkit-scrollbar-track {
107
+ background-color: theme(digitv2.lightTheme.generic-background);
108
+ border-radius: 0.563rem;
109
+ }
110
+ .digit-dropdown-options-card::-webkit-scrollbar-thumb {
111
+ background-color: theme(digitv2.lightTheme.generic-divider);
112
+ border-radius: 0.563rem;
113
+ }
114
+ .digit-nested-category {
115
+ @apply flex items-center flex-shrink-0;
116
+ background: theme(digitv2.lightTheme.background);
117
+ height: 2.4375rem;
118
+ padding: theme(digitv2.spacers.spacer4) 0.625rem;
119
+ gap: 0.625rem;
120
+ }
121
+ .digit-nested-category:not(:first-child) {
122
+ margin-top: theme(digitv2.spacers.spacer4);
123
+ }
124
+ .digit-category-name {
125
+ @extend .typography.heading-s;
126
+ @apply flex items-center overflow-hidden whitespace-no-wrap;
127
+ color: theme(digitv2.lightTheme.text-primary);
128
+ gap: theme(digitv2.spacers.spacer1);
129
+ }
130
+ .digit-dropdown-item {
131
+ @apply flex flex-row;
132
+ padding: 0.625rem;
133
+ gap: 0.625rem;
134
+ min-height: 2.438rem;
135
+ color: theme(digitv2.lightTheme.text-primary) !important;
136
+ .profile-icon-container {
137
+ flex-shrink: 0;
138
+ border-radius: 4.5rem;
139
+ background-size: cover;
140
+ background-position: center;
141
+ }
142
+ .option-des-container {
143
+ @apply flex-col justify-center w-full max-w-full overflow-hidden box-border;
144
+ display: flex !important;
145
+ align-items: center;
146
+ min-height: 1.125rem;
147
+ .icon-option{
148
+ @apply w-full items-center;
149
+ display: flex !important;
150
+ gap:theme(digitv2.spacers.spacer1);
151
+ svg{
152
+ flex-shrink: 0;
153
+ }
154
+ }
155
+ .main-option {
156
+ @extend .typography.body-s;
157
+ @apply whitespace-no-wrap w-full max-w-full overflow-hidden;
158
+ text-overflow: ellipsis;
159
+ &.nestedtextdropdown,
160
+ &.profilenestedtext {
161
+ @extend .typography.body-l;
162
+ color: theme(digitv2.lightTheme.text-secondary);
163
+ }
164
+ }
165
+ .option-description {
166
+ @extend .typography.body-xs;
167
+ color: theme(digitv2.lightTheme.text-secondary);
168
+ }
169
+ }
170
+ &:not(.nesteddropdown, .treedropdown):not(:active):nth-of-type(even) {
171
+ background: theme(digitv2.lightTheme.paper-secondary);
172
+ }
173
+ &.nesteddropdown {
174
+ position: relative;
175
+ height: 2.4375rem;
176
+ &::before {
177
+ content: "";
178
+ position: absolute;
179
+ bottom: 0;
180
+ left: 0.625rem;
181
+ right: 0.635rem;
182
+ border-bottom: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
183
+ }
184
+ &:hover,
185
+ &:active {
186
+ &::before {
187
+ border-bottom: none;
188
+ }
189
+ }
190
+ }
191
+ &:hover,
192
+ &.keyChange{
193
+ background: theme(digitv2.lightTheme.primary-bg) !important;
194
+ border: 0.031rem solid theme(digitv2.lightTheme.primary-1);
195
+ }
196
+ &:active {
197
+ background: theme(digitv2.lightTheme.primary-1) !important;
198
+ span,
199
+ .option-description {
200
+ color: theme(digitv2.lightTheme.paper-primary);
201
+ }
202
+ .svg {
203
+ width: 6.25rem;
204
+ }
205
+ .option-des-container {
206
+ .main-option {
207
+ @extend .typography.heading-s;
208
+ }
209
+ }
210
+ }
211
+ &.nestedtextdropdown {
212
+ min-height: 4.75rem;
213
+ padding: theme(digitv2.spacers.spacer2) 0.635rem theme(digitv2.spacers.spacer2) 0.635rem;
214
+ color: theme(digitv2.lightTheme.text-secondary) !important;
215
+ &:hover {
216
+ border: 0.063rem solid theme(digitv2.lightTheme.primary-1);
217
+ }
218
+ .option-des-container {
219
+ padding-right: 0.125rem !important;
220
+ }
221
+ &:active {
222
+ .option-des-container {
223
+ .main-option {
224
+ @extend .typography.heading-s;
225
+ color: theme(digitv2.lightTheme.paper-primary);
226
+ }
227
+ }
228
+ }
229
+ }
230
+ &.profiledropdown {
231
+ min-height: theme(digitv2.spacers.spacer12);
232
+ padding: theme(digitv2.spacers.spacer2) 0.625rem;
233
+ }
234
+ &.profilenestedtext {
235
+ min-height: 4.75rem;
236
+ padding: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer4);
237
+ gap: theme(digitv2.spacers.spacer4);
238
+ align-items: center;
239
+ color: theme(digitv2.lightTheme.text-secondary) !important;
240
+ &:active {
241
+ .option-des-container {
242
+ .main-option {
243
+ @extend .typography.heading-s;
244
+ color: theme(digitv2.lightTheme.paper-primary);
245
+ }
246
+ }
247
+ }
248
+ }
249
+ &.unsuccessfulresults {
250
+ background-color: theme(digitv2.lightTheme.paper-secondary);
251
+ pointer-events: none;
252
+ span {
253
+ @extend .typography.body-s;
254
+ color: theme(digitv2.lightTheme.text-disabled);
255
+ }
256
+ }
257
+ }
258
+ .digit-dropdown-employee-select-wrap--elipses {
259
+ @apply overflow-hidden whitespace-no-wrap;
260
+ width:calc(100%- (theme(digitv2.spacers.spacer7)));
261
+ text-overflow: ellipsis;
262
+ &.treedropdown,
263
+ &.notSearchable {
264
+ @apply pointer-events-none;
265
+ }
266
+ }
267
+ .digit-dropdown-select-wrap {
268
+ @apply relative bg-white w-full;
269
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
270
+ /* Media query for tablets */
271
+ max-width: 27.5rem;
272
+ }
273
+ @media (max-aspect-ratio: 9/16) {
274
+ /* Media query for mobile */
275
+ max-width: 20.5rem;
276
+ width: 100%;
277
+ }
278
+ @media (min-aspect-ratio: 3/4) {
279
+ /* Media query for desktop */
280
+ max-width: 37.5rem;
281
+ }
282
+ .digit-dropdown-select {
283
+ @extend .light-input-border;
284
+ @apply relative block w-full h-10 bg-white;
285
+ border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
286
+ input[type="text"] {
287
+ @extend .typography.body-l;
288
+ @apply absolute z-10 h-full outline-none;
289
+ width:calc(100%- (theme(digitv2.spacers.spacer7)));
290
+ background-color: transparent;
291
+ padding-top: theme(digitv2.spacers.spacer2);
292
+ padding-bottom: theme(digitv2.spacers.spacer2);
293
+ padding-left: theme(digitv2.spacers.spacer3);
294
+ color: theme(digitv2.lightTheme.text-primary);
295
+ }
296
+ &.disabled {
297
+ pointer-events: none !important;
298
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-divider) !important;
299
+ color: theme(digitv2.lightTheme.generic-divider) !important;
300
+ }
301
+ p {
302
+ @extend .light-text-color-primary;
303
+ padding-top: 0.563rem;
304
+ @apply text-form-field text-text-primary float-left ml-sm;
305
+ }
306
+ img {
307
+ @apply float-right h-6 w-6 mt-sm mr-sm;
308
+ }
309
+ svg {
310
+ @apply absolute right-0 float-right h-6 w-6 mt-sm mr-sm mb-sm;
311
+ }
312
+ }
313
+ .digit-dropdown-select-active {
314
+ @apply relative block w-full h-10;
315
+ border: 0.063rem solid theme(digitv2.lightTheme.primary-1);
316
+ input[type="text"] {
317
+ @extend .typography.body-l;
318
+ @apply absolute z-10 h-full outline-none;
319
+ width:calc(100%- (theme(digitv2.spacers.spacer7)));
320
+ background-color: transparent;
321
+ padding-top: theme(digitv2.spacers.spacer2);
322
+ padding-bottom: theme(digitv2.spacers.spacer2);
323
+ padding-left: theme(digitv2.spacers.spacer3);
324
+ color: theme(digitv2.lightTheme.text-primary);
325
+ }
326
+ p {
327
+ @extend .light-text-color-primary;
328
+ @apply text-form-field text-text-primary float-left ml-sm;
329
+ }
330
+ p {
331
+ padding-top: 0.563rem;
332
+ }
333
+ img {
334
+ @apply float-right h-6 w-6 mt-sm mr-sm;
335
+ }
336
+ svg {
337
+ @apply absolute right-0 float-right h-6 w-6 mt-sm mr-sm mb-sm;
338
+ }
339
+ }
340
+ .digit-dropdown-select,
341
+ .digit-dropdown-select-active {
342
+ &.treedropdown,
343
+ &.notSearchable {
344
+ @apply cursor-pointer;
345
+ }
346
+ }
347
+ .digit-dropdown-options-card {
348
+ width: 100% !important;
349
+ box-shadow: theme(digitv2.spacers.spacer0) 0.063rem 0.275rem theme(digitv2.spacers.spacer0) #00000026;
350
+ @apply absolute z-20 bg-white overflow-y-auto overflow-x-hidden;
351
+ max-height: 20vmax;
352
+ p {
353
+ @extend .light-text-color-primary;
354
+ padding-top: 0.875rem;
355
+ @apply w-full h-12 pl-sm text-text-primary text-form-field;
356
+ &:hover {
357
+ @apply bg-grey-mid;
358
+ }
359
+ }
360
+ }
361
+ }
362
+
363
+ .cp{
364
+ cursor: pointer;
361
365
  }