@ni/nimble-components 20.1.2 → 20.1.3
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 +187 -92
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +936 -843
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/anchor-tab/index.js +4 -1
- package/dist/esm/anchor-tab/index.js.map +1 -1
- package/dist/esm/anchor-tab/styles.js +101 -2
- package/dist/esm/anchor-tab/styles.js.map +1 -1
- package/dist/esm/anchor-tab/template.js +0 -1
- package/dist/esm/anchor-tab/template.js.map +1 -1
- package/dist/esm/tab/index.js +1 -1
- package/dist/esm/tab/index.js.map +1 -1
- package/dist/esm/{patterns/tab → tab}/styles.js +4 -8
- package/dist/esm/tab/styles.js.map +1 -0
- package/package.json +1 -1
- package/dist/esm/patterns/tab/styles.js.map +0 -1
- /package/dist/esm/{patterns → src}/tab/styles.d.ts +0 -0
- /package/dist/esm/{src/patterns/tab → tab}/styles.d.ts +0 -0
|
@@ -16288,7 +16288,7 @@
|
|
|
16288
16288
|
|
|
16289
16289
|
/**
|
|
16290
16290
|
* Do not edit directly
|
|
16291
|
-
* Generated on
|
|
16291
|
+
* Generated on Mon, 07 Aug 2023 22:37:07 GMT
|
|
16292
16292
|
*/
|
|
16293
16293
|
|
|
16294
16294
|
const Information100DarkUi = "#a46eff";
|
|
@@ -17793,14 +17793,6 @@
|
|
|
17793
17793
|
background-color: ${fillHoverSelectedColor};
|
|
17794
17794
|
}
|
|
17795
17795
|
|
|
17796
|
-
:host(:focus) {
|
|
17797
|
-
outline: none;
|
|
17798
|
-
}
|
|
17799
|
-
|
|
17800
|
-
:host(${focusVisible}) {
|
|
17801
|
-
outline: none;
|
|
17802
|
-
}
|
|
17803
|
-
|
|
17804
17796
|
:host(:active) {
|
|
17805
17797
|
background: none;
|
|
17806
17798
|
}
|
|
@@ -17817,7 +17809,7 @@
|
|
|
17817
17809
|
calc(${standardPadding} / 2 - ${borderWidth});
|
|
17818
17810
|
}
|
|
17819
17811
|
|
|
17820
|
-
|
|
17812
|
+
a::before {
|
|
17821
17813
|
content: '';
|
|
17822
17814
|
position: absolute;
|
|
17823
17815
|
bottom: calc(
|
|
@@ -17832,16 +17824,26 @@
|
|
|
17832
17824
|
}
|
|
17833
17825
|
|
|
17834
17826
|
@media (prefers-reduced-motion) {
|
|
17835
|
-
|
|
17836
|
-
transition-duration:
|
|
17827
|
+
a::before {
|
|
17828
|
+
transition-duration: 0s;
|
|
17837
17829
|
}
|
|
17838
17830
|
}
|
|
17839
17831
|
|
|
17840
|
-
|
|
17832
|
+
a${focusVisible}::before {
|
|
17841
17833
|
width: calc(100% - 2 * var(--ni-private-focus-indicator-inset-width));
|
|
17842
17834
|
}
|
|
17843
17835
|
|
|
17844
|
-
|
|
17836
|
+
a {
|
|
17837
|
+
display: inline-flex;
|
|
17838
|
+
text-decoration: none;
|
|
17839
|
+
color: inherit;
|
|
17840
|
+
cursor: inherit;
|
|
17841
|
+
outline: none;
|
|
17842
|
+
align-items: center;
|
|
17843
|
+
justify-content: center;
|
|
17844
|
+
}
|
|
17845
|
+
|
|
17846
|
+
a::after {
|
|
17845
17847
|
content: '';
|
|
17846
17848
|
position: absolute;
|
|
17847
17849
|
bottom: 0px;
|
|
@@ -17853,35 +17855,24 @@
|
|
|
17853
17855
|
}
|
|
17854
17856
|
|
|
17855
17857
|
@media (prefers-reduced-motion) {
|
|
17856
|
-
|
|
17857
|
-
transition-duration:
|
|
17858
|
+
a::after {
|
|
17859
|
+
transition-duration: 0s;
|
|
17858
17860
|
}
|
|
17859
17861
|
}
|
|
17860
17862
|
|
|
17861
|
-
|
|
17863
|
+
a${focusVisible}::after {
|
|
17862
17864
|
width: 100%;
|
|
17863
17865
|
border-bottom-width: var(--ni-private-focus-indicator-width);
|
|
17864
17866
|
}
|
|
17865
17867
|
|
|
17866
|
-
:host([aria-selected='true'])::after {
|
|
17868
|
+
:host([aria-selected='true']) a::after {
|
|
17867
17869
|
width: 100%;
|
|
17868
17870
|
border-bottom-width: var(--ni-private-active-indicator-width);
|
|
17869
17871
|
}
|
|
17870
17872
|
|
|
17871
|
-
:host([aria-selected='true']
|
|
17873
|
+
:host([disabled][aria-selected='true']) a::after {
|
|
17872
17874
|
border-bottom-color: rgba(${borderHoverColor}, 0.3);
|
|
17873
17875
|
}
|
|
17874
|
-
`;
|
|
17875
|
-
|
|
17876
|
-
const styles$M = css `
|
|
17877
|
-
${styles$N}
|
|
17878
|
-
|
|
17879
|
-
a {
|
|
17880
|
-
text-decoration: none;
|
|
17881
|
-
color: inherit;
|
|
17882
|
-
cursor: inherit;
|
|
17883
|
-
outline: none;
|
|
17884
|
-
}
|
|
17885
17876
|
|
|
17886
17877
|
[part='start'] {
|
|
17887
17878
|
display: none;
|
|
@@ -17903,7 +17894,6 @@
|
|
|
17903
17894
|
rel="${x => x.rel}"
|
|
17904
17895
|
target="${x => x.target}"
|
|
17905
17896
|
type="${x => x.type}"
|
|
17906
|
-
tabindex="-1"
|
|
17907
17897
|
>
|
|
17908
17898
|
${startSlotTemplate(context, definition)}
|
|
17909
17899
|
<slot></slot>
|
|
@@ -17946,12 +17936,15 @@
|
|
|
17946
17936
|
const nimbleAnchorTab = AnchorTab.compose({
|
|
17947
17937
|
baseName: 'anchor-tab',
|
|
17948
17938
|
template: template$u,
|
|
17949
|
-
styles: styles$
|
|
17939
|
+
styles: styles$N,
|
|
17940
|
+
shadowOptions: {
|
|
17941
|
+
delegatesFocus: true
|
|
17942
|
+
}
|
|
17950
17943
|
});
|
|
17951
17944
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTab());
|
|
17952
17945
|
DesignSystem.tagFor(AnchorTab);
|
|
17953
17946
|
|
|
17954
|
-
const styles$
|
|
17947
|
+
const styles$M = css `
|
|
17955
17948
|
${display('grid')}
|
|
17956
17949
|
|
|
17957
17950
|
:host {
|
|
@@ -18174,7 +18167,7 @@
|
|
|
18174
18167
|
const nimbleAnchorTabs = AnchorTabs.compose({
|
|
18175
18168
|
baseName: 'anchor-tabs',
|
|
18176
18169
|
template: template$t,
|
|
18177
|
-
styles: styles$
|
|
18170
|
+
styles: styles$M,
|
|
18178
18171
|
shadowOptions: {
|
|
18179
18172
|
delegatesFocus: false
|
|
18180
18173
|
}
|
|
@@ -18191,7 +18184,7 @@
|
|
|
18191
18184
|
-webkit-user-select: none;
|
|
18192
18185
|
`;
|
|
18193
18186
|
|
|
18194
|
-
const styles$
|
|
18187
|
+
const styles$L = css `
|
|
18195
18188
|
${display('block')}
|
|
18196
18189
|
|
|
18197
18190
|
:host {
|
|
@@ -18430,7 +18423,7 @@
|
|
|
18430
18423
|
const nimbleAnchorTreeItem = AnchorTreeItem.compose({
|
|
18431
18424
|
baseName: 'anchor-tree-item',
|
|
18432
18425
|
template: template$s,
|
|
18433
|
-
styles: styles$
|
|
18426
|
+
styles: styles$L,
|
|
18434
18427
|
shadowOptions: {
|
|
18435
18428
|
delegatesFocus: true
|
|
18436
18429
|
}
|
|
@@ -18440,7 +18433,7 @@
|
|
|
18440
18433
|
.register(nimbleAnchorTreeItem());
|
|
18441
18434
|
DesignSystem.tagFor(AnchorTreeItem);
|
|
18442
18435
|
|
|
18443
|
-
const styles$
|
|
18436
|
+
const styles$K = css `
|
|
18444
18437
|
:host {
|
|
18445
18438
|
contain: layout;
|
|
18446
18439
|
display: block;
|
|
@@ -18464,7 +18457,7 @@
|
|
|
18464
18457
|
baseName: 'anchored-region',
|
|
18465
18458
|
baseClass: AnchoredRegion$1,
|
|
18466
18459
|
template: anchoredRegionTemplate,
|
|
18467
|
-
styles: styles$
|
|
18460
|
+
styles: styles$K
|
|
18468
18461
|
});
|
|
18469
18462
|
DesignSystem.getOrCreate()
|
|
18470
18463
|
.withPrefix('nimble')
|
|
@@ -18544,7 +18537,7 @@
|
|
|
18544
18537
|
*/
|
|
18545
18538
|
const themeBehavior = (theme, styles) => new ThemeStyleSheetBehavior(theme, styles);
|
|
18546
18539
|
|
|
18547
|
-
const styles$
|
|
18540
|
+
const styles$J = css `
|
|
18548
18541
|
${display('flex')}
|
|
18549
18542
|
|
|
18550
18543
|
:host {
|
|
@@ -18702,7 +18695,7 @@
|
|
|
18702
18695
|
}
|
|
18703
18696
|
`));
|
|
18704
18697
|
|
|
18705
|
-
const styles$
|
|
18698
|
+
const styles$I = css `
|
|
18706
18699
|
${styles$Q}
|
|
18707
18700
|
${buttonAppearanceVariantStyles}
|
|
18708
18701
|
`;
|
|
@@ -18749,7 +18742,7 @@
|
|
|
18749
18742
|
baseName: 'button',
|
|
18750
18743
|
baseClass: Button$1,
|
|
18751
18744
|
template: buttonTemplate,
|
|
18752
|
-
styles: styles$
|
|
18745
|
+
styles: styles$I,
|
|
18753
18746
|
shadowOptions: {
|
|
18754
18747
|
delegatesFocus: true
|
|
18755
18748
|
}
|
|
@@ -19413,7 +19406,7 @@
|
|
|
19413
19406
|
</template
|
|
19414
19407
|
`;
|
|
19415
19408
|
|
|
19416
|
-
const styles$
|
|
19409
|
+
const styles$H = css `
|
|
19417
19410
|
${display('inline-flex')}
|
|
19418
19411
|
|
|
19419
19412
|
:host {
|
|
@@ -19487,7 +19480,7 @@
|
|
|
19487
19480
|
const composedIcon = iconClass.compose({
|
|
19488
19481
|
baseName,
|
|
19489
19482
|
template: template$r,
|
|
19490
|
-
styles: styles$
|
|
19483
|
+
styles: styles$H,
|
|
19491
19484
|
baseClass: iconClass
|
|
19492
19485
|
});
|
|
19493
19486
|
DesignSystem.getOrCreate().withPrefix('nimble').register(composedIcon());
|
|
@@ -19693,12 +19686,12 @@
|
|
|
19693
19686
|
const nimbleBanner = Banner.compose({
|
|
19694
19687
|
baseName: 'banner',
|
|
19695
19688
|
template: template$q,
|
|
19696
|
-
styles: styles$
|
|
19689
|
+
styles: styles$J
|
|
19697
19690
|
});
|
|
19698
19691
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBanner());
|
|
19699
19692
|
DesignSystem.tagFor(Banner);
|
|
19700
19693
|
|
|
19701
|
-
const styles$
|
|
19694
|
+
const styles$G = css `
|
|
19702
19695
|
${display('inline-block')}
|
|
19703
19696
|
|
|
19704
19697
|
:host {
|
|
@@ -19739,12 +19732,12 @@
|
|
|
19739
19732
|
baseName: 'breadcrumb',
|
|
19740
19733
|
baseClass: Breadcrumb$1,
|
|
19741
19734
|
template: breadcrumbTemplate,
|
|
19742
|
-
styles: styles$
|
|
19735
|
+
styles: styles$G
|
|
19743
19736
|
});
|
|
19744
19737
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBreadcrumb());
|
|
19745
19738
|
DesignSystem.tagFor(Breadcrumb);
|
|
19746
19739
|
|
|
19747
|
-
const styles$
|
|
19740
|
+
const styles$F = css `
|
|
19748
19741
|
${display('inline-flex')}
|
|
19749
19742
|
|
|
19750
19743
|
:host {
|
|
@@ -19818,7 +19811,7 @@
|
|
|
19818
19811
|
baseName: 'breadcrumb-item',
|
|
19819
19812
|
baseClass: BreadcrumbItem$1,
|
|
19820
19813
|
template: breadcrumbItemTemplate,
|
|
19821
|
-
styles: styles$
|
|
19814
|
+
styles: styles$F,
|
|
19822
19815
|
separator: forwardSlash16X16.data
|
|
19823
19816
|
});
|
|
19824
19817
|
DesignSystem.getOrCreate()
|
|
@@ -19826,7 +19819,7 @@
|
|
|
19826
19819
|
.register(nimbleBreadcrumbItem());
|
|
19827
19820
|
DesignSystem.tagFor(BreadcrumbItem);
|
|
19828
19821
|
|
|
19829
|
-
const styles$
|
|
19822
|
+
const styles$E = css `
|
|
19830
19823
|
${display('inline-flex')}
|
|
19831
19824
|
|
|
19832
19825
|
:host {
|
|
@@ -19985,7 +19978,7 @@
|
|
|
19985
19978
|
const nimbleCardButton = CardButton.compose({
|
|
19986
19979
|
baseName: 'card-button',
|
|
19987
19980
|
template: buttonTemplate,
|
|
19988
|
-
styles: styles$
|
|
19981
|
+
styles: styles$E,
|
|
19989
19982
|
shadowOptions: {
|
|
19990
19983
|
delegatesFocus: true
|
|
19991
19984
|
}
|
|
@@ -19993,7 +19986,7 @@
|
|
|
19993
19986
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCardButton());
|
|
19994
19987
|
DesignSystem.tagFor(CardButton);
|
|
19995
19988
|
|
|
19996
|
-
const styles$
|
|
19989
|
+
const styles$D = css `
|
|
19997
19990
|
${display('inline-flex')}
|
|
19998
19991
|
|
|
19999
19992
|
:host {
|
|
@@ -20111,14 +20104,14 @@
|
|
|
20111
20104
|
baseName: 'checkbox',
|
|
20112
20105
|
baseClass: Checkbox$1,
|
|
20113
20106
|
template: checkboxTemplate,
|
|
20114
|
-
styles: styles$
|
|
20107
|
+
styles: styles$D,
|
|
20115
20108
|
checkedIndicator: check16X16.data,
|
|
20116
20109
|
indeterminateIndicator: minus16X16.data
|
|
20117
20110
|
});
|
|
20118
20111
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCheckbox());
|
|
20119
20112
|
const checkboxTag = DesignSystem.tagFor(Checkbox);
|
|
20120
20113
|
|
|
20121
|
-
const styles$
|
|
20114
|
+
const styles$C = css `
|
|
20122
20115
|
${styles$Q}
|
|
20123
20116
|
|
|
20124
20117
|
@layer base {
|
|
@@ -20274,7 +20267,7 @@
|
|
|
20274
20267
|
const nimbleToggleButton = ToggleButton.compose({
|
|
20275
20268
|
baseName: 'toggle-button',
|
|
20276
20269
|
template: template$p,
|
|
20277
|
-
styles: styles$
|
|
20270
|
+
styles: styles$C,
|
|
20278
20271
|
shadowOptions: {
|
|
20279
20272
|
delegatesFocus: true
|
|
20280
20273
|
}
|
|
@@ -20311,7 +20304,7 @@
|
|
|
20311
20304
|
block: 'block'
|
|
20312
20305
|
};
|
|
20313
20306
|
|
|
20314
|
-
const styles$
|
|
20307
|
+
const styles$B = css `
|
|
20315
20308
|
${display('inline-flex')}
|
|
20316
20309
|
|
|
20317
20310
|
:host {
|
|
@@ -20537,7 +20530,7 @@
|
|
|
20537
20530
|
}
|
|
20538
20531
|
`));
|
|
20539
20532
|
|
|
20540
|
-
const styles$
|
|
20533
|
+
const styles$A = css `
|
|
20541
20534
|
.error-icon {
|
|
20542
20535
|
display: none;
|
|
20543
20536
|
}
|
|
@@ -20571,9 +20564,9 @@
|
|
|
20571
20564
|
}
|
|
20572
20565
|
`;
|
|
20573
20566
|
|
|
20574
|
-
const styles$
|
|
20567
|
+
const styles$z = css `
|
|
20568
|
+
${styles$B}
|
|
20575
20569
|
${styles$A}
|
|
20576
|
-
${styles$z}
|
|
20577
20570
|
|
|
20578
20571
|
:host {
|
|
20579
20572
|
--ni-private-hover-bottom-border-width: 2px;
|
|
@@ -20926,7 +20919,7 @@
|
|
|
20926
20919
|
baseName: 'combobox',
|
|
20927
20920
|
baseClass: Combobox$1,
|
|
20928
20921
|
template: template$o,
|
|
20929
|
-
styles: styles$
|
|
20922
|
+
styles: styles$z,
|
|
20930
20923
|
shadowOptions: {
|
|
20931
20924
|
delegatesFocus: true
|
|
20932
20925
|
},
|
|
@@ -20971,7 +20964,7 @@
|
|
|
20971
20964
|
*/
|
|
20972
20965
|
const UserDismissed = Symbol('user dismissed');
|
|
20973
20966
|
|
|
20974
|
-
const styles$
|
|
20967
|
+
const styles$y = css `
|
|
20975
20968
|
${display('grid')}
|
|
20976
20969
|
|
|
20977
20970
|
dialog {
|
|
@@ -21214,13 +21207,13 @@
|
|
|
21214
21207
|
const nimbleDialog = Dialog.compose({
|
|
21215
21208
|
baseName: 'dialog',
|
|
21216
21209
|
template: template$n,
|
|
21217
|
-
styles: styles$
|
|
21210
|
+
styles: styles$y,
|
|
21218
21211
|
baseClass: Dialog
|
|
21219
21212
|
});
|
|
21220
21213
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDialog());
|
|
21221
21214
|
DesignSystem.tagFor(Dialog);
|
|
21222
21215
|
|
|
21223
|
-
const styles$
|
|
21216
|
+
const styles$x = css `
|
|
21224
21217
|
${display('block')}
|
|
21225
21218
|
|
|
21226
21219
|
:host {
|
|
@@ -21488,7 +21481,7 @@
|
|
|
21488
21481
|
const nimbleDrawer = Drawer.compose({
|
|
21489
21482
|
baseName: 'drawer',
|
|
21490
21483
|
template: template$m,
|
|
21491
|
-
styles: styles$
|
|
21484
|
+
styles: styles$x
|
|
21492
21485
|
});
|
|
21493
21486
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDrawer());
|
|
21494
21487
|
DesignSystem.tagFor(Drawer);
|
|
@@ -23685,7 +23678,7 @@
|
|
|
23685
23678
|
.register(nimbleLabelProviderTable());
|
|
23686
23679
|
DesignSystem.tagFor(LabelProviderTable);
|
|
23687
23680
|
|
|
23688
|
-
const styles$
|
|
23681
|
+
const styles$w = css `
|
|
23689
23682
|
${display('flex')}
|
|
23690
23683
|
|
|
23691
23684
|
:host {
|
|
@@ -23773,7 +23766,7 @@
|
|
|
23773
23766
|
baseName: 'list-option',
|
|
23774
23767
|
baseClass: ListboxOption,
|
|
23775
23768
|
template: listboxOptionTemplate,
|
|
23776
|
-
styles: styles$
|
|
23769
|
+
styles: styles$w
|
|
23777
23770
|
});
|
|
23778
23771
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListOption());
|
|
23779
23772
|
DesignSystem.tagFor(ListOption);
|
|
@@ -23806,7 +23799,7 @@
|
|
|
23806
23799
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textMapping());
|
|
23807
23800
|
DesignSystem.tagFor(MappingText);
|
|
23808
23801
|
|
|
23809
|
-
const styles$
|
|
23802
|
+
const styles$v = css `
|
|
23810
23803
|
${display('grid')}
|
|
23811
23804
|
|
|
23812
23805
|
:host {
|
|
@@ -23873,12 +23866,12 @@
|
|
|
23873
23866
|
baseName: 'menu',
|
|
23874
23867
|
baseClass: Menu$1,
|
|
23875
23868
|
template: menuTemplate,
|
|
23876
|
-
styles: styles$
|
|
23869
|
+
styles: styles$v
|
|
23877
23870
|
});
|
|
23878
23871
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenu());
|
|
23879
23872
|
DesignSystem.tagFor(Menu);
|
|
23880
23873
|
|
|
23881
|
-
const styles$
|
|
23874
|
+
const styles$u = css `
|
|
23882
23875
|
${display('inline-block')}
|
|
23883
23876
|
|
|
23884
23877
|
:host {
|
|
@@ -24153,7 +24146,7 @@
|
|
|
24153
24146
|
const nimbleMenuButton = MenuButton.compose({
|
|
24154
24147
|
baseName: 'menu-button',
|
|
24155
24148
|
template: template$k,
|
|
24156
|
-
styles: styles$
|
|
24149
|
+
styles: styles$u,
|
|
24157
24150
|
shadowOptions: {
|
|
24158
24151
|
delegatesFocus: true
|
|
24159
24152
|
}
|
|
@@ -24161,7 +24154,7 @@
|
|
|
24161
24154
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuButton());
|
|
24162
24155
|
const menuButtonTag = DesignSystem.tagFor(MenuButton);
|
|
24163
24156
|
|
|
24164
|
-
const styles$
|
|
24157
|
+
const styles$t = css `
|
|
24165
24158
|
${display('grid')}
|
|
24166
24159
|
|
|
24167
24160
|
:host {
|
|
@@ -24259,7 +24252,7 @@
|
|
|
24259
24252
|
baseName: 'menu-item',
|
|
24260
24253
|
baseClass: MenuItem$1,
|
|
24261
24254
|
template: menuItemTemplate,
|
|
24262
|
-
styles: styles$
|
|
24255
|
+
styles: styles$t,
|
|
24263
24256
|
expandCollapseGlyph: arrowExpanderRight16X16.data
|
|
24264
24257
|
});
|
|
24265
24258
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuItem());
|
|
@@ -24274,9 +24267,9 @@
|
|
|
24274
24267
|
block: 'block'
|
|
24275
24268
|
};
|
|
24276
24269
|
|
|
24277
|
-
const styles$
|
|
24270
|
+
const styles$s = css `
|
|
24278
24271
|
${display('inline-block')}
|
|
24279
|
-
${styles$
|
|
24272
|
+
${styles$A}
|
|
24280
24273
|
|
|
24281
24274
|
:host {
|
|
24282
24275
|
font: ${bodyFont};
|
|
@@ -24490,7 +24483,7 @@
|
|
|
24490
24483
|
baseName: 'number-field',
|
|
24491
24484
|
baseClass: NumberField$1,
|
|
24492
24485
|
template: numberFieldTemplate,
|
|
24493
|
-
styles: styles$
|
|
24486
|
+
styles: styles$s,
|
|
24494
24487
|
shadowOptions: {
|
|
24495
24488
|
delegatesFocus: true
|
|
24496
24489
|
},
|
|
@@ -24532,7 +24525,7 @@
|
|
|
24532
24525
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleNumberField());
|
|
24533
24526
|
DesignSystem.tagFor(NumberField);
|
|
24534
24527
|
|
|
24535
|
-
const styles$
|
|
24528
|
+
const styles$r = css `
|
|
24536
24529
|
${display('inline-flex')}
|
|
24537
24530
|
|
|
24538
24531
|
:host {
|
|
@@ -24633,13 +24626,13 @@
|
|
|
24633
24626
|
baseName: 'radio',
|
|
24634
24627
|
baseClass: Radio$1,
|
|
24635
24628
|
template: radioTemplate,
|
|
24636
|
-
styles: styles$
|
|
24629
|
+
styles: styles$r,
|
|
24637
24630
|
checkedIndicator: circleFilled16X16.data
|
|
24638
24631
|
});
|
|
24639
24632
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadio());
|
|
24640
24633
|
DesignSystem.tagFor(Radio);
|
|
24641
24634
|
|
|
24642
|
-
const styles$
|
|
24635
|
+
const styles$q = css `
|
|
24643
24636
|
${display('inline-block')}
|
|
24644
24637
|
|
|
24645
24638
|
.positioning-region {
|
|
@@ -24674,7 +24667,7 @@
|
|
|
24674
24667
|
baseName: 'radio-group',
|
|
24675
24668
|
baseClass: RadioGroup$1,
|
|
24676
24669
|
template: radioGroupTemplate,
|
|
24677
|
-
styles: styles$
|
|
24670
|
+
styles: styles$q,
|
|
24678
24671
|
shadowOptions: {
|
|
24679
24672
|
delegatesFocus: true
|
|
24680
24673
|
}
|
|
@@ -24686,7 +24679,7 @@
|
|
|
24686
24679
|
<template> Rich Text Editor here. </template>
|
|
24687
24680
|
`;
|
|
24688
24681
|
|
|
24689
|
-
const styles$
|
|
24682
|
+
const styles$p = css `
|
|
24690
24683
|
${display('flex')}
|
|
24691
24684
|
|
|
24692
24685
|
:host {
|
|
@@ -24703,7 +24696,7 @@
|
|
|
24703
24696
|
const nimbleRichTextEditor = RichTextEditor.compose({
|
|
24704
24697
|
baseName: 'rich-text-editor',
|
|
24705
24698
|
template: template$j,
|
|
24706
|
-
styles: styles$
|
|
24699
|
+
styles: styles$p
|
|
24707
24700
|
});
|
|
24708
24701
|
DesignSystem.getOrCreate()
|
|
24709
24702
|
.withPrefix('nimble')
|
|
@@ -40228,7 +40221,7 @@
|
|
|
40228
40221
|
<div ${ref('viewer')} class="viewer"></div>
|
|
40229
40222
|
`;
|
|
40230
40223
|
|
|
40231
|
-
const styles$
|
|
40224
|
+
const styles$o = css `
|
|
40232
40225
|
${display('flex')}
|
|
40233
40226
|
|
|
40234
40227
|
:host {
|
|
@@ -40353,16 +40346,16 @@
|
|
|
40353
40346
|
const nimbleRichTextViewer = RichTextViewer.compose({
|
|
40354
40347
|
baseName: 'rich-text-viewer',
|
|
40355
40348
|
template: template$i,
|
|
40356
|
-
styles: styles$
|
|
40349
|
+
styles: styles$o
|
|
40357
40350
|
});
|
|
40358
40351
|
DesignSystem.getOrCreate()
|
|
40359
40352
|
.withPrefix('nimble')
|
|
40360
40353
|
.register(nimbleRichTextViewer());
|
|
40361
40354
|
DesignSystem.tagFor(RichTextViewer);
|
|
40362
40355
|
|
|
40363
|
-
const styles$
|
|
40356
|
+
const styles$n = css `
|
|
40357
|
+
${styles$B}
|
|
40364
40358
|
${styles$A}
|
|
40365
|
-
${styles$z}
|
|
40366
40359
|
|
|
40367
40360
|
${
|
|
40368
40361
|
/* We are using flex `order` to define the visual ordering of the selected value,
|
|
@@ -40529,7 +40522,7 @@
|
|
|
40529
40522
|
baseName: 'select',
|
|
40530
40523
|
baseClass: Select$1,
|
|
40531
40524
|
template: template$h,
|
|
40532
|
-
styles: styles$
|
|
40525
|
+
styles: styles$n,
|
|
40533
40526
|
indicator: arrowExpanderDown16X16.data,
|
|
40534
40527
|
end: html `
|
|
40535
40528
|
<${iconExclamationMarkTag}
|
|
@@ -40542,7 +40535,7 @@
|
|
|
40542
40535
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSelect());
|
|
40543
40536
|
DesignSystem.tagFor(Select);
|
|
40544
40537
|
|
|
40545
|
-
const styles$
|
|
40538
|
+
const styles$m = css `
|
|
40546
40539
|
${display('inline-flex')}
|
|
40547
40540
|
|
|
40548
40541
|
:host {
|
|
@@ -40741,12 +40734,12 @@
|
|
|
40741
40734
|
const nimbleSpinner = Spinner.compose({
|
|
40742
40735
|
baseName: 'spinner',
|
|
40743
40736
|
template: template$g,
|
|
40744
|
-
styles: styles$
|
|
40737
|
+
styles: styles$m
|
|
40745
40738
|
});
|
|
40746
40739
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSpinner());
|
|
40747
40740
|
DesignSystem.tagFor(Spinner);
|
|
40748
40741
|
|
|
40749
|
-
const styles$
|
|
40742
|
+
const styles$l = css `
|
|
40750
40743
|
${display('inline-flex')}
|
|
40751
40744
|
|
|
40752
40745
|
:host {
|
|
@@ -40954,11 +40947,113 @@
|
|
|
40954
40947
|
baseClass: Switch$1,
|
|
40955
40948
|
baseName: 'switch',
|
|
40956
40949
|
template: template$f,
|
|
40957
|
-
styles: styles$
|
|
40950
|
+
styles: styles$l
|
|
40958
40951
|
});
|
|
40959
40952
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSwitch());
|
|
40960
40953
|
DesignSystem.tagFor(Switch);
|
|
40961
40954
|
|
|
40955
|
+
const styles$k = css `
|
|
40956
|
+
${display('inline-flex')}
|
|
40957
|
+
|
|
40958
|
+
:host {
|
|
40959
|
+
position: relative;
|
|
40960
|
+
box-sizing: border-box;
|
|
40961
|
+
font: ${buttonLabelFont};
|
|
40962
|
+
height: ${controlHeight};
|
|
40963
|
+
color: ${bodyFontColor};
|
|
40964
|
+
align-items: center;
|
|
40965
|
+
justify-content: center;
|
|
40966
|
+
cursor: pointer;
|
|
40967
|
+
--ni-private-active-indicator-width: 2px;
|
|
40968
|
+
--ni-private-focus-indicator-width: 1px;
|
|
40969
|
+
--ni-private-indicator-lines-gap: 1px;
|
|
40970
|
+
--ni-private-focus-indicator-inset-width: 3px;
|
|
40971
|
+
}
|
|
40972
|
+
|
|
40973
|
+
:host(:hover) {
|
|
40974
|
+
background-color: ${fillHoverColor};
|
|
40975
|
+
}
|
|
40976
|
+
|
|
40977
|
+
:host(:hover[aria-selected='true']) {
|
|
40978
|
+
background-color: ${fillHoverSelectedColor};
|
|
40979
|
+
}
|
|
40980
|
+
|
|
40981
|
+
:host(${focusVisible}) {
|
|
40982
|
+
outline: none;
|
|
40983
|
+
}
|
|
40984
|
+
|
|
40985
|
+
:host(:active) {
|
|
40986
|
+
background: none;
|
|
40987
|
+
}
|
|
40988
|
+
|
|
40989
|
+
:host([disabled]) {
|
|
40990
|
+
cursor: default;
|
|
40991
|
+
color: ${bodyDisabledFontColor};
|
|
40992
|
+
background: none;
|
|
40993
|
+
}
|
|
40994
|
+
|
|
40995
|
+
slot:not([name]) {
|
|
40996
|
+
display: block;
|
|
40997
|
+
padding: calc(${standardPadding} / 2) ${standardPadding}
|
|
40998
|
+
calc(${standardPadding} / 2 - ${borderWidth});
|
|
40999
|
+
}
|
|
41000
|
+
|
|
41001
|
+
:host::before {
|
|
41002
|
+
content: '';
|
|
41003
|
+
position: absolute;
|
|
41004
|
+
bottom: calc(
|
|
41005
|
+
var(--ni-private-active-indicator-width) +
|
|
41006
|
+
var(--ni-private-indicator-lines-gap)
|
|
41007
|
+
);
|
|
41008
|
+
width: 0px;
|
|
41009
|
+
height: 0px;
|
|
41010
|
+
border-bottom: ${borderHoverColor}
|
|
41011
|
+
var(--ni-private-focus-indicator-width) solid;
|
|
41012
|
+
transition: width ${smallDelay} ease-in;
|
|
41013
|
+
}
|
|
41014
|
+
|
|
41015
|
+
@media (prefers-reduced-motion) {
|
|
41016
|
+
:host::before {
|
|
41017
|
+
transition-duration: 0s;
|
|
41018
|
+
}
|
|
41019
|
+
}
|
|
41020
|
+
|
|
41021
|
+
:host(${focusVisible})::before {
|
|
41022
|
+
width: calc(100% - 2 * var(--ni-private-focus-indicator-inset-width));
|
|
41023
|
+
}
|
|
41024
|
+
|
|
41025
|
+
:host::after {
|
|
41026
|
+
content: '';
|
|
41027
|
+
position: absolute;
|
|
41028
|
+
bottom: 0px;
|
|
41029
|
+
width: 0px;
|
|
41030
|
+
height: 0px;
|
|
41031
|
+
border-bottom: ${borderHoverColor}
|
|
41032
|
+
var(--ni-private-active-indicator-width) solid;
|
|
41033
|
+
transition: width ${smallDelay} ease-in;
|
|
41034
|
+
}
|
|
41035
|
+
|
|
41036
|
+
@media (prefers-reduced-motion) {
|
|
41037
|
+
:host::after {
|
|
41038
|
+
transition-duration: 0s;
|
|
41039
|
+
}
|
|
41040
|
+
}
|
|
41041
|
+
|
|
41042
|
+
:host(${focusVisible})::after {
|
|
41043
|
+
width: 100%;
|
|
41044
|
+
border-bottom-width: var(--ni-private-focus-indicator-width);
|
|
41045
|
+
}
|
|
41046
|
+
|
|
41047
|
+
:host([aria-selected='true'])::after {
|
|
41048
|
+
width: 100%;
|
|
41049
|
+
border-bottom-width: var(--ni-private-active-indicator-width);
|
|
41050
|
+
}
|
|
41051
|
+
|
|
41052
|
+
:host([aria-selected='true'][disabled])::after {
|
|
41053
|
+
border-bottom-color: rgba(${borderHoverColor}, 0.3);
|
|
41054
|
+
}
|
|
41055
|
+
`;
|
|
41056
|
+
|
|
40962
41057
|
/**
|
|
40963
41058
|
* A nimble-styled HTML tab
|
|
40964
41059
|
*/
|
|
@@ -40968,7 +41063,7 @@
|
|
|
40968
41063
|
baseName: 'tab',
|
|
40969
41064
|
baseClass: Tab$2,
|
|
40970
41065
|
template: tabTemplate,
|
|
40971
|
-
styles: styles$
|
|
41066
|
+
styles: styles$k
|
|
40972
41067
|
});
|
|
40973
41068
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTab());
|
|
40974
41069
|
DesignSystem.tagFor(Tab);
|
|
@@ -48938,7 +49033,7 @@
|
|
|
48938
49033
|
|
|
48939
49034
|
const styles$6 = css `
|
|
48940
49035
|
${display('inline-flex')}
|
|
48941
|
-
${styles$
|
|
49036
|
+
${styles$A}
|
|
48942
49037
|
|
|
48943
49038
|
:host {
|
|
48944
49039
|
font: ${bodyFont};
|
|
@@ -49284,7 +49379,7 @@
|
|
|
49284
49379
|
|
|
49285
49380
|
const styles$5 = css `
|
|
49286
49381
|
${display('inline-block')}
|
|
49287
|
-
${styles$
|
|
49382
|
+
${styles$A}
|
|
49288
49383
|
|
|
49289
49384
|
:host {
|
|
49290
49385
|
font: ${bodyFont};
|