@innovaccer/design-system 4.8.0 → 4.10.0

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 (33) hide show
  1. package/CHANGELOG.md +90 -0
  2. package/css/dist/index.css +318 -114
  3. package/css/dist/index.css.map +1 -1
  4. package/css/src/components/chatInput.module.css +83 -0
  5. package/css/src/components/checkbox.module.css +1 -1
  6. package/css/src/components/grid.module.css +188 -97
  7. package/css/src/components/verticalNav.module.css +1 -0
  8. package/css/src/utils/utility.css +4 -0
  9. package/dist/brotli/index.js +1 -1
  10. package/dist/brotli/index.js.br +0 -0
  11. package/dist/cjs/index.js +1 -1
  12. package/dist/core/components/atoms/paragraph/Paragraph.d.ts +1 -1
  13. package/dist/core/components/atoms/statusHint/StatusHint.d.ts +1 -1
  14. package/dist/core/components/atoms/subheading/Subheading.d.ts +1 -1
  15. package/dist/core/components/molecules/chat/Chat.d.ts +1 -0
  16. package/dist/core/components/molecules/chat/chatInput/ChatInput.d.ts +18 -0
  17. package/dist/core/components/molecules/chat/chatInput/index.d.ts +2 -0
  18. package/dist/core/components/organisms/grid/Grid.d.ts +4 -0
  19. package/dist/core/components/organisms/grid/GridCell.d.ts +2 -0
  20. package/dist/core/components/organisms/grid/rowUtility.d.ts +1 -0
  21. package/dist/core/components/organisms/table/Table.d.ts +3 -0
  22. package/dist/core/index.type.d.ts +1 -0
  23. package/dist/core/utils/navigationHelper.d.ts +1 -1
  24. package/dist/esm/index.js +1175 -831
  25. package/dist/figma/ChatInput.figma.d.ts +1 -0
  26. package/dist/gzip/index.js +1 -1
  27. package/dist/gzip/index.js.gz +0 -0
  28. package/dist/index.js +988 -659
  29. package/dist/index.js.map +1 -1
  30. package/dist/index.umd.css +318 -114
  31. package/dist/index.umd.js +1 -1
  32. package/dist/types/tsconfig.type.tsbuildinfo +78 -29
  33. package/package.json +1 -1
@@ -0,0 +1,83 @@
1
+ .ChatInput {
2
+ display: flex;
3
+ flex-direction: row;
4
+ align-items: center;
5
+ border: var(--border-width-2-5) solid var(--secondary);
6
+ padding: var(--spacing-20);
7
+ border-radius: var(--border-radius-10);
8
+ background: var(--white);
9
+ max-width: 100%;
10
+ min-width: var(--spacing-640);
11
+ transition: all var(--duration--slow-01) var(--standard-productive-curve);
12
+ max-height: var(--spacing-440);
13
+ position: relative;
14
+ box-sizing: border-box;
15
+ line-height: var(--font-height-m);
16
+ }
17
+
18
+ .ChatInput--expanded {
19
+ flex-direction: column;
20
+ align-items: flex-start;
21
+ }
22
+
23
+ .ChatInput--disabled {
24
+ background: var(--secondary-lightest);
25
+ cursor: not-allowed;
26
+ }
27
+
28
+ .ChatInput:hover {
29
+ background: var(--secondary-lighter);
30
+ }
31
+
32
+ .ChatInput:focus-within,
33
+ .ChatInput:focus,
34
+ .ChatInput:focus-visible {
35
+ outline: none;
36
+ border: var(--border-width-2-5) solid var(--primary);
37
+ box-shadow: var(--shadow-spread) var(--primary-shadow);
38
+ }
39
+
40
+ .ChatInput-textarea {
41
+ flex: 1;
42
+ /* height: 100%; */
43
+ height: var(--spacing-60);
44
+ width: 100%;
45
+ resize: none;
46
+ border: none;
47
+ outline: none;
48
+ transition-delay: var(--duration--slow-01);
49
+ transition: width var(--duration--slow-01) var(--standard-productive-curve);
50
+ box-sizing: border-box;
51
+ cursor: auto;
52
+ padding: var(--spacing-05) 0;
53
+ background: none;
54
+ word-break: break-all;
55
+ overflow-y: scroll;
56
+ font-family: var(--font-family);
57
+ font-weight: var(--font-weight-normal);
58
+ line-height: var(--font-height);
59
+ font-size: var(--font-size);
60
+ }
61
+
62
+ .ChatInput-textarea::placeholder {
63
+ color: var(--inverse-lighter);
64
+ }
65
+
66
+ .ChatInput textarea:disabled::placeholder {
67
+ color: var(--inverse-lightest);
68
+ }
69
+
70
+ .ChatInput-actions {
71
+ display: flex;
72
+ flex-shrink: 0;
73
+ transition: all var(--duration--slow-01) var(--standard-productive-curve);
74
+ margin-left: var(--spacing-20);
75
+ align-items: center;
76
+ }
77
+
78
+ .ChatInput-actions--expanded {
79
+ width: 100%;
80
+ justify-content: flex-end;
81
+ margin-top: var(--spacing-20);
82
+ margin-left: 0;
83
+ }
@@ -21,7 +21,6 @@
21
21
  }
22
22
 
23
23
  .Checkbox-labelWrapper {
24
- padding-left: var(--spacing-20);
25
24
  display: flex;
26
25
  flex-direction: column;
27
26
  min-width: 0;
@@ -39,6 +38,7 @@
39
38
  .Checkbox-outerWrapper {
40
39
  position: relative;
41
40
  margin-top: var(--spacing-05);
41
+ margin-right: var(--spacing-20);
42
42
  }
43
43
 
44
44
  .Checkbox-outerWrapper--regular {
@@ -1,12 +1,3 @@
1
- /** Grid **/
2
-
3
- .Grid-wrapper {
4
- display: flex;
5
- position: relative;
6
- overflow: hidden;
7
- height: 100%;
8
- }
9
-
10
1
  .Grid {
11
2
  display: flex;
12
3
  flex-direction: column;
@@ -16,20 +7,11 @@
16
7
  background: var(--white);
17
8
  }
18
9
 
19
- .Grid--resource .Grid-row--body:hover,
20
- .Grid--resource .Grid-row--body:hover .Grid-cellGroup {
21
- cursor: pointer;
22
- background: var(--secondary-lightest);
23
- }
24
-
25
- .Grid--resource .Grid-row--body:active,
26
- .Grid--resource .Grid-row--body:active .Grid-cellGroup {
27
- background: var(--secondary-lighter);
28
- }
29
-
30
- .Grid--resource .Grid-row--body:focus {
31
- box-shadow: var(--shadow-spread) color-mod(var(--secondary) a(var(--opacity-4)));
32
- outline: none;
10
+ .Grid-wrapper {
11
+ display: flex;
12
+ position: relative;
13
+ overflow: hidden;
14
+ height: 100%;
33
15
  }
34
16
 
35
17
  .Grid--pinned {
@@ -131,42 +113,6 @@
131
113
  border-bottom: var(--border);
132
114
  }
133
115
 
134
- .Grid-row {
135
- display: flex;
136
- flex-grow: 1;
137
- flex-shrink: 0;
138
- box-sizing: border-box;
139
- background: var(--white);
140
- transition: var(--duration--fast-02) var(--standard-productive-curve);
141
- transition-delay: var(--duration--fast-01);
142
- }
143
-
144
- .Grid-row--body {
145
- border-color: var(--secondary-light);
146
- }
147
-
148
- .Grid-row--selected,
149
- .Grid-row--selected .Grid-cellGroup {
150
- background: color-mod(var(--primary-lightest) a(var(--opacity-12)));
151
- transition: var(--duration--fast-02) var(--standard-productive-curve);
152
- }
153
-
154
- .Grid-row--selected:hover,
155
- .Grid-row--selected .Grid-cellGroup:hover {
156
- background: color-mod(var(--primary-lighter) a(var(--opacity-12))) !important;
157
- }
158
-
159
- .Grid-row--selected:active,
160
- .Grid-row--selected .Grid-cellGroup:active {
161
- background: var(--primary-lighter) !important;
162
- }
163
-
164
- .Grid-row--selected:focus,
165
- .Grid-row--selected .Grid-cellGroup:focus {
166
- outline: none;
167
- box-shadow: var(--shadow-spread) color-mod(var(--primary) a(var(--opacity-4)));
168
- }
169
-
170
116
  .Grid-rowWrapper:last-child .Grid-row--body {
171
117
  border-bottom: 0;
172
118
  }
@@ -203,6 +149,7 @@
203
149
  box-sizing: border-box;
204
150
  padding-left: var(--spacing-30);
205
151
  padding-right: var(--spacing-30);
152
+ flex-grow: 1;
206
153
  }
207
154
 
208
155
  .Grid-cell--body {
@@ -238,15 +185,6 @@
238
185
  border-left: none;
239
186
  }
240
187
 
241
- /* .Grid .Grid-cellGroup--main .Grid-cell--head.Grid-cell:last-child {
242
- border-right: var(--border);
243
- } */
244
-
245
- .Grid-row--disabled {
246
- opacity: var(--opacity-10);
247
- pointer-events: none;
248
- }
249
-
250
188
  .Grid-cell--head.Grid-cell--selected {
251
189
  background: var(--primary-light);
252
190
  }
@@ -261,6 +199,15 @@
261
199
  overflow: visible !important;
262
200
  }
263
201
 
202
+ .Grid-cell--separator {
203
+ border-left: var(--border);
204
+ border-color: var(--secondary-light);
205
+ }
206
+
207
+ .Grid-cell--selected {
208
+ background: var(--primary-lightest);
209
+ }
210
+
264
211
  .Grid-sortingIcons {
265
212
  display: flex;
266
213
  align-items: center;
@@ -322,7 +269,7 @@
322
269
  .Grid-cellGroup {
323
270
  display: flex;
324
271
  box-sizing: border-box;
325
- background: var(--white);
272
+ height: 100%;
326
273
  }
327
274
 
328
275
  .Grid-cellGroup--pinned {
@@ -332,32 +279,10 @@
332
279
 
333
280
  .Grid-cellGroup--pinned-left {
334
281
  left: 0;
335
- border-style: inset;
336
- border-right: var(--spacing-2-5) solid rgba(213, 213, 213, var(--opacity-3));
337
- border-right-width: var(--border-width-10);
338
- border-image: linear-gradient(
339
- to right,
340
- var(--secondary-light),
341
- var(--secondary-light) 25%,
342
- color-mod(var(--secondary) a(0.1)) 25%,
343
- color-mod(var(--secondary) a(0.1))
344
- )
345
- 1 100%;
346
282
  }
347
283
 
348
284
  .Grid-cellGroup--pinned-right {
349
285
  right: 0;
350
- border-style: inset;
351
- border-left: var(--border-width-2-5) solid rgba(213, 213, 213, var(--opacity-3));
352
- border-left-width: var(--border-width-10);
353
- border-image: linear-gradient(
354
- to left,
355
- var(--secondary-light),
356
- var(--secondary-light) 25%,
357
- color-mod(var(--secondary) a(0.1)) 25%,
358
- color-mod(var(--secondary) a(0.1))
359
- )
360
- 1 100%;
361
286
  }
362
287
 
363
288
  .Grid .Checkbox-wrapper {
@@ -374,13 +299,11 @@
374
299
  }
375
300
 
376
301
  .GridCell--align-left {
377
- /* flex-direction: row; */
378
302
  justify-content: flex-start;
379
303
  text-align: left;
380
304
  }
381
305
 
382
306
  .GridCell--align-right {
383
- /* flex-direction: row-reverse; */
384
307
  justify-content: flex-end;
385
308
  text-align: right;
386
309
  }
@@ -390,6 +313,9 @@
390
313
  text-align: center;
391
314
  }
392
315
 
316
+ .GridCell--default {
317
+ }
318
+
393
319
  .GridCell--metaList {
394
320
  display: flex;
395
321
  flex-direction: column;
@@ -428,7 +354,7 @@
428
354
  align-items: center;
429
355
  }
430
356
 
431
- .GridCell-metaList .Text::before {
357
+ .GridCell-metaSeparator {
432
358
  content: '';
433
359
  display: inline-flex;
434
360
  align-items: center;
@@ -436,12 +362,21 @@
436
362
  width: var(--spacing-10);
437
363
  height: var(--spacing-10);
438
364
  border-radius: var(--border-radius-full);
439
- background: var(--secondary);
365
+ background: var(--inverse-lightest);
440
366
  margin: 0 var(--spacing-20);
441
367
  }
442
368
 
443
- .GridCell-metaList .Text:first-child::before {
444
- display: none;
369
+ .GridCell-mark--default {
370
+ background: var(--warning-light);
371
+ border-radius: var(--border-radius-05);
372
+ }
373
+
374
+ .GridCell-mark--metaList {
375
+ font-size: var(--font-size-s);
376
+ line-height: var(--font-height-normal);
377
+ color: var(--text-subtle);
378
+ background: var(--warning-light);
379
+ border-radius: var(--border-radius-05);
445
380
  }
446
381
 
447
382
  .GridCell--metaList ul li:first-child {
@@ -514,3 +449,159 @@
514
449
  margin-left: auto;
515
450
  margin-bottom: var(--spacing-40);
516
451
  }
452
+
453
+ /* Grid row */
454
+
455
+ .Grid-row--disabled {
456
+ opacity: var(--opacity-10);
457
+ pointer-events: none;
458
+ }
459
+
460
+ .Grid-row {
461
+ display: flex;
462
+ flex-grow: 1;
463
+ flex-shrink: 0;
464
+ box-sizing: border-box;
465
+ background: var(--white);
466
+ }
467
+
468
+ .Grid-row--body {
469
+ border-color: var(--secondary-light);
470
+ }
471
+
472
+ .Grid--resource .Grid-row--body:hover {
473
+ cursor: pointer;
474
+ background: var(--secondary-lightest);
475
+ }
476
+
477
+ .Grid--resource .Grid-row--body:active {
478
+ background: var(--secondary-lighter);
479
+ }
480
+
481
+ .Grid--resource .Grid-row--body:focus {
482
+ box-shadow: var(--shadow-spread) color-mod(var(--secondary) a(var(--opacity-4)));
483
+ outline: none;
484
+ }
485
+
486
+ /* Selected States */
487
+
488
+ .Grid-row--selected {
489
+ background: color-mod(var(--primary-lightest) a(var(--opacity-12)));
490
+ }
491
+
492
+ .Grid-row--selected:hover {
493
+ background: color-mod(var(--primary-lighter) a(var(--opacity-12))) !important;
494
+ }
495
+
496
+ .Grid-row--selected:active {
497
+ background: var(--primary-lighter) !important;
498
+ }
499
+
500
+ .Grid-row--selected:focus {
501
+ outline: none;
502
+ box-shadow: var(--shadow-spread) color-mod(var(--primary) a(var(--opacity-4)));
503
+ }
504
+
505
+ /* Activated States */
506
+
507
+ .Grid-row--activated {
508
+ background: var(--primary-lightest);
509
+ }
510
+
511
+ /* Pinned Columns Default State */
512
+
513
+ .Grid--resource .Grid-row--body:hover .Grid-cellWrapper--pinned {
514
+ cursor: pointer;
515
+ background: var(--secondary-lightest);
516
+ }
517
+
518
+ .Grid--resource .Grid-row--body:active .Grid-cellWrapper--pinned {
519
+ background: var(--secondary-lighter);
520
+ }
521
+
522
+ .Grid--resource .Grid-row--body:focus .Grid-cellWrapper--pinned {
523
+ box-shadow: var(--shadow-spread) color-mod(var(--secondary) a(var(--opacity-4)));
524
+ outline: none;
525
+ }
526
+
527
+ /* Pinned Columns Selected State */
528
+
529
+ .Grid-row--selected .Grid-cellWrapper--pinned {
530
+ background: color-mod(var(--primary-lightest) a(var(--opacity-12)));
531
+ }
532
+
533
+ .Grid-row--selected:hover .Grid-cellWrapper--pinned {
534
+ background: color-mod(var(--primary-lighter) a(var(--opacity-12))) !important;
535
+ }
536
+
537
+ .Grid-row--selected:active .Grid-cellWrapper--pinned {
538
+ background: var(--primary-lighter) !important;
539
+ }
540
+
541
+ .Grid-row--selected:focus .Grid-cellWrapper--pinned {
542
+ outline: none;
543
+ box-shadow: var(--shadow-spread) color-mod(var(--primary) a(var(--opacity-4)));
544
+ }
545
+
546
+ /* Grid header */
547
+ .Grid-row--head .Grid-cellGroup--pinned {
548
+ background: var(--white);
549
+ }
550
+
551
+ .Grid-row--head .Grid-cellGroup--pinned-left {
552
+ border-style: inset;
553
+ border-right: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
554
+ border-right-width: 4px;
555
+ border-image: linear-gradient(
556
+ to right,
557
+ var(--secondary-light),
558
+ var(--secondary-light) 25%,
559
+ color-mod(var(--secondary) a(0.1)) 25%,
560
+ color-mod(var(--secondary) a(0.1))
561
+ )
562
+ 1 100%;
563
+ }
564
+
565
+ .Grid-row--head .Grid-cellGroup--pinned-right {
566
+ border-style: inset;
567
+ border-left: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
568
+ border-left-width: 4px;
569
+ border-image: linear-gradient(
570
+ to left,
571
+ var(--secondary-light),
572
+ var(--secondary-light) 25%,
573
+ color-mod(var(--secondary) a(0.1)) 25%,
574
+ color-mod(var(--secondary) a(0.1))
575
+ )
576
+ 1 100%;
577
+ }
578
+
579
+ /* Pinned Column Border */
580
+
581
+ .Grid-cellWrapper--pinned-left {
582
+ border-style: inset;
583
+ border-right: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
584
+ border-right-width: 4px;
585
+ border-image: linear-gradient(
586
+ to right,
587
+ var(--secondary-light),
588
+ var(--secondary-light) 25%,
589
+ color-mod(var(--secondary) a(0.1)) 25%,
590
+ color-mod(var(--secondary) a(0.1))
591
+ )
592
+ 1 100%;
593
+ }
594
+
595
+ .Grid-cellWrapper--pinned-right {
596
+ border-style: inset;
597
+ border-left: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
598
+ border-left-width: 4px;
599
+ border-image: linear-gradient(
600
+ to left,
601
+ var(--secondary-light),
602
+ var(--secondary-light) 25%,
603
+ color-mod(var(--secondary) a(0.1)) 25%,
604
+ color-mod(var(--secondary) a(0.1))
605
+ )
606
+ 1 100%;
607
+ }
@@ -127,6 +127,7 @@
127
127
 
128
128
  .MenuItem-count {
129
129
  margin-right: var(--spacing-10);
130
+ flex-shrink: 0;
130
131
  }
131
132
 
132
133
  .MenuItem-count--disabled {
@@ -31,6 +31,10 @@
31
31
  white-space: nowrap;
32
32
  }
33
33
 
34
+ .white-space-pre {
35
+ white-space: pre;
36
+ }
37
+
34
38
  .bottom-0 {
35
39
  bottom: 0;
36
40
  }