@ni/nimble-components 15.3.1 → 15.4.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 +154 -73
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +643 -639
- 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/number-field/styles.js +1 -2
- package/dist/esm/number-field/styles.js.map +1 -1
- package/dist/esm/text-field/styles.js +1 -2
- package/dist/esm/text-field/styles.js.map +1 -1
- package/dist/esm/theme-provider/design-token-comments.js +1 -1
- package/dist/esm/theme-provider/design-token-comments.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/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 +28 -0
- package/dist/esm/wafer-map/types.js +17 -0
- package/dist/esm/wafer-map/types.js.map +1 -0
- package/dist/tokens.scss +1 -1
- package/package.json +2 -2
|
@@ -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')
|
|
@@ -14929,7 +14929,7 @@
|
|
|
14929
14929
|
|
|
14930
14930
|
const template$8 = html `<slot></slot>`;
|
|
14931
14931
|
|
|
14932
|
-
const styles$
|
|
14932
|
+
const styles$x = css `
|
|
14933
14933
|
:host {
|
|
14934
14934
|
display: contents;
|
|
14935
14935
|
}
|
|
@@ -14985,7 +14985,7 @@
|
|
|
14985
14985
|
], ThemeProvider.prototype, "theme", void 0);
|
|
14986
14986
|
const nimbleDesignSystemProvider = ThemeProvider.compose({
|
|
14987
14987
|
baseName: 'theme-provider',
|
|
14988
|
-
styles: styles$
|
|
14988
|
+
styles: styles$x,
|
|
14989
14989
|
template: template$8
|
|
14990
14990
|
});
|
|
14991
14991
|
DesignSystem.getOrCreate()
|
|
@@ -15020,7 +15020,7 @@
|
|
|
15020
15020
|
const controlHeight = DesignToken.create(styleNameFromTokenName(tokenNames.controlHeight)).withDefault('32px');
|
|
15021
15021
|
const smallPadding = DesignToken.create(styleNameFromTokenName(tokenNames.smallPadding)).withDefault('4px');
|
|
15022
15022
|
const standardPadding = DesignToken.create(styleNameFromTokenName(tokenNames.standardPadding)).withDefault('16px');
|
|
15023
|
-
|
|
15023
|
+
DesignToken.create(styleNameFromTokenName(tokenNames.labelHeight)).withDefault('16px');
|
|
15024
15024
|
const borderWidth = DesignToken.create(styleNameFromTokenName(tokenNames.borderWidth)).withDefault('1px');
|
|
15025
15025
|
const iconSize = DesignToken.create(styleNameFromTokenName(tokenNames.iconSize)).withDefault('16px');
|
|
15026
15026
|
const drawerWidth = DesignToken.create(styleNameFromTokenName(tokenNames.drawerWidth)).withDefault('784px');
|
|
@@ -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};
|
|
@@ -16780,7 +16780,7 @@
|
|
|
16780
16780
|
const nimbleToggleButton = ToggleButton.compose({
|
|
16781
16781
|
baseName: 'toggle-button',
|
|
16782
16782
|
template: template$7,
|
|
16783
|
-
styles: styles$
|
|
16783
|
+
styles: styles$q,
|
|
16784
16784
|
shadowOptions: {
|
|
16785
16785
|
delegatesFocus: true
|
|
16786
16786
|
}
|
|
@@ -16799,7 +16799,7 @@
|
|
|
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 {
|
|
@@ -16853,7 +16853,7 @@
|
|
|
16853
16853
|
const composedIcon = iconClass.compose({
|
|
16854
16854
|
baseName,
|
|
16855
16855
|
template: template$6,
|
|
16856
|
-
styles: styles$
|
|
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 {
|
|
@@ -17678,12 +17678,12 @@
|
|
|
17678
17678
|
const nimbleDialog = Dialog.compose({
|
|
17679
17679
|
baseName: 'dialog',
|
|
17680
17680
|
template: template$5,
|
|
17681
|
-
styles: styles$
|
|
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 {
|
|
@@ -17953,7 +17953,7 @@
|
|
|
17953
17953
|
const nimbleDrawer = Drawer.compose({
|
|
17954
17954
|
baseName: 'drawer',
|
|
17955
17955
|
template: template$4,
|
|
17956
|
-
styles: styles$
|
|
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 {
|
|
@@ -19956,14 +19956,14 @@
|
|
|
19956
19956
|
const nimbleMenuButton = MenuButton.compose({
|
|
19957
19957
|
baseName: 'menu-button',
|
|
19958
19958
|
template: template$3,
|
|
19959
|
-
styles: styles$
|
|
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,16 +20075,15 @@
|
|
|
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};
|
|
20084
20084
|
outline: none;
|
|
20085
20085
|
user-select: none;
|
|
20086
20086
|
color: ${bodyFontColor};
|
|
20087
|
-
height: calc(${labelHeight} + ${controlHeight});
|
|
20088
20087
|
--ni-private-hover-indicator-width: calc(${borderWidth} + 1px);
|
|
20089
20088
|
--ni-private-height-within-border: calc(
|
|
20090
20089
|
${controlHeight} - 2 * ${borderWidth}
|
|
@@ -20292,7 +20291,7 @@
|
|
|
20292
20291
|
baseName: 'number-field',
|
|
20293
20292
|
baseClass: NumberField$1,
|
|
20294
20293
|
template: numberFieldTemplate,
|
|
20295
|
-
styles: styles$
|
|
20294
|
+
styles: styles$f,
|
|
20296
20295
|
shadowOptions: {
|
|
20297
20296
|
delegatesFocus: true
|
|
20298
20297
|
},
|
|
@@ -20333,7 +20332,7 @@
|
|
|
20333
20332
|
});
|
|
20334
20333
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleNumberField());
|
|
20335
20334
|
|
|
20336
|
-
const styles$
|
|
20335
|
+
const styles$e = css `
|
|
20337
20336
|
${display('inline-flex')}
|
|
20338
20337
|
|
|
20339
20338
|
:host {
|
|
@@ -20433,12 +20432,12 @@
|
|
|
20433
20432
|
baseName: 'radio',
|
|
20434
20433
|
baseClass: Radio$1,
|
|
20435
20434
|
template: radioTemplate,
|
|
20436
|
-
styles: styles$
|
|
20435
|
+
styles: styles$e,
|
|
20437
20436
|
checkedIndicator: circleFilled16X16.data
|
|
20438
20437
|
});
|
|
20439
20438
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadio());
|
|
20440
20439
|
|
|
20441
|
-
const styles$
|
|
20440
|
+
const styles$d = css `
|
|
20442
20441
|
${display('inline-block')}
|
|
20443
20442
|
|
|
20444
20443
|
.positioning-region {
|
|
@@ -20473,16 +20472,16 @@
|
|
|
20473
20472
|
baseName: 'radio-group',
|
|
20474
20473
|
baseClass: RadioGroup$1,
|
|
20475
20474
|
template: radioGroupTemplate,
|
|
20476
|
-
styles: styles$
|
|
20475
|
+
styles: styles$d,
|
|
20477
20476
|
shadowOptions: {
|
|
20478
20477
|
delegatesFocus: true
|
|
20479
20478
|
}
|
|
20480
20479
|
});
|
|
20481
20480
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadioGroup());
|
|
20482
20481
|
|
|
20483
|
-
const styles$
|
|
20482
|
+
const styles$c = css `
|
|
20483
|
+
${styles$o}
|
|
20484
20484
|
${styles$n}
|
|
20485
|
-
${styles$m}
|
|
20486
20485
|
|
|
20487
20486
|
${
|
|
20488
20487
|
/* We are using flex `order` to define the visual ordering of the selected value,
|
|
@@ -20558,7 +20557,7 @@
|
|
|
20558
20557
|
baseName: 'select',
|
|
20559
20558
|
baseClass: Select$1,
|
|
20560
20559
|
template: selectTemplate,
|
|
20561
|
-
styles: styles$
|
|
20560
|
+
styles: styles$c,
|
|
20562
20561
|
indicator: arrowExpanderDown16X16.data,
|
|
20563
20562
|
end: html `
|
|
20564
20563
|
<${DesignSystem.tagFor(IconExclamationMark)}
|
|
@@ -20570,7 +20569,7 @@
|
|
|
20570
20569
|
});
|
|
20571
20570
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSelect());
|
|
20572
20571
|
|
|
20573
|
-
const styles$
|
|
20572
|
+
const styles$b = css `
|
|
20574
20573
|
${display('inline-flex')}
|
|
20575
20574
|
|
|
20576
20575
|
:host {
|
|
@@ -20778,11 +20777,11 @@
|
|
|
20778
20777
|
baseClass: Switch$1,
|
|
20779
20778
|
baseName: 'switch',
|
|
20780
20779
|
template: template$2,
|
|
20781
|
-
styles: styles$
|
|
20780
|
+
styles: styles$b
|
|
20782
20781
|
});
|
|
20783
20782
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSwitch());
|
|
20784
20783
|
|
|
20785
|
-
const styles$
|
|
20784
|
+
const styles$a = css `
|
|
20786
20785
|
${display('inline-flex')}
|
|
20787
20786
|
|
|
20788
20787
|
:host {
|
|
@@ -20886,11 +20885,11 @@
|
|
|
20886
20885
|
baseName: 'tab',
|
|
20887
20886
|
baseClass: Tab$1,
|
|
20888
20887
|
template: tabTemplate,
|
|
20889
|
-
styles: styles$
|
|
20888
|
+
styles: styles$a
|
|
20890
20889
|
});
|
|
20891
20890
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTab());
|
|
20892
20891
|
|
|
20893
|
-
const styles$
|
|
20892
|
+
const styles$9 = css `
|
|
20894
20893
|
${display('block')}
|
|
20895
20894
|
|
|
20896
20895
|
:host {
|
|
@@ -20910,11 +20909,11 @@
|
|
|
20910
20909
|
baseName: 'tab-panel',
|
|
20911
20910
|
baseClass: TabPanel$1,
|
|
20912
20911
|
template: tabPanelTemplate,
|
|
20913
|
-
styles: styles$
|
|
20912
|
+
styles: styles$9
|
|
20914
20913
|
});
|
|
20915
20914
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabPanel());
|
|
20916
20915
|
|
|
20917
|
-
const styles$
|
|
20916
|
+
const styles$8 = css `
|
|
20918
20917
|
${display('grid')}
|
|
20919
20918
|
|
|
20920
20919
|
:host {
|
|
@@ -20952,11 +20951,11 @@
|
|
|
20952
20951
|
baseName: 'tabs',
|
|
20953
20952
|
baseClass: Tabs$1,
|
|
20954
20953
|
template: tabsTemplate,
|
|
20955
|
-
styles: styles$
|
|
20954
|
+
styles: styles$8
|
|
20956
20955
|
});
|
|
20957
20956
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabs());
|
|
20958
20957
|
|
|
20959
|
-
const styles$
|
|
20958
|
+
const styles$7 = css `
|
|
20960
20959
|
${display('flex')}
|
|
20961
20960
|
|
|
20962
20961
|
:host {
|
|
@@ -20991,7 +20990,7 @@
|
|
|
20991
20990
|
const nimbleTabsToolbar = TabsToolbar.compose({
|
|
20992
20991
|
baseName: 'tabs-toolbar',
|
|
20993
20992
|
template: template$1,
|
|
20994
|
-
styles: styles$
|
|
20993
|
+
styles: styles$7
|
|
20995
20994
|
});
|
|
20996
20995
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabsToolbar());
|
|
20997
20996
|
|
|
@@ -21000,7 +20999,7 @@
|
|
|
21000
20999
|
block: 'block'
|
|
21001
21000
|
};
|
|
21002
21001
|
|
|
21003
|
-
const styles$
|
|
21002
|
+
const styles$6 = css `
|
|
21004
21003
|
${display('inline-flex')}
|
|
21005
21004
|
|
|
21006
21005
|
:host {
|
|
@@ -21135,7 +21134,7 @@
|
|
|
21135
21134
|
baseName: 'text-area',
|
|
21136
21135
|
baseClass: TextArea$1,
|
|
21137
21136
|
template: textAreaTemplate,
|
|
21138
|
-
styles: styles$
|
|
21137
|
+
styles: styles$6,
|
|
21139
21138
|
shadowOptions: {
|
|
21140
21139
|
delegatesFocus: true
|
|
21141
21140
|
}
|
|
@@ -21152,9 +21151,9 @@
|
|
|
21152
21151
|
frameless: 'frameless'
|
|
21153
21152
|
};
|
|
21154
21153
|
|
|
21155
|
-
const styles$
|
|
21154
|
+
const styles$5 = css `
|
|
21156
21155
|
${display('inline-block')}
|
|
21157
|
-
${styles$
|
|
21156
|
+
${styles$n}
|
|
21158
21157
|
|
|
21159
21158
|
:host {
|
|
21160
21159
|
font: ${bodyFont};
|
|
@@ -21162,7 +21161,6 @@
|
|
|
21162
21161
|
user-select: none;
|
|
21163
21162
|
--webkit-user-select: none;
|
|
21164
21163
|
color: ${bodyFontColor};
|
|
21165
|
-
height: calc(${labelHeight} + ${controlHeight});
|
|
21166
21164
|
--ni-private-hover-indicator-width: calc(${borderWidth} + 1px);
|
|
21167
21165
|
--ni-private-height-within-border: calc(
|
|
21168
21166
|
${controlHeight} - 2 * ${borderWidth}
|
|
@@ -21419,7 +21417,7 @@
|
|
|
21419
21417
|
baseName: 'text-field',
|
|
21420
21418
|
baseClass: TextField$1,
|
|
21421
21419
|
template: textFieldTemplate,
|
|
21422
|
-
styles: styles$
|
|
21420
|
+
styles: styles$5,
|
|
21423
21421
|
shadowOptions: {
|
|
21424
21422
|
delegatesFocus: true
|
|
21425
21423
|
},
|
|
@@ -21436,7 +21434,7 @@
|
|
|
21436
21434
|
});
|
|
21437
21435
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTextField());
|
|
21438
21436
|
|
|
21439
|
-
const styles$
|
|
21437
|
+
const styles$4 = css `
|
|
21440
21438
|
.positioning-region {
|
|
21441
21439
|
display: flex;
|
|
21442
21440
|
padding: ${smallPadding} ${standardPadding};
|
|
@@ -21471,14 +21469,14 @@
|
|
|
21471
21469
|
baseName: 'toolbar',
|
|
21472
21470
|
baseClass: Toolbar$1,
|
|
21473
21471
|
template: toolbarTemplate,
|
|
21474
|
-
styles: styles$
|
|
21472
|
+
styles: styles$4,
|
|
21475
21473
|
shadowOptions: {
|
|
21476
21474
|
delegatesFocus: true
|
|
21477
21475
|
}
|
|
21478
21476
|
});
|
|
21479
21477
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleToolbar());
|
|
21480
21478
|
|
|
21481
|
-
const styles$
|
|
21479
|
+
const styles$3 = css `
|
|
21482
21480
|
${display('inline-flex')}
|
|
21483
21481
|
|
|
21484
21482
|
:host {
|
|
@@ -21619,7 +21617,7 @@
|
|
|
21619
21617
|
baseName: 'tooltip',
|
|
21620
21618
|
baseClass: Tooltip$1,
|
|
21621
21619
|
template,
|
|
21622
|
-
styles: styles$
|
|
21620
|
+
styles: styles$3
|
|
21623
21621
|
});
|
|
21624
21622
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTooltip());
|
|
21625
21623
|
|
|
@@ -21705,7 +21703,7 @@
|
|
|
21705
21703
|
}
|
|
21706
21704
|
}
|
|
21707
21705
|
|
|
21708
|
-
const styles$
|
|
21706
|
+
const styles$2 = css `
|
|
21709
21707
|
${display('block')}
|
|
21710
21708
|
|
|
21711
21709
|
:host {
|
|
@@ -21966,12 +21964,12 @@ Instead styling against the role which is more general and likely a better appro
|
|
|
21966
21964
|
baseName: 'tree-item',
|
|
21967
21965
|
baseClass: TreeItem$1,
|
|
21968
21966
|
template: treeItemTemplate,
|
|
21969
|
-
styles: styles$
|
|
21967
|
+
styles: styles$2,
|
|
21970
21968
|
expandCollapseGlyph: arrowExpanderUp16X16.data
|
|
21971
21969
|
});
|
|
21972
21970
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeItem());
|
|
21973
21971
|
|
|
21974
|
-
const styles = css `
|
|
21972
|
+
const styles$1 = css `
|
|
21975
21973
|
${display('flex')}
|
|
21976
21974
|
|
|
21977
21975
|
:host {
|
|
@@ -22045,9 +22043,92 @@ Instead styling against the role which is more general and likely a better appro
|
|
|
22045
22043
|
baseName: 'tree-view',
|
|
22046
22044
|
baseClass: TreeView$1,
|
|
22047
22045
|
template: treeViewTemplate,
|
|
22048
|
-
styles
|
|
22046
|
+
styles: styles$1
|
|
22049
22047
|
});
|
|
22050
22048
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeView());
|
|
22051
22049
|
|
|
22050
|
+
const styles = css ``;
|
|
22051
|
+
|
|
22052
|
+
const WaferMapQuadrant = {
|
|
22053
|
+
bottomLeft: 'bottom-left',
|
|
22054
|
+
bottomRight: 'bottom-right',
|
|
22055
|
+
topLeft: 'top-left',
|
|
22056
|
+
topRight: 'top-right'
|
|
22057
|
+
};
|
|
22058
|
+
const WaferMapOrientation = {
|
|
22059
|
+
top: 'top',
|
|
22060
|
+
bottom: 'bottom',
|
|
22061
|
+
left: 'left',
|
|
22062
|
+
right: 'right'
|
|
22063
|
+
};
|
|
22064
|
+
const WaferMapColorsScaleMode = {
|
|
22065
|
+
linear: 'linear',
|
|
22066
|
+
ordinal: 'ordinal'
|
|
22067
|
+
};
|
|
22068
|
+
|
|
22069
|
+
/**
|
|
22070
|
+
* A nimble-styled WaferMap
|
|
22071
|
+
*/
|
|
22072
|
+
class WaferMap extends FoundationElement {
|
|
22073
|
+
constructor() {
|
|
22074
|
+
super(...arguments);
|
|
22075
|
+
this.quadrant = WaferMapQuadrant.topLeft;
|
|
22076
|
+
this.orientation = WaferMapOrientation.top;
|
|
22077
|
+
this.maxCharacters = 4;
|
|
22078
|
+
this.dieLabelsHidden = false;
|
|
22079
|
+
this.dieLabelsSuffix = '';
|
|
22080
|
+
this.colorsScaleMode = WaferMapColorsScaleMode.linear;
|
|
22081
|
+
this.highlightedValues = [];
|
|
22082
|
+
this.dies = [];
|
|
22083
|
+
this.colorScale = {
|
|
22084
|
+
colors: [],
|
|
22085
|
+
values: []
|
|
22086
|
+
};
|
|
22087
|
+
}
|
|
22088
|
+
}
|
|
22089
|
+
__decorate([
|
|
22090
|
+
attr
|
|
22091
|
+
], WaferMap.prototype, "quadrant", void 0);
|
|
22092
|
+
__decorate([
|
|
22093
|
+
attr
|
|
22094
|
+
], WaferMap.prototype, "orientation", void 0);
|
|
22095
|
+
__decorate([
|
|
22096
|
+
attr({
|
|
22097
|
+
attribute: 'max-characters',
|
|
22098
|
+
converter: nullableNumberConverter
|
|
22099
|
+
})
|
|
22100
|
+
], WaferMap.prototype, "maxCharacters", void 0);
|
|
22101
|
+
__decorate([
|
|
22102
|
+
attr({
|
|
22103
|
+
attribute: 'die-labels-hidden',
|
|
22104
|
+
mode: 'boolean'
|
|
22105
|
+
})
|
|
22106
|
+
], WaferMap.prototype, "dieLabelsHidden", void 0);
|
|
22107
|
+
__decorate([
|
|
22108
|
+
attr({
|
|
22109
|
+
attribute: 'die-labels-suffix'
|
|
22110
|
+
})
|
|
22111
|
+
], WaferMap.prototype, "dieLabelsSuffix", void 0);
|
|
22112
|
+
__decorate([
|
|
22113
|
+
attr({
|
|
22114
|
+
attribute: 'colors-scale-mode'
|
|
22115
|
+
})
|
|
22116
|
+
], WaferMap.prototype, "colorsScaleMode", void 0);
|
|
22117
|
+
__decorate([
|
|
22118
|
+
observable
|
|
22119
|
+
], WaferMap.prototype, "highlightedValues", void 0);
|
|
22120
|
+
__decorate([
|
|
22121
|
+
observable
|
|
22122
|
+
], WaferMap.prototype, "dies", void 0);
|
|
22123
|
+
__decorate([
|
|
22124
|
+
observable
|
|
22125
|
+
], WaferMap.prototype, "colorScale", void 0);
|
|
22126
|
+
const nimbleWaferMap = WaferMap.compose({
|
|
22127
|
+
baseName: 'wafer-map',
|
|
22128
|
+
template: template$8,
|
|
22129
|
+
styles
|
|
22130
|
+
});
|
|
22131
|
+
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleWaferMap());
|
|
22132
|
+
|
|
22052
22133
|
})();
|
|
22053
22134
|
//# sourceMappingURL=all-components-bundle.js.map
|