@ni/nimble-components 17.0.3 → 17.0.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.
- package/dist/all-components-bundle.js +52 -10
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +52 -10
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/menu/styles.js +19 -3
- package/dist/esm/menu/styles.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
|
@@ -3130,18 +3130,25 @@ const np=vt`
|
|
|
3130
3130
|
background: ${gr};
|
|
3131
3131
|
border: ${Ar} solid ${Sr};
|
|
3132
3132
|
margin: 0;
|
|
3133
|
-
|
|
3134
|
-
min-width: 168px;
|
|
3133
|
+
min-width: 176px;
|
|
3135
3134
|
width: max-content;
|
|
3136
3135
|
box-shadow: ${Hr};
|
|
3137
3136
|
}
|
|
3137
|
+
|
|
3138
|
+
slot {
|
|
3139
|
+
padding: 4px;
|
|
3140
|
+
display: block;
|
|
3141
|
+
}
|
|
3142
|
+
|
|
3138
3143
|
:host([slot='submenu']) {
|
|
3139
3144
|
margin: 0 calc(${Rr} * 2);
|
|
3140
3145
|
}
|
|
3146
|
+
|
|
3141
3147
|
::slotted(*) {
|
|
3142
3148
|
padding-left: 8px;
|
|
3143
3149
|
padding-right: 8px;
|
|
3144
3150
|
}
|
|
3151
|
+
|
|
3145
3152
|
::slotted(hr) {
|
|
3146
3153
|
box-sizing: content-box;
|
|
3147
3154
|
height: 2px;
|
|
@@ -3150,6 +3157,7 @@ const np=vt`
|
|
|
3150
3157
|
background: ${br};
|
|
3151
3158
|
opacity: 0.1;
|
|
3152
3159
|
}
|
|
3160
|
+
|
|
3153
3161
|
::slotted(header) {
|
|
3154
3162
|
display: flex;
|
|
3155
3163
|
font: ${tl};
|
|
@@ -3158,7 +3166,11 @@ const np=vt`
|
|
|
3158
3166
|
padding-top: ${Rr};
|
|
3159
3167
|
padding-bottom: ${Rr};
|
|
3160
3168
|
}
|
|
3161
|
-
`
|
|
3169
|
+
`.withBehaviors(bu(ns,vt`
|
|
3170
|
+
slot {
|
|
3171
|
+
background: ${Qo(Oo,.15)};
|
|
3172
|
+
}
|
|
3173
|
+
`))
|
|
3162
3174
|
const op=class extends $n{}.compose({baseName:"menu",baseClass:$n,template:(t,e)=>U`
|
|
3163
3175
|
<template
|
|
3164
3176
|
slot="${t=>t.slot?t.slot:t.isNestedMenu()?"submenu":void 0}"
|
|
@@ -4747,21 +4759,55 @@ continue}const t=n[e]
|
|
|
4747
4759
|
.header-row {
|
|
4748
4760
|
display: flex;
|
|
4749
4761
|
flex-direction: row;
|
|
4762
|
+
background: ${gr};
|
|
4763
|
+
position: relative;
|
|
4750
4764
|
}
|
|
4751
4765
|
|
|
4752
4766
|
.header {
|
|
4753
4767
|
flex: 1;
|
|
4754
4768
|
}
|
|
4755
|
-
|
|
4769
|
+
|
|
4770
|
+
.row {
|
|
4771
|
+
background: ${gr};
|
|
4772
|
+
position: relative;
|
|
4773
|
+
}
|
|
4774
|
+
|
|
4775
|
+
.row::before {
|
|
4776
|
+
content: '';
|
|
4777
|
+
width: 100%;
|
|
4778
|
+
height: 100%;
|
|
4779
|
+
position: absolute;
|
|
4780
|
+
}
|
|
4781
|
+
|
|
4782
|
+
.row:hover::before {
|
|
4783
|
+
background: ${mr};
|
|
4784
|
+
}
|
|
4785
|
+
`.withBehaviors(bu(ns,vt`
|
|
4786
|
+
.header-row::before {
|
|
4787
|
+
content: '';
|
|
4788
|
+
width: 100%;
|
|
4789
|
+
height: 100%;
|
|
4790
|
+
position: absolute;
|
|
4791
|
+
background: ${mr};
|
|
4792
|
+
}
|
|
4793
|
+
|
|
4794
|
+
.row::before {
|
|
4795
|
+
background: ${mr};
|
|
4796
|
+
}
|
|
4797
|
+
|
|
4798
|
+
.row:hover::before {
|
|
4799
|
+
background: ${Qo(Oo,.15)};
|
|
4800
|
+
}
|
|
4801
|
+
`)),$g=vt`
|
|
4756
4802
|
${wo("flex")}
|
|
4757
4803
|
|
|
4758
4804
|
:host {
|
|
4759
4805
|
height: ${Mr};
|
|
4760
4806
|
align-items: center;
|
|
4761
|
-
background: ${gr};
|
|
4762
4807
|
padding: 0px calc(${Ir} / 2);
|
|
4763
4808
|
font: ${Tl};
|
|
4764
4809
|
color: ${Bl};
|
|
4810
|
+
text-transform: uppercase;
|
|
4765
4811
|
}
|
|
4766
4812
|
`,Cg=U`
|
|
4767
4813
|
<template role="columnheader">
|
|
@@ -4775,15 +4821,10 @@ const Sg=vt`
|
|
|
4775
4821
|
|
|
4776
4822
|
:host {
|
|
4777
4823
|
height: ${Mr};
|
|
4778
|
-
background: ${gr};
|
|
4779
4824
|
border-top: calc(2 * ${Ar}) solid ${zr};
|
|
4780
4825
|
grid-auto-flow: column;
|
|
4781
4826
|
grid-auto-columns: 1fr;
|
|
4782
4827
|
}
|
|
4783
|
-
|
|
4784
|
-
:host(:hover) .cell {
|
|
4785
|
-
background: ${mr};
|
|
4786
|
-
}
|
|
4787
4828
|
`,zg=vt`
|
|
4788
4829
|
${wo("grid")}
|
|
4789
4830
|
|
|
@@ -4840,6 +4881,7 @@ class Hg extends _e{}const Eg=U`
|
|
|
4840
4881
|
${St((t=>t.columns.length>0),U`
|
|
4841
4882
|
${Vt((t=>t.tableData),U`
|
|
4842
4883
|
<${rn.tagFor(Vg)}
|
|
4884
|
+
class="row"
|
|
4843
4885
|
:dataRecord="${t=>t.record}"
|
|
4844
4886
|
:columns="${(t,e)=>e.parent.columns}"
|
|
4845
4887
|
>
|