@companycam/slab-web 2.3.3 → 2.3.5

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 (3) hide show
  1. package/index.js +11 -2
  2. package/index.mjs +919 -910
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -1926,7 +1926,7 @@
1926
1926
  all: initial;
1927
1927
  display: grid;
1928
1928
  gap: var(--cc_size_spacing_l);
1929
- align-items: center;
1929
+ align-items: start;
1930
1930
  grid-template-columns: minmax(0, 1fr) auto;
1931
1931
  padding: var(--cc_size_spacing_xl) var(--cc_size_spacing_xl)
1932
1932
  var(--cc_size_spacing_l);
@@ -1942,7 +1942,7 @@
1942
1942
  display: grid;
1943
1943
  gap: var(--cc_size_spacing_s);
1944
1944
  align-items: center;
1945
- padding: var(--cc_size_spacing_m) var(--cc_size_spacing_l);
1945
+ padding: var(--cc_size_spacing_m);
1946
1946
  border-block-start: 1px solid var(--cc_color_border_default);
1947
1947
 
1948
1948
  @container (min-width: 500px) {
@@ -2266,6 +2266,15 @@
2266
2266
  overflow-x: auto;
2267
2267
  white-space: nowrap;
2268
2268
 
2269
+ /*
2270
+ Contain the table's internal z-indexes, e.g. the row-link overlay and the
2271
+ cell content that has to sit above it. Without this, those z-indexes
2272
+ participate in the root stacking context and can conflict with portaled
2273
+ overlays (e.g. a Popover) rendered elsewhere on the page. This can lead
2274
+ to those elements being painted underneath the table cell content.
2275
+ */
2276
+ isolation: isolate;
2277
+
2269
2278
  /* if ccMargin is specified in props, convert spacing tokens to CSS variables */
2270
2279
  ${e=>e.$ccMargin?R.css`
2271
2280
  margin: ${lt(e.$ccMargin)};