@ni/nimble-components 17.0.3 → 17.0.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/dist/all-components-bundle.js +37 -7
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +37 -7
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/table/components/header/styles.js +2 -2
- package/dist/esm/table/components/header/styles.js.map +1 -1
- package/dist/esm/table/components/row/styles.js +1 -6
- package/dist/esm/table/components/row/styles.js.map +1 -1
- package/dist/esm/table/styles.js +40 -2
- package/dist/esm/table/styles.js.map +1 -1
- package/dist/esm/table/template.js +1 -0
- package/dist/esm/table/template.js.map +1 -1
- package/package.json +1 -1
|
@@ -4747,21 +4747,55 @@ continue}const t=n[e]
|
|
|
4747
4747
|
.header-row {
|
|
4748
4748
|
display: flex;
|
|
4749
4749
|
flex-direction: row;
|
|
4750
|
+
background: ${gr};
|
|
4751
|
+
position: relative;
|
|
4750
4752
|
}
|
|
4751
4753
|
|
|
4752
4754
|
.header {
|
|
4753
4755
|
flex: 1;
|
|
4754
4756
|
}
|
|
4755
|
-
|
|
4757
|
+
|
|
4758
|
+
.row {
|
|
4759
|
+
background: ${gr};
|
|
4760
|
+
position: relative;
|
|
4761
|
+
}
|
|
4762
|
+
|
|
4763
|
+
.row::before {
|
|
4764
|
+
content: '';
|
|
4765
|
+
width: 100%;
|
|
4766
|
+
height: 100%;
|
|
4767
|
+
position: absolute;
|
|
4768
|
+
}
|
|
4769
|
+
|
|
4770
|
+
.row:hover::before {
|
|
4771
|
+
background: ${mr};
|
|
4772
|
+
}
|
|
4773
|
+
`.withBehaviors(bu(ns,vt`
|
|
4774
|
+
.header-row::before {
|
|
4775
|
+
content: '';
|
|
4776
|
+
width: 100%;
|
|
4777
|
+
height: 100%;
|
|
4778
|
+
position: absolute;
|
|
4779
|
+
background: ${mr};
|
|
4780
|
+
}
|
|
4781
|
+
|
|
4782
|
+
.row::before {
|
|
4783
|
+
background: ${mr};
|
|
4784
|
+
}
|
|
4785
|
+
|
|
4786
|
+
.row:hover::before {
|
|
4787
|
+
background: ${Qo(Oo,.15)};
|
|
4788
|
+
}
|
|
4789
|
+
`)),$g=vt`
|
|
4756
4790
|
${wo("flex")}
|
|
4757
4791
|
|
|
4758
4792
|
:host {
|
|
4759
4793
|
height: ${Mr};
|
|
4760
4794
|
align-items: center;
|
|
4761
|
-
background: ${gr};
|
|
4762
4795
|
padding: 0px calc(${Ir} / 2);
|
|
4763
4796
|
font: ${Tl};
|
|
4764
4797
|
color: ${Bl};
|
|
4798
|
+
text-transform: uppercase;
|
|
4765
4799
|
}
|
|
4766
4800
|
`,Cg=U`
|
|
4767
4801
|
<template role="columnheader">
|
|
@@ -4775,15 +4809,10 @@ const Sg=vt`
|
|
|
4775
4809
|
|
|
4776
4810
|
:host {
|
|
4777
4811
|
height: ${Mr};
|
|
4778
|
-
background: ${gr};
|
|
4779
4812
|
border-top: calc(2 * ${Ar}) solid ${zr};
|
|
4780
4813
|
grid-auto-flow: column;
|
|
4781
4814
|
grid-auto-columns: 1fr;
|
|
4782
4815
|
}
|
|
4783
|
-
|
|
4784
|
-
:host(:hover) .cell {
|
|
4785
|
-
background: ${mr};
|
|
4786
|
-
}
|
|
4787
4816
|
`,zg=vt`
|
|
4788
4817
|
${wo("grid")}
|
|
4789
4818
|
|
|
@@ -4840,6 +4869,7 @@ class Hg extends _e{}const Eg=U`
|
|
|
4840
4869
|
${St((t=>t.columns.length>0),U`
|
|
4841
4870
|
${Vt((t=>t.tableData),U`
|
|
4842
4871
|
<${rn.tagFor(Vg)}
|
|
4872
|
+
class="row"
|
|
4843
4873
|
:dataRecord="${t=>t.record}"
|
|
4844
4874
|
:columns="${(t,e)=>e.parent.columns}"
|
|
4845
4875
|
>
|