@innovaccer/design-system 2.17.0 → 2.19.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 +92 -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 +56 -18
- package/css/src/components/toast.css +3 -1
- package/css/src/core/typography.css +3 -0
- package/css/src/utils/text.css +23 -0
- package/dist/.lib/tsconfig.type.tsbuildinfo +26 -26
- 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/core/components/organisms/timePicker/TimePickerWithInput.d.ts +1 -0
- package/dist/core/components/organisms/timePicker/TimePickerWithSearch.d.ts +1 -0
- package/dist/index.esm.js +128 -96
- package/dist/index.js +92 -65
- 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,86 @@
|
|
|
1
|
+
## 2.19.0 (2023-08-25)
|
|
2
|
+
|
|
3
|
+
### Highlights
|
|
4
|
+
|
|
5
|
+
- style(text): add text alignment css classes (f64a919)
|
|
6
|
+
- feat(timepicker): add error state support for timepicker (9b1078a5)
|
|
7
|
+
|
|
8
|
+
### Breaking changes
|
|
9
|
+
|
|
10
|
+
NA
|
|
11
|
+
|
|
12
|
+
### Migration guide
|
|
13
|
+
|
|
14
|
+
NA
|
|
15
|
+
|
|
16
|
+
### Deprecations
|
|
17
|
+
|
|
18
|
+
NA
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
- style(text): add text alignment css classes (f64a919)
|
|
23
|
+
- feat(timepicker): add error state support for timepicker (9b1078a5)
|
|
24
|
+
|
|
25
|
+
### Fixes
|
|
26
|
+
|
|
27
|
+
- fix(chipInput): update chipInput background of hover state (e330274)
|
|
28
|
+
- fix(toast): fix height of toast action icon (e73b5ef4)
|
|
29
|
+
- fix(toast): fix toast right icon spacing (bd9cfdb5)
|
|
30
|
+
|
|
31
|
+
### Improvements
|
|
32
|
+
|
|
33
|
+
- fix(packages): update package-lock file (2b05ef23)
|
|
34
|
+
|
|
35
|
+
### Documentation
|
|
36
|
+
|
|
37
|
+
- docs(toast): add usage guidelines for overuse and actions of toast (645be26)
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## 2.18.0 (2023-08-08)
|
|
42
|
+
|
|
43
|
+
### Highlights
|
|
44
|
+
|
|
45
|
+
- feat(chip): add label prefix prop for custom label (3bce8c32)
|
|
46
|
+
|
|
47
|
+
### Breaking changes
|
|
48
|
+
|
|
49
|
+
NA
|
|
50
|
+
|
|
51
|
+
### Migration guide
|
|
52
|
+
|
|
53
|
+
NA
|
|
54
|
+
|
|
55
|
+
### Deprecations
|
|
56
|
+
|
|
57
|
+
NA
|
|
58
|
+
|
|
59
|
+
### Features
|
|
60
|
+
|
|
61
|
+
- feat(chip): add label prefix prop for custom label (3bce8c32)
|
|
62
|
+
|
|
63
|
+
### Fixes
|
|
64
|
+
|
|
65
|
+
- fix(avatar): update mouse pointer cursor to default on hover on avatar (a58add0a)
|
|
66
|
+
- fix(table): add limit to call nested row renderer function (7f3e0aba)
|
|
67
|
+
- fix(label): fix overflow behaviour of label with required indicator (f4ad093f)
|
|
68
|
+
- fix(toast): update description overflow behaviour (aee04fa3)
|
|
69
|
+
- fix(calendar): fix height of calendar and datepicker (78dcd91a)
|
|
70
|
+
- fix(inputmask): update action icon states (c1b23ff1)
|
|
71
|
+
- fix(chipinput): update horizontal-vertical spacing and action icon state (8d1d37e4)
|
|
72
|
+
- fix(editableinput): replace text with inline message inside error popover (3ba15748)
|
|
73
|
+
|
|
74
|
+
### Improvements
|
|
75
|
+
|
|
76
|
+
NA
|
|
77
|
+
|
|
78
|
+
### Documentation
|
|
79
|
+
|
|
80
|
+
- docs(docs): update size of calendar and datepicker in docs (84c18281)
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
1
84
|
## 2.17.0 (2023-07-24)
|
|
2
85
|
|
|
3
86
|
### 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,29 @@ 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
|
-
|
|
2292
|
-
|
|
2289
|
+
.ChipInput:focus,
|
|
2290
|
+
.ChipInput:focus-visible {
|
|
2291
|
+
outline: var(--spacing-xs) var(--primary);
|
|
2292
|
+
}
|
|
2293
|
+
|
|
2294
|
+
.ChipInput:hover {
|
|
2295
|
+
background: var(--secondary-lighter);
|
|
2296
|
+
border-color: var(--secondary-dark);
|
|
2293
2297
|
}
|
|
2294
2298
|
|
|
2295
2299
|
.ChipInput:focus-within {
|
|
2296
|
-
|
|
2297
|
-
|
|
2300
|
+
box-shadow: inset 0 0 0 var(--spacing-xs) var(--primary);
|
|
2301
|
+
background: var(--white);
|
|
2298
2302
|
}
|
|
2299
2303
|
|
|
2300
2304
|
.ChipInput--disabled {
|
|
@@ -2303,6 +2307,22 @@ body {
|
|
|
2303
2307
|
pointer-events: none;
|
|
2304
2308
|
}
|
|
2305
2309
|
|
|
2310
|
+
.ChipInput--withChips {
|
|
2311
|
+
padding-right: var(--spacing);
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2314
|
+
.ChipInput-wrapper {
|
|
2315
|
+
display: flex;
|
|
2316
|
+
flex: 100%;
|
|
2317
|
+
align-items: center;
|
|
2318
|
+
flex-wrap: wrap;
|
|
2319
|
+
}
|
|
2320
|
+
|
|
2321
|
+
.ChipInput-border:focus-within {
|
|
2322
|
+
border-radius: var(--spacing-m);
|
|
2323
|
+
box-shadow: var(--shadow-spread) var(--primary-shadow);
|
|
2324
|
+
}
|
|
2325
|
+
|
|
2306
2326
|
.ChipInput-input {
|
|
2307
2327
|
border: none;
|
|
2308
2328
|
outline: none;
|
|
@@ -2312,19 +2332,40 @@ body {
|
|
|
2312
2332
|
flex: 0px;
|
|
2313
2333
|
box-sizing: border-box;
|
|
2314
2334
|
height: var(--spacing-xl);
|
|
2315
|
-
margin-top: var(--spacing-
|
|
2316
|
-
margin-bottom: var(--spacing-
|
|
2317
|
-
padding-left: var(--spacing-m);
|
|
2335
|
+
margin-top: var(--spacing-m);
|
|
2336
|
+
margin-bottom: var(--spacing-m);
|
|
2318
2337
|
font-family: var(--font-family);
|
|
2319
2338
|
font-size: var(--font-size);
|
|
2320
2339
|
}
|
|
2321
2340
|
|
|
2341
|
+
.ChipInput:hover .ChipInput-input {
|
|
2342
|
+
background: var(--secondary-lighter);
|
|
2343
|
+
}
|
|
2344
|
+
|
|
2345
|
+
.ChipInput:focus-within .ChipInput-input {
|
|
2346
|
+
background: var(--white);
|
|
2347
|
+
}
|
|
2348
|
+
|
|
2322
2349
|
.ChipInput-icon {
|
|
2323
2350
|
height: var(--spacing-2);
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
margin-
|
|
2351
|
+
padding: var(--spacing-s);
|
|
2352
|
+
margin-left: var(--spacing);
|
|
2353
|
+
margin-top: 6px;
|
|
2327
2354
|
cursor: pointer;
|
|
2355
|
+
border-radius: 10px;
|
|
2356
|
+
}
|
|
2357
|
+
|
|
2358
|
+
.ChipInput-icon:hover {
|
|
2359
|
+
background-color: var(--secondary);
|
|
2360
|
+
}
|
|
2361
|
+
|
|
2362
|
+
.ChipInput-icon:active {
|
|
2363
|
+
background-color: var(--secondary-dark);
|
|
2364
|
+
}
|
|
2365
|
+
|
|
2366
|
+
.ChipInput-icon:focus,
|
|
2367
|
+
.ChipInput-icon:focus-visible {
|
|
2368
|
+
outline: var(--spacing-s) solid var(--secondary-shadow);
|
|
2328
2369
|
}
|
|
2329
2370
|
|
|
2330
2371
|
.ChoiceList {
|
|
@@ -6481,7 +6522,7 @@ body {
|
|
|
6481
6522
|
display: flex;
|
|
6482
6523
|
flex-direction: row;
|
|
6483
6524
|
box-sizing: border-box;
|
|
6484
|
-
|
|
6525
|
+
word-break: break-word;
|
|
6485
6526
|
width: 360px;
|
|
6486
6527
|
border-radius: var(--spacing-m);
|
|
6487
6528
|
padding-left: var(--spacing-2);
|
|
@@ -6530,6 +6571,8 @@ body {
|
|
|
6530
6571
|
align-items: center;
|
|
6531
6572
|
padding-right: var(--spacing-m);
|
|
6532
6573
|
padding-left: var(--spacing-m);
|
|
6574
|
+
height: var(--spacing-xl);
|
|
6575
|
+
box-sizing: initial;
|
|
6533
6576
|
}
|
|
6534
6577
|
|
|
6535
6578
|
.Toast-icon--info,
|
|
@@ -8824,6 +8867,30 @@ body {
|
|
|
8824
8867
|
padding-left: auto !important;
|
|
8825
8868
|
}
|
|
8826
8869
|
|
|
8870
|
+
.text-align-start {
|
|
8871
|
+
text-align: start !important;
|
|
8872
|
+
}
|
|
8873
|
+
|
|
8874
|
+
.text-align-end {
|
|
8875
|
+
text-align: end !important;
|
|
8876
|
+
}
|
|
8877
|
+
|
|
8878
|
+
.text-align-center {
|
|
8879
|
+
text-align: center !important;
|
|
8880
|
+
}
|
|
8881
|
+
|
|
8882
|
+
.text-align-justify {
|
|
8883
|
+
text-align: justify !important;
|
|
8884
|
+
}
|
|
8885
|
+
|
|
8886
|
+
.text-align-left {
|
|
8887
|
+
text-align: left !important;
|
|
8888
|
+
}
|
|
8889
|
+
|
|
8890
|
+
.text-align-right {
|
|
8891
|
+
text-align: right !important;
|
|
8892
|
+
}
|
|
8893
|
+
|
|
8827
8894
|
.color-white {
|
|
8828
8895
|
color: var(--white);
|
|
8829
8896
|
}
|