@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
@@ -2700,6 +2700,10 @@ body {
2700
2700
  white-space: nowrap;
2701
2701
  }
2702
2702
 
2703
+ .white-space-pre {
2704
+ white-space: pre;
2705
+ }
2706
+
2703
2707
  .bottom-0 {
2704
2708
  bottom: 0;
2705
2709
  }
@@ -4397,7 +4401,6 @@ body {
4397
4401
  }
4398
4402
 
4399
4403
  .Checkbox-labelWrapper {
4400
- padding-left: var(--spacing-20);
4401
4404
  display: flex;
4402
4405
  flex-direction: column;
4403
4406
  min-width: 0;
@@ -4415,6 +4418,7 @@ body {
4415
4418
  .Checkbox-outerWrapper {
4416
4419
  position: relative;
4417
4420
  margin-top: var(--spacing-05);
4421
+ margin-right: var(--spacing-20);
4418
4422
  }
4419
4423
 
4420
4424
  .Checkbox-outerWrapper--regular {
@@ -4735,15 +4739,6 @@ body {
4735
4739
  line-height: var(--font-height);
4736
4740
  }
4737
4741
 
4738
- /** Grid **/
4739
-
4740
- .Grid-wrapper {
4741
- display: flex;
4742
- position: relative;
4743
- overflow: hidden;
4744
- height: 100%;
4745
- }
4746
-
4747
4742
  .Grid {
4748
4743
  display: flex;
4749
4744
  flex-direction: column;
@@ -4753,20 +4748,11 @@ body {
4753
4748
  background: var(--white);
4754
4749
  }
4755
4750
 
4756
- .Grid--resource .Grid-row--body:hover,
4757
- .Grid--resource .Grid-row--body:hover .Grid-cellGroup {
4758
- cursor: pointer;
4759
- background: var(--secondary-lightest);
4760
- }
4761
-
4762
- .Grid--resource .Grid-row--body:active,
4763
- .Grid--resource .Grid-row--body:active .Grid-cellGroup {
4764
- background: var(--secondary-lighter);
4765
- }
4766
-
4767
- .Grid--resource .Grid-row--body:focus {
4768
- box-shadow: var(--shadow-spread) rgba(213, 213, 213, 0.16);
4769
- outline: none;
4751
+ .Grid-wrapper {
4752
+ display: flex;
4753
+ position: relative;
4754
+ overflow: hidden;
4755
+ height: 100%;
4770
4756
  }
4771
4757
 
4772
4758
  .Grid--pinned {
@@ -4869,42 +4855,6 @@ body {
4869
4855
  border-bottom: var(--border);
4870
4856
  }
4871
4857
 
4872
- .Grid-row {
4873
- display: flex;
4874
- flex-grow: 1;
4875
- flex-shrink: 0;
4876
- box-sizing: border-box;
4877
- background: var(--white);
4878
- transition: var(--duration--fast-02) var(--standard-productive-curve);
4879
- transition-delay: var(--duration--fast-01);
4880
- }
4881
-
4882
- .Grid-row--body {
4883
- border-color: var(--secondary-light);
4884
- }
4885
-
4886
- .Grid-row--selected,
4887
- .Grid-row--selected .Grid-cellGroup {
4888
- background: rgba(220, 236, 249, 0.48);
4889
- transition: var(--duration--fast-02) var(--standard-productive-curve);
4890
- }
4891
-
4892
- .Grid-row--selected:hover,
4893
- .Grid-row--selected .Grid-cellGroup:hover {
4894
- background: rgba(151, 197, 240, 0.48) !important;
4895
- }
4896
-
4897
- .Grid-row--selected:active,
4898
- .Grid-row--selected .Grid-cellGroup:active {
4899
- background: var(--primary-lighter) !important;
4900
- }
4901
-
4902
- .Grid-row--selected:focus,
4903
- .Grid-row--selected .Grid-cellGroup:focus {
4904
- outline: none;
4905
- box-shadow: var(--shadow-spread) rgba(0, 112, 221, 0.16);
4906
- }
4907
-
4908
4858
  .Grid-rowWrapper:last-child .Grid-row--body {
4909
4859
  border-bottom: 0;
4910
4860
  }
@@ -4941,6 +4891,7 @@ body {
4941
4891
  box-sizing: border-box;
4942
4892
  padding-left: var(--spacing-30);
4943
4893
  padding-right: var(--spacing-30);
4894
+ flex-grow: 1;
4944
4895
  }
4945
4896
 
4946
4897
  .Grid-cell--body {
@@ -4976,15 +4927,6 @@ body {
4976
4927
  border-left: none;
4977
4928
  }
4978
4929
 
4979
- /* .Grid .Grid-cellGroup--main .Grid-cell--head.Grid-cell:last-child {
4980
- border-right: var(--border);
4981
- } */
4982
-
4983
- .Grid-row--disabled {
4984
- opacity: var(--opacity-10);
4985
- pointer-events: none;
4986
- }
4987
-
4988
4930
  .Grid-cell--head.Grid-cell--selected {
4989
4931
  background: var(--primary-light);
4990
4932
  }
@@ -4999,6 +4941,15 @@ body {
4999
4941
  overflow: visible !important;
5000
4942
  }
5001
4943
 
4944
+ .Grid-cell--separator {
4945
+ border-left: var(--border);
4946
+ border-color: var(--secondary-light);
4947
+ }
4948
+
4949
+ .Grid-cell--selected {
4950
+ background: var(--primary-lightest);
4951
+ }
4952
+
5002
4953
  .Grid-sortingIcons {
5003
4954
  display: flex;
5004
4955
  align-items: center;
@@ -5060,7 +5011,7 @@ body {
5060
5011
  .Grid-cellGroup {
5061
5012
  display: flex;
5062
5013
  box-sizing: border-box;
5063
- background: var(--white);
5014
+ height: 100%;
5064
5015
  }
5065
5016
 
5066
5017
  .Grid-cellGroup--pinned {
@@ -5070,48 +5021,10 @@ body {
5070
5021
 
5071
5022
  .Grid-cellGroup--pinned-left {
5072
5023
  left: 0;
5073
- border-style: inset;
5074
- border-right: var(--spacing-2-5) solid rgba(213, 213, 213, var(--opacity-3));
5075
- border-right-width: var(--border-width-10);
5076
- -o-border-image: linear-gradient(
5077
- to right,
5078
- var(--secondary-light),
5079
- var(--secondary-light) 25%,
5080
- rgba(213, 213, 213, 0.1) 25%,
5081
- rgba(213, 213, 213, 0.1)
5082
- )
5083
- 1 100%;
5084
- border-image: linear-gradient(
5085
- to right,
5086
- var(--secondary-light),
5087
- var(--secondary-light) 25%,
5088
- rgba(213, 213, 213, 0.1) 25%,
5089
- rgba(213, 213, 213, 0.1)
5090
- )
5091
- 1 100%;
5092
5024
  }
5093
5025
 
5094
5026
  .Grid-cellGroup--pinned-right {
5095
5027
  right: 0;
5096
- border-style: inset;
5097
- border-left: var(--border-width-2-5) solid rgba(213, 213, 213, var(--opacity-3));
5098
- border-left-width: var(--border-width-10);
5099
- -o-border-image: linear-gradient(
5100
- to left,
5101
- var(--secondary-light),
5102
- var(--secondary-light) 25%,
5103
- rgba(213, 213, 213, 0.1) 25%,
5104
- rgba(213, 213, 213, 0.1)
5105
- )
5106
- 1 100%;
5107
- border-image: linear-gradient(
5108
- to left,
5109
- var(--secondary-light),
5110
- var(--secondary-light) 25%,
5111
- rgba(213, 213, 213, 0.1) 25%,
5112
- rgba(213, 213, 213, 0.1)
5113
- )
5114
- 1 100%;
5115
5028
  }
5116
5029
 
5117
5030
  .Grid .Checkbox-wrapper {
@@ -5128,13 +5041,11 @@ body {
5128
5041
  }
5129
5042
 
5130
5043
  .GridCell--align-left {
5131
- /* flex-direction: row; */
5132
5044
  justify-content: flex-start;
5133
5045
  text-align: left;
5134
5046
  }
5135
5047
 
5136
5048
  .GridCell--align-right {
5137
- /* flex-direction: row-reverse; */
5138
5049
  justify-content: flex-end;
5139
5050
  text-align: right;
5140
5051
  }
@@ -5144,6 +5055,9 @@ body {
5144
5055
  text-align: center;
5145
5056
  }
5146
5057
 
5058
+ .GridCell--default {
5059
+ }
5060
+
5147
5061
  .GridCell--metaList {
5148
5062
  display: flex;
5149
5063
  flex-direction: column;
@@ -5182,7 +5096,7 @@ body {
5182
5096
  align-items: center;
5183
5097
  }
5184
5098
 
5185
- .GridCell-metaList .Text::before {
5099
+ .GridCell-metaSeparator {
5186
5100
  content: '';
5187
5101
  display: inline-flex;
5188
5102
  align-items: center;
@@ -5190,12 +5104,21 @@ body {
5190
5104
  width: var(--spacing-10);
5191
5105
  height: var(--spacing-10);
5192
5106
  border-radius: var(--border-radius-full);
5193
- background: var(--secondary);
5107
+ background: var(--inverse-lightest);
5194
5108
  margin: 0 var(--spacing-20);
5195
5109
  }
5196
5110
 
5197
- .GridCell-metaList .Text:first-child::before {
5198
- display: none;
5111
+ .GridCell-mark--default {
5112
+ background: var(--warning-light);
5113
+ border-radius: var(--border-radius-05);
5114
+ }
5115
+
5116
+ .GridCell-mark--metaList {
5117
+ font-size: var(--font-size-s);
5118
+ line-height: var(--font-height-normal);
5119
+ color: var(--text-subtle);
5120
+ background: var(--warning-light);
5121
+ border-radius: var(--border-radius-05);
5199
5122
  }
5200
5123
 
5201
5124
  .GridCell--metaList ul li:first-child {
@@ -5269,6 +5192,194 @@ body {
5269
5192
  margin-bottom: var(--spacing-40);
5270
5193
  }
5271
5194
 
5195
+ /* Grid row */
5196
+
5197
+ .Grid-row--disabled {
5198
+ opacity: var(--opacity-10);
5199
+ pointer-events: none;
5200
+ }
5201
+
5202
+ .Grid-row {
5203
+ display: flex;
5204
+ flex-grow: 1;
5205
+ flex-shrink: 0;
5206
+ box-sizing: border-box;
5207
+ background: var(--white);
5208
+ }
5209
+
5210
+ .Grid-row--body {
5211
+ border-color: var(--secondary-light);
5212
+ }
5213
+
5214
+ .Grid--resource .Grid-row--body:hover {
5215
+ cursor: pointer;
5216
+ background: var(--secondary-lightest);
5217
+ }
5218
+
5219
+ .Grid--resource .Grid-row--body:active {
5220
+ background: var(--secondary-lighter);
5221
+ }
5222
+
5223
+ .Grid--resource .Grid-row--body:focus {
5224
+ box-shadow: var(--shadow-spread) rgba(213, 213, 213, 0.16);
5225
+ outline: none;
5226
+ }
5227
+
5228
+ /* Selected States */
5229
+
5230
+ .Grid-row--selected {
5231
+ background: rgba(220, 236, 249, 0.48);
5232
+ }
5233
+
5234
+ .Grid-row--selected:hover {
5235
+ background: rgba(151, 197, 240, 0.48) !important;
5236
+ }
5237
+
5238
+ .Grid-row--selected:active {
5239
+ background: var(--primary-lighter) !important;
5240
+ }
5241
+
5242
+ .Grid-row--selected:focus {
5243
+ outline: none;
5244
+ box-shadow: var(--shadow-spread) rgba(0, 112, 221, 0.16);
5245
+ }
5246
+
5247
+ /* Activated States */
5248
+
5249
+ .Grid-row--activated {
5250
+ background: var(--primary-lightest);
5251
+ }
5252
+
5253
+ /* Pinned Columns Default State */
5254
+
5255
+ .Grid--resource .Grid-row--body:hover .Grid-cellWrapper--pinned {
5256
+ cursor: pointer;
5257
+ background: var(--secondary-lightest);
5258
+ }
5259
+
5260
+ .Grid--resource .Grid-row--body:active .Grid-cellWrapper--pinned {
5261
+ background: var(--secondary-lighter);
5262
+ }
5263
+
5264
+ .Grid--resource .Grid-row--body:focus .Grid-cellWrapper--pinned {
5265
+ box-shadow: var(--shadow-spread) rgba(213, 213, 213, 0.16);
5266
+ outline: none;
5267
+ }
5268
+
5269
+ /* Pinned Columns Selected State */
5270
+
5271
+ .Grid-row--selected .Grid-cellWrapper--pinned {
5272
+ background: rgba(220, 236, 249, 0.48);
5273
+ }
5274
+
5275
+ .Grid-row--selected:hover .Grid-cellWrapper--pinned {
5276
+ background: rgba(151, 197, 240, 0.48) !important;
5277
+ }
5278
+
5279
+ .Grid-row--selected:active .Grid-cellWrapper--pinned {
5280
+ background: var(--primary-lighter) !important;
5281
+ }
5282
+
5283
+ .Grid-row--selected:focus .Grid-cellWrapper--pinned {
5284
+ outline: none;
5285
+ box-shadow: var(--shadow-spread) rgba(0, 112, 221, 0.16);
5286
+ }
5287
+
5288
+ /* Grid header */
5289
+ .Grid-row--head .Grid-cellGroup--pinned {
5290
+ background: var(--white);
5291
+ }
5292
+
5293
+ .Grid-row--head .Grid-cellGroup--pinned-left {
5294
+ border-style: inset;
5295
+ border-right: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
5296
+ border-right-width: 4px;
5297
+ -o-border-image: linear-gradient(
5298
+ to right,
5299
+ var(--secondary-light),
5300
+ var(--secondary-light) 25%,
5301
+ rgba(213, 213, 213, 0.1) 25%,
5302
+ rgba(213, 213, 213, 0.1)
5303
+ )
5304
+ 1 100%;
5305
+ border-image: linear-gradient(
5306
+ to right,
5307
+ var(--secondary-light),
5308
+ var(--secondary-light) 25%,
5309
+ rgba(213, 213, 213, 0.1) 25%,
5310
+ rgba(213, 213, 213, 0.1)
5311
+ )
5312
+ 1 100%;
5313
+ }
5314
+
5315
+ .Grid-row--head .Grid-cellGroup--pinned-right {
5316
+ border-style: inset;
5317
+ border-left: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
5318
+ border-left-width: 4px;
5319
+ -o-border-image: linear-gradient(
5320
+ to left,
5321
+ var(--secondary-light),
5322
+ var(--secondary-light) 25%,
5323
+ rgba(213, 213, 213, 0.1) 25%,
5324
+ rgba(213, 213, 213, 0.1)
5325
+ )
5326
+ 1 100%;
5327
+ border-image: linear-gradient(
5328
+ to left,
5329
+ var(--secondary-light),
5330
+ var(--secondary-light) 25%,
5331
+ rgba(213, 213, 213, 0.1) 25%,
5332
+ rgba(213, 213, 213, 0.1)
5333
+ )
5334
+ 1 100%;
5335
+ }
5336
+
5337
+ /* Pinned Column Border */
5338
+
5339
+ .Grid-cellWrapper--pinned-left {
5340
+ border-style: inset;
5341
+ border-right: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
5342
+ border-right-width: 4px;
5343
+ -o-border-image: linear-gradient(
5344
+ to right,
5345
+ var(--secondary-light),
5346
+ var(--secondary-light) 25%,
5347
+ rgba(213, 213, 213, 0.1) 25%,
5348
+ rgba(213, 213, 213, 0.1)
5349
+ )
5350
+ 1 100%;
5351
+ border-image: linear-gradient(
5352
+ to right,
5353
+ var(--secondary-light),
5354
+ var(--secondary-light) 25%,
5355
+ rgba(213, 213, 213, 0.1) 25%,
5356
+ rgba(213, 213, 213, 0.1)
5357
+ )
5358
+ 1 100%;
5359
+ }
5360
+
5361
+ .Grid-cellWrapper--pinned-right {
5362
+ border-style: inset;
5363
+ border-left: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
5364
+ border-left-width: 4px;
5365
+ -o-border-image: linear-gradient(
5366
+ to left,
5367
+ var(--secondary-light),
5368
+ var(--secondary-light) 25%,
5369
+ rgba(213, 213, 213, 0.1) 25%,
5370
+ rgba(213, 213, 213, 0.1)
5371
+ )
5372
+ 1 100%;
5373
+ border-image: linear-gradient(
5374
+ to left,
5375
+ var(--secondary-light),
5376
+ var(--secondary-light) 25%,
5377
+ rgba(213, 213, 213, 0.1) 25%,
5378
+ rgba(213, 213, 213, 0.1)
5379
+ )
5380
+ 1 100%;
5381
+ }
5382
+
5272
5383
  .Row {
5273
5384
  display: flex;
5274
5385
  flex-wrap: wrap;
@@ -7935,6 +8046,7 @@ body {
7935
8046
 
7936
8047
  .MenuItem-count {
7937
8048
  margin-right: var(--spacing-10);
8049
+ flex-shrink: 0;
7938
8050
  }
7939
8051
 
7940
8052
  .MenuItem-count--disabled {
@@ -10202,6 +10314,98 @@ body {
10202
10314
  flex: 0 0 auto;
10203
10315
  }
10204
10316
 
10317
+ .ChatInput {
10318
+ display: flex;
10319
+ flex-direction: row;
10320
+ align-items: center;
10321
+ border: var(--border-width-2-5) solid var(--secondary);
10322
+ padding: var(--spacing-20);
10323
+ border-radius: var(--border-radius-10);
10324
+ background: var(--white);
10325
+ max-width: 100%;
10326
+ min-width: var(--spacing-640);
10327
+ transition: all var(--duration--slow-01) var(--standard-productive-curve);
10328
+ max-height: var(--spacing-440);
10329
+ position: relative;
10330
+ box-sizing: border-box;
10331
+ line-height: var(--font-height-m);
10332
+ }
10333
+
10334
+ .ChatInput--expanded {
10335
+ flex-direction: column;
10336
+ align-items: flex-start;
10337
+ }
10338
+
10339
+ .ChatInput--disabled {
10340
+ background: var(--secondary-lightest);
10341
+ cursor: not-allowed;
10342
+ }
10343
+
10344
+ .ChatInput:hover {
10345
+ background: var(--secondary-lighter);
10346
+ }
10347
+
10348
+ .ChatInput:focus-within,
10349
+ .ChatInput:focus,
10350
+ .ChatInput:focus-visible {
10351
+ outline: none;
10352
+ border: var(--border-width-2-5) solid var(--primary);
10353
+ box-shadow: var(--shadow-spread) var(--primary-shadow);
10354
+ }
10355
+
10356
+ .ChatInput-textarea {
10357
+ flex: 1;
10358
+ /* height: 100%; */
10359
+ height: var(--spacing-60);
10360
+ width: 100%;
10361
+ resize: none;
10362
+ border: none;
10363
+ outline: none;
10364
+ transition-delay: var(--duration--slow-01);
10365
+ transition: width var(--duration--slow-01) var(--standard-productive-curve);
10366
+ box-sizing: border-box;
10367
+ cursor: auto;
10368
+ padding: var(--spacing-05) 0;
10369
+ background: none;
10370
+ word-break: break-all;
10371
+ overflow-y: scroll;
10372
+ font-family: var(--font-family);
10373
+ font-weight: var(--font-weight-normal);
10374
+ line-height: var(--font-height);
10375
+ font-size: var(--font-size);
10376
+ }
10377
+
10378
+ .ChatInput-textarea::-moz-placeholder {
10379
+ color: var(--inverse-lighter);
10380
+ }
10381
+
10382
+ .ChatInput-textarea::placeholder {
10383
+ color: var(--inverse-lighter);
10384
+ }
10385
+
10386
+ .ChatInput textarea:disabled::-moz-placeholder {
10387
+ color: var(--inverse-lightest);
10388
+ }
10389
+
10390
+ .ChatInput textarea:disabled::placeholder {
10391
+ color: var(--inverse-lightest);
10392
+ }
10393
+
10394
+ .ChatInput-actions {
10395
+ display: flex;
10396
+ flex-shrink: 0;
10397
+ transition: all var(--duration--slow-01) var(--standard-productive-curve);
10398
+ margin-left: var(--spacing-20);
10399
+ align-items: center;
10400
+ }
10401
+
10402
+ .ChatInput-actions--expanded {
10403
+ width: 100%;
10404
+ justify-content: flex-end;
10405
+ margin-top: var(--spacing-20);
10406
+ margin-left: 0;
10407
+ }
10408
+
10205
10409
  .Meter {
10206
10410
  display: flex;
10207
10411
  align-items: center;