@ni/nimble-components 15.3.2 → 15.5.0
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 +173 -88
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +5 -1
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/all-components.d.ts +1 -0
- package/dist/esm/all-components.js +1 -0
- package/dist/esm/all-components.js.map +1 -1
- package/dist/esm/wafer-map/index.d.ts +21 -0
- package/dist/esm/wafer-map/index.js +70 -0
- package/dist/esm/wafer-map/index.js.map +1 -0
- package/dist/esm/wafer-map/modules/computations.d.ts +25 -0
- package/dist/esm/wafer-map/modules/computations.js +117 -0
- package/dist/esm/wafer-map/modules/computations.js.map +1 -0
- package/dist/esm/wafer-map/styles.d.ts +1 -0
- package/dist/esm/wafer-map/styles.js +3 -0
- package/dist/esm/wafer-map/styles.js.map +1 -0
- package/dist/esm/wafer-map/template.d.ts +2 -0
- package/dist/esm/wafer-map/template.js +3 -0
- package/dist/esm/wafer-map/template.js.map +1 -0
- package/dist/esm/wafer-map/types.d.ts +38 -0
- package/dist/esm/wafer-map/types.js +17 -0
- package/dist/esm/wafer-map/types.js.map +1 -0
- package/package.json +3 -1
|
@@ -14537,7 +14537,7 @@
|
|
|
14537
14537
|
*/
|
|
14538
14538
|
const focusVisible$1 = canUseFocusVisible() ? "focus-visible" : "focus";
|
|
14539
14539
|
|
|
14540
|
-
const styles$
|
|
14540
|
+
const styles$y = css `
|
|
14541
14541
|
:host {
|
|
14542
14542
|
contain: layout;
|
|
14543
14543
|
display: block;
|
|
@@ -14561,7 +14561,7 @@
|
|
|
14561
14561
|
baseName: 'anchored-region',
|
|
14562
14562
|
baseClass: AnchoredRegion$1,
|
|
14563
14563
|
template: anchoredRegionTemplate,
|
|
14564
|
-
styles: styles$
|
|
14564
|
+
styles: styles$y
|
|
14565
14565
|
});
|
|
14566
14566
|
DesignSystem.getOrCreate()
|
|
14567
14567
|
.withPrefix('nimble')
|
|
@@ -14927,9 +14927,9 @@
|
|
|
14927
14927
|
const prefix = 'ni-nimble';
|
|
14928
14928
|
const styleNameFromTokenName = (tokenName) => `${prefix}-${tokenName}`;
|
|
14929
14929
|
|
|
14930
|
-
const template$
|
|
14930
|
+
const template$9 = html `<slot></slot>`;
|
|
14931
14931
|
|
|
14932
|
-
const styles$
|
|
14932
|
+
const styles$x = css `
|
|
14933
14933
|
:host {
|
|
14934
14934
|
display: contents;
|
|
14935
14935
|
}
|
|
@@ -14985,8 +14985,8 @@
|
|
|
14985
14985
|
], ThemeProvider.prototype, "theme", void 0);
|
|
14986
14986
|
const nimbleDesignSystemProvider = ThemeProvider.compose({
|
|
14987
14987
|
baseName: 'theme-provider',
|
|
14988
|
-
styles: styles$
|
|
14989
|
-
template: template$
|
|
14988
|
+
styles: styles$x,
|
|
14989
|
+
template: template$9
|
|
14990
14990
|
});
|
|
14991
14991
|
DesignSystem.getOrCreate()
|
|
14992
14992
|
.withPrefix('nimble')
|
|
@@ -15210,7 +15210,7 @@
|
|
|
15210
15210
|
*/
|
|
15211
15211
|
const themeBehavior = (theme, styles) => new ThemeStyleSheetBehavior(theme, styles);
|
|
15212
15212
|
|
|
15213
|
-
const styles$
|
|
15213
|
+
const styles$w = css `
|
|
15214
15214
|
${display('inline-block')}
|
|
15215
15215
|
|
|
15216
15216
|
:host {
|
|
@@ -15273,7 +15273,7 @@
|
|
|
15273
15273
|
baseName: 'breadcrumb',
|
|
15274
15274
|
baseClass: Breadcrumb$1,
|
|
15275
15275
|
template: breadcrumbTemplate,
|
|
15276
|
-
styles: styles$
|
|
15276
|
+
styles: styles$w
|
|
15277
15277
|
});
|
|
15278
15278
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBreadcrumb());
|
|
15279
15279
|
|
|
@@ -15891,7 +15891,7 @@
|
|
|
15891
15891
|
*/
|
|
15892
15892
|
const focusVisible = `:${focusVisible$1}`;
|
|
15893
15893
|
|
|
15894
|
-
const styles$
|
|
15894
|
+
const styles$v = css `
|
|
15895
15895
|
${display('inline-flex')}
|
|
15896
15896
|
|
|
15897
15897
|
:host {
|
|
@@ -15971,7 +15971,7 @@
|
|
|
15971
15971
|
baseName: 'breadcrumb-item',
|
|
15972
15972
|
baseClass: BreadcrumbItem$1,
|
|
15973
15973
|
template: breadcrumbItemTemplate,
|
|
15974
|
-
styles: styles$
|
|
15974
|
+
styles: styles$v,
|
|
15975
15975
|
separator: forwardSlash16X16.data
|
|
15976
15976
|
});
|
|
15977
15977
|
DesignSystem.getOrCreate()
|
|
@@ -16056,7 +16056,7 @@
|
|
|
16056
16056
|
block: 'block'
|
|
16057
16057
|
};
|
|
16058
16058
|
|
|
16059
|
-
const styles$
|
|
16059
|
+
const styles$u = css `
|
|
16060
16060
|
${display('inline-flex')}
|
|
16061
16061
|
|
|
16062
16062
|
:host {
|
|
@@ -16260,7 +16260,7 @@
|
|
|
16260
16260
|
}
|
|
16261
16261
|
`));
|
|
16262
16262
|
|
|
16263
|
-
const styles$
|
|
16263
|
+
const styles$t = styles$u.withBehaviors(appearanceBehavior(ButtonAppearance.outline, css `
|
|
16264
16264
|
:host([appearance-variant='primary']) .control {
|
|
16265
16265
|
box-shadow: 0px 0px 0px ${borderWidth}
|
|
16266
16266
|
rgba(${actionRgbPartialColor}, 0.3) inset;
|
|
@@ -16380,14 +16380,14 @@
|
|
|
16380
16380
|
baseName: 'button',
|
|
16381
16381
|
baseClass: Button$1,
|
|
16382
16382
|
template: buttonTemplate,
|
|
16383
|
-
styles: styles$
|
|
16383
|
+
styles: styles$t,
|
|
16384
16384
|
shadowOptions: {
|
|
16385
16385
|
delegatesFocus: true
|
|
16386
16386
|
}
|
|
16387
16387
|
});
|
|
16388
16388
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleButton());
|
|
16389
16389
|
|
|
16390
|
-
const styles$
|
|
16390
|
+
const styles$s = css `
|
|
16391
16391
|
${display('inline-flex')}
|
|
16392
16392
|
|
|
16393
16393
|
:host {
|
|
@@ -16546,14 +16546,14 @@
|
|
|
16546
16546
|
const nimbleCardButton = CardButton.compose({
|
|
16547
16547
|
baseName: 'card-button',
|
|
16548
16548
|
template: buttonTemplate,
|
|
16549
|
-
styles: styles$
|
|
16549
|
+
styles: styles$s,
|
|
16550
16550
|
shadowOptions: {
|
|
16551
16551
|
delegatesFocus: true
|
|
16552
16552
|
}
|
|
16553
16553
|
});
|
|
16554
16554
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCardButton());
|
|
16555
16555
|
|
|
16556
|
-
const styles$
|
|
16556
|
+
const styles$r = css `
|
|
16557
16557
|
${display('inline-flex')}
|
|
16558
16558
|
|
|
16559
16559
|
:host {
|
|
@@ -16671,14 +16671,14 @@
|
|
|
16671
16671
|
baseName: 'checkbox',
|
|
16672
16672
|
baseClass: Checkbox$1,
|
|
16673
16673
|
template: checkboxTemplate,
|
|
16674
|
-
styles: styles$
|
|
16674
|
+
styles: styles$r,
|
|
16675
16675
|
checkedIndicator: check16X16.data,
|
|
16676
16676
|
indeterminateIndicator: minus16X16.data
|
|
16677
16677
|
});
|
|
16678
16678
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCheckbox());
|
|
16679
16679
|
|
|
16680
|
-
const styles$
|
|
16681
|
-
${styles$
|
|
16680
|
+
const styles$q = css `
|
|
16681
|
+
${styles$u}
|
|
16682
16682
|
|
|
16683
16683
|
.control[aria-pressed='true'] {
|
|
16684
16684
|
background-color: ${fillSelectedColor};
|
|
@@ -16704,7 +16704,7 @@
|
|
|
16704
16704
|
}
|
|
16705
16705
|
`;
|
|
16706
16706
|
|
|
16707
|
-
const template$
|
|
16707
|
+
const template$8 = (context, definition) => html `
|
|
16708
16708
|
<div
|
|
16709
16709
|
role="button"
|
|
16710
16710
|
part="control"
|
|
@@ -16779,8 +16779,8 @@
|
|
|
16779
16779
|
applyMixins(ToggleButton, StartEnd, DelegatesARIAButton);
|
|
16780
16780
|
const nimbleToggleButton = ToggleButton.compose({
|
|
16781
16781
|
baseName: 'toggle-button',
|
|
16782
|
-
template: template$
|
|
16783
|
-
styles: styles$
|
|
16782
|
+
template: template$8,
|
|
16783
|
+
styles: styles$q,
|
|
16784
16784
|
shadowOptions: {
|
|
16785
16785
|
delegatesFocus: true
|
|
16786
16786
|
}
|
|
@@ -16793,13 +16793,13 @@
|
|
|
16793
16793
|
</div>
|
|
16794
16794
|
`;
|
|
16795
16795
|
|
|
16796
|
-
const template$
|
|
16796
|
+
const template$7 = html `
|
|
16797
16797
|
<template>
|
|
16798
16798
|
<div class="icon" :innerHTML=${x => x.icon.data}></div>
|
|
16799
16799
|
</template
|
|
16800
16800
|
`;
|
|
16801
16801
|
|
|
16802
|
-
const styles$
|
|
16802
|
+
const styles$p = css `
|
|
16803
16803
|
${display('inline-flex')}
|
|
16804
16804
|
|
|
16805
16805
|
:host {
|
|
@@ -16852,8 +16852,8 @@
|
|
|
16852
16852
|
const registerIcon = (baseName, iconClass) => {
|
|
16853
16853
|
const composedIcon = iconClass.compose({
|
|
16854
16854
|
baseName,
|
|
16855
|
-
template: template$
|
|
16856
|
-
styles: styles$
|
|
16855
|
+
template: template$7,
|
|
16856
|
+
styles: styles$p,
|
|
16857
16857
|
baseClass: iconClass
|
|
16858
16858
|
});
|
|
16859
16859
|
DesignSystem.getOrCreate().withPrefix('nimble').register(composedIcon());
|
|
@@ -16887,7 +16887,7 @@
|
|
|
16887
16887
|
block: 'block'
|
|
16888
16888
|
};
|
|
16889
16889
|
|
|
16890
|
-
const styles$
|
|
16890
|
+
const styles$o = css `
|
|
16891
16891
|
${display('inline-flex')}
|
|
16892
16892
|
|
|
16893
16893
|
:host {
|
|
@@ -17115,7 +17115,7 @@
|
|
|
17115
17115
|
}
|
|
17116
17116
|
`));
|
|
17117
17117
|
|
|
17118
|
-
const styles$
|
|
17118
|
+
const styles$n = css `
|
|
17119
17119
|
.error-icon {
|
|
17120
17120
|
display: none;
|
|
17121
17121
|
}
|
|
@@ -17153,9 +17153,9 @@
|
|
|
17153
17153
|
}
|
|
17154
17154
|
`;
|
|
17155
17155
|
|
|
17156
|
-
const styles$
|
|
17156
|
+
const styles$m = css `
|
|
17157
|
+
${styles$o}
|
|
17157
17158
|
${styles$n}
|
|
17158
|
-
${styles$m}
|
|
17159
17159
|
|
|
17160
17160
|
:host {
|
|
17161
17161
|
--ni-private-hover-bottom-border-width: 2px;
|
|
@@ -17391,7 +17391,7 @@
|
|
|
17391
17391
|
baseName: 'combobox',
|
|
17392
17392
|
baseClass: Combobox$1,
|
|
17393
17393
|
template: comboboxTemplate,
|
|
17394
|
-
styles: styles$
|
|
17394
|
+
styles: styles$m,
|
|
17395
17395
|
shadowOptions: {
|
|
17396
17396
|
delegatesFocus: true
|
|
17397
17397
|
},
|
|
@@ -17435,7 +17435,7 @@
|
|
|
17435
17435
|
*/
|
|
17436
17436
|
const UserDismissed = Symbol('user dismissed');
|
|
17437
17437
|
|
|
17438
|
-
const styles$
|
|
17438
|
+
const styles$l = css `
|
|
17439
17439
|
${display('grid')}
|
|
17440
17440
|
|
|
17441
17441
|
dialog {
|
|
@@ -17551,7 +17551,7 @@
|
|
|
17551
17551
|
}
|
|
17552
17552
|
`));
|
|
17553
17553
|
|
|
17554
|
-
const template$
|
|
17554
|
+
const template$6 = html `
|
|
17555
17555
|
<template>
|
|
17556
17556
|
<dialog
|
|
17557
17557
|
${ref('dialogElement')}
|
|
@@ -17677,13 +17677,13 @@
|
|
|
17677
17677
|
applyMixins(Dialog, ARIAGlobalStatesAndProperties);
|
|
17678
17678
|
const nimbleDialog = Dialog.compose({
|
|
17679
17679
|
baseName: 'dialog',
|
|
17680
|
-
template: template$
|
|
17681
|
-
styles: styles$
|
|
17680
|
+
template: template$6,
|
|
17681
|
+
styles: styles$l,
|
|
17682
17682
|
baseClass: Dialog
|
|
17683
17683
|
});
|
|
17684
17684
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDialog());
|
|
17685
17685
|
|
|
17686
|
-
const styles$
|
|
17686
|
+
const styles$k = css `
|
|
17687
17687
|
${display('block')}
|
|
17688
17688
|
|
|
17689
17689
|
:host {
|
|
@@ -17838,7 +17838,7 @@
|
|
|
17838
17838
|
}
|
|
17839
17839
|
`));
|
|
17840
17840
|
|
|
17841
|
-
const template$
|
|
17841
|
+
const template$5 = html `
|
|
17842
17842
|
<dialog
|
|
17843
17843
|
${ref('dialog')}
|
|
17844
17844
|
aria-label="${x => x.ariaLabel}"
|
|
@@ -17952,8 +17952,8 @@
|
|
|
17952
17952
|
applyMixins(Drawer, ARIAGlobalStatesAndProperties);
|
|
17953
17953
|
const nimbleDrawer = Drawer.compose({
|
|
17954
17954
|
baseName: 'drawer',
|
|
17955
|
-
template: template$
|
|
17956
|
-
styles: styles$
|
|
17955
|
+
template: template$5,
|
|
17956
|
+
styles: styles$k
|
|
17957
17957
|
});
|
|
17958
17958
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDrawer());
|
|
17959
17959
|
|
|
@@ -19585,7 +19585,7 @@
|
|
|
19585
19585
|
}
|
|
19586
19586
|
registerIcon('icon-xmark-check', IconXmarkCheck);
|
|
19587
19587
|
|
|
19588
|
-
const styles$
|
|
19588
|
+
const styles$j = css `
|
|
19589
19589
|
${display('flex')}
|
|
19590
19590
|
|
|
19591
19591
|
:host {
|
|
@@ -19665,11 +19665,11 @@
|
|
|
19665
19665
|
baseName: 'list-option',
|
|
19666
19666
|
baseClass: ListboxOption,
|
|
19667
19667
|
template: listboxOptionTemplate,
|
|
19668
|
-
styles: styles$
|
|
19668
|
+
styles: styles$j
|
|
19669
19669
|
});
|
|
19670
19670
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListOption());
|
|
19671
19671
|
|
|
19672
|
-
const styles$
|
|
19672
|
+
const styles$i = css `
|
|
19673
19673
|
${display('grid')}
|
|
19674
19674
|
|
|
19675
19675
|
:host {
|
|
@@ -19724,11 +19724,11 @@
|
|
|
19724
19724
|
baseName: 'menu',
|
|
19725
19725
|
baseClass: Menu$1,
|
|
19726
19726
|
template: menuTemplate,
|
|
19727
|
-
styles: styles$
|
|
19727
|
+
styles: styles$i
|
|
19728
19728
|
});
|
|
19729
19729
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenu());
|
|
19730
19730
|
|
|
19731
|
-
const styles$
|
|
19731
|
+
const styles$h = css `
|
|
19732
19732
|
${display('inline-block')}
|
|
19733
19733
|
|
|
19734
19734
|
:host {
|
|
@@ -19747,7 +19747,7 @@
|
|
|
19747
19747
|
`;
|
|
19748
19748
|
|
|
19749
19749
|
// prettier-ignore
|
|
19750
|
-
const template$
|
|
19750
|
+
const template$4 = html `
|
|
19751
19751
|
<template
|
|
19752
19752
|
?open="${x => x.open}"
|
|
19753
19753
|
@focusout="${(x, c) => x.focusoutHandler(c.event)}"
|
|
@@ -19955,15 +19955,15 @@
|
|
|
19955
19955
|
], MenuButton.prototype, "slottedMenus", void 0);
|
|
19956
19956
|
const nimbleMenuButton = MenuButton.compose({
|
|
19957
19957
|
baseName: 'menu-button',
|
|
19958
|
-
template: template$
|
|
19959
|
-
styles: styles$
|
|
19958
|
+
template: template$4,
|
|
19959
|
+
styles: styles$h,
|
|
19960
19960
|
shadowOptions: {
|
|
19961
19961
|
delegatesFocus: true
|
|
19962
19962
|
}
|
|
19963
19963
|
});
|
|
19964
19964
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuButton());
|
|
19965
19965
|
|
|
19966
|
-
const styles$
|
|
19966
|
+
const styles$g = css `
|
|
19967
19967
|
${display('grid')}
|
|
19968
19968
|
|
|
19969
19969
|
:host {
|
|
@@ -20061,7 +20061,7 @@
|
|
|
20061
20061
|
baseName: 'menu-item',
|
|
20062
20062
|
baseClass: MenuItem$1,
|
|
20063
20063
|
template: menuItemTemplate,
|
|
20064
|
-
styles: styles$
|
|
20064
|
+
styles: styles$g,
|
|
20065
20065
|
expandCollapseGlyph: arrowExpanderRight16X16.data
|
|
20066
20066
|
});
|
|
20067
20067
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuItem());
|
|
@@ -20075,9 +20075,9 @@
|
|
|
20075
20075
|
block: 'block'
|
|
20076
20076
|
};
|
|
20077
20077
|
|
|
20078
|
-
const styles$
|
|
20078
|
+
const styles$f = css `
|
|
20079
20079
|
${display('inline-block')}
|
|
20080
|
-
${styles$
|
|
20080
|
+
${styles$n}
|
|
20081
20081
|
|
|
20082
20082
|
:host {
|
|
20083
20083
|
font: ${bodyFont};
|
|
@@ -20291,7 +20291,7 @@
|
|
|
20291
20291
|
baseName: 'number-field',
|
|
20292
20292
|
baseClass: NumberField$1,
|
|
20293
20293
|
template: numberFieldTemplate,
|
|
20294
|
-
styles: styles$
|
|
20294
|
+
styles: styles$f,
|
|
20295
20295
|
shadowOptions: {
|
|
20296
20296
|
delegatesFocus: true
|
|
20297
20297
|
},
|
|
@@ -20332,7 +20332,7 @@
|
|
|
20332
20332
|
});
|
|
20333
20333
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleNumberField());
|
|
20334
20334
|
|
|
20335
|
-
const styles$
|
|
20335
|
+
const styles$e = css `
|
|
20336
20336
|
${display('inline-flex')}
|
|
20337
20337
|
|
|
20338
20338
|
:host {
|
|
@@ -20432,12 +20432,12 @@
|
|
|
20432
20432
|
baseName: 'radio',
|
|
20433
20433
|
baseClass: Radio$1,
|
|
20434
20434
|
template: radioTemplate,
|
|
20435
|
-
styles: styles$
|
|
20435
|
+
styles: styles$e,
|
|
20436
20436
|
checkedIndicator: circleFilled16X16.data
|
|
20437
20437
|
});
|
|
20438
20438
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadio());
|
|
20439
20439
|
|
|
20440
|
-
const styles$
|
|
20440
|
+
const styles$d = css `
|
|
20441
20441
|
${display('inline-block')}
|
|
20442
20442
|
|
|
20443
20443
|
.positioning-region {
|
|
@@ -20472,16 +20472,16 @@
|
|
|
20472
20472
|
baseName: 'radio-group',
|
|
20473
20473
|
baseClass: RadioGroup$1,
|
|
20474
20474
|
template: radioGroupTemplate,
|
|
20475
|
-
styles: styles$
|
|
20475
|
+
styles: styles$d,
|
|
20476
20476
|
shadowOptions: {
|
|
20477
20477
|
delegatesFocus: true
|
|
20478
20478
|
}
|
|
20479
20479
|
});
|
|
20480
20480
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadioGroup());
|
|
20481
20481
|
|
|
20482
|
-
const styles$
|
|
20482
|
+
const styles$c = css `
|
|
20483
|
+
${styles$o}
|
|
20483
20484
|
${styles$n}
|
|
20484
|
-
${styles$m}
|
|
20485
20485
|
|
|
20486
20486
|
${
|
|
20487
20487
|
/* We are using flex `order` to define the visual ordering of the selected value,
|
|
@@ -20557,7 +20557,7 @@
|
|
|
20557
20557
|
baseName: 'select',
|
|
20558
20558
|
baseClass: Select$1,
|
|
20559
20559
|
template: selectTemplate,
|
|
20560
|
-
styles: styles$
|
|
20560
|
+
styles: styles$c,
|
|
20561
20561
|
indicator: arrowExpanderDown16X16.data,
|
|
20562
20562
|
end: html `
|
|
20563
20563
|
<${DesignSystem.tagFor(IconExclamationMark)}
|
|
@@ -20569,7 +20569,7 @@
|
|
|
20569
20569
|
});
|
|
20570
20570
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSelect());
|
|
20571
20571
|
|
|
20572
|
-
const styles$
|
|
20572
|
+
const styles$b = css `
|
|
20573
20573
|
${display('inline-flex')}
|
|
20574
20574
|
|
|
20575
20575
|
:host {
|
|
@@ -20732,7 +20732,7 @@
|
|
|
20732
20732
|
`));
|
|
20733
20733
|
|
|
20734
20734
|
// prettier-ignore
|
|
20735
|
-
const template$
|
|
20735
|
+
const template$3 = html `
|
|
20736
20736
|
<template
|
|
20737
20737
|
role="switch"
|
|
20738
20738
|
aria-checked="${x => x.checked}"
|
|
@@ -20776,12 +20776,12 @@
|
|
|
20776
20776
|
const nimbleSwitch = Switch.compose({
|
|
20777
20777
|
baseClass: Switch$1,
|
|
20778
20778
|
baseName: 'switch',
|
|
20779
|
-
template: template$
|
|
20780
|
-
styles: styles$
|
|
20779
|
+
template: template$3,
|
|
20780
|
+
styles: styles$b
|
|
20781
20781
|
});
|
|
20782
20782
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSwitch());
|
|
20783
20783
|
|
|
20784
|
-
const styles$
|
|
20784
|
+
const styles$a = css `
|
|
20785
20785
|
${display('inline-flex')}
|
|
20786
20786
|
|
|
20787
20787
|
:host {
|
|
@@ -20885,11 +20885,11 @@
|
|
|
20885
20885
|
baseName: 'tab',
|
|
20886
20886
|
baseClass: Tab$1,
|
|
20887
20887
|
template: tabTemplate,
|
|
20888
|
-
styles: styles$
|
|
20888
|
+
styles: styles$a
|
|
20889
20889
|
});
|
|
20890
20890
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTab());
|
|
20891
20891
|
|
|
20892
|
-
const styles$
|
|
20892
|
+
const styles$9 = css `
|
|
20893
20893
|
${display('block')}
|
|
20894
20894
|
|
|
20895
20895
|
:host {
|
|
@@ -20909,11 +20909,11 @@
|
|
|
20909
20909
|
baseName: 'tab-panel',
|
|
20910
20910
|
baseClass: TabPanel$1,
|
|
20911
20911
|
template: tabPanelTemplate,
|
|
20912
|
-
styles: styles$
|
|
20912
|
+
styles: styles$9
|
|
20913
20913
|
});
|
|
20914
20914
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabPanel());
|
|
20915
20915
|
|
|
20916
|
-
const styles$
|
|
20916
|
+
const styles$8 = css `
|
|
20917
20917
|
${display('grid')}
|
|
20918
20918
|
|
|
20919
20919
|
:host {
|
|
@@ -20951,11 +20951,11 @@
|
|
|
20951
20951
|
baseName: 'tabs',
|
|
20952
20952
|
baseClass: Tabs$1,
|
|
20953
20953
|
template: tabsTemplate,
|
|
20954
|
-
styles: styles$
|
|
20954
|
+
styles: styles$8
|
|
20955
20955
|
});
|
|
20956
20956
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabs());
|
|
20957
20957
|
|
|
20958
|
-
const styles$
|
|
20958
|
+
const styles$7 = css `
|
|
20959
20959
|
${display('flex')}
|
|
20960
20960
|
|
|
20961
20961
|
:host {
|
|
@@ -20975,7 +20975,7 @@
|
|
|
20975
20975
|
}
|
|
20976
20976
|
`;
|
|
20977
20977
|
|
|
20978
|
-
const template$
|
|
20978
|
+
const template$2 = html `
|
|
20979
20979
|
<template slot="end">
|
|
20980
20980
|
<div class="separator"></div>
|
|
20981
20981
|
<slot></slot>
|
|
@@ -20989,8 +20989,8 @@
|
|
|
20989
20989
|
}
|
|
20990
20990
|
const nimbleTabsToolbar = TabsToolbar.compose({
|
|
20991
20991
|
baseName: 'tabs-toolbar',
|
|
20992
|
-
template: template$
|
|
20993
|
-
styles: styles$
|
|
20992
|
+
template: template$2,
|
|
20993
|
+
styles: styles$7
|
|
20994
20994
|
});
|
|
20995
20995
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabsToolbar());
|
|
20996
20996
|
|
|
@@ -20999,7 +20999,7 @@
|
|
|
20999
20999
|
block: 'block'
|
|
21000
21000
|
};
|
|
21001
21001
|
|
|
21002
|
-
const styles$
|
|
21002
|
+
const styles$6 = css `
|
|
21003
21003
|
${display('inline-flex')}
|
|
21004
21004
|
|
|
21005
21005
|
:host {
|
|
@@ -21134,7 +21134,7 @@
|
|
|
21134
21134
|
baseName: 'text-area',
|
|
21135
21135
|
baseClass: TextArea$1,
|
|
21136
21136
|
template: textAreaTemplate,
|
|
21137
|
-
styles: styles$
|
|
21137
|
+
styles: styles$6,
|
|
21138
21138
|
shadowOptions: {
|
|
21139
21139
|
delegatesFocus: true
|
|
21140
21140
|
}
|
|
@@ -21151,9 +21151,9 @@
|
|
|
21151
21151
|
frameless: 'frameless'
|
|
21152
21152
|
};
|
|
21153
21153
|
|
|
21154
|
-
const styles$
|
|
21154
|
+
const styles$5 = css `
|
|
21155
21155
|
${display('inline-block')}
|
|
21156
|
-
${styles$
|
|
21156
|
+
${styles$n}
|
|
21157
21157
|
|
|
21158
21158
|
:host {
|
|
21159
21159
|
font: ${bodyFont};
|
|
@@ -21417,7 +21417,7 @@
|
|
|
21417
21417
|
baseName: 'text-field',
|
|
21418
21418
|
baseClass: TextField$1,
|
|
21419
21419
|
template: textFieldTemplate,
|
|
21420
|
-
styles: styles$
|
|
21420
|
+
styles: styles$5,
|
|
21421
21421
|
shadowOptions: {
|
|
21422
21422
|
delegatesFocus: true
|
|
21423
21423
|
},
|
|
@@ -21434,7 +21434,7 @@
|
|
|
21434
21434
|
});
|
|
21435
21435
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTextField());
|
|
21436
21436
|
|
|
21437
|
-
const styles$
|
|
21437
|
+
const styles$4 = css `
|
|
21438
21438
|
.positioning-region {
|
|
21439
21439
|
display: flex;
|
|
21440
21440
|
padding: ${smallPadding} ${standardPadding};
|
|
@@ -21469,14 +21469,14 @@
|
|
|
21469
21469
|
baseName: 'toolbar',
|
|
21470
21470
|
baseClass: Toolbar$1,
|
|
21471
21471
|
template: toolbarTemplate,
|
|
21472
|
-
styles: styles$
|
|
21472
|
+
styles: styles$4,
|
|
21473
21473
|
shadowOptions: {
|
|
21474
21474
|
delegatesFocus: true
|
|
21475
21475
|
}
|
|
21476
21476
|
});
|
|
21477
21477
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleToolbar());
|
|
21478
21478
|
|
|
21479
|
-
const styles$
|
|
21479
|
+
const styles$3 = css `
|
|
21480
21480
|
${display('inline-flex')}
|
|
21481
21481
|
|
|
21482
21482
|
:host {
|
|
@@ -21564,7 +21564,7 @@
|
|
|
21564
21564
|
`));
|
|
21565
21565
|
|
|
21566
21566
|
// prettier-ignore
|
|
21567
|
-
const template = html `
|
|
21567
|
+
const template$1 = html `
|
|
21568
21568
|
${when(x => x.tooltipVisible, html `
|
|
21569
21569
|
<${DesignSystem.tagFor(AnchoredRegion)}
|
|
21570
21570
|
class="anchored-region"
|
|
@@ -21616,8 +21616,8 @@
|
|
|
21616
21616
|
const nimbleTooltip = Tooltip.compose({
|
|
21617
21617
|
baseName: 'tooltip',
|
|
21618
21618
|
baseClass: Tooltip$1,
|
|
21619
|
-
template,
|
|
21620
|
-
styles: styles$
|
|
21619
|
+
template: template$1,
|
|
21620
|
+
styles: styles$3
|
|
21621
21621
|
});
|
|
21622
21622
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTooltip());
|
|
21623
21623
|
|
|
@@ -21703,7 +21703,7 @@
|
|
|
21703
21703
|
}
|
|
21704
21704
|
}
|
|
21705
21705
|
|
|
21706
|
-
const styles$
|
|
21706
|
+
const styles$2 = css `
|
|
21707
21707
|
${display('block')}
|
|
21708
21708
|
|
|
21709
21709
|
:host {
|
|
@@ -21964,12 +21964,12 @@ Instead styling against the role which is more general and likely a better appro
|
|
|
21964
21964
|
baseName: 'tree-item',
|
|
21965
21965
|
baseClass: TreeItem$1,
|
|
21966
21966
|
template: treeItemTemplate,
|
|
21967
|
-
styles: styles$
|
|
21967
|
+
styles: styles$2,
|
|
21968
21968
|
expandCollapseGlyph: arrowExpanderUp16X16.data
|
|
21969
21969
|
});
|
|
21970
21970
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeItem());
|
|
21971
21971
|
|
|
21972
|
-
const styles = css `
|
|
21972
|
+
const styles$1 = css `
|
|
21973
21973
|
${display('flex')}
|
|
21974
21974
|
|
|
21975
21975
|
:host {
|
|
@@ -22043,9 +22043,94 @@ Instead styling against the role which is more general and likely a better appro
|
|
|
22043
22043
|
baseName: 'tree-view',
|
|
22044
22044
|
baseClass: TreeView$1,
|
|
22045
22045
|
template: treeViewTemplate,
|
|
22046
|
-
styles
|
|
22046
|
+
styles: styles$1
|
|
22047
22047
|
});
|
|
22048
22048
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeView());
|
|
22049
22049
|
|
|
22050
|
+
const template = html ``;
|
|
22051
|
+
|
|
22052
|
+
const styles = css ``;
|
|
22053
|
+
|
|
22054
|
+
const WaferMapQuadrant = {
|
|
22055
|
+
bottomLeft: 'bottom-left',
|
|
22056
|
+
bottomRight: 'bottom-right',
|
|
22057
|
+
topLeft: 'top-left',
|
|
22058
|
+
topRight: 'top-right'
|
|
22059
|
+
};
|
|
22060
|
+
const WaferMapOrientation = {
|
|
22061
|
+
top: 'top',
|
|
22062
|
+
bottom: 'bottom',
|
|
22063
|
+
left: 'left',
|
|
22064
|
+
right: 'right'
|
|
22065
|
+
};
|
|
22066
|
+
const WaferMapColorsScaleMode = {
|
|
22067
|
+
linear: 'linear',
|
|
22068
|
+
ordinal: 'ordinal'
|
|
22069
|
+
};
|
|
22070
|
+
|
|
22071
|
+
/**
|
|
22072
|
+
* A nimble-styled WaferMap
|
|
22073
|
+
*/
|
|
22074
|
+
class WaferMap extends FoundationElement {
|
|
22075
|
+
constructor() {
|
|
22076
|
+
super(...arguments);
|
|
22077
|
+
this.quadrant = WaferMapQuadrant.topLeft;
|
|
22078
|
+
this.orientation = WaferMapOrientation.top;
|
|
22079
|
+
this.maxCharacters = 4;
|
|
22080
|
+
this.dieLabelsHidden = false;
|
|
22081
|
+
this.dieLabelsSuffix = '';
|
|
22082
|
+
this.colorsScaleMode = WaferMapColorsScaleMode.linear;
|
|
22083
|
+
this.highlightedValues = [];
|
|
22084
|
+
this.dies = [];
|
|
22085
|
+
this.colorScale = {
|
|
22086
|
+
colors: [],
|
|
22087
|
+
values: []
|
|
22088
|
+
};
|
|
22089
|
+
}
|
|
22090
|
+
}
|
|
22091
|
+
__decorate([
|
|
22092
|
+
attr
|
|
22093
|
+
], WaferMap.prototype, "quadrant", void 0);
|
|
22094
|
+
__decorate([
|
|
22095
|
+
attr
|
|
22096
|
+
], WaferMap.prototype, "orientation", void 0);
|
|
22097
|
+
__decorate([
|
|
22098
|
+
attr({
|
|
22099
|
+
attribute: 'max-characters',
|
|
22100
|
+
converter: nullableNumberConverter
|
|
22101
|
+
})
|
|
22102
|
+
], WaferMap.prototype, "maxCharacters", void 0);
|
|
22103
|
+
__decorate([
|
|
22104
|
+
attr({
|
|
22105
|
+
attribute: 'die-labels-hidden',
|
|
22106
|
+
mode: 'boolean'
|
|
22107
|
+
})
|
|
22108
|
+
], WaferMap.prototype, "dieLabelsHidden", void 0);
|
|
22109
|
+
__decorate([
|
|
22110
|
+
attr({
|
|
22111
|
+
attribute: 'die-labels-suffix'
|
|
22112
|
+
})
|
|
22113
|
+
], WaferMap.prototype, "dieLabelsSuffix", void 0);
|
|
22114
|
+
__decorate([
|
|
22115
|
+
attr({
|
|
22116
|
+
attribute: 'colors-scale-mode'
|
|
22117
|
+
})
|
|
22118
|
+
], WaferMap.prototype, "colorsScaleMode", void 0);
|
|
22119
|
+
__decorate([
|
|
22120
|
+
observable
|
|
22121
|
+
], WaferMap.prototype, "highlightedValues", void 0);
|
|
22122
|
+
__decorate([
|
|
22123
|
+
observable
|
|
22124
|
+
], WaferMap.prototype, "dies", void 0);
|
|
22125
|
+
__decorate([
|
|
22126
|
+
observable
|
|
22127
|
+
], WaferMap.prototype, "colorScale", void 0);
|
|
22128
|
+
const nimbleWaferMap = WaferMap.compose({
|
|
22129
|
+
baseName: 'wafer-map',
|
|
22130
|
+
template,
|
|
22131
|
+
styles
|
|
22132
|
+
});
|
|
22133
|
+
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleWaferMap());
|
|
22134
|
+
|
|
22050
22135
|
})();
|
|
22051
22136
|
//# sourceMappingURL=all-components-bundle.js.map
|