@ni/nimble-components 21.10.2 → 22.0.1

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.
@@ -1292,6 +1292,10 @@ default:return e}}function jd(t){return Ud(t,Qo,"#ff4646",ir)}function Wd(t){ret
1292
1292
  color: ${sc};
1293
1293
  }
1294
1294
 
1295
+ .content {
1296
+ pointer-events: none;
1297
+ }
1298
+
1295
1299
  [part='end'] {
1296
1300
  display: none;
1297
1301
  }
@@ -1650,6 +1654,18 @@ class ih{constructor(t,e,n){this.propertyName=t,this.value=e,this.styles=n}bind(
1650
1654
  .control {
1651
1655
  text-decoration: none;
1652
1656
  }
1657
+
1658
+ [part='start'] {
1659
+ pointer-events: none;
1660
+ }
1661
+
1662
+ .content {
1663
+ pointer-events: none;
1664
+ }
1665
+
1666
+ [part='end'] {
1667
+ pointer-events: none;
1668
+ }
1653
1669
  `
1654
1670
  class ch extends Oo{constructor(){super(...arguments),this.appearance=th,this.contentHidden=!1,this.disabled=!1}}t([st],ch.prototype,"appearance",void 0),t([st({attribute:"appearance-variant"})],ch.prototype,"appearanceVariant",void 0),t([st({attribute:"content-hidden",mode:"boolean"})],ch.prototype,"contentHidden",void 0),t([st({mode:"boolean"})],ch.prototype,"disabled",void 0)
1655
1671
  const dh=ch.compose({baseName:"anchor-button",template:(t,e)=>Z`
@@ -1750,6 +1766,7 @@ const hh=yt`
1750
1766
 
1751
1767
  [part='start'] {
1752
1768
  display: contents;
1769
+ pointer-events: none;
1753
1770
  }
1754
1771
 
1755
1772
  slot[name='start']::slotted(*) {
@@ -1762,6 +1779,10 @@ const hh=yt`
1762
1779
  grid-column: 1;
1763
1780
  }
1764
1781
 
1782
+ .content {
1783
+ pointer-events: none;
1784
+ }
1785
+
1765
1786
  :host(.indent-1) .content {
1766
1787
  grid-column: 2;
1767
1788
  }
@@ -1840,6 +1861,7 @@ const mh=yt`
1840
1861
  }
1841
1862
 
1842
1863
  slot:not([name]) {
1864
+ pointer-events: none;
1843
1865
  display: block;
1844
1866
  padding: ${rl} ${sl}
1845
1867
  calc(${rl} - ${ll});
@@ -2077,6 +2099,7 @@ const xh=xt`
2077
2099
  ${""}
2078
2100
  [part="start"] {
2079
2101
  width: ${cl};
2102
+ pointer-events: none;
2080
2103
  }
2081
2104
 
2082
2105
  ${""}
@@ -2092,6 +2115,10 @@ const xh=xt`
2092
2115
  height: ${cl};
2093
2116
  }
2094
2117
 
2118
+ .content {
2119
+ pointer-events: none;
2120
+ }
2121
+
2095
2122
  [part='end'] {
2096
2123
  display: none;
2097
2124
  }
@@ -2361,7 +2388,7 @@ const um="nimble-icon-info"
2361
2388
  dm("icon-triangle-filled",class extends cm{constructor(){super(Bf)}})
2362
2389
  const pm="nimble-icon-triangle-filled"
2363
2390
  dm("icon-xmark",class extends cm{constructor(){super(rm)}})
2364
- const fm="nimble-icon-xmark",mm={default:void 0,error:"error",warning:"warning",information:"information"},gm="Close",vm="Increment",bm="Decrement",ym="Error",wm="Warning",xm="Information",Cm="Search",km="No items found",Sm=ui.create({name:"popup-dismiss-label",cssCustomPropertyName:null}).withDefault(gm),$m=ui.create({name:"numeric-decrement-label",cssCustomPropertyName:null}).withDefault(bm),Mm=ui.create({name:"numeric-increment-label",cssCustomPropertyName:null}).withDefault(vm),_m=ui.create({name:"error-icon-label",cssCustomPropertyName:null}).withDefault(ym),Em=ui.create({name:"warning-icon-label",cssCustomPropertyName:null}).withDefault(wm),Im=ui.create({name:"information-icon-label",cssCustomPropertyName:null}).withDefault(xm),Dm=ui.create({name:"filter-search-label",cssCustomPropertyName:null}).withDefault(Cm),Am=ui.create({name:"filter-no-results-label",cssCustomPropertyName:null}).withDefault(km),Tm=Z`
2391
+ const fm="nimble-icon-xmark",mm={default:void 0,error:"error",warning:"warning",information:"information"},gm="Close",vm="Increment",bm="Decrement",ym="Error",wm="Warning",xm="Information",Cm="Search",km="No items found",Sm=ui.create({name:"popup-dismiss-label",cssCustomPropertyName:null}).withDefault(gm),$m=ui.create({name:"numeric-decrement-label",cssCustomPropertyName:null}).withDefault(bm),Mm=ui.create({name:"numeric-increment-label",cssCustomPropertyName:null}).withDefault(vm),_m=ui.create({name:"popup-icon-error-label",cssCustomPropertyName:null}).withDefault(ym),Em=ui.create({name:"popup-icon-warning-label",cssCustomPropertyName:null}).withDefault(wm),Im=ui.create({name:"popup-icon-information-label",cssCustomPropertyName:null}).withDefault(xm),Dm=ui.create({name:"filter-search-label",cssCustomPropertyName:null}).withDefault(Cm),Am=ui.create({name:"filter-no-results-label",cssCustomPropertyName:null}).withDefault(km),Tm=Z`
2365
2392
  <div class="container"
2366
2393
  role="status"
2367
2394
  aria-atomic="${t=>t.ariaAtomic}"
@@ -2503,6 +2530,10 @@ const Lm=yt`
2503
2530
  display: none;
2504
2531
  }
2505
2532
 
2533
+ .content {
2534
+ pointer-events: none;
2535
+ }
2536
+
2506
2537
  [part='end'] {
2507
2538
  display: none;
2508
2539
  }
@@ -3929,8 +3960,8 @@ dm("icon-xmark-check",class extends cm{constructor(){super(sm)}})
3929
3960
  class Ng extends Le{constructor(){super(...arguments),this.propertyNotifier=m.getNotifier(this)}connectedCallback(){super.connectedCallback(),this.initializeThemeProvider(),this.propertyNotifier.subscribe(this)}disconnectedCallback(){if(super.disconnectedCallback(),this.propertyNotifier.unsubscribe(this),this.themeProvider){for(const t of Object.values(this.supportedLabels))t.deleteValueFor(this.themeProvider)
3930
3961
  this.themeProvider=void 0}}handleChange(t,e){if(this.supportedLabels[e]){const t=this.supportedLabels[e],n=this[e]
3931
3962
  this.themeProvider&&(null==n?t.deleteValueFor(this.themeProvider):t.setValueFor(this.themeProvider,n))}}initializeThemeProvider(){if(this.themeProvider=this.closest("nimble-theme-provider")??void 0,this.themeProvider)for(const[t,e]of Object.entries(this.supportedLabels)){const n=this[t]
3932
- null==n?e.deleteValueFor(this.themeProvider):e.setValueFor(this.themeProvider,n)}}}const Pg={popupDismiss:Sm,numericDecrement:$m,numericIncrement:Mm,errorIcon:_m,warningIcon:Em,informationIcon:Im,filterSearch:Dm,filterNoResults:Am}
3933
- class Lg extends Ng{constructor(){super(...arguments),this.supportedLabels=Pg}}t([st({attribute:"popup-dismiss"})],Lg.prototype,"popupDismiss",void 0),t([st({attribute:"numeric-decrement"})],Lg.prototype,"numericDecrement",void 0),t([st({attribute:"numeric-increment"})],Lg.prototype,"numericIncrement",void 0),t([st({attribute:"error-icon"})],Lg.prototype,"errorIcon",void 0),t([st({attribute:"warning-icon"})],Lg.prototype,"warningIcon",void 0),t([st({attribute:"information-icon"})],Lg.prototype,"informationIcon",void 0),t([st({attribute:"filter-search"})],Lg.prototype,"filterSearch",void 0),t([st({attribute:"filter-no-results"})],Lg.prototype,"filterNoResults",void 0)
3963
+ null==n?e.deleteValueFor(this.themeProvider):e.setValueFor(this.themeProvider,n)}}}const Pg={popupDismiss:Sm,numericDecrement:$m,numericIncrement:Mm,popupIconError:_m,popupIconWarning:Em,popupIconInformation:Im,filterSearch:Dm,filterNoResults:Am}
3964
+ class Lg extends Ng{constructor(){super(...arguments),this.supportedLabels=Pg}}t([st({attribute:"popup-dismiss"})],Lg.prototype,"popupDismiss",void 0),t([st({attribute:"numeric-decrement"})],Lg.prototype,"numericDecrement",void 0),t([st({attribute:"numeric-increment"})],Lg.prototype,"numericIncrement",void 0),t([st({attribute:"popup-icon-error"})],Lg.prototype,"popupIconError",void 0),t([st({attribute:"popup-icon-warning"})],Lg.prototype,"popupIconWarning",void 0),t([st({attribute:"popup-icon-information"})],Lg.prototype,"popupIconInformation",void 0),t([st({attribute:"filter-search"})],Lg.prototype,"filterSearch",void 0),t([st({attribute:"filter-no-results"})],Lg.prototype,"filterNoResults",void 0)
3934
3965
  const zg=Lg.compose({baseName:"label-provider-core"})
3935
3966
  bi.getOrCreate().withPrefix("nimble").register(zg())
3936
3967
  const Vg="Collapse group",Hg="Expand group",Bg="Collapse row",qg="Expand row",Ug="Collapse all",jg="Options",Wg="Grouped",Zg="Sorted ascending",Gg="Sorted descending",Kg="Select all rows",Jg="Select all rows in group",Xg="Select row",Yg="Row operations",Qg="Loading",tv=ui.create({name:"table-group-collapse-label",cssCustomPropertyName:null}).withDefault(Vg),ev=ui.create({name:"table-group-expand-label",cssCustomPropertyName:null}).withDefault(Hg),nv=ui.create({name:"table-row-collapse-label",cssCustomPropertyName:null}).withDefault(Bg),iv=ui.create({name:"table-row-expand-label",cssCustomPropertyName:null}).withDefault(qg),ov=ui.create({name:"table-collapse-all-label",cssCustomPropertyName:null}).withDefault(Ug),rv=ui.create({name:"table-cell-action-menu-label",cssCustomPropertyName:null}).withDefault(jg),sv=ui.create({name:"table-column-header-grouped-label",cssCustomPropertyName:null}).withDefault(Wg),av=ui.create({name:"table-column-header-sorted-ascending-label",cssCustomPropertyName:null}).withDefault(Zg),lv=ui.create({name:"table-column-header-sorted-descending-label",cssCustomPropertyName:null}).withDefault(Gg),cv=ui.create({name:"table-select-all-label",cssCustomPropertyName:null}).withDefault(Kg),dv=ui.create({name:"table-group-select-all-label",cssCustomPropertyName:null}).withDefault(Jg),hv=ui.create({name:"table-row-select-label",cssCustomPropertyName:null}).withDefault(Xg),uv=ui.create({name:"table-row-operation-column-label",cssCustomPropertyName:null}).withDefault(Yg),pv=ui.create({name:"table-row-loading-label",cssCustomPropertyName:null}).withDefault(Qg),fv={groupCollapse:tv,groupExpand:ev,rowCollapse:nv,rowExpand:iv,collapseAll:ov,cellActionMenu:rv,columnHeaderGrouped:sv,columnHeaderSortedAscending:av,columnHeaderSortedDescending:lv,selectAll:cv,groupSelectAll:dv,rowSelect:hv,rowOperationColumn:uv,rowLoading:pv}