@carbon/styles 1.92.0 → 1.93.0-rc.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/css/styles.css CHANGED
@@ -22193,6 +22193,8 @@ optgroup.cds--select-optgroup:disabled,
22193
22193
  justify-content: space-between;
22194
22194
  background-color: var(--cds-layer);
22195
22195
  border-block-start: 1px solid var(--cds-border-subtle);
22196
+ container-name: pagination;
22197
+ container-type: inline-size;
22196
22198
  inline-size: calc(100% - 1px);
22197
22199
  min-block-size: 2.5rem;
22198
22200
  overflow-x: auto;
@@ -22202,7 +22204,7 @@ optgroup.cds--select-optgroup:disabled,
22202
22204
  .cds--pagination *::after {
22203
22205
  box-sizing: inherit;
22204
22206
  }
22205
- @media (min-width: 42rem) {
22207
+ @container pagination (min-width: 42rem) {
22206
22208
  .cds--pagination {
22207
22209
  overflow: initial;
22208
22210
  }
@@ -22210,7 +22212,7 @@ optgroup.cds--select-optgroup:disabled,
22210
22212
  display: flex;
22211
22213
  }
22212
22214
  }
22213
- @media (max-width: 41.98rem) {
22215
+ @container pagination (max-width: 42rem) {
22214
22216
  .cds--pagination .cds--pagination__left > *,
22215
22217
  .cds--pagination .cds--pagination__right > * {
22216
22218
  display: none;
@@ -22251,6 +22253,12 @@ optgroup.cds--select-optgroup:disabled,
22251
22253
  line-height: 2.5rem;
22252
22254
  min-inline-size: auto;
22253
22255
  }
22256
+ @-moz-document url-prefix() {
22257
+ .cds--pagination .cds--select-input {
22258
+ padding-inline-end: 1rem;
22259
+ text-overflow: clip;
22260
+ }
22261
+ }
22254
22262
 
22255
22263
  .cds--pagination .cds--select--inline .cds--select-input {
22256
22264
  padding-inline: 1rem 2.25rem;
@@ -22327,13 +22335,13 @@ optgroup.cds--select-optgroup:disabled,
22327
22335
  .cds--pagination__left {
22328
22336
  padding: 0 1rem 0 0;
22329
22337
  }
22330
- @media (min-width: 42rem) {
22338
+ @container pagination (min-width: 42rem) {
22331
22339
  .cds--pagination__left {
22332
22340
  padding: 0 1rem;
22333
22341
  }
22334
22342
  }
22335
22343
 
22336
- @media (min-width: 42rem) {
22344
+ @container pagination (min-width: 42rem) {
22337
22345
  .cds--pagination__text {
22338
22346
  display: inline-block;
22339
22347
  }
@@ -22470,6 +22478,8 @@ span.cds--pagination__text.cds--pagination__items-count {
22470
22478
  background-color: var(--cds-layer);
22471
22479
  border-block-end: 1px solid transparent;
22472
22480
  border-block-start: 1px solid var(--cds-border-subtle);
22481
+ container-name: pagination;
22482
+ container-type: inline-size;
22473
22483
  inline-size: 100%;
22474
22484
  min-block-size: 2.5rem;
22475
22485
  }
@@ -22483,7 +22493,7 @@ span.cds--pagination__text.cds--pagination__items-count {
22483
22493
  margin: 0 1rem;
22484
22494
  color: var(--cds-text-secondary, #525252);
22485
22495
  }
22486
- @media (min-width: 42rem) {
22496
+ @container pagination (min-width: 42rem) {
22487
22497
  .cds--unstable-pagination__text {
22488
22498
  display: inline-block;
22489
22499
  }
@@ -22614,7 +22624,7 @@ span.cds--pagination__text.cds--pagination__items-count {
22614
22624
  inset-block-start: 50%;
22615
22625
  transform: translateY(-50%);
22616
22626
  }
22617
- @media (min-width: 42rem) {
22627
+ @container pagination (min-width: 42rem) {
22618
22628
  .cds--unstable-pagination__page-selector .cds--select__arrow,
22619
22629
  .cds--unstable-pagination__page-sizer .cds--select__arrow {
22620
22630
  inset-inline-end: 1rem;
@@ -25070,10 +25080,6 @@ span.cds--pagination__text.cds--pagination__items-count {
25070
25080
  }
25071
25081
  }
25072
25082
 
25073
- .cds--tab-content--interactive:focus {
25074
- outline: none;
25075
- }
25076
-
25077
25083
  .cds--tabs.cds--skeleton {
25078
25084
  cursor: default;
25079
25085
  pointer-events: none;