@patternfly/react-styles 6.1.0-prerelease.2 → 6.1.0-prerelease.4

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 CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [6.1.0-prerelease.4](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-styles@6.1.0-prerelease.3...@patternfly/react-styles@6.1.0-prerelease.4) (2024-11-25)
7
+
8
+ **Note:** Version bump only for package @patternfly/react-styles
9
+
10
+ # [6.1.0-prerelease.3](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-styles@6.1.0-prerelease.2...@patternfly/react-styles@6.1.0-prerelease.3) (2024-11-20)
11
+
12
+ **Note:** Version bump only for package @patternfly/react-styles
13
+
6
14
  # [6.1.0-prerelease.2](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-styles@6.1.0-prerelease.1...@patternfly/react-styles@6.1.0-prerelease.2) (2024-11-19)
7
15
 
8
16
  **Note:** Version bump only for package @patternfly/react-styles
@@ -503,6 +503,8 @@
503
503
  --pf-v6-c-data-list--m-compact__item-control--MarginInlineEnd: var(--pf-t--global--spacer--md);
504
504
  --pf-v6-c-data-list--m-compact__item-action--PaddingBlockStart: var(--pf-t--global--spacer--sm);
505
505
  --pf-v6-c-data-list--m-compact__item-action--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
506
+ --pf-v6-c-data-list--m-compact__item-action--PaddingBlockStart--offset: var(--pf-t--global--spacer--control--vertical--compact);
507
+ --pf-v6-c-data-list--m-compact__item-action--PaddingBlockEnd--offset: var(--pf-t--global--spacer--control--vertical--compact);
506
508
  --pf-v6-c-data-list--m-compact__item-action--MarginInlineStart: var(--pf-t--global--spacer--md);
507
509
  --pf-v6-c-data-list--m-compact__item-content--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
508
510
  --pf-v6-c-data-list--m-compact__item-draggable-button--MarginBlockStart: calc(var(--pf-t--global--spacer--sm) * -1);
@@ -556,6 +558,10 @@
556
558
  .pf-v6-c-data-list.pf-m-compact .pf-v6-c-data-list__check {
557
559
  font-size: var(--pf-v6-c-data-list--m-compact__check--FontSize);
558
560
  }
561
+ .pf-v6-c-data-list.pf-m-compact .pf-v6-c-data-list__item-action {
562
+ padding-block-start: calc(var(--pf-v6-c-data-list--m-compact__item-action--PaddingBlockStart) - var(--pf-v6-c-data-list--m-compact__item-action--PaddingBlockStart--offset));
563
+ padding-block-end: calc(var(--pf-v6-c-data-list--m-compact__item-action--PaddingBlockEnd) - var(--pf-v6-c-data-list--m-compact__item-action--PaddingBlockEnd--offset));
564
+ }
559
565
  .pf-v6-c-data-list.pf-m-drag-over {
560
566
  overflow-anchor: none;
561
567
  }
@@ -27,7 +27,7 @@
27
27
  --pf-v6-c-table--cell--Color: var(--pf-t--global--text--color--regular);
28
28
  --pf-v6-c-table--cell--first-last-child--PaddingInline: var(--pf-t--global--spacer--inset--page-chrome);
29
29
  --pf-v6-c-table__tr--m-first-cell-offset-reset--cell--PaddingInlineStart: var(--pf-v6-c-table--cell--Padding--base);
30
- --pf-v6-c-table--cell--MinWidth: 0;
30
+ --pf-v6-c-table--cell--MinWidth: calc(var(--pf-v6-c-table--cell--PaddingInlineEnd) + var(--pf-v6-c-table--cell--PaddingInlineEnd));
31
31
  --pf-v6-c-table--cell--MaxWidth: none;
32
32
  --pf-v6-c-table--cell--Width: auto;
33
33
  --pf-v6-c-table--cell--Overflow: visible;
@@ -41,6 +41,8 @@
41
41
  --pf-v6-c-table--cell--m-help--MinWidth: 11ch;
42
42
  --pf-v6-c-table--m-truncate--cell--MaxWidth: 1px;
43
43
  --pf-v6-c-table--m-truncate--cell--MinWidth: calc(5ch + var(--pf-v6-c-table--cell--PaddingInlineEnd) + var(--pf-v6-c-table--cell--PaddingInlineStart));
44
+ --pf-v6-c-table__text--MinWidth: 100%;
45
+ --pf-v6-c-table__text--m-truncate--MinWidth: 5ch;
44
46
  --pf-v6-c-table--m-truncate__text--MinWidth: 5ch;
45
47
  --pf-v6-c-table--cell--hidden-visible--Display: table-cell;
46
48
  --pf-v6-c-table__toggle--PaddingBlockStart: var(--pf-t--global--spacer--sm);
@@ -429,11 +431,10 @@
429
431
  }
430
432
 
431
433
  .pf-v6-c-table__text {
432
- --pf-v6-c-table--cell--MaxWidth: 100%;
433
434
  position: relative;
434
435
  display: block;
435
436
  width: var(--pf-v6-c-table--cell--Width);
436
- min-width: var(--pf-v6-c-table--text--MinWidth);
437
+ min-width: var(--pf-v6-c-table__text--MinWidth);
437
438
  max-width: var(--pf-v6-c-table--cell--MaxWidth);
438
439
  overflow: var(--pf-v6-c-table--cell--Overflow);
439
440
  line-height: var(--pf-v6-c-table--cell--LineHeight);
@@ -443,7 +444,7 @@
443
444
  }
444
445
  .pf-v6-c-table__text.pf-m-truncate {
445
446
  --pf-v6-c-table--cell--MinWidth: 100%;
446
- --pf-v6-c-table--text--MinWidth: var(--pf-v6-c-table--m-truncate__text--MinWidth);
447
+ min-width: max(var(--pf-v6-c-table__text--m-truncate--MinWidth), var(--pf-v6-c-table__text--MinWidth));
447
448
  }
448
449
  .pf-v6-c-table__text.pf-m-truncate > :where(th, td) {
449
450
  overflow: var(--pf-v6-c-table--cell--Overflow);
@@ -496,6 +497,7 @@
496
497
  .pf-v6-c-table__button-content .pf-v6-c-table__text,
497
498
  .pf-v6-c-table__column-help .pf-v6-c-table__text {
498
499
  min-width: auto;
500
+ max-width: 100%;
499
501
  }
500
502
  .pf-v6-c-table thead:where(.pf-v6-c-table__thead).pf-m-nowrap .pf-v6-c-table__button-content, .pf-v6-c-table tr:where(.pf-v6-c-table__tr).pf-m-nowrap .pf-v6-c-table__button-content, .pf-v6-c-table th:where(.pf-v6-c-table__th).pf-m-nowrap .pf-v6-c-table__button-content,
501
503
  .pf-v6-c-table thead:where(.pf-v6-c-table__thead).pf-m-nowrap .pf-v6-c-table__column-help,
@@ -3728,6 +3728,8 @@ ul) {
3728
3728
  --pf-v6-c-data-list--m-compact__item-control--MarginInlineEnd: var(--pf-t--global--spacer--md);
3729
3729
  --pf-v6-c-data-list--m-compact__item-action--PaddingBlockStart: var(--pf-t--global--spacer--sm);
3730
3730
  --pf-v6-c-data-list--m-compact__item-action--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
3731
+ --pf-v6-c-data-list--m-compact__item-action--PaddingBlockStart--offset: var(--pf-t--global--spacer--control--vertical--compact);
3732
+ --pf-v6-c-data-list--m-compact__item-action--PaddingBlockEnd--offset: var(--pf-t--global--spacer--control--vertical--compact);
3731
3733
  --pf-v6-c-data-list--m-compact__item-action--MarginInlineStart: var(--pf-t--global--spacer--md);
3732
3734
  --pf-v6-c-data-list--m-compact__item-content--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
3733
3735
  --pf-v6-c-data-list--m-compact__item-draggable-button--MarginBlockStart: calc(var(--pf-t--global--spacer--sm) * -1);
@@ -3781,6 +3783,10 @@ ul) {
3781
3783
  .pf-v6-c-data-list.pf-m-compact .pf-v6-c-data-list__check {
3782
3784
  font-size: var(--pf-v6-c-data-list--m-compact__check--FontSize);
3783
3785
  }
3786
+ .pf-v6-c-data-list.pf-m-compact .pf-v6-c-data-list__item-action {
3787
+ padding-block-start: calc(var(--pf-v6-c-data-list--m-compact__item-action--PaddingBlockStart) - var(--pf-v6-c-data-list--m-compact__item-action--PaddingBlockStart--offset));
3788
+ padding-block-end: calc(var(--pf-v6-c-data-list--m-compact__item-action--PaddingBlockEnd) - var(--pf-v6-c-data-list--m-compact__item-action--PaddingBlockEnd--offset));
3789
+ }
3784
3790
  .pf-v6-c-data-list.pf-m-drag-over {
3785
3791
  overflow-anchor: none;
3786
3792
  }
@@ -16202,7 +16208,7 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
16202
16208
  --pf-v6-c-table--cell--Color: var(--pf-t--global--text--color--regular);
16203
16209
  --pf-v6-c-table--cell--first-last-child--PaddingInline: var(--pf-t--global--spacer--inset--page-chrome);
16204
16210
  --pf-v6-c-table__tr--m-first-cell-offset-reset--cell--PaddingInlineStart: var(--pf-v6-c-table--cell--Padding--base);
16205
- --pf-v6-c-table--cell--MinWidth: 0;
16211
+ --pf-v6-c-table--cell--MinWidth: calc(var(--pf-v6-c-table--cell--PaddingInlineEnd) + var(--pf-v6-c-table--cell--PaddingInlineEnd));
16206
16212
  --pf-v6-c-table--cell--MaxWidth: none;
16207
16213
  --pf-v6-c-table--cell--Width: auto;
16208
16214
  --pf-v6-c-table--cell--Overflow: visible;
@@ -16216,6 +16222,8 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
16216
16222
  --pf-v6-c-table--cell--m-help--MinWidth: 11ch;
16217
16223
  --pf-v6-c-table--m-truncate--cell--MaxWidth: 1px;
16218
16224
  --pf-v6-c-table--m-truncate--cell--MinWidth: calc(5ch + var(--pf-v6-c-table--cell--PaddingInlineEnd) + var(--pf-v6-c-table--cell--PaddingInlineStart));
16225
+ --pf-v6-c-table__text--MinWidth: 100%;
16226
+ --pf-v6-c-table__text--m-truncate--MinWidth: 5ch;
16219
16227
  --pf-v6-c-table--m-truncate__text--MinWidth: 5ch;
16220
16228
  --pf-v6-c-table--cell--hidden-visible--Display: table-cell;
16221
16229
  --pf-v6-c-table__toggle--PaddingBlockStart: var(--pf-t--global--spacer--sm);
@@ -16604,11 +16612,10 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
16604
16612
  }
16605
16613
 
16606
16614
  .pf-v6-c-table__text {
16607
- --pf-v6-c-table--cell--MaxWidth: 100%;
16608
16615
  position: relative;
16609
16616
  display: block;
16610
16617
  width: var(--pf-v6-c-table--cell--Width);
16611
- min-width: var(--pf-v6-c-table--text--MinWidth);
16618
+ min-width: var(--pf-v6-c-table__text--MinWidth);
16612
16619
  max-width: var(--pf-v6-c-table--cell--MaxWidth);
16613
16620
  overflow: var(--pf-v6-c-table--cell--Overflow);
16614
16621
  line-height: var(--pf-v6-c-table--cell--LineHeight);
@@ -16618,7 +16625,7 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
16618
16625
  }
16619
16626
  .pf-v6-c-table__text.pf-m-truncate {
16620
16627
  --pf-v6-c-table--cell--MinWidth: 100%;
16621
- --pf-v6-c-table--text--MinWidth: var(--pf-v6-c-table--m-truncate__text--MinWidth);
16628
+ min-width: max(var(--pf-v6-c-table__text--m-truncate--MinWidth), var(--pf-v6-c-table__text--MinWidth));
16622
16629
  }
16623
16630
  .pf-v6-c-table__text.pf-m-truncate > :where(th, td) {
16624
16631
  overflow: var(--pf-v6-c-table--cell--Overflow);
@@ -16671,6 +16678,7 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
16671
16678
  .pf-v6-c-table__button-content .pf-v6-c-table__text,
16672
16679
  .pf-v6-c-table__column-help .pf-v6-c-table__text {
16673
16680
  min-width: auto;
16681
+ max-width: 100%;
16674
16682
  }
16675
16683
  .pf-v6-c-table thead:where(.pf-v6-c-table__thead).pf-m-nowrap .pf-v6-c-table__button-content, .pf-v6-c-table tr:where(.pf-v6-c-table__tr).pf-m-nowrap .pf-v6-c-table__button-content, .pf-v6-c-table th:where(.pf-v6-c-table__th).pf-m-nowrap .pf-v6-c-table__button-content,
16676
16684
  .pf-v6-c-table thead:where(.pf-v6-c-table__thead).pf-m-nowrap .pf-v6-c-table__column-help,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-styles",
3
- "version": "6.1.0-prerelease.2",
3
+ "version": "6.1.0-prerelease.4",
4
4
  "main": "dist/js/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/esm/index.d.ts",
@@ -19,10 +19,10 @@
19
19
  "clean": "rimraf dist css"
20
20
  },
21
21
  "devDependencies": {
22
- "@patternfly/patternfly": "6.1.0-prerelease.4",
22
+ "@patternfly/patternfly": "6.1.0-prerelease.6",
23
23
  "change-case": "^5.4.4",
24
24
  "fs-extra": "^11.2.0"
25
25
  },
26
26
  "license": "MIT",
27
- "gitHead": "53da56fdc7b7b149101c9d1156b5999dda3ba579"
27
+ "gitHead": "b0877b3cf7898cd134c56ba91ba251a8f4301225"
28
28
  }