@ni/nimble-components 17.0.4 → 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.
@@ -3130,18 +3130,25 @@ const np=vt`
3130
3130
  background: ${gr};
3131
3131
  border: ${Ar} solid ${Sr};
3132
3132
  margin: 0;
3133
- padding: 4px;
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}"