@ni/nimble-components 29.1.6 → 29.1.7
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 +95 -157
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +1282 -1324
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/rich-text/mention-listbox/template.js +2 -2
- package/dist/esm/rich-text/mention-listbox/template.js.map +1 -1
- package/package.json +1 -1
- package/dist/esm/listbox/index.d.ts +0 -12
- package/dist/esm/listbox/index.js +0 -15
- package/dist/esm/listbox/index.js.map +0 -1
- package/dist/esm/listbox/styles.d.ts +0 -1
- package/dist/esm/listbox/styles.js +0 -27
- package/dist/esm/listbox/styles.js.map +0 -1
|
@@ -7829,7 +7829,7 @@
|
|
|
7829
7829
|
*
|
|
7830
7830
|
* @public
|
|
7831
7831
|
*/
|
|
7832
|
-
|
|
7832
|
+
class Listbox extends FoundationElement {
|
|
7833
7833
|
constructor() {
|
|
7834
7834
|
super(...arguments);
|
|
7835
7835
|
/**
|
|
@@ -8292,35 +8292,35 @@
|
|
|
8292
8292
|
this.typeaheadExpired = false;
|
|
8293
8293
|
}
|
|
8294
8294
|
}
|
|
8295
|
-
}
|
|
8295
|
+
}
|
|
8296
8296
|
/**
|
|
8297
8297
|
* A static filter to include only selectable options.
|
|
8298
8298
|
*
|
|
8299
8299
|
* @param n - element to filter
|
|
8300
8300
|
* @public
|
|
8301
8301
|
*/
|
|
8302
|
-
Listbox
|
|
8302
|
+
Listbox.slottedOptionFilter = (n) => isListboxOption(n) && !n.hidden;
|
|
8303
8303
|
/**
|
|
8304
8304
|
* Typeahead timeout in milliseconds.
|
|
8305
8305
|
*
|
|
8306
8306
|
* @internal
|
|
8307
8307
|
*/
|
|
8308
|
-
Listbox
|
|
8308
|
+
Listbox.TYPE_AHEAD_TIMEOUT_MS = 1000;
|
|
8309
8309
|
__decorate([
|
|
8310
8310
|
attr({ mode: "boolean" })
|
|
8311
|
-
], Listbox
|
|
8311
|
+
], Listbox.prototype, "disabled", void 0);
|
|
8312
8312
|
__decorate([
|
|
8313
8313
|
observable
|
|
8314
|
-
], Listbox
|
|
8314
|
+
], Listbox.prototype, "selectedIndex", void 0);
|
|
8315
8315
|
__decorate([
|
|
8316
8316
|
observable
|
|
8317
|
-
], Listbox
|
|
8317
|
+
], Listbox.prototype, "selectedOptions", void 0);
|
|
8318
8318
|
__decorate([
|
|
8319
8319
|
observable
|
|
8320
|
-
], Listbox
|
|
8320
|
+
], Listbox.prototype, "slottedOptions", void 0);
|
|
8321
8321
|
__decorate([
|
|
8322
8322
|
observable
|
|
8323
|
-
], Listbox
|
|
8323
|
+
], Listbox.prototype, "typeaheadBuffer", void 0);
|
|
8324
8324
|
/**
|
|
8325
8325
|
* Includes ARIA states and properties relating to the ARIA listbox role
|
|
8326
8326
|
*
|
|
@@ -8341,7 +8341,7 @@
|
|
|
8341
8341
|
observable
|
|
8342
8342
|
], DelegatesARIAListbox.prototype, "ariaMultiSelectable", void 0);
|
|
8343
8343
|
applyMixins(DelegatesARIAListbox, ARIAGlobalStatesAndProperties);
|
|
8344
|
-
applyMixins(Listbox
|
|
8344
|
+
applyMixins(Listbox, DelegatesARIAListbox);
|
|
8345
8345
|
|
|
8346
8346
|
/**
|
|
8347
8347
|
* Positioning directions for the listbox when a select is open.
|
|
@@ -8352,7 +8352,7 @@
|
|
|
8352
8352
|
below: "below",
|
|
8353
8353
|
};
|
|
8354
8354
|
|
|
8355
|
-
class _Combobox extends Listbox
|
|
8355
|
+
class _Combobox extends Listbox {
|
|
8356
8356
|
}
|
|
8357
8357
|
/**
|
|
8358
8358
|
* A form-associated base class for the {@link (Combobox:class)} component.
|
|
@@ -10261,7 +10261,7 @@
|
|
|
10261
10261
|
*
|
|
10262
10262
|
* @public
|
|
10263
10263
|
*/
|
|
10264
|
-
class ListboxElement extends Listbox
|
|
10264
|
+
class ListboxElement extends Listbox {
|
|
10265
10265
|
constructor() {
|
|
10266
10266
|
super(...arguments);
|
|
10267
10267
|
/**
|
|
@@ -10700,32 +10700,6 @@
|
|
|
10700
10700
|
attr({ converter: nullableNumberConverter })
|
|
10701
10701
|
], ListboxElement.prototype, "size", void 0);
|
|
10702
10702
|
|
|
10703
|
-
/**
|
|
10704
|
-
* The template for the {@link @microsoft/fast-foundation#(Listbox:class)} component.
|
|
10705
|
-
* @public
|
|
10706
|
-
*/
|
|
10707
|
-
const listboxTemplate = (context, definition) => html `
|
|
10708
|
-
<template
|
|
10709
|
-
aria-activedescendant="${x => x.ariaActiveDescendant}"
|
|
10710
|
-
aria-multiselectable="${x => x.ariaMultiSelectable}"
|
|
10711
|
-
class="listbox"
|
|
10712
|
-
role="listbox"
|
|
10713
|
-
tabindex="${x => (!x.disabled ? "0" : null)}"
|
|
10714
|
-
@click="${(x, c) => x.clickHandler(c.event)}"
|
|
10715
|
-
@focusin="${(x, c) => x.focusinHandler(c.event)}"
|
|
10716
|
-
@keydown="${(x, c) => x.keydownHandler(c.event)}"
|
|
10717
|
-
@mousedown="${(x, c) => x.mousedownHandler(c.event)}"
|
|
10718
|
-
>
|
|
10719
|
-
<slot
|
|
10720
|
-
${slotted({
|
|
10721
|
-
filter: ListboxElement.slottedOptionFilter,
|
|
10722
|
-
flatten: true,
|
|
10723
|
-
property: "slottedOptions",
|
|
10724
|
-
})}
|
|
10725
|
-
></slot>
|
|
10726
|
-
</template>
|
|
10727
|
-
`;
|
|
10728
|
-
|
|
10729
10703
|
/**
|
|
10730
10704
|
* Menu items roles.
|
|
10731
10705
|
* @public
|
|
@@ -12906,7 +12880,7 @@
|
|
|
12906
12880
|
*/
|
|
12907
12881
|
setDefaultSelectedOption() {
|
|
12908
12882
|
var _a;
|
|
12909
|
-
const options = (_a = this.options) !== null && _a !== void 0 ? _a : Array.from(this.children).filter(Listbox
|
|
12883
|
+
const options = (_a = this.options) !== null && _a !== void 0 ? _a : Array.from(this.children).filter(Listbox.slottedOptionFilter);
|
|
12910
12884
|
const selectedIndex = options === null || options === void 0 ? void 0 : options.findIndex(el => el.hasAttribute("selected") || el.selected || el.value === this.value);
|
|
12911
12885
|
if (selectedIndex !== -1) {
|
|
12912
12886
|
this.selectedIndex = selectedIndex;
|
|
@@ -16304,7 +16278,7 @@
|
|
|
16304
16278
|
|
|
16305
16279
|
/**
|
|
16306
16280
|
* Do not edit directly
|
|
16307
|
-
* Generated on
|
|
16281
|
+
* Generated on Fri, 31 May 2024 15:10:22 GMT
|
|
16308
16282
|
*/
|
|
16309
16283
|
|
|
16310
16284
|
const Information100DarkUi = "#a46eff";
|
|
@@ -16737,7 +16711,7 @@
|
|
|
16737
16711
|
|
|
16738
16712
|
const template$H = html `<slot></slot>`;
|
|
16739
16713
|
|
|
16740
|
-
const styles
|
|
16714
|
+
const styles$_ = css `
|
|
16741
16715
|
${display('contents')}
|
|
16742
16716
|
`;
|
|
16743
16717
|
|
|
@@ -16852,7 +16826,7 @@
|
|
|
16852
16826
|
], ThemeProvider.prototype, "theme", void 0);
|
|
16853
16827
|
const nimbleDesignSystemProvider = ThemeProvider.compose({
|
|
16854
16828
|
baseName: 'theme-provider',
|
|
16855
|
-
styles: styles
|
|
16829
|
+
styles: styles$_,
|
|
16856
16830
|
template: template$H
|
|
16857
16831
|
});
|
|
16858
16832
|
DesignSystem.getOrCreate()
|
|
@@ -17038,7 +17012,7 @@
|
|
|
17038
17012
|
}
|
|
17039
17013
|
}
|
|
17040
17014
|
|
|
17041
|
-
const styles$
|
|
17015
|
+
const styles$Z = css `
|
|
17042
17016
|
@layer base, hover, focusVisible, active, disabled;
|
|
17043
17017
|
|
|
17044
17018
|
@layer base {
|
|
@@ -17222,7 +17196,7 @@
|
|
|
17222
17196
|
baseName: 'anchor',
|
|
17223
17197
|
baseClass: Anchor$1,
|
|
17224
17198
|
template: template$G,
|
|
17225
|
-
styles: styles$
|
|
17199
|
+
styles: styles$Z,
|
|
17226
17200
|
shadowOptions: {
|
|
17227
17201
|
delegatesFocus: true
|
|
17228
17202
|
}
|
|
@@ -17334,7 +17308,7 @@
|
|
|
17334
17308
|
padding: 0;
|
|
17335
17309
|
`;
|
|
17336
17310
|
|
|
17337
|
-
const styles$
|
|
17311
|
+
const styles$Y = css `
|
|
17338
17312
|
@layer base, checked, hover, focusVisible, active, disabled, top;
|
|
17339
17313
|
|
|
17340
17314
|
@layer base {
|
|
@@ -17612,8 +17586,8 @@
|
|
|
17612
17586
|
}
|
|
17613
17587
|
`));
|
|
17614
17588
|
|
|
17615
|
-
const styles$
|
|
17616
|
-
${styles$
|
|
17589
|
+
const styles$X = css `
|
|
17590
|
+
${styles$Y}
|
|
17617
17591
|
${buttonAppearanceVariantStyles}
|
|
17618
17592
|
|
|
17619
17593
|
.control {
|
|
@@ -17716,7 +17690,7 @@
|
|
|
17716
17690
|
const nimbleAnchorButton = AnchorButton.compose({
|
|
17717
17691
|
baseName: 'anchor-button',
|
|
17718
17692
|
template: template$F,
|
|
17719
|
-
styles: styles$
|
|
17693
|
+
styles: styles$X,
|
|
17720
17694
|
shadowOptions: {
|
|
17721
17695
|
delegatesFocus: true
|
|
17722
17696
|
}
|
|
@@ -17724,7 +17698,7 @@
|
|
|
17724
17698
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorButton());
|
|
17725
17699
|
const anchorButtonTag = 'nimble-anchor-button';
|
|
17726
17700
|
|
|
17727
|
-
const styles$
|
|
17701
|
+
const styles$W = css `
|
|
17728
17702
|
${display('grid')}
|
|
17729
17703
|
|
|
17730
17704
|
:host {
|
|
@@ -17910,7 +17884,7 @@
|
|
|
17910
17884
|
const nimbleAnchorMenuItem = AnchorMenuItem.compose({
|
|
17911
17885
|
baseName: 'anchor-menu-item',
|
|
17912
17886
|
template: template$E,
|
|
17913
|
-
styles: styles$
|
|
17887
|
+
styles: styles$W,
|
|
17914
17888
|
shadowOptions: {
|
|
17915
17889
|
delegatesFocus: true
|
|
17916
17890
|
}
|
|
@@ -17920,7 +17894,7 @@
|
|
|
17920
17894
|
.register(nimbleAnchorMenuItem());
|
|
17921
17895
|
const anchorMenuItemTag = 'nimble-anchor-menu-item';
|
|
17922
17896
|
|
|
17923
|
-
const styles$
|
|
17897
|
+
const styles$V = css `
|
|
17924
17898
|
${display('inline-flex')}
|
|
17925
17899
|
|
|
17926
17900
|
:host {
|
|
@@ -18090,14 +18064,14 @@
|
|
|
18090
18064
|
const nimbleAnchorTab = AnchorTab.compose({
|
|
18091
18065
|
baseName: 'anchor-tab',
|
|
18092
18066
|
template: template$D,
|
|
18093
|
-
styles: styles$
|
|
18067
|
+
styles: styles$V,
|
|
18094
18068
|
shadowOptions: {
|
|
18095
18069
|
delegatesFocus: true
|
|
18096
18070
|
}
|
|
18097
18071
|
});
|
|
18098
18072
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTab());
|
|
18099
18073
|
|
|
18100
|
-
const styles$
|
|
18074
|
+
const styles$U = css `
|
|
18101
18075
|
${display('grid')}
|
|
18102
18076
|
|
|
18103
18077
|
:host {
|
|
@@ -18326,7 +18300,7 @@
|
|
|
18326
18300
|
const nimbleAnchorTabs = AnchorTabs.compose({
|
|
18327
18301
|
baseName: 'anchor-tabs',
|
|
18328
18302
|
template: template$C,
|
|
18329
|
-
styles: styles$
|
|
18303
|
+
styles: styles$U,
|
|
18330
18304
|
shadowOptions: {
|
|
18331
18305
|
delegatesFocus: false
|
|
18332
18306
|
}
|
|
@@ -18342,7 +18316,7 @@
|
|
|
18342
18316
|
-webkit-user-select: none;
|
|
18343
18317
|
`;
|
|
18344
18318
|
|
|
18345
|
-
const styles$
|
|
18319
|
+
const styles$T = css `
|
|
18346
18320
|
${display('block')}
|
|
18347
18321
|
|
|
18348
18322
|
:host {
|
|
@@ -18586,7 +18560,7 @@
|
|
|
18586
18560
|
const nimbleAnchorTreeItem = AnchorTreeItem.compose({
|
|
18587
18561
|
baseName: 'anchor-tree-item',
|
|
18588
18562
|
template: template$B,
|
|
18589
|
-
styles: styles$
|
|
18563
|
+
styles: styles$T,
|
|
18590
18564
|
shadowOptions: {
|
|
18591
18565
|
delegatesFocus: true
|
|
18592
18566
|
}
|
|
@@ -18602,7 +18576,7 @@
|
|
|
18602
18576
|
zIndex1000: '1000'
|
|
18603
18577
|
};
|
|
18604
18578
|
|
|
18605
|
-
const styles$
|
|
18579
|
+
const styles$S = css `
|
|
18606
18580
|
${display('block')}
|
|
18607
18581
|
|
|
18608
18582
|
:host {
|
|
@@ -18633,7 +18607,7 @@
|
|
|
18633
18607
|
baseName: 'anchored-region',
|
|
18634
18608
|
baseClass: AnchoredRegion$1,
|
|
18635
18609
|
template: anchoredRegionTemplate,
|
|
18636
|
-
styles: styles$
|
|
18610
|
+
styles: styles$S
|
|
18637
18611
|
});
|
|
18638
18612
|
DesignSystem.getOrCreate()
|
|
18639
18613
|
.withPrefix('nimble')
|
|
@@ -18713,7 +18687,7 @@
|
|
|
18713
18687
|
*/
|
|
18714
18688
|
const themeBehavior = (theme, styles) => new ThemeStyleSheetBehavior(theme, styles);
|
|
18715
18689
|
|
|
18716
|
-
const styles$
|
|
18690
|
+
const styles$R = css `
|
|
18717
18691
|
${display('flex')}
|
|
18718
18692
|
|
|
18719
18693
|
:host {
|
|
@@ -18828,8 +18802,8 @@
|
|
|
18828
18802
|
}
|
|
18829
18803
|
`));
|
|
18830
18804
|
|
|
18831
|
-
const styles$
|
|
18832
|
-
${styles$
|
|
18805
|
+
const styles$Q = css `
|
|
18806
|
+
${styles$Y}
|
|
18833
18807
|
${buttonAppearanceVariantStyles}
|
|
18834
18808
|
`;
|
|
18835
18809
|
|
|
@@ -18925,7 +18899,7 @@
|
|
|
18925
18899
|
baseName: 'button',
|
|
18926
18900
|
baseClass: Button$1,
|
|
18927
18901
|
template: template$A,
|
|
18928
|
-
styles: styles$
|
|
18902
|
+
styles: styles$Q,
|
|
18929
18903
|
shadowOptions: {
|
|
18930
18904
|
delegatesFocus: true
|
|
18931
18905
|
}
|
|
@@ -19682,7 +19656,7 @@
|
|
|
19682
19656
|
:innerHTML=${x => x.icon.data}
|
|
19683
19657
|
></div>`;
|
|
19684
19658
|
|
|
19685
|
-
const styles$
|
|
19659
|
+
const styles$P = css `
|
|
19686
19660
|
${display('inline-flex')}
|
|
19687
19661
|
|
|
19688
19662
|
:host {
|
|
@@ -19736,7 +19710,7 @@
|
|
|
19736
19710
|
const composedIcon = iconClass.compose({
|
|
19737
19711
|
baseName,
|
|
19738
19712
|
template: template$z,
|
|
19739
|
-
styles: styles$
|
|
19713
|
+
styles: styles$P
|
|
19740
19714
|
});
|
|
19741
19715
|
DesignSystem.getOrCreate().withPrefix('nimble').register(composedIcon());
|
|
19742
19716
|
};
|
|
@@ -19968,11 +19942,11 @@
|
|
|
19968
19942
|
const nimbleBanner = Banner.compose({
|
|
19969
19943
|
baseName: 'banner',
|
|
19970
19944
|
template: template$y,
|
|
19971
|
-
styles: styles$
|
|
19945
|
+
styles: styles$R
|
|
19972
19946
|
});
|
|
19973
19947
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBanner());
|
|
19974
19948
|
|
|
19975
|
-
const styles$
|
|
19949
|
+
const styles$O = css `
|
|
19976
19950
|
${display('inline-block')}
|
|
19977
19951
|
|
|
19978
19952
|
:host {
|
|
@@ -20013,11 +19987,11 @@
|
|
|
20013
19987
|
baseName: 'breadcrumb',
|
|
20014
19988
|
baseClass: Breadcrumb$1,
|
|
20015
19989
|
template: breadcrumbTemplate,
|
|
20016
|
-
styles: styles$
|
|
19990
|
+
styles: styles$O
|
|
20017
19991
|
});
|
|
20018
19992
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBreadcrumb());
|
|
20019
19993
|
|
|
20020
|
-
const styles$
|
|
19994
|
+
const styles$N = css `
|
|
20021
19995
|
${display('inline-flex')}
|
|
20022
19996
|
|
|
20023
19997
|
:host {
|
|
@@ -20095,14 +20069,14 @@
|
|
|
20095
20069
|
baseName: 'breadcrumb-item',
|
|
20096
20070
|
baseClass: BreadcrumbItem$1,
|
|
20097
20071
|
template: breadcrumbItemTemplate,
|
|
20098
|
-
styles: styles$
|
|
20072
|
+
styles: styles$N,
|
|
20099
20073
|
separator: forwardSlash16X16.data
|
|
20100
20074
|
});
|
|
20101
20075
|
DesignSystem.getOrCreate()
|
|
20102
20076
|
.withPrefix('nimble')
|
|
20103
20077
|
.register(nimbleBreadcrumbItem());
|
|
20104
20078
|
|
|
20105
|
-
const styles$
|
|
20079
|
+
const styles$M = css `
|
|
20106
20080
|
${display('flex')}
|
|
20107
20081
|
|
|
20108
20082
|
:host {
|
|
@@ -20142,11 +20116,11 @@
|
|
|
20142
20116
|
baseName: 'card',
|
|
20143
20117
|
baseClass: Card$1,
|
|
20144
20118
|
template: template$x,
|
|
20145
|
-
styles: styles$
|
|
20119
|
+
styles: styles$M
|
|
20146
20120
|
});
|
|
20147
20121
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCard());
|
|
20148
20122
|
|
|
20149
|
-
const styles$
|
|
20123
|
+
const styles$L = css `
|
|
20150
20124
|
${display('inline-flex')}
|
|
20151
20125
|
|
|
20152
20126
|
:host {
|
|
@@ -20305,14 +20279,14 @@
|
|
|
20305
20279
|
const nimbleCardButton = CardButton.compose({
|
|
20306
20280
|
baseName: 'card-button',
|
|
20307
20281
|
template: buttonTemplate,
|
|
20308
|
-
styles: styles$
|
|
20282
|
+
styles: styles$L,
|
|
20309
20283
|
shadowOptions: {
|
|
20310
20284
|
delegatesFocus: true
|
|
20311
20285
|
}
|
|
20312
20286
|
});
|
|
20313
20287
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCardButton());
|
|
20314
20288
|
|
|
20315
|
-
const styles$
|
|
20289
|
+
const styles$K = css `
|
|
20316
20290
|
${display('inline-flex')}
|
|
20317
20291
|
|
|
20318
20292
|
:host {
|
|
@@ -20471,15 +20445,15 @@
|
|
|
20471
20445
|
baseName: 'checkbox',
|
|
20472
20446
|
baseClass: Checkbox$1,
|
|
20473
20447
|
template: template$w,
|
|
20474
|
-
styles: styles$
|
|
20448
|
+
styles: styles$K,
|
|
20475
20449
|
checkedIndicator: check16X16.data,
|
|
20476
20450
|
indeterminateIndicator: minus16X16.data
|
|
20477
20451
|
});
|
|
20478
20452
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCheckbox());
|
|
20479
20453
|
const checkboxTag = 'nimble-checkbox';
|
|
20480
20454
|
|
|
20481
|
-
const styles$
|
|
20482
|
-
${styles$
|
|
20455
|
+
const styles$J = css `
|
|
20456
|
+
${styles$Y}
|
|
20483
20457
|
${buttonAppearanceVariantStyles}
|
|
20484
20458
|
|
|
20485
20459
|
@layer checked {
|
|
@@ -20625,7 +20599,7 @@
|
|
|
20625
20599
|
const nimbleToggleButton = ToggleButton.compose({
|
|
20626
20600
|
baseName: 'toggle-button',
|
|
20627
20601
|
template: template$v,
|
|
20628
|
-
styles: styles$
|
|
20602
|
+
styles: styles$J,
|
|
20629
20603
|
shadowOptions: {
|
|
20630
20604
|
delegatesFocus: true
|
|
20631
20605
|
}
|
|
@@ -20662,7 +20636,7 @@
|
|
|
20662
20636
|
block: 'block'
|
|
20663
20637
|
};
|
|
20664
20638
|
|
|
20665
|
-
const styles$
|
|
20639
|
+
const styles$I = css `
|
|
20666
20640
|
${display('inline-flex')}
|
|
20667
20641
|
|
|
20668
20642
|
:host {
|
|
@@ -20882,7 +20856,7 @@
|
|
|
20882
20856
|
}
|
|
20883
20857
|
`));
|
|
20884
20858
|
|
|
20885
|
-
const styles$
|
|
20859
|
+
const styles$H = css `
|
|
20886
20860
|
.error-icon {
|
|
20887
20861
|
display: none;
|
|
20888
20862
|
}
|
|
@@ -20929,9 +20903,9 @@
|
|
|
20929
20903
|
standard: 'standard'
|
|
20930
20904
|
};
|
|
20931
20905
|
|
|
20932
|
-
const styles$
|
|
20933
|
-
${styles$J}
|
|
20906
|
+
const styles$G = css `
|
|
20934
20907
|
${styles$I}
|
|
20908
|
+
${styles$H}
|
|
20935
20909
|
|
|
20936
20910
|
:host {
|
|
20937
20911
|
--ni-private-hover-bottom-border-width: 2px;
|
|
@@ -21130,7 +21104,7 @@
|
|
|
21130
21104
|
>
|
|
21131
21105
|
<slot
|
|
21132
21106
|
${slotted({
|
|
21133
|
-
filter: (n) => n instanceof HTMLElement && Listbox
|
|
21107
|
+
filter: (n) => n instanceof HTMLElement && Listbox.slottedOptionFilter(n),
|
|
21134
21108
|
flatten: true,
|
|
21135
21109
|
property: 'slottedOptions',
|
|
21136
21110
|
})}
|
|
@@ -21773,7 +21747,7 @@
|
|
|
21773
21747
|
baseName: 'combobox',
|
|
21774
21748
|
baseClass: FormAssociatedCombobox,
|
|
21775
21749
|
template: template$u,
|
|
21776
|
-
styles: styles$
|
|
21750
|
+
styles: styles$G,
|
|
21777
21751
|
shadowOptions: {
|
|
21778
21752
|
delegatesFocus: true
|
|
21779
21753
|
},
|
|
@@ -21818,7 +21792,7 @@
|
|
|
21818
21792
|
*/
|
|
21819
21793
|
const UserDismissed = Symbol('user dismissed');
|
|
21820
21794
|
|
|
21821
|
-
const styles$
|
|
21795
|
+
const styles$F = css `
|
|
21822
21796
|
${display('grid')}
|
|
21823
21797
|
|
|
21824
21798
|
dialog {
|
|
@@ -22073,12 +22047,12 @@
|
|
|
22073
22047
|
const nimbleDialog = Dialog.compose({
|
|
22074
22048
|
baseName: 'dialog',
|
|
22075
22049
|
template: template$t,
|
|
22076
|
-
styles: styles$
|
|
22050
|
+
styles: styles$F,
|
|
22077
22051
|
baseClass: Dialog
|
|
22078
22052
|
});
|
|
22079
22053
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDialog());
|
|
22080
22054
|
|
|
22081
|
-
const styles$
|
|
22055
|
+
const styles$E = css `
|
|
22082
22056
|
${display('block')}
|
|
22083
22057
|
|
|
22084
22058
|
:host {
|
|
@@ -22375,7 +22349,7 @@
|
|
|
22375
22349
|
const nimbleDrawer = Drawer.compose({
|
|
22376
22350
|
baseName: 'drawer',
|
|
22377
22351
|
template: template$s,
|
|
22378
|
-
styles: styles$
|
|
22352
|
+
styles: styles$E
|
|
22379
22353
|
});
|
|
22380
22354
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDrawer());
|
|
22381
22355
|
|
|
@@ -24605,7 +24579,7 @@
|
|
|
24605
24579
|
}
|
|
24606
24580
|
}
|
|
24607
24581
|
|
|
24608
|
-
const styles$
|
|
24582
|
+
const styles$D = css `
|
|
24609
24583
|
${display('none')}
|
|
24610
24584
|
`;
|
|
24611
24585
|
|
|
@@ -24654,7 +24628,7 @@
|
|
|
24654
24628
|
], LabelProviderCore.prototype, "filterNoResults", void 0);
|
|
24655
24629
|
const nimbleLabelProviderCore = LabelProviderCore.compose({
|
|
24656
24630
|
baseName: 'label-provider-core',
|
|
24657
|
-
styles: styles$
|
|
24631
|
+
styles: styles$D
|
|
24658
24632
|
});
|
|
24659
24633
|
DesignSystem.getOrCreate()
|
|
24660
24634
|
.withPrefix('nimble')
|
|
@@ -24821,13 +24795,13 @@
|
|
|
24821
24795
|
], LabelProviderTable.prototype, "groupRowPlaceholderEmpty", void 0);
|
|
24822
24796
|
const nimbleLabelProviderTable = LabelProviderTable.compose({
|
|
24823
24797
|
baseName: 'label-provider-table',
|
|
24824
|
-
styles: styles$
|
|
24798
|
+
styles: styles$D
|
|
24825
24799
|
});
|
|
24826
24800
|
DesignSystem.getOrCreate()
|
|
24827
24801
|
.withPrefix('nimble')
|
|
24828
24802
|
.register(nimbleLabelProviderTable());
|
|
24829
24803
|
|
|
24830
|
-
const styles$
|
|
24804
|
+
const styles$C = css `
|
|
24831
24805
|
${display('flex')}
|
|
24832
24806
|
|
|
24833
24807
|
:host {
|
|
@@ -25000,7 +24974,7 @@
|
|
|
25000
24974
|
baseName: 'list-option',
|
|
25001
24975
|
baseClass: ListboxOption,
|
|
25002
24976
|
template: template$r,
|
|
25003
|
-
styles: styles$
|
|
24977
|
+
styles: styles$C
|
|
25004
24978
|
});
|
|
25005
24979
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListOption());
|
|
25006
24980
|
const listOptionTag = 'nimble-list-option';
|
|
@@ -25016,7 +24990,7 @@
|
|
|
25016
24990
|
|
|
25017
24991
|
const template$q = html `<template slot="mapping"></template>`;
|
|
25018
24992
|
|
|
25019
|
-
const styles$
|
|
24993
|
+
const styles$B = css `
|
|
25020
24994
|
${display('none')}
|
|
25021
24995
|
`;
|
|
25022
24996
|
|
|
@@ -25033,7 +25007,7 @@
|
|
|
25033
25007
|
const emptyMapping = MappingEmpty.compose({
|
|
25034
25008
|
baseName: 'mapping-empty',
|
|
25035
25009
|
template: template$q,
|
|
25036
|
-
styles: styles$
|
|
25010
|
+
styles: styles$B
|
|
25037
25011
|
});
|
|
25038
25012
|
DesignSystem.getOrCreate().withPrefix('nimble').register(emptyMapping());
|
|
25039
25013
|
|
|
@@ -25104,7 +25078,7 @@
|
|
|
25104
25078
|
const iconMapping = MappingIcon.compose({
|
|
25105
25079
|
baseName: 'mapping-icon',
|
|
25106
25080
|
template: template$q,
|
|
25107
|
-
styles: styles$
|
|
25081
|
+
styles: styles$B
|
|
25108
25082
|
});
|
|
25109
25083
|
DesignSystem.getOrCreate().withPrefix('nimble').register(iconMapping());
|
|
25110
25084
|
|
|
@@ -25128,7 +25102,7 @@
|
|
|
25128
25102
|
const spinnerMapping = MappingSpinner.compose({
|
|
25129
25103
|
baseName: 'mapping-spinner',
|
|
25130
25104
|
template: template$q,
|
|
25131
|
-
styles: styles$
|
|
25105
|
+
styles: styles$B
|
|
25132
25106
|
});
|
|
25133
25107
|
DesignSystem.getOrCreate().withPrefix('nimble').register(spinnerMapping());
|
|
25134
25108
|
|
|
@@ -25145,11 +25119,11 @@
|
|
|
25145
25119
|
const textMapping = MappingText.compose({
|
|
25146
25120
|
baseName: 'mapping-text',
|
|
25147
25121
|
template: template$q,
|
|
25148
|
-
styles: styles$
|
|
25122
|
+
styles: styles$B
|
|
25149
25123
|
});
|
|
25150
25124
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textMapping());
|
|
25151
25125
|
|
|
25152
|
-
const styles$
|
|
25126
|
+
const styles$A = css `
|
|
25153
25127
|
${display('grid')}
|
|
25154
25128
|
|
|
25155
25129
|
:host {
|
|
@@ -25221,7 +25195,7 @@
|
|
|
25221
25195
|
baseName: 'menu',
|
|
25222
25196
|
baseClass: Menu$1,
|
|
25223
25197
|
template: menuTemplate,
|
|
25224
|
-
styles: styles$
|
|
25198
|
+
styles: styles$A
|
|
25225
25199
|
});
|
|
25226
25200
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenu());
|
|
25227
25201
|
|
|
@@ -25238,7 +25212,7 @@
|
|
|
25238
25212
|
auto: 'auto'
|
|
25239
25213
|
};
|
|
25240
25214
|
|
|
25241
|
-
const styles$
|
|
25215
|
+
const styles$z = css `
|
|
25242
25216
|
${display('inline-block')}
|
|
25243
25217
|
|
|
25244
25218
|
:host {
|
|
@@ -25508,7 +25482,7 @@
|
|
|
25508
25482
|
const nimbleMenuButton = MenuButton.compose({
|
|
25509
25483
|
baseName: 'menu-button',
|
|
25510
25484
|
template: template$p,
|
|
25511
|
-
styles: styles$
|
|
25485
|
+
styles: styles$z,
|
|
25512
25486
|
shadowOptions: {
|
|
25513
25487
|
delegatesFocus: true
|
|
25514
25488
|
}
|
|
@@ -25516,7 +25490,7 @@
|
|
|
25516
25490
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuButton());
|
|
25517
25491
|
const menuButtonTag = 'nimble-menu-button';
|
|
25518
25492
|
|
|
25519
|
-
const styles$
|
|
25493
|
+
const styles$y = css `
|
|
25520
25494
|
${display('grid')}
|
|
25521
25495
|
|
|
25522
25496
|
:host {
|
|
@@ -25614,7 +25588,7 @@
|
|
|
25614
25588
|
baseName: 'menu-item',
|
|
25615
25589
|
baseClass: MenuItem$1,
|
|
25616
25590
|
template: menuItemTemplate,
|
|
25617
|
-
styles: styles$
|
|
25591
|
+
styles: styles$y,
|
|
25618
25592
|
expandCollapseGlyph: arrowExpanderRight16X16.data
|
|
25619
25593
|
});
|
|
25620
25594
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuItem());
|
|
@@ -25628,9 +25602,9 @@
|
|
|
25628
25602
|
block: 'block'
|
|
25629
25603
|
};
|
|
25630
25604
|
|
|
25631
|
-
const styles$
|
|
25605
|
+
const styles$x = css `
|
|
25632
25606
|
${display('inline-block')}
|
|
25633
|
-
${styles$
|
|
25607
|
+
${styles$H}
|
|
25634
25608
|
|
|
25635
25609
|
:host {
|
|
25636
25610
|
font: ${bodyFont};
|
|
@@ -25844,7 +25818,7 @@
|
|
|
25844
25818
|
baseName: 'number-field',
|
|
25845
25819
|
baseClass: NumberField$1,
|
|
25846
25820
|
template: numberFieldTemplate,
|
|
25847
|
-
styles: styles$
|
|
25821
|
+
styles: styles$x,
|
|
25848
25822
|
shadowOptions: {
|
|
25849
25823
|
delegatesFocus: true
|
|
25850
25824
|
},
|
|
@@ -25887,7 +25861,7 @@
|
|
|
25887
25861
|
});
|
|
25888
25862
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleNumberField());
|
|
25889
25863
|
|
|
25890
|
-
const styles$
|
|
25864
|
+
const styles$w = css `
|
|
25891
25865
|
${display('inline-flex')}
|
|
25892
25866
|
|
|
25893
25867
|
:host {
|
|
@@ -25988,12 +25962,12 @@
|
|
|
25988
25962
|
baseName: 'radio',
|
|
25989
25963
|
baseClass: Radio$1,
|
|
25990
25964
|
template: radioTemplate,
|
|
25991
|
-
styles: styles$
|
|
25965
|
+
styles: styles$w,
|
|
25992
25966
|
checkedIndicator: circleFilled16X16.data
|
|
25993
25967
|
});
|
|
25994
25968
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadio());
|
|
25995
25969
|
|
|
25996
|
-
const styles$
|
|
25970
|
+
const styles$v = css `
|
|
25997
25971
|
${display('inline-block')}
|
|
25998
25972
|
|
|
25999
25973
|
.positioning-region {
|
|
@@ -26028,7 +26002,7 @@
|
|
|
26028
26002
|
baseName: 'radio-group',
|
|
26029
26003
|
baseClass: RadioGroup$1,
|
|
26030
26004
|
template: radioGroupTemplate,
|
|
26031
|
-
styles: styles$
|
|
26005
|
+
styles: styles$v,
|
|
26032
26006
|
shadowOptions: {
|
|
26033
26007
|
delegatesFocus: true
|
|
26034
26008
|
}
|
|
@@ -43693,7 +43667,7 @@ img.ProseMirror-separator {
|
|
|
43693
43667
|
},
|
|
43694
43668
|
});
|
|
43695
43669
|
|
|
43696
|
-
const styles$
|
|
43670
|
+
const styles$u = css `
|
|
43697
43671
|
${display('inline')}
|
|
43698
43672
|
|
|
43699
43673
|
.positioning-region {
|
|
@@ -43730,7 +43704,7 @@ img.ProseMirror-separator {
|
|
|
43730
43704
|
baseName: 'toolbar',
|
|
43731
43705
|
baseClass: Toolbar$1,
|
|
43732
43706
|
template: toolbarTemplate,
|
|
43733
|
-
styles: styles$
|
|
43707
|
+
styles: styles$u,
|
|
43734
43708
|
shadowOptions: {
|
|
43735
43709
|
delegatesFocus: true
|
|
43736
43710
|
}
|
|
@@ -43762,8 +43736,8 @@ img.ProseMirror-separator {
|
|
|
43762
43736
|
cssCustomPropertyName: null
|
|
43763
43737
|
}).withDefault(richTextLabelDefaults.richTextToggleNumberedListLabel);
|
|
43764
43738
|
|
|
43765
|
-
const styles$
|
|
43766
|
-
${styles$
|
|
43739
|
+
const styles$t = css `
|
|
43740
|
+
${styles$I}
|
|
43767
43741
|
|
|
43768
43742
|
:host {
|
|
43769
43743
|
height: auto;
|
|
@@ -43780,42 +43754,6 @@ img.ProseMirror-separator {
|
|
|
43780
43754
|
}
|
|
43781
43755
|
`;
|
|
43782
43756
|
|
|
43783
|
-
const styles$t = css `
|
|
43784
|
-
${display('inline-flex')}
|
|
43785
|
-
|
|
43786
|
-
:host {
|
|
43787
|
-
background: ${applicationBackgroundColor};
|
|
43788
|
-
border: ${borderWidth} solid ${popupBorderColor};
|
|
43789
|
-
flex-direction: column;
|
|
43790
|
-
margin: 0;
|
|
43791
|
-
min-width: ${menuMinWidth};
|
|
43792
|
-
box-shadow: ${elevation2BoxShadow};
|
|
43793
|
-
color: ${bodyFontColor};
|
|
43794
|
-
font: ${bodyFont};
|
|
43795
|
-
}
|
|
43796
|
-
|
|
43797
|
-
:host(:focus) {
|
|
43798
|
-
outline: 0px;
|
|
43799
|
-
}
|
|
43800
|
-
|
|
43801
|
-
slot {
|
|
43802
|
-
padding: ${smallPadding};
|
|
43803
|
-
display: block;
|
|
43804
|
-
}
|
|
43805
|
-
`;
|
|
43806
|
-
|
|
43807
|
-
/**
|
|
43808
|
-
* A nimble-styled HTML list box
|
|
43809
|
-
*/
|
|
43810
|
-
class Listbox extends ListboxElement {
|
|
43811
|
-
}
|
|
43812
|
-
const nimbleListbox = Listbox.compose({
|
|
43813
|
-
baseName: 'listbox',
|
|
43814
|
-
template: listboxTemplate,
|
|
43815
|
-
styles: styles$t
|
|
43816
|
-
});
|
|
43817
|
-
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListbox());
|
|
43818
|
-
|
|
43819
43757
|
// prettier-ignore
|
|
43820
43758
|
const template$o = html `
|
|
43821
43759
|
<template>
|
|
@@ -43838,7 +43776,7 @@ img.ProseMirror-separator {
|
|
|
43838
43776
|
?disabled="${x => x.disabled}"
|
|
43839
43777
|
>
|
|
43840
43778
|
<slot
|
|
43841
|
-
${slotted({ filter: (n) => n instanceof HTMLElement &&
|
|
43779
|
+
${slotted({ filter: (n) => n instanceof HTMLElement && ListboxElement.slottedOptionFilter(n), flatten: true, property: 'slottedOptions' })}
|
|
43842
43780
|
>
|
|
43843
43781
|
</slot>
|
|
43844
43782
|
</div>
|
|
@@ -44079,7 +44017,7 @@ img.ProseMirror-separator {
|
|
|
44079
44017
|
const nimbleRichTextMentionListbox = RichTextMentionListbox.compose({
|
|
44080
44018
|
baseName: 'rich-text-mention-listbox',
|
|
44081
44019
|
template: template$o,
|
|
44082
|
-
styles: styles$
|
|
44020
|
+
styles: styles$t
|
|
44083
44021
|
});
|
|
44084
44022
|
DesignSystem.getOrCreate()
|
|
44085
44023
|
.withPrefix('nimble')
|
|
@@ -44191,7 +44129,7 @@ img.ProseMirror-separator {
|
|
|
44191
44129
|
|
|
44192
44130
|
const styles$s = css `
|
|
44193
44131
|
${display('inline-flex')}
|
|
44194
|
-
${styles$
|
|
44132
|
+
${styles$H}
|
|
44195
44133
|
|
|
44196
44134
|
:host {
|
|
44197
44135
|
font: ${bodyFont};
|
|
@@ -59068,8 +59006,8 @@ img.ProseMirror-separator {
|
|
|
59068
59006
|
.register(nimbleRichTextViewer());
|
|
59069
59007
|
|
|
59070
59008
|
const styles$q = css `
|
|
59071
|
-
${styles$J}
|
|
59072
59009
|
${styles$I}
|
|
59010
|
+
${styles$H}
|
|
59073
59011
|
|
|
59074
59012
|
${
|
|
59075
59013
|
/* We are using flex `order` to define the visual ordering of the selected value,
|
|
@@ -70772,7 +70710,7 @@ img.ProseMirror-separator {
|
|
|
70772
70710
|
|
|
70773
70711
|
const styles$6 = css `
|
|
70774
70712
|
${display('inline-flex')}
|
|
70775
|
-
${styles$
|
|
70713
|
+
${styles$H}
|
|
70776
70714
|
|
|
70777
70715
|
:host {
|
|
70778
70716
|
font: ${bodyFont};
|
|
@@ -71118,7 +71056,7 @@ img.ProseMirror-separator {
|
|
|
71118
71056
|
|
|
71119
71057
|
const styles$5 = css `
|
|
71120
71058
|
${display('inline-block')}
|
|
71121
|
-
${styles$
|
|
71059
|
+
${styles$H}
|
|
71122
71060
|
|
|
71123
71061
|
:host {
|
|
71124
71062
|
font: ${bodyFont};
|