@innovaccer/design-system 4.24.0 → 4.25.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 +39 -0
- package/css/dist/index.css +154 -29
- package/css/dist/index.css.map +1 -1
- package/css/src/components/chip.module.css +31 -13
- package/css/src/components/datePicker.module.css +9 -0
- package/css/src/components/dateRangePicker.module.css +5 -0
- package/css/src/components/horizontalNav.module.css +4 -8
- package/css/src/components/input.module.css +1 -0
- package/css/src/components/pageHeader.module.css +103 -8
- package/dist/brotli/index.js +1 -1
- package/dist/brotli/index.js.br +0 -0
- package/dist/cjs/index.js +1 -1
- package/dist/core/components/atoms/heading/Heading.d.ts +1 -0
- package/dist/core/components/atoms/message/Message.d.ts +1 -0
- package/dist/core/components/atoms/subheading/Subheading.d.ts +1 -0
- package/dist/core/components/atoms/text/Text.d.ts +1 -0
- package/dist/core/components/molecules/emptyState/EmptyState.d.ts +1 -0
- package/dist/core/components/molecules/emptyState/EmptyStateTitle.d.ts +1 -0
- package/dist/core/components/molecules/modal/ModalHeader.d.ts +1 -0
- package/dist/core/components/molecules/overlayHeader/OverlayHeader.d.ts +1 -0
- package/dist/core/components/organisms/pageHeader/utils.d.ts +9 -9
- package/dist/esm/index.js +568 -370
- package/dist/gzip/index.js +1 -1
- package/dist/gzip/index.js.gz +0 -0
- package/dist/index.js +536 -375
- package/dist/index.js.map +1 -1
- package/dist/index.umd.css +154 -29
- package/dist/index.umd.js +1 -1
- package/dist/types/tsconfig.type.tsbuildinfo +30 -29
- package/package.json +1 -1
package/dist/index.umd.css
CHANGED
|
@@ -3628,6 +3628,10 @@ body {
|
|
|
3628
3628
|
border-bottom: none;
|
|
3629
3629
|
}
|
|
3630
3630
|
|
|
3631
|
+
.PageHeader-bottom--withTabs {
|
|
3632
|
+
margin-top: var(--spacing-30);
|
|
3633
|
+
}
|
|
3634
|
+
|
|
3631
3635
|
.PageHeader .Row {
|
|
3632
3636
|
width: 100%;
|
|
3633
3637
|
}
|
|
@@ -3655,16 +3659,11 @@ body {
|
|
|
3655
3659
|
}
|
|
3656
3660
|
|
|
3657
3661
|
.PageHeader-navigationWrapper {
|
|
3658
|
-
margin-top: var(--spacing-
|
|
3662
|
+
margin-top: var(--spacing-30);
|
|
3659
3663
|
}
|
|
3660
3664
|
|
|
3661
|
-
.PageHeader
|
|
3662
|
-
|
|
3663
|
-
align-items: center;
|
|
3664
|
-
margin-top: 0 !important;
|
|
3665
|
-
padding-right: var(--spacing-20);
|
|
3666
|
-
padding-left: var(--spacing-20);
|
|
3667
|
-
display: flex;
|
|
3665
|
+
.PageHeader-navigationWrapper--noMargin {
|
|
3666
|
+
margin-top: 0;
|
|
3668
3667
|
}
|
|
3669
3668
|
|
|
3670
3669
|
.PageHeader-title {
|
|
@@ -3679,6 +3678,102 @@ body {
|
|
|
3679
3678
|
padding-left: var(--spacing-20);
|
|
3680
3679
|
}
|
|
3681
3680
|
|
|
3681
|
+
/* =====================================================
|
|
3682
|
+
Responsive main header row
|
|
3683
|
+
===================================================== */
|
|
3684
|
+
|
|
3685
|
+
/* Base: flex layout — used by all variants */
|
|
3686
|
+
.PageHeader-row {
|
|
3687
|
+
display: flex;
|
|
3688
|
+
flex-wrap: wrap;
|
|
3689
|
+
align-items: start;
|
|
3690
|
+
width: 100%;
|
|
3691
|
+
}
|
|
3692
|
+
|
|
3693
|
+
.PageHeader-group--title {
|
|
3694
|
+
flex: 1 1 auto;
|
|
3695
|
+
min-width: 0;
|
|
3696
|
+
order: 1;
|
|
3697
|
+
}
|
|
3698
|
+
|
|
3699
|
+
/* Center-nav group — navigation/stepper in center position */
|
|
3700
|
+
.PageHeader-group--center {
|
|
3701
|
+
flex: 0 0 auto;
|
|
3702
|
+
display: flex;
|
|
3703
|
+
justify-content: center;
|
|
3704
|
+
align-items: center;
|
|
3705
|
+
padding: 0 var(--spacing-20);
|
|
3706
|
+
min-width: 0;
|
|
3707
|
+
order: 2;
|
|
3708
|
+
}
|
|
3709
|
+
|
|
3710
|
+
/* Actions / right-side group */
|
|
3711
|
+
.PageHeader-group--actions {
|
|
3712
|
+
flex: 0 0 auto;
|
|
3713
|
+
display: flex;
|
|
3714
|
+
flex-wrap: wrap;
|
|
3715
|
+
justify-content: flex-end;
|
|
3716
|
+
align-items: center;
|
|
3717
|
+
padding-left: var(--spacing-20);
|
|
3718
|
+
row-gap: var(--spacing-30);
|
|
3719
|
+
order: 3;
|
|
3720
|
+
}
|
|
3721
|
+
|
|
3722
|
+
/* Default (full): CSS Grid for true 3-col centering */
|
|
3723
|
+
.PageHeader-row--withCenter {
|
|
3724
|
+
display: grid;
|
|
3725
|
+
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
|
|
3726
|
+
align-items: start;
|
|
3727
|
+
}
|
|
3728
|
+
|
|
3729
|
+
/* Ghost: center nav stays in the grid for measurement but is invisible and out of flow.
|
|
3730
|
+
Used when collision detection moves the nav to PageHeader-bottom. */
|
|
3731
|
+
.PageHeader-group--center--ghost {
|
|
3732
|
+
position: absolute;
|
|
3733
|
+
visibility: hidden;
|
|
3734
|
+
pointer-events: none;
|
|
3735
|
+
}
|
|
3736
|
+
|
|
3737
|
+
/* All stacked: flex marker on the row + full-width children */
|
|
3738
|
+
.PageHeader-row--allStacked {
|
|
3739
|
+
display: flex;
|
|
3740
|
+
flex-wrap: wrap;
|
|
3741
|
+
}
|
|
3742
|
+
|
|
3743
|
+
.PageHeader-group--title--stacked {
|
|
3744
|
+
flex: 0 0 100%;
|
|
3745
|
+
order: 1;
|
|
3746
|
+
}
|
|
3747
|
+
|
|
3748
|
+
.PageHeader-group--actions--stacked {
|
|
3749
|
+
flex: 0 0 100%;
|
|
3750
|
+
order: 2;
|
|
3751
|
+
padding-left: 0;
|
|
3752
|
+
padding-top: var(--spacing-10);
|
|
3753
|
+
justify-content: flex-start;
|
|
3754
|
+
}
|
|
3755
|
+
|
|
3756
|
+
/* =====================================================
|
|
3757
|
+
Level 1: inter-section spacing when right group wraps
|
|
3758
|
+
===================================================== */
|
|
3759
|
+
|
|
3760
|
+
/* At < 576 px, the actions group sits between title and nav/stepper/tabs.
|
|
3761
|
+
For level 1 headers that have actions, increase the gap to 12 px so all
|
|
3762
|
+
three sections (title, actions, nav) have consistent breathing room. */
|
|
3763
|
+
@media (max-width: 575px) {
|
|
3764
|
+
.PageHeader-group--actions--level1Responsive {
|
|
3765
|
+
padding-top: var(--spacing-30);
|
|
3766
|
+
}
|
|
3767
|
+
|
|
3768
|
+
.PageHeader-bottom--level1Responsive {
|
|
3769
|
+
margin-top: var(--spacing-30);
|
|
3770
|
+
}
|
|
3771
|
+
|
|
3772
|
+
.PageHeader-navigationWrapper--noMarginSm {
|
|
3773
|
+
margin-top: 0;
|
|
3774
|
+
}
|
|
3775
|
+
}
|
|
3776
|
+
|
|
3682
3777
|
/* breadcrumbs */
|
|
3683
3778
|
|
|
3684
3779
|
.Breadcrumbs {
|
|
@@ -5066,9 +5161,6 @@ body {
|
|
|
5066
5161
|
display: flex;
|
|
5067
5162
|
box-sizing: border-box;
|
|
5068
5163
|
border-radius: var(--border-radius-30);
|
|
5069
|
-
padding-right: var(--spacing-20);
|
|
5070
|
-
padding-top: var(--spacing-05);
|
|
5071
|
-
padding-bottom: var(--spacing-05);
|
|
5072
5164
|
width: -moz-fit-content;
|
|
5073
5165
|
width: fit-content;
|
|
5074
5166
|
justify-content: space-between;
|
|
@@ -5082,11 +5174,9 @@ body {
|
|
|
5082
5174
|
|
|
5083
5175
|
.Chip-size--regular {
|
|
5084
5176
|
height: var(--spacing-60);
|
|
5085
|
-
padding-left: var(--spacing-20);
|
|
5086
5177
|
}
|
|
5087
5178
|
.Chip-size--small {
|
|
5088
5179
|
height: 20px;
|
|
5089
|
-
padding-left: var(--spacing-15);
|
|
5090
5180
|
}
|
|
5091
5181
|
|
|
5092
5182
|
.Chip-wrapper {
|
|
@@ -5094,6 +5184,29 @@ body {
|
|
|
5094
5184
|
align-items: center;
|
|
5095
5185
|
}
|
|
5096
5186
|
|
|
5187
|
+
.Chip-content {
|
|
5188
|
+
display: flex;
|
|
5189
|
+
align-items: center;
|
|
5190
|
+
min-width: 0;
|
|
5191
|
+
flex: 1;
|
|
5192
|
+
align-self: stretch;
|
|
5193
|
+
padding-top: var(--spacing-05);
|
|
5194
|
+
padding-bottom: var(--spacing-05);
|
|
5195
|
+
padding-right: var(--spacing-20);
|
|
5196
|
+
}
|
|
5197
|
+
|
|
5198
|
+
.Chip-content--regular {
|
|
5199
|
+
padding-left: var(--spacing-20);
|
|
5200
|
+
}
|
|
5201
|
+
|
|
5202
|
+
.Chip-content--small {
|
|
5203
|
+
padding-left: var(--spacing-15);
|
|
5204
|
+
}
|
|
5205
|
+
|
|
5206
|
+
.Chip-content:focus-visible {
|
|
5207
|
+
outline: none;
|
|
5208
|
+
}
|
|
5209
|
+
|
|
5097
5210
|
.Chip-icon--left {
|
|
5098
5211
|
margin-right: var(--spacing-10);
|
|
5099
5212
|
display: flex;
|
|
@@ -5127,7 +5240,7 @@ body {
|
|
|
5127
5240
|
background: var(--secondary);
|
|
5128
5241
|
}
|
|
5129
5242
|
|
|
5130
|
-
.Chip--action:focus-visible {
|
|
5243
|
+
.Chip--action:has(.Chip-content:focus-visible) {
|
|
5131
5244
|
outline: var(--border-width-05) solid var(--primary-focus);
|
|
5132
5245
|
outline-offset: var(--spacing-05);
|
|
5133
5246
|
}
|
|
@@ -5155,7 +5268,7 @@ body {
|
|
|
5155
5268
|
border-color: var(--secondary-dark);
|
|
5156
5269
|
}
|
|
5157
5270
|
|
|
5158
|
-
.Chip--selection:focus-visible {
|
|
5271
|
+
.Chip--selection:has(.Chip-content:focus-visible) {
|
|
5159
5272
|
outline: var(--border-width-05) solid var(--primary-focus);
|
|
5160
5273
|
outline-offset: var(--spacing-05);
|
|
5161
5274
|
}
|
|
@@ -5184,7 +5297,7 @@ body {
|
|
|
5184
5297
|
box-shadow: inset 0 0 0 1px var(--primary);
|
|
5185
5298
|
}
|
|
5186
5299
|
|
|
5187
|
-
.Chip-selection--selected:focus-visible {
|
|
5300
|
+
.Chip-selection--selected:has(.Chip-content:focus-visible) {
|
|
5188
5301
|
outline: var(--border-width-05) solid var(--primary-focus);
|
|
5189
5302
|
outline-offset: var(--spacing-05);
|
|
5190
5303
|
}
|
|
@@ -5225,7 +5338,7 @@ body {
|
|
|
5225
5338
|
background: var(--secondary);
|
|
5226
5339
|
}
|
|
5227
5340
|
|
|
5228
|
-
.Chip--input:focus-visible {
|
|
5341
|
+
.Chip--input:has(.Chip-content:focus-visible) {
|
|
5229
5342
|
outline: var(--border-width-05) solid var(--primary-focus);
|
|
5230
5343
|
outline-offset: var(--spacing-05);
|
|
5231
5344
|
}
|
|
@@ -5275,14 +5388,14 @@ body {
|
|
|
5275
5388
|
background-color: var(--primary-light);
|
|
5276
5389
|
}
|
|
5277
5390
|
|
|
5278
|
-
.Chip-selection--disabled:focus-visible,
|
|
5391
|
+
.Chip-selection--disabled:has(.Chip-content:focus-visible),
|
|
5279
5392
|
.Chip-icon-disabled--right:focus-visible,
|
|
5280
|
-
.Chip-selection--selectedDisabled:focus-visible,
|
|
5281
|
-
.Chip-input--disabled:focus-visible {
|
|
5393
|
+
.Chip-selection--selectedDisabled:has(.Chip-content:focus-visible),
|
|
5394
|
+
.Chip-input--disabled:has(.Chip-content:focus-visible) {
|
|
5282
5395
|
outline: none;
|
|
5283
5396
|
}
|
|
5284
5397
|
|
|
5285
|
-
.Chip-icon--clear {
|
|
5398
|
+
.Chip-icon--clear .Chip-content {
|
|
5286
5399
|
padding-right: 0;
|
|
5287
5400
|
}
|
|
5288
5401
|
|
|
@@ -6752,6 +6865,16 @@ body {
|
|
|
6752
6865
|
}
|
|
6753
6866
|
}
|
|
6754
6867
|
|
|
6868
|
+
.DatePicker-content {
|
|
6869
|
+
display: flex;
|
|
6870
|
+
}
|
|
6871
|
+
|
|
6872
|
+
@media (max-width: 576px) {
|
|
6873
|
+
.DatePicker-content {
|
|
6874
|
+
flex-direction: column;
|
|
6875
|
+
}
|
|
6876
|
+
}
|
|
6877
|
+
|
|
6755
6878
|
.TimePicker-trigger {
|
|
6756
6879
|
width: calc(var(--spacing-40) * 20);
|
|
6757
6880
|
min-width: calc(var(--spacing-40) * 16);
|
|
@@ -7358,6 +7481,7 @@ body {
|
|
|
7358
7481
|
cursor: pointer;
|
|
7359
7482
|
color: var(--inverse-lighter);
|
|
7360
7483
|
border-radius: var(--border-radius-full);
|
|
7484
|
+
box-sizing: content-box;
|
|
7361
7485
|
}
|
|
7362
7486
|
|
|
7363
7487
|
.Input-iconWrapper--right:focus-visible .Input-icon--right {
|
|
@@ -10089,8 +10213,7 @@ body {
|
|
|
10089
10213
|
outline: none;
|
|
10090
10214
|
}
|
|
10091
10215
|
|
|
10092
|
-
.HorizontalNav-menu--default:focus-visible
|
|
10093
|
-
.HorizontalNav-menu--default:focus {
|
|
10216
|
+
.HorizontalNav-menu--default:focus-visible {
|
|
10094
10217
|
outline: var(--border-width-05) solid var(--primary-focus);
|
|
10095
10218
|
outline-offset: var(--spacing-05);
|
|
10096
10219
|
}
|
|
@@ -10108,8 +10231,7 @@ body {
|
|
|
10108
10231
|
box-shadow: 0 0 0 var(--border-width-05) var(--primary);
|
|
10109
10232
|
}
|
|
10110
10233
|
|
|
10111
|
-
.HorizontalNav-menu--active:focus-visible
|
|
10112
|
-
.HorizontalNav-menu--active:focus {
|
|
10234
|
+
.HorizontalNav-menu--active:focus-visible {
|
|
10113
10235
|
background-color: var(--primary-ultra-light);
|
|
10114
10236
|
outline: var(--border-width-05) solid var(--primary-focus);
|
|
10115
10237
|
outline-offset: var(--spacing-10);
|
|
@@ -10129,8 +10251,7 @@ body {
|
|
|
10129
10251
|
color: var(--primary-darker);
|
|
10130
10252
|
}
|
|
10131
10253
|
|
|
10132
|
-
.HorizontalNav-menu--active:focus-visible:active
|
|
10133
|
-
.HorizontalNav-menu--active:focus:active {
|
|
10254
|
+
.HorizontalNav-menu--active:focus-visible:active {
|
|
10134
10255
|
background-color: var(--primary-lighter);
|
|
10135
10256
|
box-shadow: 0 0 0 var(--border-width-05) var(--primary-dark);
|
|
10136
10257
|
}
|
|
@@ -10166,8 +10287,7 @@ body {
|
|
|
10166
10287
|
}
|
|
10167
10288
|
|
|
10168
10289
|
.HorizontalNav-menu--active:active,
|
|
10169
|
-
.HorizontalNav-menu--active:focus-visible:active
|
|
10170
|
-
.HorizontalNav-menu--active:focus:active {
|
|
10290
|
+
.HorizontalNav-menu--active:focus-visible:active {
|
|
10171
10291
|
border-color: Highlight;
|
|
10172
10292
|
box-shadow: none;
|
|
10173
10293
|
}
|
|
@@ -11011,6 +11131,11 @@ body {
|
|
|
11011
11131
|
}
|
|
11012
11132
|
|
|
11013
11133
|
@media (max-width: 576px) {
|
|
11134
|
+
.DateRangePicker--left,
|
|
11135
|
+
.DateRangePicker--right {
|
|
11136
|
+
flex-direction: column;
|
|
11137
|
+
}
|
|
11138
|
+
|
|
11014
11139
|
.DateRangePicker-input {
|
|
11015
11140
|
padding: 0;
|
|
11016
11141
|
}
|