@egovernments/digit-ui-components-css 0.2.0-beta.3 → 0.2.0-beta.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@egovernments/digit-ui-components-css",
3
- "version": "0.2.0-beta.3",
3
+ "version": "0.2.0-beta.5",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "Jagankumar <jagan.kumar@egovernments.org>",
@@ -334,7 +334,8 @@
334
334
  }
335
335
 
336
336
  .digit-card-section-header {
337
- @apply text-text-primary text-heading-m font-bold;
337
+ @apply text-heading-m font-bold;
338
+ color: theme(digitv2.lightTheme.text-primary);
338
339
  }
339
340
 
340
341
  .digit-card-search-heading {
@@ -144,4 +144,77 @@
144
144
  .digit-charcount {
145
145
  @apply justify-end;
146
146
  }
147
+ }
148
+
149
+ .digit-form-card-subheader {
150
+ @extend .typography.caption-l;
151
+ font-family: theme(digitv2.fontFamily.sans);
152
+ font-style: theme(digitv2.fontStyle.normal);
153
+ font-weight: theme(digitv2.fontWeight.medium);
154
+ line-height: theme(digitv2.lineHeight.lineheight1);
155
+
156
+ @media (max-aspect-ratio: 9/16) {
157
+ /* Media query for mobile */
158
+ font-size: theme(digitv2.fontSize.caption-l.mobile);
159
+ }
160
+
161
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
162
+ /* Media query for tablets */
163
+ font-size: theme(digitv2.fontSize.caption-l.tablet);
164
+ }
165
+
166
+ @media (min-aspect-ratio: 3/4) {
167
+ /* Media query for desktop */
168
+ font-size: theme(digitv2.fontSize.caption-l.desktop);
169
+ }
170
+ color: theme(digitv2.lightTheme.text-primary);
171
+ }
172
+
173
+ .digit-form-card-description {
174
+ @extend .typography.heading-s;
175
+ font-family: theme(digitv2.fontFamily.sans);
176
+ font-style: theme(digitv2.fontStyle.normal);
177
+ font-weight: theme(digitv2.fontWeight.bold);
178
+ line-height: theme(digitv2.lineHeight.lineheight1);
179
+
180
+ @media (max-aspect-ratio: 9/16) {
181
+ /* Media query for mobile */
182
+ font-size: theme(digitv2.fontSize.heading-s.mobile);
183
+ }
184
+
185
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
186
+ /* Media query for tablets */
187
+ font-size: theme(digitv2.fontSize.heading-s.tablet);
188
+ }
189
+
190
+ @media (min-aspect-ratio: 3/4) {
191
+ /* Media query for desktop */
192
+ font-size: theme(digitv2.fontSize.heading-s.desktop);
193
+ }
194
+ color: theme(digitv2.lightTheme.text-secondary);
195
+ }
196
+
197
+ .digit-form-card-text {
198
+ @extend .typography.body-l;
199
+ font-family: theme(digitv2.fontFamily.sans);
200
+ font-style: theme(digitv2.fontStyle.normal);
201
+ font-weight: theme(digitv2.fontWeight.regular);
202
+ line-height: theme(digitv2.lineHeight.lineheight2);
203
+
204
+ @media (max-aspect-ratio: 9/16) {
205
+ /* Media query for mobile */
206
+ font-size: theme(digitv2.fontSize.body-l.mobile);
207
+ }
208
+
209
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
210
+ /* Media query for tablets */
211
+ font-size: theme(digitv2.fontSize.body-l.tablet);
212
+ }
213
+
214
+ @media (min-aspect-ratio: 3/4) {
215
+ /* Media query for desktop */
216
+ font-size: theme(digitv2.fontSize.body-l.desktop);
217
+ }
218
+ color: theme(digitv2.lightTheme.text-secondary);
219
+
147
220
  }
@@ -304,6 +304,13 @@
304
304
  }
305
305
  }
306
306
 
307
+ .digit-inbox-search-composer-header {
308
+ @extend .typography.heading-xl;
309
+ color: theme(digitv2.lightTheme.primary-2);
310
+ margin-bottom: theme(digitv2.spacers.spacer6);
311
+ line-height: normal;
312
+ }
313
+
307
314
  .digit-inbox-search-composer-header-action-wrapper{
308
315
 
309
316
  display: flex;
@@ -313,12 +320,6 @@
313
320
  .digit-inbox-search-composer-action{
314
321
  margin-bottom: theme(digitv2.spacers.spacer6);
315
322
  }
316
- .digit-inbox-search-composer-header {
317
- @extend .typography.heading-xl;
318
- color: theme(digitv2.lightTheme.primary-2);
319
- margin-bottom: theme(digitv2.spacers.spacer6);
320
- line-height: normal;
321
- }
322
323
  }
323
324
 
324
325
  .digit-inbox-search-links-container {
@@ -1,11 +1,11 @@
1
1
 
2
- .digit-global-serach-results-table-wrapper{
2
+ .digit-global-search-results-table-wrapper{
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  align-items: flex-end;
6
6
  }
7
7
 
8
- .digit-global-serach-results-table{
8
+ .digit-global-search-results-table{
9
9
  margin-bottom: 1.5rem;
10
10
 
11
11