@innovaccer/design-system 2.14.0-0 → 2.14.1-1

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 CHANGED
@@ -1,9 +1,98 @@
1
+ ## 2.14.1-1 (2023-01-22)
2
+
3
+ ### Highlights
4
+
5
+ NA
6
+
7
+ ### Breaking changes
8
+
9
+ NA
10
+
11
+ ### Migration guide
12
+
13
+ NA
14
+
15
+ ### Deprecations
16
+
17
+ NA
18
+
19
+ ### Features
20
+
21
+ - feat(input): add states of custom icon button in input (4a495e69)
22
+ - feat(chip): add states of custom icon button in chip (91618a30)
23
+ - feat(tabs): add states of custom icon button in tabs (d9c9f1d7)
24
+
25
+ ### Fixes
26
+
27
+ - fix(dateRangePicker): add support for same start date and end date selection (9b4c3d3b)
28
+ - fix(verticalNav): fix overlap of scrollbar on verticalNav (0e7a64f2)
29
+ - fix(collapsible): update width for collapsible component (1c34ba4d)
30
+
31
+ ### Improvements
32
+
33
+ - fix(verticalNav): update state of selected nav item (8096a27e)
34
+ - fix(chip): update states for chip component (ed42215b)
35
+ - fix(slider): update slider states (19ba41c1)
36
+
37
+ ### Documentation
38
+
39
+ - docs(slider): update images for slider (d03f8980)
40
+
41
+ ---
42
+
43
+ ## 2.14.1-0 (2023-01-18)
44
+
45
+ ### Highlights
46
+
47
+ - feat(sizing): add classes of height and width (c6f8a266)
48
+ - docs(stories): 50% of the stories containing a style tag in example code are refactored to use utility css or custom css.
49
+ - fix(security): fixes done to achieve better secure packages in docs site. (ac4f6ccf)
50
+
51
+ ### Breaking changes
52
+
53
+ NA
54
+
55
+ ### Migration guide
56
+
57
+ NA
58
+
59
+ ### Deprecations
60
+
61
+ - chore(navigation): deprecate navigation component (b3d39694)
62
+
63
+ ### Features
64
+
65
+ - feat(sizing): add classes of height and width (c6f8a266)
66
+
67
+ ### Fixes
68
+
69
+ - fix(dropdown): update callback function call on selected value in menu variant (56e94168)
70
+ - fix(tabs): center alignment of icons in tabs (46cc2be5)
71
+ - fix(grid): update zIndex of pinned column (53a026cc)
72
+ - fix(datepicker): update snapshots for current date (ef159f3f)
73
+
74
+ ### Improvements
75
+
76
+ - fix(horizontalNav): update active state of selected nav item (3e3dbc6e)
77
+ - fix(dropdown): update state of dropdown option (4ea89199)
78
+ - fix(button): update active state of selected button (a663621c)
79
+ - fix(security): fix vulnerability in docs site (ac4f6ccf)
80
+ - fix(actions): add test job for docs site after deployment (8d6bbe31)
81
+ - fix(actions): move test job to release workflow (cb5e102f)
82
+
83
+ ### Documentation
84
+
85
+ - docs(docs): update documentation for forms (6d18cf63)
86
+ - fix(stories): remove all the style tags used in stories and use utility classnames or custom styling through css file. (table, popover, dropdown, metricInput, editableInput, pageHeader, editableDropdown, chipInput, textarea, icon, verticalNav, horizontalNav, fullScreenModal, editableChipInput, placeholderImage, outsideClick, input) (92c90326), (31c4193b), (5093578c), (31321607), (70cdce77), (a560bf1c), (aa29e6b4), (2ae42136), (0534ba66), (82171633), (e9ab9446), (314bf858), (2741559e), (4c946538), (aa6b63da), (fc9b4892), (bee675c7)
87
+
88
+ ---
89
+
1
90
  ## 2.14.0-0 (2023-01-02)
2
91
 
3
92
  ### Highlights
4
93
 
5
94
  - docs(site): tabs on page stick under top navigation bar while scrolling the page, which provides ability to switch tabs quickly. (f00e7669) (0a7bdafc)
6
- - docs(stories): 50% of the stories containig a style tag in example code are refactored to use utility css or custom css.
95
+ - docs(stories): 50% of the stories containing a style tag in example code are refactored to use utility css or custom css.
7
96
  - fix(security): fixes done to achieve better secure packages.
8
97
  ### Breaking changes
9
98
 
@@ -23,7 +112,7 @@ NA
23
112
  - feat(chip): add capability to customize chip labels (d9a55db1)
24
113
 
25
114
  ### Fixes
26
- - fix(workflow): remove redundent storybook build stage to reduce pipeline build time on Pull requests. (ba03e645)
115
+ - fix(workflow): remove redundant storybook build stage to reduce pipeline build time on Pull requests. (ba03e645)
27
116
  - fix(storybook): fix style of prop table for storybook docs page. (e411d5ec)
28
117
  - fix(security): upgrade version of dependencies for security (2e84cfe5)
29
118
  - fix(security): actions/check-release-commit/package.json & actions/check-release-commit/package-lock.json to reduce vulnerabilities (b117bbb7)
@@ -1410,7 +1410,8 @@ body {
1410
1410
  }
1411
1411
 
1412
1412
  .Button--selected:active {
1413
- background: var(--primary-light);
1413
+ background: var(--primary-lighter);
1414
+ color: var(--primary-darker);
1414
1415
  }
1415
1416
 
1416
1417
  .Button--selected:focus {
@@ -1419,7 +1420,7 @@ body {
1419
1420
  }
1420
1421
 
1421
1422
  .Button--selected:focus:active {
1422
- background: var(--primary-light);
1423
+ background: var(--primary-lighter);
1423
1424
  }
1424
1425
 
1425
1426
  .Button--selected:disabled {
@@ -1962,17 +1963,17 @@ body {
1962
1963
  margin-left: var(--spacing-m);
1963
1964
  display: flex;
1964
1965
  align-items: center;
1966
+ border-radius: 10px;
1965
1967
  }
1966
1968
 
1967
1969
  .Chip--action {
1968
- background: var(--white);
1969
- border: var(--border);
1970
+ background: var(--secondary-light);
1971
+ border: 0px;
1970
1972
  cursor: pointer;
1971
1973
  }
1972
1974
 
1973
1975
  .Chip--action:hover {
1974
- background: var(--secondary-light);
1975
- border-color: var(--secondary-dark);
1976
+ background: var(--secondary);
1976
1977
  }
1977
1978
 
1978
1979
  .Chip--action:focus-visible {
@@ -1982,12 +1983,12 @@ body {
1982
1983
 
1983
1984
  .Chip--action:active {
1984
1985
  background: var(--secondary-dark);
1985
- border-color: var(--inverse-lightest);
1986
1986
  }
1987
1987
 
1988
1988
  .Chip-action--disabled {
1989
- background: var(--secondary-lightest);
1990
- border: var(--border);
1989
+ background: var(--secondary-lighter);
1990
+ border: 0px;
1991
+ outline: none;
1991
1992
  cursor: default;
1992
1993
  }
1993
1994
 
@@ -2037,6 +2038,11 @@ body {
2037
2038
  border-color: var(--primary-dark);
2038
2039
  }
2039
2040
 
2041
+ .Chip-selection--selected:active .Chip-icon,
2042
+ .Chip-selection--selected:active .Chip-text {
2043
+ color: var(--primary-darker);
2044
+ }
2045
+
2040
2046
  .Chip-selection--selectedDisabled {
2041
2047
  background: var(--primary-lightest);
2042
2048
  border-color: var(--primary-lighter);
@@ -2064,15 +2070,38 @@ body {
2064
2070
 
2065
2071
  .Chip-icon--right:focus-visible {
2066
2072
  outline: var(--spacing-s) solid var(--secondary-shadow);
2073
+ }
2074
+
2075
+ .Chip-icon--right:hover {
2076
+ background-color: var(--secondary);
2077
+ }
2078
+
2079
+ .Chip-icon--right:active {
2080
+ background-color: var(--secondary-dark);
2081
+ }
2082
+
2083
+ .Chip-icon-disabled--right {
2084
+ pointer-events: none;
2085
+ }
2086
+
2087
+ .Chip-icon--selected {
2067
2088
  border-radius: 10px;
2068
2089
  }
2069
2090
 
2070
2091
  .Chip-icon--selected:focus-visible {
2071
2092
  outline: var(--spacing-s) solid var(--primary-shadow);
2072
- border-radius: 10px;
2093
+ }
2094
+
2095
+ .Chip-icon--selected:hover {
2096
+ background-color: var(--primary-lighter);
2097
+ }
2098
+
2099
+ .Chip-icon--selected:active {
2100
+ background-color: var(--primary-light);
2073
2101
  }
2074
2102
 
2075
2103
  .Chip-selection--disabled:focus-visible,
2104
+ .Chip-icon-disabled--right:focus-visible,
2076
2105
  .Chip-selection--selectedDisabled:focus-visible,
2077
2106
  .Chip-input--disabled:focus-visible {
2078
2107
  outline: none;
@@ -2188,7 +2217,7 @@ body {
2188
2217
  display: inline-flex;
2189
2218
  flex-direction: column;
2190
2219
  background-color: var(--secondary-lightest);
2191
- width: 40px;
2220
+ width: var(--spacing-4);
2192
2221
  height: 100%;
2193
2222
  transition: width 240ms;
2194
2223
  transition-timing-function: cubic-bezier(0.4, 0.14, 0.3, 1);
@@ -2201,6 +2230,7 @@ body {
2201
2230
  .Collapsible-body {
2202
2231
  flex-grow: 1;
2203
2232
  overflow-y: auto;
2233
+ overflow-x: hidden;
2204
2234
  }
2205
2235
 
2206
2236
  .Collapsible-footer {
@@ -2393,7 +2423,13 @@ body {
2393
2423
  }
2394
2424
 
2395
2425
  .Option--selected:active {
2396
- background-color: var(--primary-light);
2426
+ background-color: var(--primary-lighter);
2427
+ color: var(--primary-darker);
2428
+ }
2429
+
2430
+ .Option--selected:active .Option-text,
2431
+ .Option--selected:active .Option-subInfo {
2432
+ color: var(--primary-darker);
2397
2433
  }
2398
2434
 
2399
2435
  .Option--disabled,
@@ -3077,7 +3113,7 @@ body {
3077
3113
  .Grid--pinned {
3078
3114
  position: absolute;
3079
3115
  height: 100%;
3080
- z-index: 1002;
3116
+ z-index: 5;
3081
3117
  overflow-x: hidden;
3082
3118
  -ms-overflow-style: none;
3083
3119
  border-right: 3px solid var(--secondary);
@@ -3357,7 +3393,7 @@ body {
3357
3393
  .Grid-cellGroup--pinned {
3358
3394
  position: -webkit-sticky;
3359
3395
  position: sticky;
3360
- z-index: 1001;
3396
+ z-index: 4;
3361
3397
  }
3362
3398
 
3363
3399
  .Grid-cellGroup--pinned-left {
@@ -3618,7 +3654,12 @@ body {
3618
3654
  }
3619
3655
 
3620
3656
  .HorizontalNav-menu--active:active {
3621
- background-color: var(--primary-light);
3657
+ background-color: var(--primary-lighter);
3658
+ color: var(--primary-darker);
3659
+ }
3660
+
3661
+ .HorizontalNav-menu--active:active .HorizontalNav-menuText {
3662
+ color: var(--primary-darker);
3622
3663
  }
3623
3664
 
3624
3665
  .HorizontalNav-menuText {
@@ -3977,16 +4018,37 @@ body {
3977
4018
  color: var(--inverse-lighter);
3978
4019
  }
3979
4020
 
3980
- .Input-icon--right .Icon {
4021
+ .Input-icon--right {
3981
4022
  cursor: pointer;
3982
- margin-left: var(--spacing);
3983
4023
  color: var(--inverse-lighter);
4024
+ border-radius: 10px;
4025
+ }
4026
+
4027
+ .Input-iconWrapper--right:focus-visible .Input-icon--right {
4028
+ outline: var(--spacing-s) solid var(--secondary-shadow);
4029
+ }
4030
+
4031
+ .Input-icon--right:focus-visible {
4032
+ outline: var(--spacing-s) solid var(--secondary-shadow);
4033
+ border-radius: 10px;
4034
+ }
4035
+
4036
+ .Input-iconWrapper--right:hover .Input-icon--right {
4037
+ background-color: var(--secondary);
4038
+ }
4039
+
4040
+ .Input-iconWrapper--right:active .Input-icon--right {
4041
+ background-color: var(--secondary-dark);
3984
4042
  }
3985
4043
 
3986
4044
  .Input-inlineLabel {
3987
4045
  margin-right: var(--spacing);
3988
4046
  }
3989
4047
 
4048
+ .Input-iconWrapper--right:focus-visible {
4049
+ outline: none;
4050
+ }
4051
+
3990
4052
  .Link {
3991
4053
  text-decoration: none;
3992
4054
  font-weight: var(--font-weight-medium);
@@ -5447,6 +5509,7 @@ body {
5447
5509
  top: 0;
5448
5510
  border-radius: 50%;
5449
5511
  background-color: var(--white);
5512
+ border: var(--spacing-s) solid var(--primary);
5450
5513
  box-shadow: var(--shadow-s);
5451
5514
  cursor: pointer;
5452
5515
  box-sizing: border-box;
@@ -5457,18 +5520,25 @@ body {
5457
5520
  }
5458
5521
 
5459
5522
  .Slider-handle:hover {
5460
- background-color: var(--secondary-lightest);
5461
- border: var(--border);
5523
+ background-color: var(--primary-lightest);
5462
5524
  }
5463
5525
 
5464
- .Slider-handle:focus,
5465
5526
  .Slider-handle:active {
5466
- border: var(--spacing-s) solid var(--primary);
5527
+ background-color: var(--primary);
5528
+ }
5529
+
5530
+ .Slider-handle:focus {
5531
+ box-shadow: var(--shadow-spread) var(--primary-shadow);
5532
+ outline: none;
5467
5533
  }
5468
5534
 
5469
5535
  .Slider-handle--disabled {
5470
5536
  pointer-events: none;
5471
- background-color: var(--secondary-light);
5537
+ background-color: var(--secondary-lighter);
5538
+ box-shadow: none;
5539
+ }
5540
+
5541
+ .Slider-handle--disabled:focus {
5472
5542
  box-shadow: none;
5473
5543
  }
5474
5544
 
@@ -5898,8 +5968,34 @@ body {
5898
5968
  }
5899
5969
 
5900
5970
  .DismissibleTab-icon--right {
5901
- padding-left: var(--spacing-m);
5902
- padding-top: var(--spacing-s);
5971
+ padding: var(--spacing-s);
5972
+ margin-left: var(--spacing-s);
5973
+ outline: none;
5974
+ border-radius: 10px;
5975
+ }
5976
+
5977
+ .DismissibleTab-icon--default:focus-visible {
5978
+ outline: var(--spacing-s) solid var(--secondary-shadow);
5979
+ }
5980
+
5981
+ .DismissibleTab-icon--default:hover {
5982
+ background-color: var(--secondary);
5983
+ }
5984
+
5985
+ .DismissibleTab-icon--default:active {
5986
+ background-color: var(--secondary-dark);
5987
+ }
5988
+
5989
+ .DismissibleTab-icon--selected:focus-visible {
5990
+ outline: var(--spacing-s) solid var(--primary-shadow);
5991
+ }
5992
+
5993
+ .DismissibleTab-icon--selected:hover {
5994
+ background-color: var(--primary-lighter);
5995
+ }
5996
+
5997
+ .DismissibleTab-icon--selected:active {
5998
+ background-color: var(--primary-light);
5903
5999
  }
5904
6000
 
5905
6001
  /* Textarea */
@@ -6377,7 +6473,7 @@ body {
6377
6473
  }
6378
6474
 
6379
6475
  .VerticalNav--expanded {
6380
- width: var(--spacing-9);
6476
+ width: 240px;
6381
6477
  }
6382
6478
 
6383
6479
  .VerticalNav-section {
@@ -6399,7 +6495,7 @@ body {
6399
6495
  align-items: center;
6400
6496
  cursor: pointer;
6401
6497
  transition: var(--duration--fast-01) var(--standard-productive-curve);
6402
- width: var(--spacing-9);
6498
+ width: 232px;
6403
6499
  }
6404
6500
 
6405
6501
  .MenuItem--horizontal {
@@ -6418,8 +6514,8 @@ body {
6418
6514
  .MenuItem--collapsed {
6419
6515
  height: 28px;
6420
6516
  width: 28px;
6421
- margin-left: 6px;
6422
- margin-right: 6px;
6517
+ margin-left: 10px;
6518
+ margin-right: 10px;
6423
6519
  justify-content: center;
6424
6520
  border-radius: 50%;
6425
6521
  cursor: pointer;
@@ -6447,17 +6543,33 @@ body {
6447
6543
  background: var(--secondary-dark);
6448
6544
  }
6449
6545
 
6450
- .MenuItem:focus-visible {
6546
+ .MenuItem:focus {
6451
6547
  box-shadow: var(--shadow-spread) var(--secondary-shadow);
6452
6548
  outline: none;
6453
6549
  }
6454
6550
 
6455
- .MenuItem--active,
6456
- .MenuItem--active:hover {
6551
+ .MenuItem--disabled:focus {
6552
+ box-shadow: none;
6553
+ }
6554
+
6555
+ .MenuItem--active {
6457
6556
  background: var(--primary-lightest);
6458
6557
  }
6459
6558
 
6460
- .MenuItem--active:focus-visible {
6559
+ .MenuItem--active:hover {
6560
+ background: var(--primary-lighter);
6561
+ }
6562
+
6563
+ .MenuItem--active:active {
6564
+ background: var(--primary-lighter);
6565
+ color: var(--primary-darker);
6566
+ }
6567
+
6568
+ .MenuItem--active:active .MenuItem-Text {
6569
+ color: var(--primary-darker);
6570
+ }
6571
+
6572
+ .MenuItem--active:focus {
6461
6573
  box-shadow: var(--shadow-spread) var(--primary-shadow);
6462
6574
  outline: none;
6463
6575
  }
@@ -6482,6 +6594,7 @@ body {
6482
6594
 
6483
6595
  .MenuItem-count--disabled {
6484
6596
  opacity: 0.6;
6597
+ color: var(--text);
6485
6598
  }
6486
6599
 
6487
6600
  .align-baseline {
@@ -7214,6 +7327,18 @@ body {
7214
7327
  max-width: 100% !important;
7215
7328
  }
7216
7329
 
7330
+ .vw-25 {
7331
+ width: 25vw !important;
7332
+ }
7333
+
7334
+ .vw-50 {
7335
+ width: 50vw !important;
7336
+ }
7337
+
7338
+ .vw-75 {
7339
+ width: 75vw !important;
7340
+ }
7341
+
7217
7342
  .vw-100 {
7218
7343
  width: 100vw !important;
7219
7344
  }
@@ -7246,6 +7371,18 @@ body {
7246
7371
  max-height: 100% !important;
7247
7372
  }
7248
7373
 
7374
+ .vh-25 {
7375
+ height: 25vh !important;
7376
+ }
7377
+
7378
+ .vh-50 {
7379
+ height: 50vh !important;
7380
+ }
7381
+
7382
+ .vh-75 {
7383
+ height: 75vh !important;
7384
+ }
7385
+
7249
7386
  .vh-100 {
7250
7387
  height: 100vh !important;
7251
7388
  }