@fluentui/react-table 9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0 → 9.75.2-experimental.css-modules.20261113-ba13c87438.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +24 -15
  2. package/README.md +1 -1
  3. package/lib/components/DataGrid/DataGrid.module.css +1 -1
  4. package/lib/components/DataGridBody/DataGridBody.module.css +1 -1
  5. package/lib/components/DataGridCell/DataGridCell.module.css +1 -1
  6. package/lib/components/DataGridHeader/DataGridHeader.module.css +1 -1
  7. package/lib/components/DataGridHeaderCell/DataGridHeaderCell.module.css +1 -1
  8. package/lib/components/DataGridRow/DataGridRow.module.css +3 -5
  9. package/lib/components/DataGridSelectionCell/DataGridSelectionCell.module.css +1 -1
  10. package/lib/components/Table/Table.module.css +12 -14
  11. package/lib/components/TableBody/TableBody.module.css +5 -7
  12. package/lib/components/TableCell/TableCell.module.css +28 -30
  13. package/lib/components/TableCellActions/TableCellActions.module.css +11 -13
  14. package/lib/components/TableCellLayout/TableCellLayout.module.css +43 -45
  15. package/lib/components/TableHeader/TableHeader.module.css +5 -7
  16. package/lib/components/TableHeaderCell/TableHeaderCell.module.css +55 -58
  17. package/lib/components/TableResizeHandle/TableResizeHandle.module.css +29 -31
  18. package/lib/components/TableRow/TableRow.module.css +68 -70
  19. package/lib/components/TableSelectionCell/TableSelectionCell.module.css +34 -36
  20. package/lib-commonjs/components/DataGrid/DataGrid.module.css +1 -1
  21. package/lib-commonjs/components/DataGridBody/DataGridBody.module.css +1 -1
  22. package/lib-commonjs/components/DataGridCell/DataGridCell.module.css +1 -1
  23. package/lib-commonjs/components/DataGridHeader/DataGridHeader.module.css +1 -1
  24. package/lib-commonjs/components/DataGridHeaderCell/DataGridHeaderCell.module.css +1 -1
  25. package/lib-commonjs/components/DataGridRow/DataGridRow.module.css +3 -5
  26. package/lib-commonjs/components/DataGridSelectionCell/DataGridSelectionCell.module.css +1 -1
  27. package/lib-commonjs/components/Table/Table.module.css +12 -14
  28. package/lib-commonjs/components/TableBody/TableBody.module.css +5 -7
  29. package/lib-commonjs/components/TableCell/TableCell.module.css +28 -30
  30. package/lib-commonjs/components/TableCellActions/TableCellActions.module.css +11 -13
  31. package/lib-commonjs/components/TableCellLayout/TableCellLayout.module.css +43 -45
  32. package/lib-commonjs/components/TableHeader/TableHeader.module.css +5 -7
  33. package/lib-commonjs/components/TableHeaderCell/TableHeaderCell.module.css +55 -58
  34. package/lib-commonjs/components/TableResizeHandle/TableResizeHandle.module.css +29 -31
  35. package/lib-commonjs/components/TableRow/TableRow.module.css +68 -70
  36. package/lib-commonjs/components/TableSelectionCell/TableSelectionCell.module.css +34 -36
  37. package/package.json +12 -12
@@ -1,76 +1,74 @@
1
- @layer fluent {
2
- .root {
3
- color: var(--colorNeutralForeground1);
4
- box-sizing: border-box;
5
- }
6
- .root[data-fui-focus-within]:focus-within :global(.fui-TableSelectionCell),
7
- .root[data-fui-focus-within]:focus-within :global(.fui-TableCellActions) {
8
- opacity: 1;
9
- }
10
- .root[data-fui-focus-visible] {
11
- outline: var(--strokeWidthThick) solid var(--colorStrokeFocus2);
12
- border-radius: var(--borderRadiusMedium);
13
- }
1
+ .root {
2
+ color: var(--colorNeutralForeground1);
3
+ box-sizing: border-box;
4
+ }
5
+ .root[data-fui-focus-within]:focus-within :global(.fui-TableSelectionCell),
6
+ .root[data-fui-focus-within]:focus-within :global(.fui-TableCellActions) {
7
+ opacity: 1;
8
+ }
9
+ .root[data-fui-focus-visible] {
10
+ outline: var(--strokeWidthThick) solid var(--colorStrokeFocus2);
11
+ border-radius: var(--borderRadiusMedium);
12
+ }
13
+ .interactive:hover {
14
+ background-color: var(--colorSubtleBackgroundHover);
15
+ color: var(--colorNeutralForeground1Hover);
16
+ }
17
+ .interactive:hover :global(.fui-TableCellActions),
18
+ .interactive:hover :global(.fui-TableSelectionCell) {
19
+ opacity: 1;
20
+ }
21
+ .interactive:active {
22
+ background-color: var(--colorSubtleBackgroundPressed);
23
+ color: var(--colorNeutralForeground1Pressed);
24
+ }
25
+ .interactive:active :global(.fui-TableCellActions),
26
+ .interactive:active :global(.fui-TableSelectionCell) {
27
+ opacity: 1;
28
+ }
29
+ .medium,
30
+ .small {
31
+ border-bottom: var(--strokeWidthThin) solid var(--colorNeutralStroke2);
32
+ }
33
+ .extra-small {
34
+ font-size: var(--fontSizeBase200);
35
+ }
36
+ .table {
37
+ display: table-row;
38
+ }
39
+ .flex {
40
+ display: flex;
41
+ align-items: center;
42
+ }
43
+ .brand {
44
+ background-color: var(--colorBrandBackground2);
45
+ border-color: var(--colorTransparentStrokeInteractive);
46
+ }
47
+ .brand:active {
48
+ background-color: var(--colorBrandBackground2);
49
+ color: var(--colorNeutralForeground1);
50
+ }
51
+ .neutral {
52
+ background-color: var(--colorSubtleBackgroundSelected);
53
+ color: var(--colorNeutralForeground1Hover);
54
+ border-color: var(--colorNeutralStrokeOnBrand);
55
+ }
56
+ .neutral:active {
57
+ background-color: var(--colorSubtleBackgroundSelected);
58
+ }
59
+ @media (forced-colors: active) {
14
60
  .interactive:hover {
15
- background-color: var(--colorSubtleBackgroundHover);
16
- color: var(--colorNeutralForeground1Hover);
17
- }
18
- .interactive:hover :global(.fui-TableCellActions),
19
- .interactive:hover :global(.fui-TableSelectionCell) {
20
- opacity: 1;
21
- }
22
- .interactive:active {
23
- background-color: var(--colorSubtleBackgroundPressed);
24
- color: var(--colorNeutralForeground1Pressed);
25
- }
26
- .interactive:active :global(.fui-TableCellActions),
27
- .interactive:active :global(.fui-TableSelectionCell) {
28
- opacity: 1;
29
- }
30
- .medium,
31
- .small {
32
- border-bottom: var(--strokeWidthThin) solid var(--colorNeutralStroke2);
33
- }
34
- .extra-small {
35
- font-size: var(--fontSizeBase200);
36
- }
37
- .table {
38
- display: table-row;
39
- }
40
- .flex {
41
- display: flex;
42
- align-items: center;
43
- }
44
- .brand {
45
- background-color: var(--colorBrandBackground2);
46
- border-color: var(--colorTransparentStrokeInteractive);
47
- }
48
- .brand:active {
49
- background-color: var(--colorBrandBackground2);
50
- color: var(--colorNeutralForeground1);
61
+ color: Highlight;
62
+ border-color: Highlight;
51
63
  }
64
+ .brand,
52
65
  .neutral {
53
- background-color: var(--colorSubtleBackgroundSelected);
54
- color: var(--colorNeutralForeground1Hover);
55
- border-color: var(--colorNeutralStrokeOnBrand);
56
- }
57
- .neutral:active {
58
- background-color: var(--colorSubtleBackgroundSelected);
66
+ border: var(--strokeWidthThick) solid transparent;
67
+ border-radius: var(--borderRadiusMedium);
68
+ box-sizing: border-box;
59
69
  }
60
- @media (forced-colors: active) {
61
- .interactive:hover {
62
- color: Highlight;
63
- border-color: Highlight;
64
- }
65
- .brand,
66
- .neutral {
67
- border: var(--strokeWidthThick) solid transparent;
68
- border-radius: var(--borderRadiusMedium);
69
- box-sizing: border-box;
70
- }
71
- .brand:focus-visible,
72
- .neutral:focus-visible {
73
- outline-offset: calc(-2 * var(--strokeWidthThick));
74
- }
70
+ .brand:focus-visible,
71
+ .neutral:focus-visible {
72
+ outline-offset: calc(-2 * var(--strokeWidthThick));
75
73
  }
76
74
  }
@@ -1,37 +1,35 @@
1
- @layer fluent {
2
- .root {
3
- text-align: center;
4
- white-space: nowrap;
5
- padding: 0;
6
- }
7
- .root[data-fui-focus-visible] {
8
- outline: var(--strokeWidthThick) solid var(--colorStrokeFocus2);
9
- border-radius: var(--borderRadiusMedium);
10
- }
11
- .table {
12
- display: table-cell;
13
- width: calc(var(--spacingHorizontalXXXL) + var(--spacingHorizontalM));
14
- }
15
- .flex {
16
- display: flex;
17
- flex: 1 1 0px;
18
- min-width: calc(var(--spacingHorizontalXXXL) + var(--spacingHorizontalM));
19
- max-width: calc(var(--spacingHorizontalXXXL) + var(--spacingHorizontalM));
20
- justify-content: center;
21
- }
22
- .radioIndicator {
23
- display: flex;
24
- flex-grow: 1;
25
- align-items: center;
26
- justify-content: center;
27
- }
28
- .subtle {
29
- opacity: 0;
30
- }
31
- .subtle[data-fui-focus-within]:focus-within {
32
- opacity: 1;
33
- }
34
- .hidden {
35
- opacity: 0;
36
- }
1
+ .root {
2
+ text-align: center;
3
+ white-space: nowrap;
4
+ padding: 0;
5
+ }
6
+ .root[data-fui-focus-visible] {
7
+ outline: var(--strokeWidthThick) solid var(--colorStrokeFocus2);
8
+ border-radius: var(--borderRadiusMedium);
9
+ }
10
+ .table {
11
+ display: table-cell;
12
+ width: calc(var(--spacingHorizontalXXXL) + var(--spacingHorizontalM));
13
+ }
14
+ .flex {
15
+ display: flex;
16
+ flex: 1 1 0px;
17
+ min-width: calc(var(--spacingHorizontalXXXL) + var(--spacingHorizontalM));
18
+ max-width: calc(var(--spacingHorizontalXXXL) + var(--spacingHorizontalM));
19
+ justify-content: center;
20
+ }
21
+ .radioIndicator {
22
+ display: flex;
23
+ flex-grow: 1;
24
+ align-items: center;
25
+ justify-content: center;
26
+ }
27
+ .subtle {
28
+ opacity: 0;
29
+ }
30
+ .subtle[data-fui-focus-within]:focus-within {
31
+ opacity: 1;
32
+ }
33
+ .hidden {
34
+ opacity: 0;
37
35
  }
@@ -1 +1 @@
1
- @layer fluent;
1
+ /* Intentionally empty: this component adds no styles beyond its composed base. */
@@ -1 +1 @@
1
- @layer fluent;
1
+ /* Intentionally empty: this component adds no styles beyond its composed base. */
@@ -1 +1 @@
1
- @layer fluent;
1
+ /* Intentionally empty: this component adds no styles beyond its composed base. */
@@ -1 +1 @@
1
- @layer fluent;
1
+ /* Intentionally empty: this component adds no styles beyond its composed base. */
@@ -1 +1 @@
1
- @layer fluent;
1
+ /* Intentionally empty: this component adds no styles beyond its composed base. */
@@ -1,6 +1,4 @@
1
- @layer fluent {
2
- .subtleSelection[data-fui-focus-within]:focus-within :global(.fui-TableSelectionCell),
3
- .subtleSelection:hover :global(.fui-TableSelectionCell) {
4
- opacity: 1;
5
- }
1
+ .subtleSelection[data-fui-focus-within]:focus-within :global(.fui-TableSelectionCell),
2
+ .subtleSelection:hover :global(.fui-TableSelectionCell) {
3
+ opacity: 1;
6
4
  }
@@ -1 +1 @@
1
- @layer fluent;
1
+ /* Intentionally empty: this component adds no styles beyond its composed base. */
@@ -1,15 +1,13 @@
1
- @layer fluent {
2
- .root {
3
- border-collapse: collapse;
4
- background-color: var(--colorSubtleBackground);
5
- }
6
- .table {
7
- display: table;
8
- vertical-align: middle;
9
- width: 100%;
10
- table-layout: fixed;
11
- }
12
- .flex {
13
- display: block;
14
- }
1
+ .root {
2
+ border-collapse: collapse;
3
+ background-color: var(--colorSubtleBackground);
4
+ }
5
+ .table {
6
+ display: table;
7
+ vertical-align: middle;
8
+ width: 100%;
9
+ table-layout: fixed;
10
+ }
11
+ .flex {
12
+ display: block;
15
13
  }
@@ -1,8 +1,6 @@
1
- @layer fluent {
2
- .table {
3
- display: table-row-group;
4
- }
5
- .flex {
6
- display: block;
7
- }
1
+ .table {
2
+ display: table-row-group;
3
+ }
4
+ .flex {
5
+ display: block;
8
6
  }
@@ -1,31 +1,29 @@
1
- @layer fluent {
2
- .root {
3
- position: relative;
4
- padding: 0 var(--spacingHorizontalS);
5
- }
6
- .root[data-fui-focus-visible] {
7
- outline: var(--strokeWidthThick) solid var(--colorStrokeFocus2);
8
- border-radius: var(--borderRadiusMedium);
9
- }
10
- .table {
11
- display: table-cell;
12
- vertical-align: middle;
13
- height: var(--fui-TableCell--height);
14
- }
15
- .flex {
16
- display: flex;
17
- min-width: 0;
18
- align-items: center;
19
- flex: 1 1 0px;
20
- min-height: var(--fui-TableCell--height);
21
- }
22
- .medium {
23
- --fui-TableCell--height: calc(var(--spacingVerticalXXXL) + var(--spacingVerticalM));
24
- }
25
- .small {
26
- --fui-TableCell--height: calc(var(--spacingVerticalXXXL) + var(--spacingVerticalXXS));
27
- }
28
- .extra-small {
29
- --fui-TableCell--height: var(--spacingVerticalXXL);
30
- }
1
+ .root {
2
+ position: relative;
3
+ padding: 0 var(--spacingHorizontalS);
4
+ }
5
+ .root[data-fui-focus-visible] {
6
+ outline: var(--strokeWidthThick) solid var(--colorStrokeFocus2);
7
+ border-radius: var(--borderRadiusMedium);
8
+ }
9
+ .table {
10
+ display: table-cell;
11
+ vertical-align: middle;
12
+ height: var(--fui-TableCell--height);
13
+ }
14
+ .flex {
15
+ display: flex;
16
+ min-width: 0;
17
+ align-items: center;
18
+ flex: 1 1 0px;
19
+ min-height: var(--fui-TableCell--height);
20
+ }
21
+ .medium {
22
+ --fui-TableCell--height: calc(var(--spacingVerticalXXXL) + var(--spacingVerticalM));
23
+ }
24
+ .small {
25
+ --fui-TableCell--height: calc(var(--spacingVerticalXXXL) + var(--spacingVerticalXXS));
26
+ }
27
+ .extra-small {
28
+ --fui-TableCell--height: var(--spacingVerticalXXL);
31
29
  }
@@ -1,14 +1,12 @@
1
- @layer fluent {
2
- .root {
3
- background-color: inherit;
4
- position: absolute;
5
- inset-inline-end: 0;
6
- top: 50%;
7
- transform: translateY(-50%);
8
- opacity: 0;
9
- margin-inline-start: auto;
10
- }
11
- .visible {
12
- opacity: 1;
13
- }
1
+ .root {
2
+ background-color: inherit;
3
+ position: absolute;
4
+ inset-inline-end: 0;
5
+ top: 50%;
6
+ transform: translateY(-50%);
7
+ opacity: 0;
8
+ margin-inline-start: auto;
9
+ }
10
+ .visible {
11
+ opacity: 1;
14
12
  }
@@ -1,46 +1,44 @@
1
- @layer fluent {
2
- .root {
3
- display: flex;
4
- align-items: center;
5
- gap: var(--spacingHorizontalS);
6
- flex: 1 1 0px;
7
- }
8
- .truncate {
9
- overflow-x: hidden;
10
- }
11
- .content {
12
- display: flex;
13
- flex-direction: column;
14
- }
15
- :where(.truncate) > .content {
16
- overflow-x: hidden;
17
- }
18
- :where(.truncate) > :where(.content) > .main {
19
- overflow-x: hidden;
20
- white-space: nowrap;
21
- text-overflow: ellipsis;
22
- }
23
- .media {
24
- display: flex;
25
- align-items: center;
26
- }
27
- :where(.extra-small) > .media {
28
- font-size: var(--fontSizeBase400);
29
- }
30
- :where(.small, .medium) > .media {
31
- font-size: var(--fontSizeBase500);
32
- }
33
- :where(.primary) > .media {
34
- font-size: var(--fontSizeBase600);
35
- }
36
- :where(.primary) > :where(.content) > .main {
37
- font-weight: var(--fontWeightSemibold);
38
- }
39
- .description {
40
- color: var(--colorNeutralForeground2);
41
- font-family: var(--fontFamilyBase);
42
- font-size: var(--fontSizeBase200);
43
- font-weight: var(--fontWeightRegular);
44
- line-height: var(--lineHeightBase200);
45
- }
1
+ .root {
2
+ display: flex;
3
+ align-items: center;
4
+ gap: var(--spacingHorizontalS);
5
+ flex: 1 1 0px;
6
+ }
7
+ .truncate {
8
+ overflow-x: hidden;
9
+ }
10
+ .content {
11
+ display: flex;
12
+ flex-direction: column;
13
+ }
14
+ :where(.truncate) > .content {
15
+ overflow-x: hidden;
16
+ }
17
+ :where(.truncate) > :where(.content) > .main {
18
+ overflow-x: hidden;
19
+ white-space: nowrap;
20
+ text-overflow: ellipsis;
21
+ }
22
+ .media {
23
+ display: flex;
24
+ align-items: center;
25
+ }
26
+ :where(.extra-small) > .media {
27
+ font-size: var(--fontSizeBase400);
28
+ }
29
+ :where(.small, .medium) > .media {
30
+ font-size: var(--fontSizeBase500);
31
+ }
32
+ :where(.primary) > .media {
33
+ font-size: var(--fontSizeBase600);
34
+ }
35
+ :where(.primary) > :where(.content) > .main {
36
+ font-weight: var(--fontWeightSemibold);
37
+ }
38
+ .description {
39
+ color: var(--colorNeutralForeground2);
40
+ font-family: var(--fontFamilyBase);
41
+ font-size: var(--fontSizeBase200);
42
+ font-weight: var(--fontWeightRegular);
43
+ line-height: var(--lineHeightBase200);
46
44
  }
@@ -1,8 +1,6 @@
1
- @layer fluent {
2
- .table {
3
- display: table-row-group;
4
- }
5
- .flex {
6
- display: block;
7
- }
1
+ .table {
2
+ display: table-row-group;
3
+ }
4
+ .flex {
5
+ display: block;
8
6
  }
@@ -1,59 +1,56 @@
1
- @layer fluent {
2
- .root {
3
- font-weight: var(--fontWeightRegular);
4
- padding: 0 var(--spacingHorizontalS);
5
- position: relative;
6
- }
7
- .root[data-fui-focus-within]:focus-within {
8
- outline: var(--strokeWidthThick) solid var(--colorStrokeFocus2);
9
- border-radius: var(--borderRadiusMedium);
10
- }
11
- .sortable:hover {
12
- color: var(--colorNeutralForeground1Hover);
13
- background-color: var(--colorSubtleBackgroundHover);
14
- }
15
- .sortable:active {
16
- color: var(--colorNeutralForeground1Pressed);
17
- background-color: var(--colorSubtleBackgroundPressed);
18
- }
19
- .table {
20
- display: table-cell;
21
- vertical-align: middle;
22
- }
23
- .flex {
24
- display: flex;
25
- flex: 1 1 0px;
26
- min-width: 0;
27
- }
28
- .button {
29
- resize: horizontal;
30
- box-sizing: content-box;
31
- background-color: inherit;
32
- color: inherit;
33
- font-family: inherit;
34
- font-size: inherit;
35
- line-height: normal;
36
- overflow: visible;
37
- padding: 0;
38
- border: none;
39
- text-align: unset;
40
- position: relative;
41
- width: 100%;
42
- display: flex;
43
- flex-grow: 1;
44
- height: 100%;
45
- align-items: center;
46
- gap: var(--spacingHorizontalXS);
47
- min-height: var(--spacingVerticalXXXL);
48
- flex: 1 1 0px;
49
- outline-style: none;
50
- }
51
- :where(.sortable) > .button {
52
- cursor: pointer;
53
- }
54
- .sortIcon {
55
- display: flex;
56
- align-items: center;
57
- padding-top: var(--spacingVerticalXXS);
58
- }
1
+ .root {
2
+ font-weight: var(--fontWeightRegular);
3
+ padding: 0 var(--spacingHorizontalS);
4
+ position: relative;
5
+ }
6
+ .root[data-fui-focus-within]:focus-within {
7
+ outline: var(--strokeWidthThick) solid var(--colorStrokeFocus2);
8
+ border-radius: var(--borderRadiusMedium);
9
+ }
10
+ .sortable:hover {
11
+ color: var(--colorNeutralForeground1Hover);
12
+ background-color: var(--colorSubtleBackgroundHover);
13
+ }
14
+ .sortable:active {
15
+ color: var(--colorNeutralForeground1Pressed);
16
+ background-color: var(--colorSubtleBackgroundPressed);
17
+ }
18
+ .table {
19
+ display: table-cell;
20
+ vertical-align: middle;
21
+ }
22
+ .flex {
23
+ display: flex;
24
+ flex: 1 1 0px;
25
+ min-width: 0;
26
+ }
27
+ .button {
28
+ resize: horizontal;
29
+ box-sizing: content-box;
30
+ background-color: inherit;
31
+ color: inherit;
32
+ font-family: inherit;
33
+ font-size: inherit;
34
+ line-height: normal;
35
+ overflow: visible;
36
+ padding: 0;
37
+ border: none;
38
+ text-align: unset;
39
+ position: relative;
40
+ width: 100%;
41
+ display: flex;
42
+ height: 100%;
43
+ align-items: center;
44
+ gap: var(--spacingHorizontalXS);
45
+ min-height: var(--spacingVerticalXXXL);
46
+ flex: 1 1 0px;
47
+ outline-style: none;
48
+ }
49
+ :where(.sortable) > .button {
50
+ cursor: pointer;
51
+ }
52
+ .sortIcon {
53
+ display: flex;
54
+ align-items: center;
55
+ padding-top: var(--spacingVerticalXXS);
59
56
  }