@carbon/ibm-products 2.0.0-rc.22 → 2.0.0-rc.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. package/css/index-full-carbon.css +41 -49
  2. package/css/index-full-carbon.css.map +1 -1
  3. package/css/index-full-carbon.min.css +4 -4
  4. package/css/index-full-carbon.min.css.map +1 -1
  5. package/css/index-without-carbon-released-only.css +30 -43
  6. package/css/index-without-carbon-released-only.css.map +1 -1
  7. package/css/index-without-carbon-released-only.min.css +3 -3
  8. package/css/index-without-carbon-released-only.min.css.map +1 -1
  9. package/css/index-without-carbon.css +41 -49
  10. package/css/index-without-carbon.css.map +1 -1
  11. package/css/index-without-carbon.min.css +4 -4
  12. package/css/index-without-carbon.min.css.map +1 -1
  13. package/css/index.css +102 -43
  14. package/css/index.css.map +1 -1
  15. package/css/index.min.css +4 -4
  16. package/css/index.min.css.map +1 -1
  17. package/es/components/AddSelect/AddSelectBreadcrumbs.js +6 -4
  18. package/es/components/AddSelect/AddSelectFilter.js +1 -2
  19. package/es/components/AddSelect/AddSelectList.js +16 -34
  20. package/es/components/CreateFullPage/CreateFullPage.js +4 -2
  21. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +4 -2
  22. package/es/components/PageHeader/PageHeaderTitle.js +1 -0
  23. package/es/components/SidePanel/SidePanel.js +14 -5
  24. package/es/components/Tearsheet/Tearsheet.js +3 -3
  25. package/es/components/Tearsheet/TearsheetShell.js +11 -8
  26. package/lib/components/AddSelect/AddSelectBreadcrumbs.js +6 -4
  27. package/lib/components/AddSelect/AddSelectFilter.js +1 -2
  28. package/lib/components/AddSelect/AddSelectList.js +15 -33
  29. package/lib/components/CreateFullPage/CreateFullPage.js +3 -1
  30. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +3 -1
  31. package/lib/components/PageHeader/PageHeaderTitle.js +1 -0
  32. package/lib/components/SidePanel/SidePanel.js +14 -5
  33. package/lib/components/Tearsheet/Tearsheet.js +2 -2
  34. package/lib/components/Tearsheet/TearsheetShell.js +9 -6
  35. package/package.json +2 -2
  36. package/scss/components/ActionSet/_action-set.scss +4 -1
  37. package/scss/components/AddSelect/_add-select.scss +0 -10
  38. package/scss/components/Datagrid/styles/_useInlineEdit.scss +4 -0
  39. package/scss/components/EmptyStates/_empty-state.scss +7 -4
  40. package/scss/components/HTTPErrors/_http-errors.scss +8 -4
  41. package/scss/components/InlineEditV1/_inline-edit-v1.scss +1 -3
  42. package/scss/components/Tearsheet/_carbon-imports.scss +2 -1
  43. package/scss/components/Tearsheet/_tearsheet.scss +8 -5
@@ -1006,7 +1006,7 @@
1006
1006
  .c4p--action-set.cds--btn-set.c4p--action-set--xl .c4p--action-set__action-button:not(.c4p--action-set__action-button--ghost),
1007
1007
  .c4p--action-set.cds--btn-set.c4p--action-set--2xl .c4p--action-set__action-button:not(.c4p--action-set__action-button--ghost),
1008
1008
  .c4p--action-set.cds--btn-set.c4p--action-set--row-quadruple .c4p--action-set__action-button:not(.c4p--action-set__action-button--ghost) {
1009
- max-width: rem(232px);
1009
+ max-width: 14.5rem;
1010
1010
  flex: 0 1 25%;
1011
1011
  }
1012
1012
 
@@ -3640,6 +3640,9 @@
3640
3640
  .c4p--tearsheet.c4p--tearsheet--wide .c4p--tearsheet__header.c4p--tearsheet__header--with-close-icon {
3641
3641
  padding-right: 4rem;
3642
3642
  }
3643
+ .c4p--tearsheet.c4p--tearsheet--narrow .c4p--tearsheet__header-description {
3644
+ max-width: 80%;
3645
+ }
3643
3646
  .c4p--tearsheet .c4p--tearsheet__header-navigation {
3644
3647
  margin: 0.75rem 0 0;
3645
3648
  }
@@ -3673,6 +3676,7 @@
3673
3676
  .c4p--tearsheet .c4p--tearsheet__main {
3674
3677
  display: flex;
3675
3678
  flex-direction: row;
3679
+ background-color: var(--cds-layer);
3676
3680
  grid-column: 1/-1;
3677
3681
  grid-row: 1/-1;
3678
3682
  }
@@ -3684,9 +3688,6 @@
3684
3688
  overflow: auto;
3685
3689
  flex-grow: 1;
3686
3690
  }
3687
- .c4p--tearsheet.c4p--tearsheet--wide .c4p--tearsheet__content {
3688
- background: var(--cds-background, #ffffff);
3689
- }
3690
3691
  .c4p--tearsheet.c4p--tearsheet--wide .c4p--tearsheet__content .cds--pagination,
3691
3692
  .c4p--tearsheet.c4p--tearsheet--wide .c4p--tearsheet__content .cds--pagination__control-buttons,
3692
3693
  .c4p--tearsheet.c4p--tearsheet--wide .c4p--tearsheet__content .cds--text-input,
@@ -3697,7 +3698,7 @@
3697
3698
  .c4p--tearsheet.c4p--tearsheet--wide .c4p--tearsheet__content .cds--dropdown-list,
3698
3699
  .c4p--tearsheet.c4p--tearsheet--wide .c4p--tearsheet__content .cds--number input[type=number],
3699
3700
  .c4p--tearsheet.c4p--tearsheet--wide .c4p--tearsheet__content .cds--date-picker__input {
3700
- background-color: var(--cds-field-01, #f4f4f4);
3701
+ background-color: var(--cds-field);
3701
3702
  }
3702
3703
  .c4p--tearsheet.c4p--tearsheet--wide .c4p--tearsheet__content .cds--select--inline .cds--select-input {
3703
3704
  background-color: transparent;
@@ -3883,25 +3884,25 @@
3883
3884
  color: var(--cds-text-primary, #161616);
3884
3885
  }
3885
3886
  .c4p--empty-state .c4p--empty-state__header {
3886
- font-size: var(--cds-productive-heading-03-font-size, 1.25rem);
3887
- font-weight: var(--cds-productive-heading-03-font-weight, 400);
3888
- line-height: var(--cds-productive-heading-03-line-height, 1.4);
3889
- letter-spacing: var(--cds-productive-heading-03-letter-spacing, 0);
3887
+ font-size: var(--cds-heading-03-font-size, 1.25rem);
3888
+ font-weight: var(--cds-heading-03-font-weight, 400);
3889
+ line-height: var(--cds-heading-03-line-height, 1.4);
3890
+ letter-spacing: var(--cds-heading-03-letter-spacing, 0);
3890
3891
  padding-bottom: 0.375rem;
3891
3892
  margin: 0;
3892
3893
  }
3893
3894
  .c4p--empty-state .c4p--empty-state__subtitle {
3894
- font-size: var(--cds-body-long-01-font-size, 0.875rem);
3895
- font-weight: var(--cds-body-long-01-font-weight, 400);
3896
- line-height: var(--cds-body-long-01-line-height, 1.42857);
3897
- letter-spacing: var(--cds-body-long-01-letter-spacing, 0.16px);
3895
+ font-size: var(--cds-body-01-font-size, 0.875rem);
3896
+ font-weight: var(--cds-body-01-font-weight, 400);
3897
+ line-height: var(--cds-body-01-line-height, 1.42857);
3898
+ letter-spacing: var(--cds-body-01-letter-spacing, 0.16px);
3898
3899
  padding-bottom: 1rem;
3899
3900
  }
3900
3901
  .c4p--empty-state .c4p--empty-state__header--small {
3901
- font-size: var(--cds-body-short-02-font-size, 1rem);
3902
- font-weight: var(--cds-body-short-02-font-weight, 400);
3903
- line-height: var(--cds-body-short-02-line-height, 1.375);
3904
- letter-spacing: var(--cds-body-short-02-letter-spacing, 0);
3902
+ font-size: var(--cds-body-compact-02-font-size, 1rem);
3903
+ font-weight: var(--cds-body-compact-02-font-weight, 400);
3904
+ line-height: var(--cds-body-compact-02-line-height, 1.375);
3905
+ letter-spacing: var(--cds-body-compact-02-letter-spacing, 0);
3905
3906
  padding-bottom: 0.5rem;
3906
3907
  }
3907
3908
  .c4p--empty-state .c4p--empty-state__subtitle--small {
@@ -4109,26 +4110,26 @@
4109
4110
  }
4110
4111
 
4111
4112
  .c4p--http-errors .c4p--http-errors__error-code-label {
4112
- font-size: var(--cds-productive-heading-02-font-size, 1rem);
4113
- font-weight: var(--cds-productive-heading-02-font-weight, 600);
4114
- line-height: var(--cds-productive-heading-02-line-height, 1.375);
4115
- letter-spacing: var(--cds-productive-heading-02-letter-spacing, 0);
4113
+ font-size: var(--cds-heading-compact-02-font-size, 1rem);
4114
+ font-weight: var(--cds-heading-compact-02-font-weight, 600);
4115
+ line-height: var(--cds-heading-compact-02-line-height, 1.375);
4116
+ letter-spacing: var(--cds-heading-compact-02-letter-spacing, 0);
4116
4117
  margin-bottom: 0.25rem;
4117
4118
  }
4118
4119
 
4119
4120
  .c4p--http-errors .c4p--http-errors__title {
4120
- font-size: var(--cds-productive-heading-05-font-size, 2rem);
4121
- font-weight: var(--cds-productive-heading-05-font-weight, 400);
4122
- line-height: var(--cds-productive-heading-05-line-height, 1.25);
4123
- letter-spacing: var(--cds-productive-heading-05-letter-spacing, 0);
4121
+ font-size: var(--cds-heading-05-font-size, 2rem);
4122
+ font-weight: var(--cds-heading-05-font-weight, 400);
4123
+ line-height: var(--cds-heading-05-line-height, 1.25);
4124
+ letter-spacing: var(--cds-heading-05-letter-spacing, 0);
4124
4125
  margin-bottom: 0.75rem;
4125
4126
  }
4126
4127
 
4127
4128
  .c4p--http-errors .c4p--http-errors__description {
4128
- font-size: var(--cds-body-short-01-font-size, 0.875rem);
4129
- font-weight: var(--cds-body-short-01-font-weight, 400);
4130
- line-height: var(--cds-body-short-01-line-height, 1.28572);
4131
- letter-spacing: var(--cds-body-short-01-letter-spacing, 0.16px);
4129
+ font-size: var(--cds-body-compact-01-font-size, 0.875rem);
4130
+ font-weight: var(--cds-body-compact-01-font-weight, 400);
4131
+ line-height: var(--cds-body-compact-01-line-height, 1.28572);
4132
+ letter-spacing: var(--cds-body-compact-01-letter-spacing, 0.16px);
4132
4133
  margin-bottom: 1.5rem;
4133
4134
  }
4134
4135
 
@@ -4337,13 +4338,6 @@
4337
4338
  flex-direction: column;
4338
4339
  justify-content: center;
4339
4340
  }
4340
- .c4p--add-select__selections-cell:hover .c4p--add-select__selections-hidden-hover,
4341
- .c4p--add-select__selections .cds--structured-list-row:focus-within .c4p--add-select__selections-hidden-hover {
4342
- visibility: visible;
4343
- }
4344
- .c4p--add-select__selections-hidden-hover {
4345
- visibility: hidden;
4346
- }
4347
4341
  .c4p--add-select__selections-row--selected.cds--structured-list-row {
4348
4342
  border-bottom: 1px solid var(--cds-layer-selected-01, #e0e0e0);
4349
4343
  background-color: var(--cds-layer-selected-01, #e0e0e0);
@@ -9864,7 +9858,6 @@ button.c4p--add-select__global-filter-toggle--open {
9864
9858
  top: 0;
9865
9859
  right: 0;
9866
9860
  display: flex;
9867
- width: var(--c4p--inline-edit--toolbar-width);
9868
9861
  height: 100%;
9869
9862
  justify-content: space-between;
9870
9863
  cursor: text;
@@ -9887,8 +9880,6 @@ button.c4p--add-select__global-filter-toggle--open {
9887
9880
  }
9888
9881
  .c4p--inline-edit.c4p--inline-edit.c4p--inline-edit .c4p--inline-edit__save, .c4p--inline-edit.c4p--inline-edit.c4p--inline-edit .c4p--inline-edit__cancel {
9889
9882
  display: inline-flex;
9890
- width: var(--c4p--inline-edit--size);
9891
- max-width: var(--c4p--inline-edit--size);
9892
9883
  height: 100%;
9893
9884
  min-height: initial;
9894
9885
  max-height: var(--c4p--inline-edit--size);
@@ -9952,8 +9943,6 @@ button.c4p--add-select__global-filter-toggle--open {
9952
9943
  }
9953
9944
  .c4p--inline-edit.c4p--inline-edit.c4p--inline-edit .c4p--inline-edit__edit {
9954
9945
  display: inline-flex;
9955
- width: var(--c4p--inline-edit--size);
9956
- max-width: var(--c4p--inline-edit--size);
9957
9946
  height: 100%;
9958
9947
  min-height: initial;
9959
9948
  max-height: var(--c4p--inline-edit--size);
@@ -9981,8 +9970,6 @@ button.c4p--add-select__global-filter-toggle--open {
9981
9970
  }
9982
9971
  .c4p--inline-edit .c4p--inline-edit__validation-icon {
9983
9972
  display: inline-flex;
9984
- width: var(--c4p--inline-edit--size);
9985
- max-width: var(--c4p--inline-edit--size);
9986
9973
  height: 100%;
9987
9974
  min-height: initial;
9988
9975
  max-height: var(--c4p--inline-edit--size);
@@ -11897,6 +11884,10 @@ th.c4p--datagrid__select-all-toggle-on.button {
11897
11884
  outline-color: var(--cds-support-error, #da1e28);
11898
11885
  }
11899
11886
 
11887
+ .c4p--datagrid .cds--text-input:focus {
11888
+ background: var(--cds-field-01, #f4f4f4);
11889
+ }
11890
+
11900
11891
  .c4p--datagrid .c4p--datagrid__inline-edit--outer-cell-button--invalid .cds--number input[type=number][data-invalid]:focus ~ .cds--number__controls .cds--number__control-btn.up-icon::after {
11901
11892
  background-color: var(--cds-support-error, #da1e28);
11902
11893
  }
@@ -14007,7 +13998,7 @@ a.cds--side-nav__link--current::before {
14007
13998
  .c4p--action-set.cds--btn-set.c4p--action-set--xl .c4p--action-set__action-button:not(.c4p--action-set__action-button--ghost),
14008
13999
  .c4p--action-set.cds--btn-set.c4p--action-set--2xl .c4p--action-set__action-button:not(.c4p--action-set__action-button--ghost),
14009
14000
  .c4p--action-set.cds--btn-set.c4p--action-set--row-quadruple .c4p--action-set__action-button:not(.c4p--action-set__action-button--ghost) {
14010
- max-width: rem(232px);
14001
+ max-width: 14.5rem;
14011
14002
  flex: 0 1 25%;
14012
14003
  }
14013
14004
 
@@ -14190,6 +14181,10 @@ a.cds--side-nav__link--current::before {
14190
14181
  padding-right: 4rem;
14191
14182
  }
14192
14183
 
14184
+ .c4p--tearsheet.c4p--tearsheet--narrow .c4p--tearsheet__header-description {
14185
+ max-width: 80%;
14186
+ }
14187
+
14193
14188
  .c4p--tearsheet .c4p--tearsheet__header-navigation {
14194
14189
  margin: 0.75rem 0 0;
14195
14190
  }
@@ -14230,6 +14225,7 @@ a.cds--side-nav__link--current::before {
14230
14225
  .c4p--tearsheet .c4p--tearsheet__main {
14231
14226
  display: flex;
14232
14227
  flex-direction: row;
14228
+ background-color: var(--cds-layer);
14233
14229
  grid-column: 1/-1;
14234
14230
  grid-row: 1/-1;
14235
14231
  }
@@ -14244,10 +14240,6 @@ a.cds--side-nav__link--current::before {
14244
14240
  flex-grow: 1;
14245
14241
  }
14246
14242
 
14247
- .c4p--tearsheet.c4p--tearsheet--wide .c4p--tearsheet__content {
14248
- background: var(--cds-background, #ffffff);
14249
- }
14250
-
14251
14243
  .c4p--tearsheet.c4p--tearsheet--wide .c4p--tearsheet__content .cds--pagination,
14252
14244
  .c4p--tearsheet.c4p--tearsheet--wide .c4p--tearsheet__content .cds--pagination__control-buttons,
14253
14245
  .c4p--tearsheet.c4p--tearsheet--wide .c4p--tearsheet__content .cds--text-input,
@@ -14258,7 +14250,7 @@ a.cds--side-nav__link--current::before {
14258
14250
  .c4p--tearsheet.c4p--tearsheet--wide .c4p--tearsheet__content .cds--dropdown-list,
14259
14251
  .c4p--tearsheet.c4p--tearsheet--wide .c4p--tearsheet__content .cds--number input[type=number],
14260
14252
  .c4p--tearsheet.c4p--tearsheet--wide .c4p--tearsheet__content .cds--date-picker__input {
14261
- background-color: var(--cds-field-01, #f4f4f4);
14253
+ background-color: var(--cds-field);
14262
14254
  }
14263
14255
 
14264
14256
  .c4p--tearsheet.c4p--tearsheet--wide .c4p--tearsheet__content .cds--select--inline .cds--select-input {