@innovaccer/design-system 2.16.2 → 2.18.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 CHANGED
@@ -1,3 +1,89 @@
1
+ ## 2.18.0 (2023-08-08)
2
+
3
+ ### Highlights
4
+
5
+ - feat(chip): add label prefix prop for custom label (3bce8c32)
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(chip): add label prefix prop for custom label (3bce8c32)
22
+
23
+ ### Fixes
24
+
25
+ - fix(avatar): update mouse pointer cursor to default on hover on avatar (a58add0a)
26
+ - fix(table): add limit to call nested row renderer function (7f3e0aba)
27
+ - fix(label): fix overflow behaviour of label with required indicator (f4ad093f)
28
+ - fix(toast): update description overflow behaviour (aee04fa3)
29
+ - fix(calendar): fix height of calendar and datepicker (78dcd91a)
30
+ - fix(inputmask): update action icon states (c1b23ff1)
31
+ - fix(chipinput): update horizontal-vertical spacing and action icon state (8d1d37e4)
32
+ - fix(editableinput): replace text with inline message inside error popover (3ba15748)
33
+
34
+ ### Improvements
35
+
36
+ NA
37
+
38
+ ### Documentation
39
+
40
+ - docs(docs): update size of calendar and datepicker in docs (84c18281)
41
+
42
+ ---
43
+
44
+ ## 2.17.0 (2023-07-24)
45
+
46
+ ### Highlights
47
+
48
+ - feat(radio): add keyboard accessibility for radio component (f78b2e12)
49
+ - feat(docs): add Algolia doc search support on documentation site (e5d8fb76)
50
+ - feat(stories): stories are grouped in storybook and mdx file (01477a4d)
51
+ - feat(avatargroup): add tiny size in avatar group (459739fc)
52
+
53
+ ### Breaking changes
54
+
55
+ NA
56
+
57
+ ### Migration guide
58
+
59
+ NA
60
+
61
+ ### Deprecations
62
+
63
+ NA
64
+
65
+ ### Features
66
+
67
+ - feat(radio): add keyboard accessibility for radio component (f78b2e12)
68
+ - feat(docs): add Algolia doc search support on documentation site (e5d8fb76)
69
+ - feat(stories): stories are grouped in storybook and mdx file (01477a4d)
70
+ - feat(avatargroup): add tiny size in avatar group (459739fc)
71
+
72
+ ### Fixes
73
+
74
+ - fix(checkbox): update font weight in tiny checkbox component (4e85e984)
75
+ - fix(docs): fix live preview width in documentation site (092d2cc8)
76
+
77
+ ### Improvements
78
+
79
+ NA
80
+
81
+ ### Documentation
82
+
83
+ - docs(badge): update documentation for hover on badge component (59b1cad2)
84
+
85
+ ---
86
+
1
87
  ## 2.16.1 (2023-07-12)
2
88
 
3
89
  ### Highlights
@@ -699,6 +699,7 @@ body {
699
699
  .Label-text {
700
700
  line-height: var(--font-height-s);
701
701
  font-weight: var(--font-weight-medium);
702
+ word-break: break-all;
702
703
  }
703
704
 
704
705
  .Label-optionalText {
@@ -716,6 +717,8 @@ body {
716
717
  border-radius: 50%;
717
718
  background: var(--alert);
718
719
  margin-left: var(--spacing-m);
720
+ margin-bottom: 6px;
721
+ display: inline-flex;
719
722
  }
720
723
 
721
724
  /* Caption */
@@ -871,7 +874,7 @@ body {
871
874
  overflow: hidden;
872
875
  text-transform: uppercase;
873
876
  border-radius: 50%;
874
- cursor: pointer;
877
+ cursor: default;
875
878
  }
876
879
 
877
880
  .Avatar--regular {
@@ -950,7 +953,15 @@ body {
950
953
  }
951
954
 
952
955
  .AvatarGroup-item {
953
- margin-right: calc((var(--spacing-s) + var(--spacing-m)) * -1);
956
+ border-radius: 50%;
957
+ }
958
+
959
+ .AvatarGroup-item--regular {
960
+ margin-right: calc(var(--spacing-m) * -1);
961
+ }
962
+
963
+ .AvatarGroup-item--tiny {
964
+ margin-right: calc(var(--spacing-s) * -1);
954
965
  }
955
966
 
956
967
  .AvatarGroup-Popper {
@@ -971,6 +982,10 @@ body {
971
982
  overflow-y: auto;
972
983
  }
973
984
 
985
+ .AvatarCount-wrapper {
986
+ border-radius: 50%;
987
+ }
988
+
974
989
  @-webkit-keyframes backdrop-open {
975
990
  from {
976
991
  opacity: 0;
@@ -1490,11 +1505,11 @@ body {
1490
1505
  }
1491
1506
 
1492
1507
  .Calendar-month--small {
1493
- height: 192px;
1508
+ height: 200px;
1494
1509
  }
1495
1510
 
1496
1511
  .Calendar-year--small {
1497
- height: 192px;
1512
+ height: 200px;
1498
1513
  }
1499
1514
 
1500
1515
  .Calendar--large {
@@ -1510,7 +1525,7 @@ body {
1510
1525
  }
1511
1526
 
1512
1527
  .Calendar-month--large {
1513
- height: 272px;
1528
+ height: 276px;
1514
1529
  }
1515
1530
 
1516
1531
  .Calendar-year--large {
@@ -1530,7 +1545,7 @@ body {
1530
1545
  display: flex;
1531
1546
  justify-content: center;
1532
1547
  align-items: center;
1533
- padding-bottom: var(--spacing-m);
1548
+ padding-bottom: var(--spacing);
1534
1549
  }
1535
1550
 
1536
1551
  .Calendar-headerIcon {
@@ -1569,7 +1584,7 @@ body {
1569
1584
  display: flex;
1570
1585
  flex-direction: column;
1571
1586
  flex-grow: 1;
1572
- justify-content: space-around;
1587
+ justify-content: space-between;
1573
1588
  }
1574
1589
 
1575
1590
  .Calendar-valueRow {
@@ -2261,28 +2276,23 @@ body {
2261
2276
  }
2262
2277
 
2263
2278
  .ChipInput {
2264
- box-sizing: border-box;
2265
2279
  display: flex;
2266
2280
  border-radius: var(--spacing-m);
2267
- border: var(--border);
2268
- padding-left: var(--spacing-s);
2269
- padding-top: var(--spacing-xs);
2270
- padding-bottom: var(--spacing-xs);
2281
+ box-shadow: inset 0 0 0 var(--spacing-xs) var(--secondary);
2282
+ padding-left: 10px;
2283
+ padding-right: 10px;
2271
2284
  background: var(--white);
2272
2285
  cursor: text;
2273
2286
  flex: 100%;
2274
2287
  }
2275
2288
 
2276
- .ChipInput-wrapper {
2277
- display: flex;
2278
- flex: 100%;
2279
- align-items: center;
2280
- flex-wrap: wrap;
2289
+ .ChipInput:focus,
2290
+ .ChipInput:focus-visible {
2291
+ outline: var(--spacing-xs) var(--primary);
2281
2292
  }
2282
2293
 
2283
2294
  .ChipInput:focus-within {
2284
- border-color: var(--primary);
2285
- box-shadow: var(--shadow-spread) var(--primary-shadow);
2295
+ box-shadow: inset 0 0 0 var(--spacing-xs) var(--primary);
2286
2296
  }
2287
2297
 
2288
2298
  .ChipInput--disabled {
@@ -2291,6 +2301,22 @@ body {
2291
2301
  pointer-events: none;
2292
2302
  }
2293
2303
 
2304
+ .ChipInput--withChips {
2305
+ padding-right: var(--spacing);
2306
+ }
2307
+
2308
+ .ChipInput-wrapper {
2309
+ display: flex;
2310
+ flex: 100%;
2311
+ align-items: center;
2312
+ flex-wrap: wrap;
2313
+ }
2314
+
2315
+ .ChipInput-border:focus-within {
2316
+ border-radius: var(--spacing-m);
2317
+ box-shadow: var(--shadow-spread) var(--primary-shadow);
2318
+ }
2319
+
2294
2320
  .ChipInput-input {
2295
2321
  border: none;
2296
2322
  outline: none;
@@ -2300,19 +2326,32 @@ body {
2300
2326
  flex: 0px;
2301
2327
  box-sizing: border-box;
2302
2328
  height: var(--spacing-xl);
2303
- margin-top: var(--spacing-s);
2304
- margin-bottom: var(--spacing-s);
2305
- padding-left: var(--spacing-m);
2329
+ margin-top: var(--spacing-m);
2330
+ margin-bottom: var(--spacing-m);
2306
2331
  font-family: var(--font-family);
2307
2332
  font-size: var(--font-size);
2308
2333
  }
2309
2334
 
2310
2335
  .ChipInput-icon {
2311
2336
  height: var(--spacing-2);
2312
- margin-top: var(--spacing-m);
2313
- padding-top: var(--spacing-s);
2314
- margin-right: var(--spacing-l);
2337
+ padding: var(--spacing-s);
2338
+ margin-left: var(--spacing);
2339
+ margin-top: 6px;
2315
2340
  cursor: pointer;
2341
+ border-radius: 10px;
2342
+ }
2343
+
2344
+ .ChipInput-icon:hover {
2345
+ background-color: var(--secondary);
2346
+ }
2347
+
2348
+ .ChipInput-icon:active {
2349
+ background-color: var(--secondary-dark);
2350
+ }
2351
+
2352
+ .ChipInput-icon:focus,
2353
+ .ChipInput-icon:focus-visible {
2354
+ outline: var(--spacing-s) solid var(--secondary-shadow);
2316
2355
  }
2317
2356
 
2318
2357
  .ChoiceList {
@@ -5504,22 +5543,24 @@ body {
5504
5543
  border-color: var(--alert-darker);
5505
5544
  }
5506
5545
 
5507
- .Radio-input ~ .Radio-wrapper:focus {
5546
+ .Radio:focus-within .Radio-wrapper {
5508
5547
  outline: 0;
5509
5548
  box-shadow: var(--shadow-spread) var(--secondary-shadow);
5549
+ border-radius: 50%;
5510
5550
  }
5511
5551
 
5512
- .Radio-input ~ .Radio-errorWrapper:focus {
5552
+ .Radio:focus-within .Radio-errorWrapper {
5513
5553
  outline: 0;
5514
5554
  box-shadow: var(--shadow-spread) var(--alert-shadow);
5555
+ border-radius: 50%;
5515
5556
  }
5516
5557
 
5517
- .Radio-input:checked ~ .Radio-wrapper:focus {
5558
+ .Radio:focus-within .Radio-input:checked ~ .Radio-wrapper {
5518
5559
  outline: 0;
5519
5560
  box-shadow: var(--shadow-spread) var(--primary-shadow);
5520
5561
  }
5521
5562
 
5522
- .Radio-input:checked ~ .Radio-errorWrapper:focus {
5563
+ .Radio:focus-within .Radio-input:checked ~ .Radio-errorWrapper {
5523
5564
  outline: 0;
5524
5565
  box-shadow: var(--shadow-spread) var(--primary-shadow);
5525
5566
  }
@@ -6467,7 +6508,7 @@ body {
6467
6508
  display: flex;
6468
6509
  flex-direction: row;
6469
6510
  box-sizing: border-box;
6470
-
6511
+ word-break: break-word;
6471
6512
  width: 360px;
6472
6513
  border-radius: var(--spacing-m);
6473
6514
  padding-left: var(--spacing-2);