@ni/spright-components 1.0.6 → 1.0.8
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.
|
@@ -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$I = html `<slot></slot>`;
|
|
16739
16713
|
|
|
16740
|
-
const styles
|
|
16714
|
+
const styles$$ = css `
|
|
16741
16715
|
${display$1('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$I
|
|
16857
16831
|
});
|
|
16858
16832
|
DesignSystem.getOrCreate()
|
|
@@ -17038,7 +17012,7 @@
|
|
|
17038
17012
|
}
|
|
17039
17013
|
}
|
|
17040
17014
|
|
|
17041
|
-
const styles
|
|
17015
|
+
const styles$_ = 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$H,
|
|
17225
|
-
styles: styles
|
|
17199
|
+
styles: styles$_,
|
|
17226
17200
|
shadowOptions: {
|
|
17227
17201
|
delegatesFocus: true
|
|
17228
17202
|
}
|
|
@@ -17239,6 +17213,15 @@
|
|
|
17239
17213
|
ghost: 'ghost',
|
|
17240
17214
|
block: 'block'
|
|
17241
17215
|
};
|
|
17216
|
+
/**
|
|
17217
|
+
* Types of button appearance variants.
|
|
17218
|
+
* @public
|
|
17219
|
+
*/
|
|
17220
|
+
const ButtonAppearanceVariant = {
|
|
17221
|
+
default: undefined,
|
|
17222
|
+
primary: 'primary',
|
|
17223
|
+
accent: 'accent'
|
|
17224
|
+
};
|
|
17242
17225
|
|
|
17243
17226
|
/**
|
|
17244
17227
|
* A behavior to add or remove a stylesheet from an element based on a property. The behavior ensures that
|
|
@@ -17325,7 +17308,7 @@
|
|
|
17325
17308
|
padding: 0;
|
|
17326
17309
|
`;
|
|
17327
17310
|
|
|
17328
|
-
const styles$
|
|
17311
|
+
const styles$Z = css `
|
|
17329
17312
|
@layer base, checked, hover, focusVisible, active, disabled, top;
|
|
17330
17313
|
|
|
17331
17314
|
@layer base {
|
|
@@ -17603,8 +17586,8 @@
|
|
|
17603
17586
|
}
|
|
17604
17587
|
`));
|
|
17605
17588
|
|
|
17606
|
-
const styles$
|
|
17607
|
-
${styles$
|
|
17589
|
+
const styles$Y = css `
|
|
17590
|
+
${styles$Z}
|
|
17608
17591
|
${buttonAppearanceVariantStyles}
|
|
17609
17592
|
|
|
17610
17593
|
.control {
|
|
@@ -17707,7 +17690,7 @@
|
|
|
17707
17690
|
const nimbleAnchorButton = AnchorButton.compose({
|
|
17708
17691
|
baseName: 'anchor-button',
|
|
17709
17692
|
template: template$G,
|
|
17710
|
-
styles: styles$
|
|
17693
|
+
styles: styles$Y,
|
|
17711
17694
|
shadowOptions: {
|
|
17712
17695
|
delegatesFocus: true
|
|
17713
17696
|
}
|
|
@@ -17715,7 +17698,7 @@
|
|
|
17715
17698
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorButton());
|
|
17716
17699
|
const anchorButtonTag = 'nimble-anchor-button';
|
|
17717
17700
|
|
|
17718
|
-
const styles$
|
|
17701
|
+
const styles$X = css `
|
|
17719
17702
|
${display$1('grid')}
|
|
17720
17703
|
|
|
17721
17704
|
:host {
|
|
@@ -17901,7 +17884,7 @@
|
|
|
17901
17884
|
const nimbleAnchorMenuItem = AnchorMenuItem.compose({
|
|
17902
17885
|
baseName: 'anchor-menu-item',
|
|
17903
17886
|
template: template$F,
|
|
17904
|
-
styles: styles$
|
|
17887
|
+
styles: styles$X,
|
|
17905
17888
|
shadowOptions: {
|
|
17906
17889
|
delegatesFocus: true
|
|
17907
17890
|
}
|
|
@@ -17911,7 +17894,7 @@
|
|
|
17911
17894
|
.register(nimbleAnchorMenuItem());
|
|
17912
17895
|
const anchorMenuItemTag = 'nimble-anchor-menu-item';
|
|
17913
17896
|
|
|
17914
|
-
const styles$
|
|
17897
|
+
const styles$W = css `
|
|
17915
17898
|
${display$1('inline-flex')}
|
|
17916
17899
|
|
|
17917
17900
|
:host {
|
|
@@ -18081,14 +18064,14 @@
|
|
|
18081
18064
|
const nimbleAnchorTab = AnchorTab.compose({
|
|
18082
18065
|
baseName: 'anchor-tab',
|
|
18083
18066
|
template: template$E,
|
|
18084
|
-
styles: styles$
|
|
18067
|
+
styles: styles$W,
|
|
18085
18068
|
shadowOptions: {
|
|
18086
18069
|
delegatesFocus: true
|
|
18087
18070
|
}
|
|
18088
18071
|
});
|
|
18089
18072
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTab());
|
|
18090
18073
|
|
|
18091
|
-
const styles$
|
|
18074
|
+
const styles$V = css `
|
|
18092
18075
|
${display$1('grid')}
|
|
18093
18076
|
|
|
18094
18077
|
:host {
|
|
@@ -18317,7 +18300,7 @@
|
|
|
18317
18300
|
const nimbleAnchorTabs = AnchorTabs.compose({
|
|
18318
18301
|
baseName: 'anchor-tabs',
|
|
18319
18302
|
template: template$D,
|
|
18320
|
-
styles: styles$
|
|
18303
|
+
styles: styles$V,
|
|
18321
18304
|
shadowOptions: {
|
|
18322
18305
|
delegatesFocus: false
|
|
18323
18306
|
}
|
|
@@ -18333,7 +18316,7 @@
|
|
|
18333
18316
|
-webkit-user-select: none;
|
|
18334
18317
|
`;
|
|
18335
18318
|
|
|
18336
|
-
const styles$
|
|
18319
|
+
const styles$U = css `
|
|
18337
18320
|
${display$1('block')}
|
|
18338
18321
|
|
|
18339
18322
|
:host {
|
|
@@ -18577,7 +18560,7 @@
|
|
|
18577
18560
|
const nimbleAnchorTreeItem = AnchorTreeItem.compose({
|
|
18578
18561
|
baseName: 'anchor-tree-item',
|
|
18579
18562
|
template: template$C,
|
|
18580
|
-
styles: styles$
|
|
18563
|
+
styles: styles$U,
|
|
18581
18564
|
shadowOptions: {
|
|
18582
18565
|
delegatesFocus: true
|
|
18583
18566
|
}
|
|
@@ -18593,7 +18576,7 @@
|
|
|
18593
18576
|
zIndex1000: '1000'
|
|
18594
18577
|
};
|
|
18595
18578
|
|
|
18596
|
-
const styles$
|
|
18579
|
+
const styles$T = css `
|
|
18597
18580
|
${display$1('block')}
|
|
18598
18581
|
|
|
18599
18582
|
:host {
|
|
@@ -18624,7 +18607,7 @@
|
|
|
18624
18607
|
baseName: 'anchored-region',
|
|
18625
18608
|
baseClass: AnchoredRegion$1,
|
|
18626
18609
|
template: anchoredRegionTemplate,
|
|
18627
|
-
styles: styles$
|
|
18610
|
+
styles: styles$T
|
|
18628
18611
|
});
|
|
18629
18612
|
DesignSystem.getOrCreate()
|
|
18630
18613
|
.withPrefix('nimble')
|
|
@@ -18704,7 +18687,7 @@
|
|
|
18704
18687
|
*/
|
|
18705
18688
|
const themeBehavior = (theme, styles) => new ThemeStyleSheetBehavior(theme, styles);
|
|
18706
18689
|
|
|
18707
|
-
const styles$
|
|
18690
|
+
const styles$S = css `
|
|
18708
18691
|
${display$1('flex')}
|
|
18709
18692
|
|
|
18710
18693
|
:host {
|
|
@@ -18712,8 +18695,6 @@
|
|
|
18712
18695
|
font-size: 12.8px;
|
|
18713
18696
|
align-items: top;
|
|
18714
18697
|
overflow: hidden;
|
|
18715
|
-
color: ${White};
|
|
18716
|
-
${iconColor.cssCustomProperty}: ${hexToRgbaCssColor(White, 0.6)};
|
|
18717
18698
|
}
|
|
18718
18699
|
|
|
18719
18700
|
:host(:not([open])) {
|
|
@@ -18721,6 +18702,7 @@
|
|
|
18721
18702
|
}
|
|
18722
18703
|
|
|
18723
18704
|
.container {
|
|
18705
|
+
color: ${bodyFontColor};
|
|
18724
18706
|
display: flex;
|
|
18725
18707
|
width: 100%;
|
|
18726
18708
|
}
|
|
@@ -18731,6 +18713,7 @@
|
|
|
18731
18713
|
justify-content: center;
|
|
18732
18714
|
margin-top: 8px;
|
|
18733
18715
|
flex: 0 0 auto;
|
|
18716
|
+
opacity: 0.6;
|
|
18734
18717
|
}
|
|
18735
18718
|
|
|
18736
18719
|
.text {
|
|
@@ -18757,6 +18740,8 @@
|
|
|
18757
18740
|
align-items: center;
|
|
18758
18741
|
justify-content: center;
|
|
18759
18742
|
align-self: flex-start;
|
|
18743
|
+
margin-top: ${smallPadding};
|
|
18744
|
+
${controlHeight.cssCustomProperty}: ${controlSlimHeight};
|
|
18760
18745
|
}
|
|
18761
18746
|
|
|
18762
18747
|
slot[name='action'] {
|
|
@@ -18767,44 +18752,14 @@
|
|
|
18767
18752
|
}
|
|
18768
18753
|
|
|
18769
18754
|
slot[name='action']::slotted(nimble-anchor) {
|
|
18770
|
-
${linkFontColor.cssCustomProperty}: ${White};
|
|
18771
|
-
${linkDisabledFontColor.cssCustomProperty}: ${White};
|
|
18772
|
-
${linkActiveFontColor.cssCustomProperty}: ${hexToRgbaCssColor(White, 0.6)};
|
|
18773
18755
|
font-size: 12.8px;
|
|
18774
18756
|
}
|
|
18775
18757
|
|
|
18776
|
-
slot[name='action']::slotted(nimble-button) {
|
|
18777
|
-
${controlHeight.cssCustomProperty}: ${controlSlimHeight};
|
|
18778
|
-
${buttonLabelFontColor.cssCustomProperty}: ${White};
|
|
18779
|
-
${fillSelectedColor.cssCustomProperty}: ${hexToRgbaCssColor(White, 0.2)};
|
|
18780
|
-
${borderHoverColor.cssCustomProperty}: ${White};
|
|
18781
|
-
}
|
|
18782
|
-
|
|
18783
|
-
slot[name='action']::slotted(nimble-button[appearance='outline']) {
|
|
18784
|
-
${actionRgbPartialColor.cssCustomProperty}: ${White}
|
|
18785
|
-
}
|
|
18786
|
-
|
|
18787
18758
|
.dismiss {
|
|
18788
18759
|
width: 48px;
|
|
18789
18760
|
display: flex;
|
|
18790
18761
|
justify-content: center;
|
|
18791
18762
|
}
|
|
18792
|
-
|
|
18793
|
-
.dismiss nimble-button {
|
|
18794
|
-
${controlHeight.cssCustomProperty}: 16px;
|
|
18795
|
-
${iconSize.cssCustomProperty}: 14px;
|
|
18796
|
-
${buttonLabelFontColor.cssCustomProperty}: ${White};
|
|
18797
|
-
${borderHoverColor.cssCustomProperty}: transparent;
|
|
18798
|
-
${fillSelectedColor.cssCustomProperty}: ${hexToRgbaCssColor(White, 0.2)};
|
|
18799
|
-
}
|
|
18800
|
-
|
|
18801
|
-
.dismiss nimble-button:focus-within {
|
|
18802
|
-
outline: 2px solid ${White};
|
|
18803
|
-
}
|
|
18804
|
-
|
|
18805
|
-
.dismiss nimble-button:hover {
|
|
18806
|
-
background: ${hexToRgbaCssColor(White, 0.2)};
|
|
18807
|
-
}
|
|
18808
18763
|
`.withBehaviors(themeBehavior(Theme.light, css `
|
|
18809
18764
|
:host {
|
|
18810
18765
|
background: ${Black75};
|
|
@@ -18847,8 +18802,8 @@
|
|
|
18847
18802
|
}
|
|
18848
18803
|
`));
|
|
18849
18804
|
|
|
18850
|
-
const styles$
|
|
18851
|
-
${styles$
|
|
18805
|
+
const styles$R = css `
|
|
18806
|
+
${styles$Z}
|
|
18852
18807
|
${buttonAppearanceVariantStyles}
|
|
18853
18808
|
`;
|
|
18854
18809
|
|
|
@@ -18944,7 +18899,7 @@
|
|
|
18944
18899
|
baseName: 'button',
|
|
18945
18900
|
baseClass: Button$1,
|
|
18946
18901
|
template: template$B,
|
|
18947
|
-
styles: styles$
|
|
18902
|
+
styles: styles$R,
|
|
18948
18903
|
shadowOptions: {
|
|
18949
18904
|
delegatesFocus: true
|
|
18950
18905
|
}
|
|
@@ -19701,7 +19656,7 @@
|
|
|
19701
19656
|
:innerHTML=${x => x.icon.data}
|
|
19702
19657
|
></div>`;
|
|
19703
19658
|
|
|
19704
|
-
const styles$
|
|
19659
|
+
const styles$Q = css `
|
|
19705
19660
|
${display$1('inline-flex')}
|
|
19706
19661
|
|
|
19707
19662
|
:host {
|
|
@@ -19755,7 +19710,7 @@
|
|
|
19755
19710
|
const composedIcon = iconClass.compose({
|
|
19756
19711
|
baseName,
|
|
19757
19712
|
template: template$A,
|
|
19758
|
-
styles: styles$
|
|
19713
|
+
styles: styles$Q
|
|
19759
19714
|
});
|
|
19760
19715
|
DesignSystem.getOrCreate().withPrefix('nimble').register(composedIcon());
|
|
19761
19716
|
};
|
|
@@ -19802,15 +19757,15 @@
|
|
|
19802
19757
|
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
19803
19758
|
// See generation source in nimble-components/build/generate-icons
|
|
19804
19759
|
/**
|
|
19805
|
-
* The icon component for the '
|
|
19760
|
+
* The icon component for the 'times' icon
|
|
19806
19761
|
*/
|
|
19807
|
-
class
|
|
19762
|
+
class IconTimes extends Icon {
|
|
19808
19763
|
constructor() {
|
|
19809
|
-
super(
|
|
19764
|
+
super(times16X16);
|
|
19810
19765
|
}
|
|
19811
19766
|
}
|
|
19812
|
-
registerIcon('icon-
|
|
19813
|
-
const
|
|
19767
|
+
registerIcon('icon-times', IconTimes);
|
|
19768
|
+
const iconTimesTag = 'nimble-icon-times';
|
|
19814
19769
|
|
|
19815
19770
|
/**
|
|
19816
19771
|
* Severities of banners.
|
|
@@ -19869,56 +19824,58 @@
|
|
|
19869
19824
|
|
|
19870
19825
|
// prettier-ignore
|
|
19871
19826
|
const template$z = html `
|
|
19872
|
-
|
|
19873
|
-
|
|
19874
|
-
|
|
19875
|
-
|
|
19876
|
-
|
|
19877
|
-
|
|
19878
|
-
|
|
19879
|
-
|
|
19880
|
-
|
|
19881
|
-
|
|
19882
|
-
|
|
19883
|
-
|
|
19884
|
-
|
|
19885
|
-
|
|
19886
|
-
|
|
19887
|
-
|
|
19888
|
-
|
|
19889
|
-
|
|
19890
|
-
|
|
19891
|
-
|
|
19892
|
-
|
|
19893
|
-
|
|
19894
|
-
|
|
19895
|
-
|
|
19896
|
-
|
|
19897
|
-
|
|
19898
|
-
|
|
19899
|
-
|
|
19900
|
-
|
|
19901
|
-
|
|
19902
|
-
${when(x => x.severity === BannerSeverity.information, html `
|
|
19903
|
-
<${iconInfoTag} role="img" aria-label="${x => popupIconInformationLabel.getValueFor(x)}"></${iconInfoTag}>
|
|
19904
|
-
`)}
|
|
19905
|
-
</div>
|
|
19906
|
-
<div class="text">
|
|
19907
|
-
<slot name="title" id="titleSlot"></slot>
|
|
19908
|
-
<slot></slot>
|
|
19909
|
-
</div>
|
|
19910
|
-
<div class="controls">
|
|
19911
|
-
<slot name="action"></slot>
|
|
19912
|
-
<div class="dismiss">
|
|
19913
|
-
${when(x => !x.preventDismiss, html `
|
|
19914
|
-
<${buttonTag} appearance="ghost" content-hidden @click="${x => x.dismissBanner()}">
|
|
19915
|
-
<${iconXmarkTag} slot="start"></${iconXmarkTag}>
|
|
19916
|
-
${x => popupDismissLabel.getValueFor(x)}
|
|
19917
|
-
</${buttonTag}>
|
|
19827
|
+
<${themeProviderTag} theme="${Theme.color}">
|
|
19828
|
+
<div class="container"
|
|
19829
|
+
role="status"
|
|
19830
|
+
aria-atomic="${x => x.ariaAtomic}"
|
|
19831
|
+
aria-busy="${x => x.ariaBusy}"
|
|
19832
|
+
aria-controls="${x => x.ariaControls}"
|
|
19833
|
+
aria-current="${x => x.ariaCurrent}"
|
|
19834
|
+
aria-describedby="${x => x.ariaDescribedby}"
|
|
19835
|
+
aria-details="${x => x.ariaDetails}"
|
|
19836
|
+
aria-disabled="${x => x.ariaDisabled}"
|
|
19837
|
+
aria-errormessage="${x => x.ariaErrormessage}"
|
|
19838
|
+
aria-expanded="${x => x.ariaExpanded}"
|
|
19839
|
+
aria-flowto="${x => x.ariaFlowto}"
|
|
19840
|
+
aria-haspopup="${x => x.ariaHaspopup}"
|
|
19841
|
+
aria-hidden="${x => x.ariaHidden}"
|
|
19842
|
+
aria-invalid="${x => x.ariaInvalid}"
|
|
19843
|
+
aria-keyshortcuts="${x => x.ariaKeyshortcuts}"
|
|
19844
|
+
aria-label="${x => x.ariaLabel}"
|
|
19845
|
+
aria-labelledby="titleSlot"
|
|
19846
|
+
aria-live="${x => x.ariaLive}"
|
|
19847
|
+
aria-owns="${x => x.ariaOwns}"
|
|
19848
|
+
aria-relevant="${x => x.ariaRelevant}"
|
|
19849
|
+
aria-roledescription="${x => x.ariaRoledescription}"
|
|
19850
|
+
>
|
|
19851
|
+
<div class="icon">
|
|
19852
|
+
${when(x => x.severity === BannerSeverity.error, html `
|
|
19853
|
+
<${iconExclamationMarkTag} role="img" aria-label="${x => popupIconErrorLabel.getValueFor(x)}"></${iconExclamationMarkTag}>
|
|
19854
|
+
`)}
|
|
19855
|
+
${when(x => x.severity === BannerSeverity.warning, html `
|
|
19856
|
+
<${iconTriangleFilledTag} role="img" aria-label="${x => popupIconWarningLabel.getValueFor(x)}"></${iconTriangleFilledTag}>
|
|
19918
19857
|
`)}
|
|
19858
|
+
${when(x => x.severity === BannerSeverity.information, html `
|
|
19859
|
+
<${iconInfoTag} role="img" aria-label="${x => popupIconInformationLabel.getValueFor(x)}"></${iconInfoTag}>
|
|
19860
|
+
`)}
|
|
19861
|
+
</div>
|
|
19862
|
+
<div class="text">
|
|
19863
|
+
<slot name="title" id="titleSlot"></slot>
|
|
19864
|
+
<slot></slot>
|
|
19865
|
+
</div>
|
|
19866
|
+
<div class="controls">
|
|
19867
|
+
<slot name="action"></slot>
|
|
19868
|
+
<div class="dismiss">
|
|
19869
|
+
${when(x => !x.preventDismiss, html `
|
|
19870
|
+
<${buttonTag} appearance="${ButtonAppearance.ghost}" appearance-variant="${ButtonAppearanceVariant.primary}" content-hidden @click="${x => x.dismissBanner()}">
|
|
19871
|
+
<${iconTimesTag} slot="start"></${iconTimesTag}>
|
|
19872
|
+
${x => popupDismissLabel.getValueFor(x)}
|
|
19873
|
+
</${buttonTag}>
|
|
19874
|
+
`)}
|
|
19875
|
+
</div>
|
|
19919
19876
|
</div>
|
|
19920
19877
|
</div>
|
|
19921
|
-
|
|
19878
|
+
</${themeProviderTag}>
|
|
19922
19879
|
`;
|
|
19923
19880
|
|
|
19924
19881
|
/**
|
|
@@ -19985,11 +19942,11 @@
|
|
|
19985
19942
|
const nimbleBanner = Banner.compose({
|
|
19986
19943
|
baseName: 'banner',
|
|
19987
19944
|
template: template$z,
|
|
19988
|
-
styles: styles$
|
|
19945
|
+
styles: styles$S
|
|
19989
19946
|
});
|
|
19990
19947
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBanner());
|
|
19991
19948
|
|
|
19992
|
-
const styles$
|
|
19949
|
+
const styles$P = css `
|
|
19993
19950
|
${display$1('inline-block')}
|
|
19994
19951
|
|
|
19995
19952
|
:host {
|
|
@@ -20030,11 +19987,11 @@
|
|
|
20030
19987
|
baseName: 'breadcrumb',
|
|
20031
19988
|
baseClass: Breadcrumb$1,
|
|
20032
19989
|
template: breadcrumbTemplate,
|
|
20033
|
-
styles: styles$
|
|
19990
|
+
styles: styles$P
|
|
20034
19991
|
});
|
|
20035
19992
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBreadcrumb());
|
|
20036
19993
|
|
|
20037
|
-
const styles$
|
|
19994
|
+
const styles$O = css `
|
|
20038
19995
|
${display$1('inline-flex')}
|
|
20039
19996
|
|
|
20040
19997
|
:host {
|
|
@@ -20112,14 +20069,14 @@
|
|
|
20112
20069
|
baseName: 'breadcrumb-item',
|
|
20113
20070
|
baseClass: BreadcrumbItem$1,
|
|
20114
20071
|
template: breadcrumbItemTemplate,
|
|
20115
|
-
styles: styles$
|
|
20072
|
+
styles: styles$O,
|
|
20116
20073
|
separator: forwardSlash16X16.data
|
|
20117
20074
|
});
|
|
20118
20075
|
DesignSystem.getOrCreate()
|
|
20119
20076
|
.withPrefix('nimble')
|
|
20120
20077
|
.register(nimbleBreadcrumbItem());
|
|
20121
20078
|
|
|
20122
|
-
const styles$
|
|
20079
|
+
const styles$N = css `
|
|
20123
20080
|
${display$1('flex')}
|
|
20124
20081
|
|
|
20125
20082
|
:host {
|
|
@@ -20159,11 +20116,11 @@
|
|
|
20159
20116
|
baseName: 'card',
|
|
20160
20117
|
baseClass: Card$1,
|
|
20161
20118
|
template: template$y,
|
|
20162
|
-
styles: styles$
|
|
20119
|
+
styles: styles$N
|
|
20163
20120
|
});
|
|
20164
20121
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCard());
|
|
20165
20122
|
|
|
20166
|
-
const styles$
|
|
20123
|
+
const styles$M = css `
|
|
20167
20124
|
${display$1('inline-flex')}
|
|
20168
20125
|
|
|
20169
20126
|
:host {
|
|
@@ -20322,14 +20279,14 @@
|
|
|
20322
20279
|
const nimbleCardButton = CardButton.compose({
|
|
20323
20280
|
baseName: 'card-button',
|
|
20324
20281
|
template: buttonTemplate,
|
|
20325
|
-
styles: styles$
|
|
20282
|
+
styles: styles$M,
|
|
20326
20283
|
shadowOptions: {
|
|
20327
20284
|
delegatesFocus: true
|
|
20328
20285
|
}
|
|
20329
20286
|
});
|
|
20330
20287
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCardButton());
|
|
20331
20288
|
|
|
20332
|
-
const styles$
|
|
20289
|
+
const styles$L = css `
|
|
20333
20290
|
${display$1('inline-flex')}
|
|
20334
20291
|
|
|
20335
20292
|
:host {
|
|
@@ -20488,15 +20445,15 @@
|
|
|
20488
20445
|
baseName: 'checkbox',
|
|
20489
20446
|
baseClass: Checkbox$1,
|
|
20490
20447
|
template: template$x,
|
|
20491
|
-
styles: styles$
|
|
20448
|
+
styles: styles$L,
|
|
20492
20449
|
checkedIndicator: check16X16.data,
|
|
20493
20450
|
indeterminateIndicator: minus16X16.data
|
|
20494
20451
|
});
|
|
20495
20452
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCheckbox());
|
|
20496
20453
|
const checkboxTag = 'nimble-checkbox';
|
|
20497
20454
|
|
|
20498
|
-
const styles$
|
|
20499
|
-
${styles$
|
|
20455
|
+
const styles$K = css `
|
|
20456
|
+
${styles$Z}
|
|
20500
20457
|
${buttonAppearanceVariantStyles}
|
|
20501
20458
|
|
|
20502
20459
|
@layer checked {
|
|
@@ -20642,7 +20599,7 @@
|
|
|
20642
20599
|
const nimbleToggleButton = ToggleButton.compose({
|
|
20643
20600
|
baseName: 'toggle-button',
|
|
20644
20601
|
template: template$w,
|
|
20645
|
-
styles: styles$
|
|
20602
|
+
styles: styles$K,
|
|
20646
20603
|
shadowOptions: {
|
|
20647
20604
|
delegatesFocus: true
|
|
20648
20605
|
}
|
|
@@ -20679,7 +20636,7 @@
|
|
|
20679
20636
|
block: 'block'
|
|
20680
20637
|
};
|
|
20681
20638
|
|
|
20682
|
-
const styles$
|
|
20639
|
+
const styles$J = css `
|
|
20683
20640
|
${display$1('inline-flex')}
|
|
20684
20641
|
|
|
20685
20642
|
:host {
|
|
@@ -20899,7 +20856,7 @@
|
|
|
20899
20856
|
}
|
|
20900
20857
|
`));
|
|
20901
20858
|
|
|
20902
|
-
const styles$
|
|
20859
|
+
const styles$I = css `
|
|
20903
20860
|
.error-icon {
|
|
20904
20861
|
display: none;
|
|
20905
20862
|
}
|
|
@@ -20946,9 +20903,9 @@
|
|
|
20946
20903
|
standard: 'standard'
|
|
20947
20904
|
};
|
|
20948
20905
|
|
|
20949
|
-
const styles$
|
|
20950
|
-
${styles$K}
|
|
20906
|
+
const styles$H = css `
|
|
20951
20907
|
${styles$J}
|
|
20908
|
+
${styles$I}
|
|
20952
20909
|
|
|
20953
20910
|
:host {
|
|
20954
20911
|
--ni-private-hover-bottom-border-width: 2px;
|
|
@@ -21147,7 +21104,7 @@
|
|
|
21147
21104
|
>
|
|
21148
21105
|
<slot
|
|
21149
21106
|
${slotted({
|
|
21150
|
-
filter: (n) => n instanceof HTMLElement && Listbox
|
|
21107
|
+
filter: (n) => n instanceof HTMLElement && Listbox.slottedOptionFilter(n),
|
|
21151
21108
|
flatten: true,
|
|
21152
21109
|
property: 'slottedOptions',
|
|
21153
21110
|
})}
|
|
@@ -21790,7 +21747,7 @@
|
|
|
21790
21747
|
baseName: 'combobox',
|
|
21791
21748
|
baseClass: FormAssociatedCombobox,
|
|
21792
21749
|
template: template$v,
|
|
21793
|
-
styles: styles$
|
|
21750
|
+
styles: styles$H,
|
|
21794
21751
|
shadowOptions: {
|
|
21795
21752
|
delegatesFocus: true
|
|
21796
21753
|
},
|
|
@@ -21835,7 +21792,7 @@
|
|
|
21835
21792
|
*/
|
|
21836
21793
|
const UserDismissed = Symbol('user dismissed');
|
|
21837
21794
|
|
|
21838
|
-
const styles$
|
|
21795
|
+
const styles$G = css `
|
|
21839
21796
|
${display$1('grid')}
|
|
21840
21797
|
|
|
21841
21798
|
dialog {
|
|
@@ -22090,12 +22047,12 @@
|
|
|
22090
22047
|
const nimbleDialog = Dialog.compose({
|
|
22091
22048
|
baseName: 'dialog',
|
|
22092
22049
|
template: template$u,
|
|
22093
|
-
styles: styles$
|
|
22050
|
+
styles: styles$G,
|
|
22094
22051
|
baseClass: Dialog
|
|
22095
22052
|
});
|
|
22096
22053
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDialog());
|
|
22097
22054
|
|
|
22098
|
-
const styles$
|
|
22055
|
+
const styles$F = css `
|
|
22099
22056
|
${display$1('block')}
|
|
22100
22057
|
|
|
22101
22058
|
:host {
|
|
@@ -22392,7 +22349,7 @@
|
|
|
22392
22349
|
const nimbleDrawer = Drawer.compose({
|
|
22393
22350
|
baseName: 'drawer',
|
|
22394
22351
|
template: template$t,
|
|
22395
|
-
styles: styles$
|
|
22352
|
+
styles: styles$F
|
|
22396
22353
|
});
|
|
22397
22354
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDrawer());
|
|
22398
22355
|
|
|
@@ -24327,19 +24284,6 @@
|
|
|
24327
24284
|
}
|
|
24328
24285
|
registerIcon('icon-tile-size', IconTileSize);
|
|
24329
24286
|
|
|
24330
|
-
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
24331
|
-
// See generation source in nimble-components/build/generate-icons
|
|
24332
|
-
/**
|
|
24333
|
-
* The icon component for the 'times' icon
|
|
24334
|
-
*/
|
|
24335
|
-
class IconTimes extends Icon {
|
|
24336
|
-
constructor() {
|
|
24337
|
-
super(times16X16);
|
|
24338
|
-
}
|
|
24339
|
-
}
|
|
24340
|
-
registerIcon('icon-times', IconTimes);
|
|
24341
|
-
const iconTimesTag = 'nimble-icon-times';
|
|
24342
|
-
|
|
24343
24287
|
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
24344
24288
|
// See generation source in nimble-components/build/generate-icons
|
|
24345
24289
|
/**
|
|
@@ -24558,6 +24502,18 @@
|
|
|
24558
24502
|
}
|
|
24559
24503
|
registerIcon('icon-wrench-hammer', IconWrenchHammer);
|
|
24560
24504
|
|
|
24505
|
+
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
24506
|
+
// See generation source in nimble-components/build/generate-icons
|
|
24507
|
+
/**
|
|
24508
|
+
* The icon component for the 'xmark' icon
|
|
24509
|
+
*/
|
|
24510
|
+
class IconXmark extends Icon {
|
|
24511
|
+
constructor() {
|
|
24512
|
+
super(xmark16X16);
|
|
24513
|
+
}
|
|
24514
|
+
}
|
|
24515
|
+
registerIcon('icon-xmark', IconXmark);
|
|
24516
|
+
|
|
24561
24517
|
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
24562
24518
|
// See generation source in nimble-components/build/generate-icons
|
|
24563
24519
|
/**
|
|
@@ -24623,7 +24579,7 @@
|
|
|
24623
24579
|
}
|
|
24624
24580
|
}
|
|
24625
24581
|
|
|
24626
|
-
const styles$
|
|
24582
|
+
const styles$E = css `
|
|
24627
24583
|
${display$1('none')}
|
|
24628
24584
|
`;
|
|
24629
24585
|
|
|
@@ -24672,7 +24628,7 @@
|
|
|
24672
24628
|
], LabelProviderCore.prototype, "filterNoResults", void 0);
|
|
24673
24629
|
const nimbleLabelProviderCore = LabelProviderCore.compose({
|
|
24674
24630
|
baseName: 'label-provider-core',
|
|
24675
|
-
styles: styles$
|
|
24631
|
+
styles: styles$E
|
|
24676
24632
|
});
|
|
24677
24633
|
DesignSystem.getOrCreate()
|
|
24678
24634
|
.withPrefix('nimble')
|
|
@@ -24839,13 +24795,13 @@
|
|
|
24839
24795
|
], LabelProviderTable.prototype, "groupRowPlaceholderEmpty", void 0);
|
|
24840
24796
|
const nimbleLabelProviderTable = LabelProviderTable.compose({
|
|
24841
24797
|
baseName: 'label-provider-table',
|
|
24842
|
-
styles: styles$
|
|
24798
|
+
styles: styles$E
|
|
24843
24799
|
});
|
|
24844
24800
|
DesignSystem.getOrCreate()
|
|
24845
24801
|
.withPrefix('nimble')
|
|
24846
24802
|
.register(nimbleLabelProviderTable());
|
|
24847
24803
|
|
|
24848
|
-
const styles$
|
|
24804
|
+
const styles$D = css `
|
|
24849
24805
|
${display$1('flex')}
|
|
24850
24806
|
|
|
24851
24807
|
:host {
|
|
@@ -25018,7 +24974,7 @@
|
|
|
25018
24974
|
baseName: 'list-option',
|
|
25019
24975
|
baseClass: ListboxOption,
|
|
25020
24976
|
template: template$s,
|
|
25021
|
-
styles: styles$
|
|
24977
|
+
styles: styles$D
|
|
25022
24978
|
});
|
|
25023
24979
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListOption());
|
|
25024
24980
|
const listOptionTag = 'nimble-list-option';
|
|
@@ -25034,7 +24990,7 @@
|
|
|
25034
24990
|
|
|
25035
24991
|
const template$r = html `<template slot="mapping"></template>`;
|
|
25036
24992
|
|
|
25037
|
-
const styles$
|
|
24993
|
+
const styles$C = css `
|
|
25038
24994
|
${display$1('none')}
|
|
25039
24995
|
`;
|
|
25040
24996
|
|
|
@@ -25051,7 +25007,7 @@
|
|
|
25051
25007
|
const emptyMapping = MappingEmpty.compose({
|
|
25052
25008
|
baseName: 'mapping-empty',
|
|
25053
25009
|
template: template$r,
|
|
25054
|
-
styles: styles$
|
|
25010
|
+
styles: styles$C
|
|
25055
25011
|
});
|
|
25056
25012
|
DesignSystem.getOrCreate().withPrefix('nimble').register(emptyMapping());
|
|
25057
25013
|
|
|
@@ -25122,7 +25078,7 @@
|
|
|
25122
25078
|
const iconMapping = MappingIcon.compose({
|
|
25123
25079
|
baseName: 'mapping-icon',
|
|
25124
25080
|
template: template$r,
|
|
25125
|
-
styles: styles$
|
|
25081
|
+
styles: styles$C
|
|
25126
25082
|
});
|
|
25127
25083
|
DesignSystem.getOrCreate().withPrefix('nimble').register(iconMapping());
|
|
25128
25084
|
|
|
@@ -25146,7 +25102,7 @@
|
|
|
25146
25102
|
const spinnerMapping = MappingSpinner.compose({
|
|
25147
25103
|
baseName: 'mapping-spinner',
|
|
25148
25104
|
template: template$r,
|
|
25149
|
-
styles: styles$
|
|
25105
|
+
styles: styles$C
|
|
25150
25106
|
});
|
|
25151
25107
|
DesignSystem.getOrCreate().withPrefix('nimble').register(spinnerMapping());
|
|
25152
25108
|
|
|
@@ -25163,11 +25119,11 @@
|
|
|
25163
25119
|
const textMapping = MappingText.compose({
|
|
25164
25120
|
baseName: 'mapping-text',
|
|
25165
25121
|
template: template$r,
|
|
25166
|
-
styles: styles$
|
|
25122
|
+
styles: styles$C
|
|
25167
25123
|
});
|
|
25168
25124
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textMapping());
|
|
25169
25125
|
|
|
25170
|
-
const styles$
|
|
25126
|
+
const styles$B = css `
|
|
25171
25127
|
${display$1('grid')}
|
|
25172
25128
|
|
|
25173
25129
|
:host {
|
|
@@ -25239,7 +25195,7 @@
|
|
|
25239
25195
|
baseName: 'menu',
|
|
25240
25196
|
baseClass: Menu$1,
|
|
25241
25197
|
template: menuTemplate,
|
|
25242
|
-
styles: styles$
|
|
25198
|
+
styles: styles$B
|
|
25243
25199
|
});
|
|
25244
25200
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenu());
|
|
25245
25201
|
|
|
@@ -25256,7 +25212,7 @@
|
|
|
25256
25212
|
auto: 'auto'
|
|
25257
25213
|
};
|
|
25258
25214
|
|
|
25259
|
-
const styles$
|
|
25215
|
+
const styles$A = css `
|
|
25260
25216
|
${display$1('inline-block')}
|
|
25261
25217
|
|
|
25262
25218
|
:host {
|
|
@@ -25526,7 +25482,7 @@
|
|
|
25526
25482
|
const nimbleMenuButton = MenuButton.compose({
|
|
25527
25483
|
baseName: 'menu-button',
|
|
25528
25484
|
template: template$q,
|
|
25529
|
-
styles: styles$
|
|
25485
|
+
styles: styles$A,
|
|
25530
25486
|
shadowOptions: {
|
|
25531
25487
|
delegatesFocus: true
|
|
25532
25488
|
}
|
|
@@ -25534,7 +25490,7 @@
|
|
|
25534
25490
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuButton());
|
|
25535
25491
|
const menuButtonTag = 'nimble-menu-button';
|
|
25536
25492
|
|
|
25537
|
-
const styles$
|
|
25493
|
+
const styles$z = css `
|
|
25538
25494
|
${display$1('grid')}
|
|
25539
25495
|
|
|
25540
25496
|
:host {
|
|
@@ -25632,7 +25588,7 @@
|
|
|
25632
25588
|
baseName: 'menu-item',
|
|
25633
25589
|
baseClass: MenuItem$1,
|
|
25634
25590
|
template: menuItemTemplate,
|
|
25635
|
-
styles: styles$
|
|
25591
|
+
styles: styles$z,
|
|
25636
25592
|
expandCollapseGlyph: arrowExpanderRight16X16.data
|
|
25637
25593
|
});
|
|
25638
25594
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuItem());
|
|
@@ -25646,9 +25602,9 @@
|
|
|
25646
25602
|
block: 'block'
|
|
25647
25603
|
};
|
|
25648
25604
|
|
|
25649
|
-
const styles$
|
|
25605
|
+
const styles$y = css `
|
|
25650
25606
|
${display$1('inline-block')}
|
|
25651
|
-
${styles$
|
|
25607
|
+
${styles$I}
|
|
25652
25608
|
|
|
25653
25609
|
:host {
|
|
25654
25610
|
font: ${bodyFont};
|
|
@@ -25862,7 +25818,7 @@
|
|
|
25862
25818
|
baseName: 'number-field',
|
|
25863
25819
|
baseClass: NumberField$1,
|
|
25864
25820
|
template: numberFieldTemplate,
|
|
25865
|
-
styles: styles$
|
|
25821
|
+
styles: styles$y,
|
|
25866
25822
|
shadowOptions: {
|
|
25867
25823
|
delegatesFocus: true
|
|
25868
25824
|
},
|
|
@@ -25905,7 +25861,7 @@
|
|
|
25905
25861
|
});
|
|
25906
25862
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleNumberField());
|
|
25907
25863
|
|
|
25908
|
-
const styles$
|
|
25864
|
+
const styles$x = css `
|
|
25909
25865
|
${display$1('inline-flex')}
|
|
25910
25866
|
|
|
25911
25867
|
:host {
|
|
@@ -26006,12 +25962,12 @@
|
|
|
26006
25962
|
baseName: 'radio',
|
|
26007
25963
|
baseClass: Radio$1,
|
|
26008
25964
|
template: radioTemplate,
|
|
26009
|
-
styles: styles$
|
|
25965
|
+
styles: styles$x,
|
|
26010
25966
|
checkedIndicator: circleFilled16X16.data
|
|
26011
25967
|
});
|
|
26012
25968
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadio());
|
|
26013
25969
|
|
|
26014
|
-
const styles$
|
|
25970
|
+
const styles$w = css `
|
|
26015
25971
|
${display$1('inline-block')}
|
|
26016
25972
|
|
|
26017
25973
|
.positioning-region {
|
|
@@ -26046,7 +26002,7 @@
|
|
|
26046
26002
|
baseName: 'radio-group',
|
|
26047
26003
|
baseClass: RadioGroup$1,
|
|
26048
26004
|
template: radioGroupTemplate,
|
|
26049
|
-
styles: styles$
|
|
26005
|
+
styles: styles$w,
|
|
26050
26006
|
shadowOptions: {
|
|
26051
26007
|
delegatesFocus: true
|
|
26052
26008
|
}
|
|
@@ -43711,7 +43667,7 @@ img.ProseMirror-separator {
|
|
|
43711
43667
|
},
|
|
43712
43668
|
});
|
|
43713
43669
|
|
|
43714
|
-
const styles$
|
|
43670
|
+
const styles$v = css `
|
|
43715
43671
|
${display$1('inline')}
|
|
43716
43672
|
|
|
43717
43673
|
.positioning-region {
|
|
@@ -43748,7 +43704,7 @@ img.ProseMirror-separator {
|
|
|
43748
43704
|
baseName: 'toolbar',
|
|
43749
43705
|
baseClass: Toolbar$1,
|
|
43750
43706
|
template: toolbarTemplate,
|
|
43751
|
-
styles: styles$
|
|
43707
|
+
styles: styles$v,
|
|
43752
43708
|
shadowOptions: {
|
|
43753
43709
|
delegatesFocus: true
|
|
43754
43710
|
}
|
|
@@ -43780,8 +43736,8 @@ img.ProseMirror-separator {
|
|
|
43780
43736
|
cssCustomPropertyName: null
|
|
43781
43737
|
}).withDefault(richTextLabelDefaults.richTextToggleNumberedListLabel);
|
|
43782
43738
|
|
|
43783
|
-
const styles$
|
|
43784
|
-
${styles$
|
|
43739
|
+
const styles$u = css `
|
|
43740
|
+
${styles$J}
|
|
43785
43741
|
|
|
43786
43742
|
:host {
|
|
43787
43743
|
height: auto;
|
|
@@ -43798,42 +43754,6 @@ img.ProseMirror-separator {
|
|
|
43798
43754
|
}
|
|
43799
43755
|
`;
|
|
43800
43756
|
|
|
43801
|
-
const styles$u = css `
|
|
43802
|
-
${display$1('inline-flex')}
|
|
43803
|
-
|
|
43804
|
-
:host {
|
|
43805
|
-
background: ${applicationBackgroundColor};
|
|
43806
|
-
border: ${borderWidth} solid ${popupBorderColor};
|
|
43807
|
-
flex-direction: column;
|
|
43808
|
-
margin: 0;
|
|
43809
|
-
min-width: ${menuMinWidth};
|
|
43810
|
-
box-shadow: ${elevation2BoxShadow};
|
|
43811
|
-
color: ${bodyFontColor};
|
|
43812
|
-
font: ${bodyFont};
|
|
43813
|
-
}
|
|
43814
|
-
|
|
43815
|
-
:host(:focus) {
|
|
43816
|
-
outline: 0px;
|
|
43817
|
-
}
|
|
43818
|
-
|
|
43819
|
-
slot {
|
|
43820
|
-
padding: ${smallPadding};
|
|
43821
|
-
display: block;
|
|
43822
|
-
}
|
|
43823
|
-
`;
|
|
43824
|
-
|
|
43825
|
-
/**
|
|
43826
|
-
* A nimble-styled HTML list box
|
|
43827
|
-
*/
|
|
43828
|
-
class Listbox extends ListboxElement {
|
|
43829
|
-
}
|
|
43830
|
-
const nimbleListbox = Listbox.compose({
|
|
43831
|
-
baseName: 'listbox',
|
|
43832
|
-
template: listboxTemplate,
|
|
43833
|
-
styles: styles$u
|
|
43834
|
-
});
|
|
43835
|
-
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListbox());
|
|
43836
|
-
|
|
43837
43757
|
// prettier-ignore
|
|
43838
43758
|
const template$p = html `
|
|
43839
43759
|
<template>
|
|
@@ -43856,7 +43776,7 @@ img.ProseMirror-separator {
|
|
|
43856
43776
|
?disabled="${x => x.disabled}"
|
|
43857
43777
|
>
|
|
43858
43778
|
<slot
|
|
43859
|
-
${slotted({ filter: (n) => n instanceof HTMLElement &&
|
|
43779
|
+
${slotted({ filter: (n) => n instanceof HTMLElement && ListboxElement.slottedOptionFilter(n), flatten: true, property: 'slottedOptions' })}
|
|
43860
43780
|
>
|
|
43861
43781
|
</slot>
|
|
43862
43782
|
</div>
|
|
@@ -44097,7 +44017,7 @@ img.ProseMirror-separator {
|
|
|
44097
44017
|
const nimbleRichTextMentionListbox = RichTextMentionListbox.compose({
|
|
44098
44018
|
baseName: 'rich-text-mention-listbox',
|
|
44099
44019
|
template: template$p,
|
|
44100
|
-
styles: styles$
|
|
44020
|
+
styles: styles$u
|
|
44101
44021
|
});
|
|
44102
44022
|
DesignSystem.getOrCreate()
|
|
44103
44023
|
.withPrefix('nimble')
|
|
@@ -44209,7 +44129,7 @@ img.ProseMirror-separator {
|
|
|
44209
44129
|
|
|
44210
44130
|
const styles$t = css `
|
|
44211
44131
|
${display$1('inline-flex')}
|
|
44212
|
-
${styles$
|
|
44132
|
+
${styles$I}
|
|
44213
44133
|
|
|
44214
44134
|
:host {
|
|
44215
44135
|
font: ${bodyFont};
|
|
@@ -59086,8 +59006,8 @@ img.ProseMirror-separator {
|
|
|
59086
59006
|
.register(nimbleRichTextViewer());
|
|
59087
59007
|
|
|
59088
59008
|
const styles$r = css `
|
|
59089
|
-
${styles$K}
|
|
59090
59009
|
${styles$J}
|
|
59010
|
+
${styles$I}
|
|
59091
59011
|
|
|
59092
59012
|
${
|
|
59093
59013
|
/* We are using flex `order` to define the visual ordering of the selected value,
|
|
@@ -70790,7 +70710,7 @@ img.ProseMirror-separator {
|
|
|
70790
70710
|
|
|
70791
70711
|
const styles$7 = css `
|
|
70792
70712
|
${display$1('inline-flex')}
|
|
70793
|
-
${styles$
|
|
70713
|
+
${styles$I}
|
|
70794
70714
|
|
|
70795
70715
|
:host {
|
|
70796
70716
|
font: ${bodyFont};
|
|
@@ -71136,7 +71056,7 @@ img.ProseMirror-separator {
|
|
|
71136
71056
|
|
|
71137
71057
|
const styles$6 = css `
|
|
71138
71058
|
${display$1('inline-block')}
|
|
71139
|
-
${styles$
|
|
71059
|
+
${styles$I}
|
|
71140
71060
|
|
|
71141
71061
|
:host {
|
|
71142
71062
|
font: ${bodyFont};
|