@innovaccer/design-system 2.17.0 → 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 +43 -0
- package/css/dist/index.css +52 -25
- package/css/dist/index.css.map +1 -1
- package/css/src/components/avatar.css +1 -1
- package/css/src/components/calendar.css +5 -5
- package/css/src/components/chipInput.css +42 -18
- package/css/src/components/toast.css +1 -1
- package/css/src/core/typography.css +3 -0
- package/dist/.lib/tsconfig.type.tsbuildinfo +22 -22
- package/dist/core/accessibility/utils/useAccessibilityProps.d.ts +3 -1
- package/dist/core/components/atoms/_chip/index.d.ts +1 -0
- package/dist/core/components/atoms/chip/Chip.d.ts +1 -0
- package/dist/core/components/organisms/grid/Cell.d.ts +1 -0
- package/dist/core/components/organisms/grid/GridNestedRow.d.ts +2 -0
- package/dist/index.esm.js +121 -93
- package/dist/index.js +85 -62
- 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 +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,46 @@
|
|
|
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
|
+
|
|
1
44
|
## 2.17.0 (2023-07-24)
|
|
2
45
|
|
|
3
46
|
### Highlights
|
package/css/dist/index.css
CHANGED
|
@@ -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:
|
|
877
|
+
cursor: default;
|
|
875
878
|
}
|
|
876
879
|
|
|
877
880
|
.Avatar--regular {
|
|
@@ -1502,11 +1505,11 @@ body {
|
|
|
1502
1505
|
}
|
|
1503
1506
|
|
|
1504
1507
|
.Calendar-month--small {
|
|
1505
|
-
height:
|
|
1508
|
+
height: 200px;
|
|
1506
1509
|
}
|
|
1507
1510
|
|
|
1508
1511
|
.Calendar-year--small {
|
|
1509
|
-
height:
|
|
1512
|
+
height: 200px;
|
|
1510
1513
|
}
|
|
1511
1514
|
|
|
1512
1515
|
.Calendar--large {
|
|
@@ -1522,7 +1525,7 @@ body {
|
|
|
1522
1525
|
}
|
|
1523
1526
|
|
|
1524
1527
|
.Calendar-month--large {
|
|
1525
|
-
height:
|
|
1528
|
+
height: 276px;
|
|
1526
1529
|
}
|
|
1527
1530
|
|
|
1528
1531
|
.Calendar-year--large {
|
|
@@ -1542,7 +1545,7 @@ body {
|
|
|
1542
1545
|
display: flex;
|
|
1543
1546
|
justify-content: center;
|
|
1544
1547
|
align-items: center;
|
|
1545
|
-
padding-bottom: var(--spacing
|
|
1548
|
+
padding-bottom: var(--spacing);
|
|
1546
1549
|
}
|
|
1547
1550
|
|
|
1548
1551
|
.Calendar-headerIcon {
|
|
@@ -1581,7 +1584,7 @@ body {
|
|
|
1581
1584
|
display: flex;
|
|
1582
1585
|
flex-direction: column;
|
|
1583
1586
|
flex-grow: 1;
|
|
1584
|
-
justify-content: space-
|
|
1587
|
+
justify-content: space-between;
|
|
1585
1588
|
}
|
|
1586
1589
|
|
|
1587
1590
|
.Calendar-valueRow {
|
|
@@ -2273,28 +2276,23 @@ body {
|
|
|
2273
2276
|
}
|
|
2274
2277
|
|
|
2275
2278
|
.ChipInput {
|
|
2276
|
-
box-sizing: border-box;
|
|
2277
2279
|
display: flex;
|
|
2278
2280
|
border-radius: var(--spacing-m);
|
|
2279
|
-
|
|
2280
|
-
padding-left:
|
|
2281
|
-
padding-
|
|
2282
|
-
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;
|
|
2283
2284
|
background: var(--white);
|
|
2284
2285
|
cursor: text;
|
|
2285
2286
|
flex: 100%;
|
|
2286
2287
|
}
|
|
2287
2288
|
|
|
2288
|
-
.ChipInput
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
align-items: center;
|
|
2292
|
-
flex-wrap: wrap;
|
|
2289
|
+
.ChipInput:focus,
|
|
2290
|
+
.ChipInput:focus-visible {
|
|
2291
|
+
outline: var(--spacing-xs) var(--primary);
|
|
2293
2292
|
}
|
|
2294
2293
|
|
|
2295
2294
|
.ChipInput:focus-within {
|
|
2296
|
-
|
|
2297
|
-
box-shadow: var(--shadow-spread) var(--primary-shadow);
|
|
2295
|
+
box-shadow: inset 0 0 0 var(--spacing-xs) var(--primary);
|
|
2298
2296
|
}
|
|
2299
2297
|
|
|
2300
2298
|
.ChipInput--disabled {
|
|
@@ -2303,6 +2301,22 @@ body {
|
|
|
2303
2301
|
pointer-events: none;
|
|
2304
2302
|
}
|
|
2305
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
|
+
|
|
2306
2320
|
.ChipInput-input {
|
|
2307
2321
|
border: none;
|
|
2308
2322
|
outline: none;
|
|
@@ -2312,19 +2326,32 @@ body {
|
|
|
2312
2326
|
flex: 0px;
|
|
2313
2327
|
box-sizing: border-box;
|
|
2314
2328
|
height: var(--spacing-xl);
|
|
2315
|
-
margin-top: var(--spacing-
|
|
2316
|
-
margin-bottom: var(--spacing-
|
|
2317
|
-
padding-left: var(--spacing-m);
|
|
2329
|
+
margin-top: var(--spacing-m);
|
|
2330
|
+
margin-bottom: var(--spacing-m);
|
|
2318
2331
|
font-family: var(--font-family);
|
|
2319
2332
|
font-size: var(--font-size);
|
|
2320
2333
|
}
|
|
2321
2334
|
|
|
2322
2335
|
.ChipInput-icon {
|
|
2323
2336
|
height: var(--spacing-2);
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
margin-
|
|
2337
|
+
padding: var(--spacing-s);
|
|
2338
|
+
margin-left: var(--spacing);
|
|
2339
|
+
margin-top: 6px;
|
|
2327
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);
|
|
2328
2355
|
}
|
|
2329
2356
|
|
|
2330
2357
|
.ChoiceList {
|
|
@@ -6481,7 +6508,7 @@ body {
|
|
|
6481
6508
|
display: flex;
|
|
6482
6509
|
flex-direction: row;
|
|
6483
6510
|
box-sizing: border-box;
|
|
6484
|
-
|
|
6511
|
+
word-break: break-word;
|
|
6485
6512
|
width: 360px;
|
|
6486
6513
|
border-radius: var(--spacing-m);
|
|
6487
6514
|
padding-left: var(--spacing-2);
|