@innovaccer/design-system 3.1.0 → 3.3.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.
- package/CHANGELOG.md +83 -0
- package/css/dist/index.css +196 -123
- package/css/dist/index.css.map +1 -1
- package/css/src/components/grid.css +164 -107
- package/dist/.lib/tsconfig.type.tsbuildinfo +2 -15
- package/dist/index.esm.js +243 -280
- package/dist/index.js +18 -18
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.br +0 -0
- package/dist/index.umd.js.gz +0 -0
- package/package.json +5 -7
|
@@ -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
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|
}
|
|
@@ -238,15 +184,6 @@
|
|
|
238
184
|
border-left: none;
|
|
239
185
|
}
|
|
240
186
|
|
|
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
187
|
.Grid-cell--head.Grid-cell--selected {
|
|
251
188
|
background: var(--primary-light);
|
|
252
189
|
}
|
|
@@ -261,6 +198,15 @@
|
|
|
261
198
|
overflow: visible !important;
|
|
262
199
|
}
|
|
263
200
|
|
|
201
|
+
.Grid-cell--separator {
|
|
202
|
+
border-left: var(--border);
|
|
203
|
+
border-color: var(--secondary-light);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.Grid-cell--selected {
|
|
207
|
+
background: var(--primary-lightest);
|
|
208
|
+
}
|
|
209
|
+
|
|
264
210
|
.Grid-sortingIcons {
|
|
265
211
|
display: flex;
|
|
266
212
|
align-items: center;
|
|
@@ -322,7 +268,6 @@
|
|
|
322
268
|
.Grid-cellGroup {
|
|
323
269
|
display: flex;
|
|
324
270
|
box-sizing: border-box;
|
|
325
|
-
background: var(--white);
|
|
326
271
|
}
|
|
327
272
|
|
|
328
273
|
.Grid-cellGroup--pinned {
|
|
@@ -332,32 +277,10 @@
|
|
|
332
277
|
|
|
333
278
|
.Grid-cellGroup--pinned-left {
|
|
334
279
|
left: 0;
|
|
335
|
-
border-style: inset;
|
|
336
|
-
border-right: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
|
|
337
|
-
border-right-width: 4px;
|
|
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
280
|
}
|
|
347
281
|
|
|
348
282
|
.Grid-cellGroup--pinned-right {
|
|
349
283
|
right: 0;
|
|
350
|
-
border-style: inset;
|
|
351
|
-
border-left: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
|
|
352
|
-
border-left-width: 4px;
|
|
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
284
|
}
|
|
362
285
|
|
|
363
286
|
.Grid .Checkbox-wrapper {
|
|
@@ -374,13 +297,11 @@
|
|
|
374
297
|
}
|
|
375
298
|
|
|
376
299
|
.GridCell--align-left {
|
|
377
|
-
/* flex-direction: row; */
|
|
378
300
|
justify-content: flex-start;
|
|
379
301
|
text-align: left;
|
|
380
302
|
}
|
|
381
303
|
|
|
382
304
|
.GridCell--align-right {
|
|
383
|
-
/* flex-direction: row-reverse; */
|
|
384
305
|
justify-content: flex-end;
|
|
385
306
|
text-align: right;
|
|
386
307
|
}
|
|
@@ -451,20 +372,6 @@
|
|
|
451
372
|
margin-left: 0;
|
|
452
373
|
}
|
|
453
374
|
|
|
454
|
-
/* .GridCell-image {
|
|
455
|
-
position: relative;
|
|
456
|
-
display: flex;
|
|
457
|
-
align-items: center;
|
|
458
|
-
justify-content: center;
|
|
459
|
-
margin-right: var(--spacing);
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
.Image {
|
|
463
|
-
z-index: 0;
|
|
464
|
-
height: 100%;
|
|
465
|
-
width: 100%;
|
|
466
|
-
} */
|
|
467
|
-
|
|
468
375
|
/** Header **/
|
|
469
376
|
|
|
470
377
|
/** Table-header **/
|
|
@@ -531,3 +438,153 @@
|
|
|
531
438
|
margin-left: auto;
|
|
532
439
|
margin-bottom: var(--spacing-2);
|
|
533
440
|
}
|
|
441
|
+
|
|
442
|
+
/* Grid row */
|
|
443
|
+
|
|
444
|
+
.Grid-row--disabled {
|
|
445
|
+
opacity: var(--opacity-10);
|
|
446
|
+
pointer-events: none;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.Grid-row {
|
|
450
|
+
display: flex;
|
|
451
|
+
flex-grow: 1;
|
|
452
|
+
flex-shrink: 0;
|
|
453
|
+
box-sizing: border-box;
|
|
454
|
+
background: var(--white);
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.Grid-row--body {
|
|
458
|
+
border-color: var(--secondary-light);
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
.Grid--resource .Grid-row--body:hover {
|
|
462
|
+
cursor: pointer;
|
|
463
|
+
background: var(--secondary-lightest);
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.Grid--resource .Grid-row--body:active {
|
|
467
|
+
background: var(--secondary-lighter);
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
.Grid--resource .Grid-row--body:focus {
|
|
471
|
+
box-shadow: var(--shadow-spread) color-mod(var(--secondary) a(var(--opacity-4)));
|
|
472
|
+
outline: none;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
/* Selected States */
|
|
476
|
+
|
|
477
|
+
.Grid-row--selected {
|
|
478
|
+
background: color-mod(var(--primary-lightest) a(var(--opacity-12)));
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
.Grid-row--selected:hover {
|
|
482
|
+
background: color-mod(var(--primary-lighter) a(var(--opacity-12))) !important;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
.Grid-row--selected:active {
|
|
486
|
+
background: var(--primary-lighter) !important;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.Grid-row--selected:focus {
|
|
490
|
+
outline: none;
|
|
491
|
+
box-shadow: var(--shadow-spread) color-mod(var(--primary) a(var(--opacity-4)));
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
/* Pinned Columns Default State */
|
|
495
|
+
|
|
496
|
+
.Grid--resource .Grid-row--body:hover .Grid-cellWrapper--pinned {
|
|
497
|
+
cursor: pointer;
|
|
498
|
+
background: var(--secondary-lightest);
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
.Grid--resource .Grid-row--body:active .Grid-cellWrapper--pinned {
|
|
502
|
+
background: var(--secondary-lighter);
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.Grid--resource .Grid-row--body:focus .Grid-cellWrapper--pinned {
|
|
506
|
+
box-shadow: var(--shadow-spread) color-mod(var(--secondary) a(var(--opacity-4)));
|
|
507
|
+
outline: none;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
/* Pinned Columns Selected State */
|
|
511
|
+
|
|
512
|
+
.Grid-row--selected .Grid-cellWrapper--pinned {
|
|
513
|
+
background: color-mod(var(--primary-lightest) a(var(--opacity-12)));
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.Grid-row--selected:hover .Grid-cellWrapper--pinned {
|
|
517
|
+
background: color-mod(var(--primary-lighter) a(var(--opacity-12))) !important;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
.Grid-row--selected:active .Grid-cellWrapper--pinned {
|
|
521
|
+
background: var(--primary-lighter) !important;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
.Grid-row--selected:focus .Grid-cellWrapper--pinned {
|
|
525
|
+
outline: none;
|
|
526
|
+
box-shadow: var(--shadow-spread) color-mod(var(--primary) a(var(--opacity-4)));
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
/* Grid header */
|
|
530
|
+
.Grid-row--head .Grid-cellGroup--pinned {
|
|
531
|
+
background: var(--white);
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
.Grid-row--head .Grid-cellGroup--pinned-left {
|
|
535
|
+
border-style: inset;
|
|
536
|
+
border-right: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
|
|
537
|
+
border-right-width: 4px;
|
|
538
|
+
border-image: linear-gradient(
|
|
539
|
+
to right,
|
|
540
|
+
var(--secondary-light),
|
|
541
|
+
var(--secondary-light) 25%,
|
|
542
|
+
color-mod(var(--secondary) a(0.1)) 25%,
|
|
543
|
+
color-mod(var(--secondary) a(0.1))
|
|
544
|
+
)
|
|
545
|
+
1 100%;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.Grid-row--head .Grid-cellGroup--pinned-right {
|
|
549
|
+
border-style: inset;
|
|
550
|
+
border-left: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
|
|
551
|
+
border-left-width: 4px;
|
|
552
|
+
border-image: linear-gradient(
|
|
553
|
+
to left,
|
|
554
|
+
var(--secondary-light),
|
|
555
|
+
var(--secondary-light) 25%,
|
|
556
|
+
color-mod(var(--secondary) a(0.1)) 25%,
|
|
557
|
+
color-mod(var(--secondary) a(0.1))
|
|
558
|
+
)
|
|
559
|
+
1 100%;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
/* Pinned Column Border */
|
|
563
|
+
|
|
564
|
+
.Grid-cellWrapper--pinned-left {
|
|
565
|
+
border-style: inset;
|
|
566
|
+
border-right: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
|
|
567
|
+
border-right-width: 4px;
|
|
568
|
+
border-image: linear-gradient(
|
|
569
|
+
to right,
|
|
570
|
+
var(--secondary-light),
|
|
571
|
+
var(--secondary-light) 25%,
|
|
572
|
+
color-mod(var(--secondary) a(0.1)) 25%,
|
|
573
|
+
color-mod(var(--secondary) a(0.1))
|
|
574
|
+
)
|
|
575
|
+
1 100%;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
.Grid-cellWrapper--pinned-right {
|
|
579
|
+
border-style: inset;
|
|
580
|
+
border-left: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
|
|
581
|
+
border-left-width: 4px;
|
|
582
|
+
border-image: linear-gradient(
|
|
583
|
+
to left,
|
|
584
|
+
var(--secondary-light),
|
|
585
|
+
var(--secondary-light) 25%,
|
|
586
|
+
color-mod(var(--secondary) a(0.1)) 25%,
|
|
587
|
+
color-mod(var(--secondary) a(0.1))
|
|
588
|
+
)
|
|
589
|
+
1 100%;
|
|
590
|
+
}
|
|
@@ -1722,7 +1722,7 @@
|
|
|
1722
1722
|
"affectsGlobalScope": false
|
|
1723
1723
|
},
|
|
1724
1724
|
"../../core/components/organisms/grid/GridRow.tsx": {
|
|
1725
|
-
"version": "
|
|
1725
|
+
"version": "668876aa2993d10c0519a68ee32e85c1ea4ea864504e1ef7e5755a72774d5d41",
|
|
1726
1726
|
"signature": "e896c56db3e619dd4457355c752791be2e3f267ac73a43142d2481b1cea0a79d",
|
|
1727
1727
|
"affectsGlobalScope": false
|
|
1728
1728
|
},
|
|
@@ -3566,11 +3566,6 @@
|
|
|
3566
3566
|
"signature": "b617398f019ba82a097256ca24979b66757355c5a665134acb94dc7350c39077",
|
|
3567
3567
|
"affectsGlobalScope": false
|
|
3568
3568
|
},
|
|
3569
|
-
"../../node_modules/@types/js-beautify/index.d.ts": {
|
|
3570
|
-
"version": "d1f1f5d242211b8fac9e851f81788804b5e70ccbc235f6b554c040d5b8189a9e",
|
|
3571
|
-
"signature": "d1f1f5d242211b8fac9e851f81788804b5e70ccbc235f6b554c040d5b8189a9e",
|
|
3572
|
-
"affectsGlobalScope": false
|
|
3573
|
-
},
|
|
3574
3569
|
"../../node_modules/@types/react-syntax-highlighter/index.d.ts": {
|
|
3575
3570
|
"version": "cffd3848b7af4922d70028c805b7df5e8f0eac4a8d2410b0f55b47ca62c6c3a8",
|
|
3576
3571
|
"signature": "cffd3848b7af4922d70028c805b7df5e8f0eac4a8d2410b0f55b47ca62c6c3a8",
|
|
@@ -3607,7 +3602,7 @@
|
|
|
3607
3602
|
"affectsGlobalScope": false
|
|
3608
3603
|
},
|
|
3609
3604
|
"../../core/utils/docPage/index.tsx": {
|
|
3610
|
-
"version": "
|
|
3605
|
+
"version": "9218b6dba460ef2e212bb6f9397f31f6424b099f4910ae84026f24e55659f13d",
|
|
3611
3606
|
"signature": "d793df693e1f566f2a7fd586a5ba76f93009c359e9795372d49bb1dafa1d2c00",
|
|
3612
3607
|
"affectsGlobalScope": false
|
|
3613
3608
|
},
|
|
@@ -7902,7 +7897,6 @@
|
|
|
7902
7897
|
"../../core/utils/docPage/generateImports.tsx",
|
|
7903
7898
|
"../../core/utils/docPage/sandbox.tsx",
|
|
7904
7899
|
"../../node_modules/@storybook/addon-docs/blocks.d.ts",
|
|
7905
|
-
"../../node_modules/@types/js-beautify/index.d.ts",
|
|
7906
7900
|
"../../node_modules/@types/node/util.d.ts",
|
|
7907
7901
|
"../../node_modules/@types/react-dom/server/index.d.ts",
|
|
7908
7902
|
"../../node_modules/@types/react-syntax-highlighter/index.d.ts",
|
|
@@ -9407,9 +9401,6 @@
|
|
|
9407
9401
|
"../../node_modules/@types/node/util.d.ts",
|
|
9408
9402
|
"../../node_modules/jest-diff/build/index.d.ts"
|
|
9409
9403
|
],
|
|
9410
|
-
"../../node_modules/@types/js-beautify/index.d.ts": [
|
|
9411
|
-
"../../node_modules/@types/node/util.d.ts"
|
|
9412
|
-
],
|
|
9413
9404
|
"../../node_modules/@types/lz-string/index.d.ts": [
|
|
9414
9405
|
"../../node_modules/@types/node/util.d.ts"
|
|
9415
9406
|
],
|
|
@@ -11230,9 +11221,6 @@
|
|
|
11230
11221
|
"../../node_modules/@types/node/util.d.ts",
|
|
11231
11222
|
"../../node_modules/jest-diff/build/index.d.ts"
|
|
11232
11223
|
],
|
|
11233
|
-
"../../node_modules/@types/js-beautify/index.d.ts": [
|
|
11234
|
-
"../../node_modules/@types/node/util.d.ts"
|
|
11235
|
-
],
|
|
11236
11224
|
"../../node_modules/@types/lz-string/index.d.ts": [
|
|
11237
11225
|
"../../node_modules/@types/node/util.d.ts"
|
|
11238
11226
|
],
|
|
@@ -12485,7 +12473,6 @@
|
|
|
12485
12473
|
"../../node_modules/@types/aria-query/index.d.ts",
|
|
12486
12474
|
"../../node_modules/@types/buble/index.d.ts",
|
|
12487
12475
|
"../../node_modules/@types/jest/index.d.ts",
|
|
12488
|
-
"../../node_modules/@types/js-beautify/index.d.ts",
|
|
12489
12476
|
"../../node_modules/@types/lz-string/index.d.ts",
|
|
12490
12477
|
"../../node_modules/@types/node/assert.d.ts",
|
|
12491
12478
|
"../../node_modules/@types/node/assert/strict.d.ts",
|