@ni/nimble-components 35.1.2 → 35.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all-components-bundle.js +239 -179
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +3863 -3841
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/all-components.d.ts +3 -0
- package/dist/esm/all-components.js +3 -0
- package/dist/esm/all-components.js.map +1 -1
- package/dist/esm/anchor-step/index.d.ts +12 -0
- package/dist/esm/anchor-step/index.js +16 -0
- package/dist/esm/anchor-step/index.js.map +1 -0
- package/dist/esm/anchor-step/styles.d.ts +1 -0
- package/dist/esm/anchor-step/styles.js +6 -0
- package/dist/esm/anchor-step/styles.js.map +1 -0
- package/dist/esm/anchor-step/template.d.ts +2 -0
- package/dist/esm/anchor-step/template.js +5 -0
- package/dist/esm/anchor-step/template.js.map +1 -0
- package/dist/esm/step/index.d.ts +12 -0
- package/dist/esm/step/index.js +16 -0
- package/dist/esm/step/index.js.map +1 -0
- package/dist/esm/step/styles.d.ts +1 -0
- package/dist/esm/step/styles.js +6 -0
- package/dist/esm/step/styles.js.map +1 -0
- package/dist/esm/step/template.d.ts +2 -0
- package/dist/esm/step/template.js +5 -0
- package/dist/esm/step/template.js.map +1 -0
- package/dist/esm/stepper/index.d.ts +12 -0
- package/dist/esm/stepper/index.js +16 -0
- package/dist/esm/stepper/index.js.map +1 -0
- package/dist/esm/stepper/styles.d.ts +1 -0
- package/dist/esm/stepper/styles.js +6 -0
- package/dist/esm/stepper/styles.js.map +1 -0
- package/dist/esm/stepper/template.d.ts +2 -0
- package/dist/esm/stepper/template.js +5 -0
- package/dist/esm/stepper/template.js.map +1 -0
- package/package.json +1 -1
|
@@ -14881,9 +14881,9 @@
|
|
|
14881
14881
|
const prefix = 'ni-nimble';
|
|
14882
14882
|
const styleNameFromTokenName = (tokenName) => `${prefix}-${tokenName}`;
|
|
14883
14883
|
|
|
14884
|
-
const template$
|
|
14884
|
+
const template$R = html `<slot></slot>`;
|
|
14885
14885
|
|
|
14886
|
-
const styles$
|
|
14886
|
+
const styles$14 = css `
|
|
14887
14887
|
${display('contents')}
|
|
14888
14888
|
`;
|
|
14889
14889
|
|
|
@@ -14998,8 +14998,8 @@
|
|
|
14998
14998
|
], ThemeProvider.prototype, "theme", void 0);
|
|
14999
14999
|
const nimbleDesignSystemProvider = ThemeProvider.compose({
|
|
15000
15000
|
baseName: 'theme-provider',
|
|
15001
|
-
styles: styles$
|
|
15002
|
-
template: template$
|
|
15001
|
+
styles: styles$14,
|
|
15002
|
+
template: template$R
|
|
15003
15003
|
});
|
|
15004
15004
|
DesignSystem.getOrCreate()
|
|
15005
15005
|
.withPrefix('nimble')
|
|
@@ -16572,7 +16572,7 @@
|
|
|
16572
16572
|
}
|
|
16573
16573
|
// #endregion
|
|
16574
16574
|
|
|
16575
|
-
const styles$
|
|
16575
|
+
const styles$13 = css `
|
|
16576
16576
|
@layer base, hover, focusVisible, active, disabled;
|
|
16577
16577
|
|
|
16578
16578
|
@layer base {
|
|
@@ -16650,7 +16650,7 @@
|
|
|
16650
16650
|
}
|
|
16651
16651
|
`;
|
|
16652
16652
|
|
|
16653
|
-
const template$
|
|
16653
|
+
const template$Q = (_context, definition) => html `${
|
|
16654
16654
|
/* top-container div is necessary because setting contenteditable directly on the native anchor instead
|
|
16655
16655
|
leaves it focusable, unlike the behavior you get when the anchor is _within_ a contenteditable element.
|
|
16656
16656
|
*/ ''}<div
|
|
@@ -16753,8 +16753,8 @@
|
|
|
16753
16753
|
const nimbleAnchor = Anchor.compose({
|
|
16754
16754
|
baseName: 'anchor',
|
|
16755
16755
|
baseClass: Anchor$1,
|
|
16756
|
-
template: template$
|
|
16757
|
-
styles: styles$
|
|
16756
|
+
template: template$Q,
|
|
16757
|
+
styles: styles$13,
|
|
16758
16758
|
shadowOptions: {
|
|
16759
16759
|
delegatesFocus: true
|
|
16760
16760
|
}
|
|
@@ -16863,7 +16863,7 @@
|
|
|
16863
16863
|
padding: 0;
|
|
16864
16864
|
`;
|
|
16865
16865
|
|
|
16866
|
-
const styles
|
|
16866
|
+
const styles$12 = css `
|
|
16867
16867
|
@layer base, checked, hover, focusVisible, active, disabled, top;
|
|
16868
16868
|
|
|
16869
16869
|
@layer base {
|
|
@@ -17147,8 +17147,8 @@
|
|
|
17147
17147
|
}
|
|
17148
17148
|
`));
|
|
17149
17149
|
|
|
17150
|
-
const styles$
|
|
17151
|
-
${styles
|
|
17150
|
+
const styles$11 = css `
|
|
17151
|
+
${styles$12}
|
|
17152
17152
|
${buttonAppearanceVariantStyles}
|
|
17153
17153
|
|
|
17154
17154
|
.control {
|
|
@@ -17168,7 +17168,7 @@
|
|
|
17168
17168
|
}
|
|
17169
17169
|
`;
|
|
17170
17170
|
|
|
17171
|
-
const template$
|
|
17171
|
+
const template$P = (context, definition) => html `
|
|
17172
17172
|
<a
|
|
17173
17173
|
class="control"
|
|
17174
17174
|
part="control"
|
|
@@ -17250,8 +17250,8 @@
|
|
|
17250
17250
|
], AnchorButton.prototype, "disabled", void 0);
|
|
17251
17251
|
const nimbleAnchorButton = AnchorButton.compose({
|
|
17252
17252
|
baseName: 'anchor-button',
|
|
17253
|
-
template: template$
|
|
17254
|
-
styles: styles$
|
|
17253
|
+
template: template$P,
|
|
17254
|
+
styles: styles$11,
|
|
17255
17255
|
shadowOptions: {
|
|
17256
17256
|
delegatesFocus: true
|
|
17257
17257
|
}
|
|
@@ -17259,7 +17259,7 @@
|
|
|
17259
17259
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorButton());
|
|
17260
17260
|
const anchorButtonTag = 'nimble-anchor-button';
|
|
17261
17261
|
|
|
17262
|
-
const styles$
|
|
17262
|
+
const styles$10 = css `
|
|
17263
17263
|
${display('grid')}
|
|
17264
17264
|
|
|
17265
17265
|
:host {
|
|
@@ -17342,7 +17342,7 @@
|
|
|
17342
17342
|
}
|
|
17343
17343
|
`;
|
|
17344
17344
|
|
|
17345
|
-
const template$
|
|
17345
|
+
const template$O = (context, definition) => html `
|
|
17346
17346
|
<template
|
|
17347
17347
|
role="menuitem"
|
|
17348
17348
|
class="${x => (typeof x.startColumnCount === 'number'
|
|
@@ -17443,8 +17443,8 @@
|
|
|
17443
17443
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
17444
17444
|
const nimbleAnchorMenuItem = AnchorMenuItem.compose({
|
|
17445
17445
|
baseName: 'anchor-menu-item',
|
|
17446
|
-
template: template$
|
|
17447
|
-
styles: styles$
|
|
17446
|
+
template: template$O,
|
|
17447
|
+
styles: styles$10,
|
|
17448
17448
|
shadowOptions: {
|
|
17449
17449
|
delegatesFocus: true
|
|
17450
17450
|
}
|
|
@@ -17454,7 +17454,27 @@
|
|
|
17454
17454
|
.register(nimbleAnchorMenuItem());
|
|
17455
17455
|
const anchorMenuItemTag = 'nimble-anchor-menu-item';
|
|
17456
17456
|
|
|
17457
|
-
const styles
|
|
17457
|
+
const styles$$ = css `
|
|
17458
|
+
${display('flex')}
|
|
17459
|
+
`;
|
|
17460
|
+
|
|
17461
|
+
const template$N = html `
|
|
17462
|
+
<template>anchor step</template>
|
|
17463
|
+
`;
|
|
17464
|
+
|
|
17465
|
+
/**
|
|
17466
|
+
* A nimble-styled anchor step for a stepper
|
|
17467
|
+
*/
|
|
17468
|
+
class AnchorStep extends FoundationElement {
|
|
17469
|
+
}
|
|
17470
|
+
const nimbleAnchorStep = AnchorStep.compose({
|
|
17471
|
+
baseName: 'anchor-step',
|
|
17472
|
+
template: template$N,
|
|
17473
|
+
styles: styles$$
|
|
17474
|
+
});
|
|
17475
|
+
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorStep());
|
|
17476
|
+
|
|
17477
|
+
const styles$_ = css `
|
|
17458
17478
|
${display('inline-flex')}
|
|
17459
17479
|
|
|
17460
17480
|
:host {
|
|
@@ -17571,7 +17591,7 @@
|
|
|
17571
17591
|
}
|
|
17572
17592
|
`;
|
|
17573
17593
|
|
|
17574
|
-
const template$
|
|
17594
|
+
const template$M = (context, definition) => html `
|
|
17575
17595
|
<template slot="anchortab" role="tab" aria-disabled="${x => x.disabled}">
|
|
17576
17596
|
<a
|
|
17577
17597
|
download="${x => x.download}"
|
|
@@ -17623,15 +17643,15 @@
|
|
|
17623
17643
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
17624
17644
|
const nimbleAnchorTab = AnchorTab.compose({
|
|
17625
17645
|
baseName: 'anchor-tab',
|
|
17626
|
-
template: template$
|
|
17627
|
-
styles: styles$
|
|
17646
|
+
template: template$M,
|
|
17647
|
+
styles: styles$_,
|
|
17628
17648
|
shadowOptions: {
|
|
17629
17649
|
delegatesFocus: true
|
|
17630
17650
|
}
|
|
17631
17651
|
});
|
|
17632
17652
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTab());
|
|
17633
17653
|
|
|
17634
|
-
const styles$
|
|
17654
|
+
const styles$Z = css `
|
|
17635
17655
|
${display('flex')}
|
|
17636
17656
|
|
|
17637
17657
|
:host {
|
|
@@ -17671,12 +17691,12 @@
|
|
|
17671
17691
|
}
|
|
17672
17692
|
`;
|
|
17673
17693
|
|
|
17674
|
-
const styles$
|
|
17675
|
-
${styles
|
|
17694
|
+
const styles$Y = css `
|
|
17695
|
+
${styles$12}
|
|
17676
17696
|
${buttonAppearanceVariantStyles}
|
|
17677
17697
|
`;
|
|
17678
17698
|
|
|
17679
|
-
const template$
|
|
17699
|
+
const template$L = (context, definition) => html `
|
|
17680
17700
|
<button
|
|
17681
17701
|
class="control"
|
|
17682
17702
|
part="control"
|
|
@@ -17767,8 +17787,8 @@
|
|
|
17767
17787
|
const nimbleButton = Button.compose({
|
|
17768
17788
|
baseName: 'button',
|
|
17769
17789
|
baseClass: Button$1,
|
|
17770
|
-
template: template$
|
|
17771
|
-
styles: styles$
|
|
17790
|
+
template: template$L,
|
|
17791
|
+
styles: styles$Y,
|
|
17772
17792
|
shadowOptions: {
|
|
17773
17793
|
delegatesFocus: true
|
|
17774
17794
|
}
|
|
@@ -18715,7 +18735,7 @@
|
|
|
18715
18735
|
};
|
|
18716
18736
|
|
|
18717
18737
|
// Avoiding any whitespace in the template because this is an inline element
|
|
18718
|
-
const template$
|
|
18738
|
+
const template$K = html `<div
|
|
18719
18739
|
class="icon"
|
|
18720
18740
|
aria-hidden="true"
|
|
18721
18741
|
:innerHTML=${x => x.icon.data}
|
|
@@ -18730,7 +18750,7 @@
|
|
|
18730
18750
|
-webkit-user-select: none;
|
|
18731
18751
|
`;
|
|
18732
18752
|
|
|
18733
|
-
const styles$
|
|
18753
|
+
const styles$X = css `
|
|
18734
18754
|
${display('inline-flex')}
|
|
18735
18755
|
|
|
18736
18756
|
:host {
|
|
@@ -18793,8 +18813,8 @@
|
|
|
18793
18813
|
const registerIconSvg = (baseName, iconClass) => {
|
|
18794
18814
|
const composedIcon = iconClass.compose({
|
|
18795
18815
|
baseName,
|
|
18796
|
-
template: template$
|
|
18797
|
-
styles: styles$
|
|
18816
|
+
template: template$K,
|
|
18817
|
+
styles: styles$X
|
|
18798
18818
|
});
|
|
18799
18819
|
DesignSystem.getOrCreate().withPrefix('nimble').register(composedIcon());
|
|
18800
18820
|
};
|
|
@@ -18889,7 +18909,7 @@
|
|
|
18889
18909
|
cssCustomPropertyName: null
|
|
18890
18910
|
}).withDefault(coreLabelDefaults.itemRemoveLabel);
|
|
18891
18911
|
|
|
18892
|
-
const template$
|
|
18912
|
+
const template$J = (context, definition) => html `
|
|
18893
18913
|
<div
|
|
18894
18914
|
class="tab-bar"
|
|
18895
18915
|
>
|
|
@@ -19188,15 +19208,15 @@
|
|
|
19188
19208
|
applyMixins(AnchorTabs, StartEnd);
|
|
19189
19209
|
const nimbleAnchorTabs = AnchorTabs.compose({
|
|
19190
19210
|
baseName: 'anchor-tabs',
|
|
19191
|
-
template: template$
|
|
19192
|
-
styles: styles$
|
|
19211
|
+
template: template$J,
|
|
19212
|
+
styles: styles$Z,
|
|
19193
19213
|
shadowOptions: {
|
|
19194
19214
|
delegatesFocus: false
|
|
19195
19215
|
}
|
|
19196
19216
|
});
|
|
19197
19217
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTabs());
|
|
19198
19218
|
|
|
19199
|
-
const styles$
|
|
19219
|
+
const styles$W = css `
|
|
19200
19220
|
${display('block')}
|
|
19201
19221
|
|
|
19202
19222
|
:host {
|
|
@@ -19301,7 +19321,7 @@
|
|
|
19301
19321
|
}
|
|
19302
19322
|
`;
|
|
19303
19323
|
|
|
19304
|
-
const template$
|
|
19324
|
+
const template$I = (context, definition) => html `
|
|
19305
19325
|
<template
|
|
19306
19326
|
role="treeitem"
|
|
19307
19327
|
slot="${x => (x.isNestedItem() ? 'item' : null)}"
|
|
@@ -19438,8 +19458,8 @@
|
|
|
19438
19458
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
19439
19459
|
const nimbleAnchorTreeItem = AnchorTreeItem.compose({
|
|
19440
19460
|
baseName: 'anchor-tree-item',
|
|
19441
|
-
template: template$
|
|
19442
|
-
styles: styles$
|
|
19461
|
+
template: template$I,
|
|
19462
|
+
styles: styles$W,
|
|
19443
19463
|
shadowOptions: {
|
|
19444
19464
|
delegatesFocus: true
|
|
19445
19465
|
}
|
|
@@ -19455,7 +19475,7 @@
|
|
|
19455
19475
|
zIndex1000: '1000'
|
|
19456
19476
|
};
|
|
19457
19477
|
|
|
19458
|
-
const styles$
|
|
19478
|
+
const styles$V = css `
|
|
19459
19479
|
${display('block')}
|
|
19460
19480
|
|
|
19461
19481
|
:host {
|
|
@@ -19486,7 +19506,7 @@
|
|
|
19486
19506
|
baseName: 'anchored-region',
|
|
19487
19507
|
baseClass: AnchoredRegion$1,
|
|
19488
19508
|
template: anchoredRegionTemplate,
|
|
19489
|
-
styles: styles$
|
|
19509
|
+
styles: styles$V
|
|
19490
19510
|
});
|
|
19491
19511
|
DesignSystem.getOrCreate()
|
|
19492
19512
|
.withPrefix('nimble')
|
|
@@ -19567,7 +19587,7 @@
|
|
|
19567
19587
|
const themeBehavior = (theme, styles) => new ThemeStyleSheetBehavior(theme, styles);
|
|
19568
19588
|
/* eslint-enable max-classes-per-file */
|
|
19569
19589
|
|
|
19570
|
-
const styles$
|
|
19590
|
+
const styles$U = css `
|
|
19571
19591
|
${display('flex')}
|
|
19572
19592
|
|
|
19573
19593
|
:host {
|
|
@@ -19745,7 +19765,7 @@
|
|
|
19745
19765
|
information: 'information'
|
|
19746
19766
|
};
|
|
19747
19767
|
|
|
19748
|
-
const template$
|
|
19768
|
+
const template$H = html `
|
|
19749
19769
|
<${themeProviderTag} theme="${Theme.color}">
|
|
19750
19770
|
<div class="container"
|
|
19751
19771
|
role="status"
|
|
@@ -19863,8 +19883,8 @@
|
|
|
19863
19883
|
applyMixins(Banner, ARIAGlobalStatesAndProperties);
|
|
19864
19884
|
const nimbleBanner = Banner.compose({
|
|
19865
19885
|
baseName: 'banner',
|
|
19866
|
-
template: template$
|
|
19867
|
-
styles: styles$
|
|
19886
|
+
template: template$H,
|
|
19887
|
+
styles: styles$U
|
|
19868
19888
|
});
|
|
19869
19889
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBanner());
|
|
19870
19890
|
|
|
@@ -19905,7 +19925,7 @@
|
|
|
19905
19925
|
</template>
|
|
19906
19926
|
`;
|
|
19907
19927
|
|
|
19908
|
-
const styles$
|
|
19928
|
+
const styles$T = css `
|
|
19909
19929
|
${display('inline-flex')}
|
|
19910
19930
|
|
|
19911
19931
|
:host {
|
|
@@ -20009,11 +20029,11 @@
|
|
|
20009
20029
|
baseName: 'breadcrumb',
|
|
20010
20030
|
baseClass: Breadcrumb$1,
|
|
20011
20031
|
template: breadcrumbTemplate,
|
|
20012
|
-
styles: styles$
|
|
20032
|
+
styles: styles$T
|
|
20013
20033
|
});
|
|
20014
20034
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBreadcrumb());
|
|
20015
20035
|
|
|
20016
|
-
const styles$
|
|
20036
|
+
const styles$S = css `
|
|
20017
20037
|
@layer base, hover, focusVisible, active, disabled;
|
|
20018
20038
|
|
|
20019
20039
|
@layer base {
|
|
@@ -20110,14 +20130,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20110
20130
|
baseName: 'breadcrumb-item',
|
|
20111
20131
|
baseClass: BreadcrumbItem$1,
|
|
20112
20132
|
template: breadcrumbItemTemplate,
|
|
20113
|
-
styles: styles$
|
|
20133
|
+
styles: styles$S,
|
|
20114
20134
|
separator: forwardSlash16X16.data
|
|
20115
20135
|
});
|
|
20116
20136
|
DesignSystem.getOrCreate()
|
|
20117
20137
|
.withPrefix('nimble')
|
|
20118
20138
|
.register(nimbleBreadcrumbItem());
|
|
20119
20139
|
|
|
20120
|
-
const styles$
|
|
20140
|
+
const styles$R = css `
|
|
20121
20141
|
${display('flex')}
|
|
20122
20142
|
|
|
20123
20143
|
:host {
|
|
@@ -20141,7 +20161,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20141
20161
|
}
|
|
20142
20162
|
`;
|
|
20143
20163
|
|
|
20144
|
-
const template$
|
|
20164
|
+
const template$G = html `
|
|
20145
20165
|
<section aria-labelledby="title-slot">
|
|
20146
20166
|
<span id="title-slot"><slot name="title"></slot></span>
|
|
20147
20167
|
<slot></slot>
|
|
@@ -20156,12 +20176,12 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20156
20176
|
const nimbleCard = Card.compose({
|
|
20157
20177
|
baseName: 'card',
|
|
20158
20178
|
baseClass: Card$1,
|
|
20159
|
-
template: template$
|
|
20160
|
-
styles: styles$
|
|
20179
|
+
template: template$G,
|
|
20180
|
+
styles: styles$R
|
|
20161
20181
|
});
|
|
20162
20182
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCard());
|
|
20163
20183
|
|
|
20164
|
-
const styles$
|
|
20184
|
+
const styles$Q = css `
|
|
20165
20185
|
${display('inline-flex')}
|
|
20166
20186
|
|
|
20167
20187
|
:host {
|
|
@@ -20319,14 +20339,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20319
20339
|
const nimbleCardButton = CardButton.compose({
|
|
20320
20340
|
baseName: 'card-button',
|
|
20321
20341
|
template: buttonTemplate,
|
|
20322
|
-
styles: styles$
|
|
20342
|
+
styles: styles$Q,
|
|
20323
20343
|
shadowOptions: {
|
|
20324
20344
|
delegatesFocus: true
|
|
20325
20345
|
}
|
|
20326
20346
|
});
|
|
20327
20347
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCardButton());
|
|
20328
20348
|
|
|
20329
|
-
const styles$
|
|
20349
|
+
const styles$P = css `
|
|
20330
20350
|
.error-icon {
|
|
20331
20351
|
display: none;
|
|
20332
20352
|
}
|
|
@@ -20360,9 +20380,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20360
20380
|
}
|
|
20361
20381
|
`;
|
|
20362
20382
|
|
|
20363
|
-
const styles$
|
|
20383
|
+
const styles$O = css `
|
|
20364
20384
|
${display('inline-grid')}
|
|
20365
|
-
${styles$
|
|
20385
|
+
${styles$P}
|
|
20366
20386
|
|
|
20367
20387
|
:host {
|
|
20368
20388
|
font: ${bodyFont};
|
|
@@ -20556,7 +20576,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20556
20576
|
</div>
|
|
20557
20577
|
`;
|
|
20558
20578
|
|
|
20559
|
-
const template$
|
|
20579
|
+
const template$F = (_context, definition) => html `
|
|
20560
20580
|
<template
|
|
20561
20581
|
role="checkbox"
|
|
20562
20582
|
aria-checked="${x => x.checked}"
|
|
@@ -20641,16 +20661,16 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20641
20661
|
const nimbleCheckbox = Checkbox.compose({
|
|
20642
20662
|
baseName: 'checkbox',
|
|
20643
20663
|
baseClass: Checkbox$1,
|
|
20644
|
-
template: template$
|
|
20645
|
-
styles: styles$
|
|
20664
|
+
template: template$F,
|
|
20665
|
+
styles: styles$O,
|
|
20646
20666
|
checkedIndicator: check16X16.data,
|
|
20647
20667
|
indeterminateIndicator: minus16X16.data
|
|
20648
20668
|
});
|
|
20649
20669
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCheckbox());
|
|
20650
20670
|
const checkboxTag = 'nimble-checkbox';
|
|
20651
20671
|
|
|
20652
|
-
const styles$
|
|
20653
|
-
${styles
|
|
20672
|
+
const styles$N = css `
|
|
20673
|
+
${styles$12}
|
|
20654
20674
|
${buttonAppearanceVariantStyles}
|
|
20655
20675
|
|
|
20656
20676
|
@layer checked {
|
|
@@ -20697,7 +20717,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20697
20717
|
}
|
|
20698
20718
|
`));
|
|
20699
20719
|
|
|
20700
|
-
const template$
|
|
20720
|
+
const template$E = (context, definition) => html `
|
|
20701
20721
|
<div
|
|
20702
20722
|
role="button"
|
|
20703
20723
|
part="control"
|
|
@@ -20792,8 +20812,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20792
20812
|
applyMixins(ToggleButton, StartEnd, DelegatesARIAButton);
|
|
20793
20813
|
const nimbleToggleButton = ToggleButton.compose({
|
|
20794
20814
|
baseName: 'toggle-button',
|
|
20795
|
-
template: template$
|
|
20796
|
-
styles: styles$
|
|
20815
|
+
template: template$E,
|
|
20816
|
+
styles: styles$N,
|
|
20797
20817
|
shadowOptions: {
|
|
20798
20818
|
delegatesFocus: true
|
|
20799
20819
|
}
|
|
@@ -20823,7 +20843,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20823
20843
|
frameless: 'frameless'
|
|
20824
20844
|
};
|
|
20825
20845
|
|
|
20826
|
-
const styles$
|
|
20846
|
+
const styles$M = css `
|
|
20827
20847
|
${display('inline-flex')}
|
|
20828
20848
|
|
|
20829
20849
|
:host {
|
|
@@ -21113,7 +21133,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21113
21133
|
}
|
|
21114
21134
|
`));
|
|
21115
21135
|
|
|
21116
|
-
const styles$
|
|
21136
|
+
const styles$L = css `
|
|
21117
21137
|
.annotated-label {
|
|
21118
21138
|
display: flex;
|
|
21119
21139
|
flex-direction: row;
|
|
@@ -21140,10 +21160,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21140
21160
|
none: undefined,
|
|
21141
21161
|
standard: 'standard'};
|
|
21142
21162
|
|
|
21143
|
-
const styles$
|
|
21144
|
-
${styles$
|
|
21145
|
-
${styles$
|
|
21146
|
-
${styles$
|
|
21163
|
+
const styles$K = css `
|
|
21164
|
+
${styles$M}
|
|
21165
|
+
${styles$P}
|
|
21166
|
+
${styles$L}
|
|
21147
21167
|
|
|
21148
21168
|
:host {
|
|
21149
21169
|
--ni-private-hover-bottom-border-width: 2px;
|
|
@@ -21264,7 +21284,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21264
21284
|
<slot></slot>
|
|
21265
21285
|
</label>
|
|
21266
21286
|
`);
|
|
21267
|
-
const template$
|
|
21287
|
+
const template$D = (context, definition) => html `
|
|
21268
21288
|
<template
|
|
21269
21289
|
aria-disabled="${x => x.ariaDisabled}"
|
|
21270
21290
|
autocomplete="${x => x.autocomplete}"
|
|
@@ -22039,8 +22059,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22039
22059
|
const nimbleCombobox = Combobox.compose({
|
|
22040
22060
|
baseName: 'combobox',
|
|
22041
22061
|
baseClass: FormAssociatedCombobox,
|
|
22042
|
-
template: template$
|
|
22043
|
-
styles: styles$
|
|
22062
|
+
template: template$D,
|
|
22063
|
+
styles: styles$K,
|
|
22044
22064
|
shadowOptions: {
|
|
22045
22065
|
delegatesFocus: true
|
|
22046
22066
|
},
|
|
@@ -22084,7 +22104,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22084
22104
|
*/
|
|
22085
22105
|
const UserDismissed = Symbol('user dismissed');
|
|
22086
22106
|
|
|
22087
|
-
const styles$
|
|
22107
|
+
const styles$J = css `
|
|
22088
22108
|
${display('grid')}
|
|
22089
22109
|
|
|
22090
22110
|
dialog {
|
|
@@ -22177,7 +22197,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22177
22197
|
}
|
|
22178
22198
|
`;
|
|
22179
22199
|
|
|
22180
|
-
const template$
|
|
22200
|
+
const template$C = html `
|
|
22181
22201
|
<template>
|
|
22182
22202
|
<dialog
|
|
22183
22203
|
${ref('dialogElement')}
|
|
@@ -22325,13 +22345,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22325
22345
|
applyMixins(Dialog, ARIAGlobalStatesAndProperties);
|
|
22326
22346
|
const nimbleDialog = Dialog.compose({
|
|
22327
22347
|
baseName: 'dialog',
|
|
22328
|
-
template: template$
|
|
22329
|
-
styles: styles$
|
|
22348
|
+
template: template$C,
|
|
22349
|
+
styles: styles$J,
|
|
22330
22350
|
baseClass: Dialog
|
|
22331
22351
|
});
|
|
22332
22352
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDialog());
|
|
22333
22353
|
|
|
22334
|
-
const styles$
|
|
22354
|
+
const styles$I = css `
|
|
22335
22355
|
${display('block')}
|
|
22336
22356
|
|
|
22337
22357
|
:host {
|
|
@@ -22474,7 +22494,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22474
22494
|
}
|
|
22475
22495
|
`;
|
|
22476
22496
|
|
|
22477
|
-
const template$
|
|
22497
|
+
const template$B = html `
|
|
22478
22498
|
<dialog
|
|
22479
22499
|
${ref('dialog')}
|
|
22480
22500
|
aria-label="${x => x.ariaLabel}"
|
|
@@ -22616,8 +22636,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22616
22636
|
applyMixins(Drawer, ARIAGlobalStatesAndProperties);
|
|
22617
22637
|
const nimbleDrawer = Drawer.compose({
|
|
22618
22638
|
baseName: 'drawer',
|
|
22619
|
-
template: template$
|
|
22620
|
-
styles: styles$
|
|
22639
|
+
template: template$B,
|
|
22640
|
+
styles: styles$I
|
|
22621
22641
|
});
|
|
22622
22642
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDrawer());
|
|
22623
22643
|
|
|
@@ -25398,7 +25418,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25398
25418
|
}
|
|
25399
25419
|
}
|
|
25400
25420
|
|
|
25401
|
-
const styles$
|
|
25421
|
+
const styles$H = css `
|
|
25402
25422
|
${display('none')}
|
|
25403
25423
|
`;
|
|
25404
25424
|
|
|
@@ -25463,7 +25483,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25463
25483
|
], LabelProviderCore.prototype, "itemRemove", void 0);
|
|
25464
25484
|
const nimbleLabelProviderCore = LabelProviderCore.compose({
|
|
25465
25485
|
baseName: 'label-provider-core',
|
|
25466
|
-
styles: styles$
|
|
25486
|
+
styles: styles$H
|
|
25467
25487
|
});
|
|
25468
25488
|
DesignSystem.getOrCreate()
|
|
25469
25489
|
.withPrefix('nimble')
|
|
@@ -25630,13 +25650,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25630
25650
|
], LabelProviderTable.prototype, "groupRowPlaceholderEmpty", void 0);
|
|
25631
25651
|
const nimbleLabelProviderTable = LabelProviderTable.compose({
|
|
25632
25652
|
baseName: 'label-provider-table',
|
|
25633
|
-
styles: styles$
|
|
25653
|
+
styles: styles$H
|
|
25634
25654
|
});
|
|
25635
25655
|
DesignSystem.getOrCreate()
|
|
25636
25656
|
.withPrefix('nimble')
|
|
25637
25657
|
.register(nimbleLabelProviderTable());
|
|
25638
25658
|
|
|
25639
|
-
const styles$
|
|
25659
|
+
const styles$G = css `
|
|
25640
25660
|
${display('flex')}
|
|
25641
25661
|
|
|
25642
25662
|
:host {
|
|
@@ -25712,7 +25732,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25712
25732
|
* The template for the {@link @ni/fast-foundation#(ListboxOption:class)} component.
|
|
25713
25733
|
* @public
|
|
25714
25734
|
*/
|
|
25715
|
-
const template$
|
|
25735
|
+
const template$A = (context, definition) => html `
|
|
25716
25736
|
<template
|
|
25717
25737
|
aria-checked="${x => x.ariaChecked}"
|
|
25718
25738
|
aria-disabled="${x => x.ariaDisabled}"
|
|
@@ -25825,13 +25845,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25825
25845
|
const nimbleListOption = ListOption.compose({
|
|
25826
25846
|
baseName: 'list-option',
|
|
25827
25847
|
baseClass: ListboxOption,
|
|
25828
|
-
template: template$
|
|
25829
|
-
styles: styles$
|
|
25848
|
+
template: template$A,
|
|
25849
|
+
styles: styles$G
|
|
25830
25850
|
});
|
|
25831
25851
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListOption());
|
|
25832
25852
|
const listOptionTag = 'nimble-list-option';
|
|
25833
25853
|
|
|
25834
|
-
const styles$
|
|
25854
|
+
const styles$F = css `
|
|
25835
25855
|
${display('flex')}
|
|
25836
25856
|
|
|
25837
25857
|
:host {
|
|
@@ -25893,7 +25913,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25893
25913
|
const isListOption$1 = (n) => {
|
|
25894
25914
|
return n instanceof ListOption;
|
|
25895
25915
|
};
|
|
25896
|
-
const template$
|
|
25916
|
+
const template$z = html `
|
|
25897
25917
|
<template
|
|
25898
25918
|
role="group"
|
|
25899
25919
|
aria-label="${x => x.labelContent}"
|
|
@@ -26035,8 +26055,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26035
26055
|
const nimbleListOptionGroup = ListOptionGroup.compose({
|
|
26036
26056
|
baseName: 'list-option-group',
|
|
26037
26057
|
baseClass: FoundationElement,
|
|
26038
|
-
template: template$
|
|
26039
|
-
styles: styles$
|
|
26058
|
+
template: template$z,
|
|
26059
|
+
styles: styles$F
|
|
26040
26060
|
});
|
|
26041
26061
|
DesignSystem.getOrCreate()
|
|
26042
26062
|
.withPrefix('nimble')
|
|
@@ -26063,9 +26083,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26063
26083
|
attr()
|
|
26064
26084
|
], Mapping$1.prototype, "key", void 0);
|
|
26065
26085
|
|
|
26066
|
-
const template$
|
|
26086
|
+
const template$y = html `<template slot="mapping"></template>`;
|
|
26067
26087
|
|
|
26068
|
-
const styles$
|
|
26088
|
+
const styles$E = css `
|
|
26069
26089
|
${display('none')}
|
|
26070
26090
|
`;
|
|
26071
26091
|
|
|
@@ -26081,8 +26101,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26081
26101
|
], MappingEmpty.prototype, "text", void 0);
|
|
26082
26102
|
const emptyMapping = MappingEmpty.compose({
|
|
26083
26103
|
baseName: 'mapping-empty',
|
|
26084
|
-
template: template$
|
|
26085
|
-
styles: styles$
|
|
26104
|
+
template: template$y,
|
|
26105
|
+
styles: styles$E
|
|
26086
26106
|
});
|
|
26087
26107
|
DesignSystem.getOrCreate().withPrefix('nimble').register(emptyMapping());
|
|
26088
26108
|
|
|
@@ -26152,8 +26172,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26152
26172
|
], MappingIcon.prototype, "resolvedIcon", void 0);
|
|
26153
26173
|
const iconMapping = MappingIcon.compose({
|
|
26154
26174
|
baseName: 'mapping-icon',
|
|
26155
|
-
template: template$
|
|
26156
|
-
styles: styles$
|
|
26175
|
+
template: template$y,
|
|
26176
|
+
styles: styles$E
|
|
26157
26177
|
});
|
|
26158
26178
|
DesignSystem.getOrCreate().withPrefix('nimble').register(iconMapping());
|
|
26159
26179
|
|
|
@@ -26176,8 +26196,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26176
26196
|
], MappingSpinner.prototype, "textHidden", void 0);
|
|
26177
26197
|
const spinnerMapping = MappingSpinner.compose({
|
|
26178
26198
|
baseName: 'mapping-spinner',
|
|
26179
|
-
template: template$
|
|
26180
|
-
styles: styles$
|
|
26199
|
+
template: template$y,
|
|
26200
|
+
styles: styles$E
|
|
26181
26201
|
});
|
|
26182
26202
|
DesignSystem.getOrCreate().withPrefix('nimble').register(spinnerMapping());
|
|
26183
26203
|
|
|
@@ -26193,8 +26213,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26193
26213
|
], MappingText.prototype, "text", void 0);
|
|
26194
26214
|
const textMapping = MappingText.compose({
|
|
26195
26215
|
baseName: 'mapping-text',
|
|
26196
|
-
template: template$
|
|
26197
|
-
styles: styles$
|
|
26216
|
+
template: template$y,
|
|
26217
|
+
styles: styles$E
|
|
26198
26218
|
});
|
|
26199
26219
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textMapping());
|
|
26200
26220
|
|
|
@@ -26496,7 +26516,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26496
26516
|
observable
|
|
26497
26517
|
], Menu$1.prototype, "itemIcons", void 0);
|
|
26498
26518
|
|
|
26499
|
-
const template$
|
|
26519
|
+
const template$x = () => html `
|
|
26500
26520
|
<template
|
|
26501
26521
|
slot="${x => {
|
|
26502
26522
|
if (x.slot) {
|
|
@@ -26513,7 +26533,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26513
26533
|
</template>
|
|
26514
26534
|
`;
|
|
26515
26535
|
|
|
26516
|
-
const styles$
|
|
26536
|
+
const styles$D = css `
|
|
26517
26537
|
${display('grid')}
|
|
26518
26538
|
|
|
26519
26539
|
:host {
|
|
@@ -26584,8 +26604,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26584
26604
|
const nimbleMenu = Menu.compose({
|
|
26585
26605
|
baseName: 'menu',
|
|
26586
26606
|
baseClass: Menu$1,
|
|
26587
|
-
template: template$
|
|
26588
|
-
styles: styles$
|
|
26607
|
+
template: template$x,
|
|
26608
|
+
styles: styles$D
|
|
26589
26609
|
});
|
|
26590
26610
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenu());
|
|
26591
26611
|
|
|
@@ -26600,7 +26620,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26600
26620
|
auto: 'auto'
|
|
26601
26621
|
};
|
|
26602
26622
|
|
|
26603
|
-
const styles$
|
|
26623
|
+
const styles$C = css `
|
|
26604
26624
|
${display('inline-block')}
|
|
26605
26625
|
|
|
26606
26626
|
:host {
|
|
@@ -26618,7 +26638,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26618
26638
|
}
|
|
26619
26639
|
`;
|
|
26620
26640
|
|
|
26621
|
-
const template$
|
|
26641
|
+
const template$w = html `
|
|
26622
26642
|
<template
|
|
26623
26643
|
?open="${x => x.open}"
|
|
26624
26644
|
@focusout="${(x, c) => x.focusoutHandler(c.event)}"
|
|
@@ -26868,8 +26888,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26868
26888
|
], MenuButton.prototype, "slottedMenus", void 0);
|
|
26869
26889
|
const nimbleMenuButton = MenuButton.compose({
|
|
26870
26890
|
baseName: 'menu-button',
|
|
26871
|
-
template: template$
|
|
26872
|
-
styles: styles$
|
|
26891
|
+
template: template$w,
|
|
26892
|
+
styles: styles$C,
|
|
26873
26893
|
shadowOptions: {
|
|
26874
26894
|
delegatesFocus: true
|
|
26875
26895
|
}
|
|
@@ -26877,7 +26897,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26877
26897
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuButton());
|
|
26878
26898
|
const menuButtonTag = 'nimble-menu-button';
|
|
26879
26899
|
|
|
26880
|
-
const styles$
|
|
26900
|
+
const styles$B = css `
|
|
26881
26901
|
${display('grid')}
|
|
26882
26902
|
|
|
26883
26903
|
:host {
|
|
@@ -26974,7 +26994,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26974
26994
|
baseName: 'menu-item',
|
|
26975
26995
|
baseClass: MenuItem$1,
|
|
26976
26996
|
template: menuItemTemplate,
|
|
26977
|
-
styles: styles$
|
|
26997
|
+
styles: styles$B,
|
|
26978
26998
|
expandCollapseGlyph: arrowExpanderRight16X16.data
|
|
26979
26999
|
});
|
|
26980
27000
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuItem());
|
|
@@ -26989,10 +27009,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26989
27009
|
frameless: 'frameless'
|
|
26990
27010
|
};
|
|
26991
27011
|
|
|
26992
|
-
const styles$
|
|
27012
|
+
const styles$A = css `
|
|
26993
27013
|
${display('inline-block')}
|
|
26994
|
-
${styles$
|
|
26995
|
-
${styles$
|
|
27014
|
+
${styles$P}
|
|
27015
|
+
${styles$L}
|
|
26996
27016
|
|
|
26997
27017
|
:host {
|
|
26998
27018
|
font: ${bodyFont};
|
|
@@ -27215,7 +27235,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27215
27235
|
* The template for the {@link @ni/fast-foundation#(NumberField:class)} component.
|
|
27216
27236
|
* @public
|
|
27217
27237
|
*/
|
|
27218
|
-
const template$
|
|
27238
|
+
const template$v = (context, definition) => html `
|
|
27219
27239
|
<template class="${x => (x.readOnly ? 'readonly' : '')}">
|
|
27220
27240
|
${labelTemplate$4}
|
|
27221
27241
|
<div class="root" part="root">
|
|
@@ -27369,8 +27389,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27369
27389
|
const nimbleNumberField = NumberField.compose({
|
|
27370
27390
|
baseName: 'number-field',
|
|
27371
27391
|
baseClass: NumberField$1,
|
|
27372
|
-
template: template$
|
|
27373
|
-
styles: styles$
|
|
27392
|
+
template: template$v,
|
|
27393
|
+
styles: styles$A,
|
|
27374
27394
|
shadowOptions: {
|
|
27375
27395
|
delegatesFocus: true
|
|
27376
27396
|
},
|
|
@@ -27413,7 +27433,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27413
27433
|
});
|
|
27414
27434
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleNumberField());
|
|
27415
27435
|
|
|
27416
|
-
const styles$
|
|
27436
|
+
const styles$z = css `
|
|
27417
27437
|
${display('inline-flex')}
|
|
27418
27438
|
|
|
27419
27439
|
:host {
|
|
@@ -27513,15 +27533,15 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27513
27533
|
baseName: 'radio',
|
|
27514
27534
|
baseClass: Radio$1,
|
|
27515
27535
|
template: radioTemplate,
|
|
27516
|
-
styles: styles$
|
|
27536
|
+
styles: styles$z,
|
|
27517
27537
|
checkedIndicator: circleFilled16X16.data
|
|
27518
27538
|
});
|
|
27519
27539
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadio());
|
|
27520
27540
|
|
|
27521
|
-
const styles$
|
|
27541
|
+
const styles$y = css `
|
|
27522
27542
|
${display('inline-block')}
|
|
27523
|
-
${styles$
|
|
27524
|
-
${styles$
|
|
27543
|
+
${styles$P}
|
|
27544
|
+
${styles$L}
|
|
27525
27545
|
|
|
27526
27546
|
.positioning-region {
|
|
27527
27547
|
display: flex;
|
|
@@ -27560,7 +27580,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27560
27580
|
`;
|
|
27561
27581
|
|
|
27562
27582
|
const labelTemplate$3 = createRequiredVisibleLabelTemplate(html `<slot name="label"></slot>`);
|
|
27563
|
-
const template$
|
|
27583
|
+
const template$u = html `
|
|
27564
27584
|
<template
|
|
27565
27585
|
role="radiogroup"
|
|
27566
27586
|
aria-disabled="${x => x.disabled}"
|
|
@@ -27600,8 +27620,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27600
27620
|
const nimbleRadioGroup = RadioGroup.compose({
|
|
27601
27621
|
baseName: 'radio-group',
|
|
27602
27622
|
baseClass: RadioGroup$1,
|
|
27603
|
-
template: template$
|
|
27604
|
-
styles: styles$
|
|
27623
|
+
template: template$u,
|
|
27624
|
+
styles: styles$y,
|
|
27605
27625
|
shadowOptions: {
|
|
27606
27626
|
delegatesFocus: true
|
|
27607
27627
|
}
|
|
@@ -31537,7 +31557,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
31537
31557
|
JSON-serialization identifier using
|
|
31538
31558
|
[`Step.jsonID`](https://prosemirror.net/docs/ref/#transform.Step^jsonID).
|
|
31539
31559
|
*/
|
|
31540
|
-
class Step {
|
|
31560
|
+
let Step$1 = class Step {
|
|
31541
31561
|
/**
|
|
31542
31562
|
Get the step map that represents the changes made by this step,
|
|
31543
31563
|
and which can be used to transform between positions in the old
|
|
@@ -31575,7 +31595,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
31575
31595
|
stepClass.prototype.jsonID = id;
|
|
31576
31596
|
return stepClass;
|
|
31577
31597
|
}
|
|
31578
|
-
}
|
|
31598
|
+
};
|
|
31579
31599
|
/**
|
|
31580
31600
|
The result of [applying](https://prosemirror.net/docs/ref/#transform.Step.apply) a step. Contains either a
|
|
31581
31601
|
new document or a failure value.
|
|
@@ -31636,7 +31656,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
31636
31656
|
/**
|
|
31637
31657
|
Add a mark to all inline content between two positions.
|
|
31638
31658
|
*/
|
|
31639
|
-
class AddMarkStep extends Step {
|
|
31659
|
+
class AddMarkStep extends Step$1 {
|
|
31640
31660
|
/**
|
|
31641
31661
|
Create a mark step.
|
|
31642
31662
|
*/
|
|
@@ -31697,11 +31717,11 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
31697
31717
|
return new AddMarkStep(json.from, json.to, schema.markFromJSON(json.mark));
|
|
31698
31718
|
}
|
|
31699
31719
|
}
|
|
31700
|
-
Step.jsonID("addMark", AddMarkStep);
|
|
31720
|
+
Step$1.jsonID("addMark", AddMarkStep);
|
|
31701
31721
|
/**
|
|
31702
31722
|
Remove a mark from all inline content between two positions.
|
|
31703
31723
|
*/
|
|
31704
|
-
class RemoveMarkStep extends Step {
|
|
31724
|
+
class RemoveMarkStep extends Step$1 {
|
|
31705
31725
|
/**
|
|
31706
31726
|
Create a mark-removing step.
|
|
31707
31727
|
*/
|
|
@@ -31759,11 +31779,11 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
31759
31779
|
return new RemoveMarkStep(json.from, json.to, schema.markFromJSON(json.mark));
|
|
31760
31780
|
}
|
|
31761
31781
|
}
|
|
31762
|
-
Step.jsonID("removeMark", RemoveMarkStep);
|
|
31782
|
+
Step$1.jsonID("removeMark", RemoveMarkStep);
|
|
31763
31783
|
/**
|
|
31764
31784
|
Add a mark to a specific node.
|
|
31765
31785
|
*/
|
|
31766
|
-
class AddNodeMarkStep extends Step {
|
|
31786
|
+
class AddNodeMarkStep extends Step$1 {
|
|
31767
31787
|
/**
|
|
31768
31788
|
Create a node mark step.
|
|
31769
31789
|
*/
|
|
@@ -31816,11 +31836,11 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
31816
31836
|
return new AddNodeMarkStep(json.pos, schema.markFromJSON(json.mark));
|
|
31817
31837
|
}
|
|
31818
31838
|
}
|
|
31819
|
-
Step.jsonID("addNodeMark", AddNodeMarkStep);
|
|
31839
|
+
Step$1.jsonID("addNodeMark", AddNodeMarkStep);
|
|
31820
31840
|
/**
|
|
31821
31841
|
Remove a mark from a specific node.
|
|
31822
31842
|
*/
|
|
31823
|
-
class RemoveNodeMarkStep extends Step {
|
|
31843
|
+
class RemoveNodeMarkStep extends Step$1 {
|
|
31824
31844
|
/**
|
|
31825
31845
|
Create a mark-removing step.
|
|
31826
31846
|
*/
|
|
@@ -31866,12 +31886,12 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
31866
31886
|
return new RemoveNodeMarkStep(json.pos, schema.markFromJSON(json.mark));
|
|
31867
31887
|
}
|
|
31868
31888
|
}
|
|
31869
|
-
Step.jsonID("removeNodeMark", RemoveNodeMarkStep);
|
|
31889
|
+
Step$1.jsonID("removeNodeMark", RemoveNodeMarkStep);
|
|
31870
31890
|
|
|
31871
31891
|
/**
|
|
31872
31892
|
Replace a part of the document with a slice of new content.
|
|
31873
31893
|
*/
|
|
31874
|
-
class ReplaceStep extends Step {
|
|
31894
|
+
class ReplaceStep extends Step$1 {
|
|
31875
31895
|
/**
|
|
31876
31896
|
The given `slice` should fit the 'gap' between `from` and
|
|
31877
31897
|
`to`—the depths must line up, and the surrounding nodes must be
|
|
@@ -31955,13 +31975,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
31955
31975
|
return new ReplaceStep(json.from, json.to, Slice.fromJSON(schema, json.slice), !!json.structure);
|
|
31956
31976
|
}
|
|
31957
31977
|
}
|
|
31958
|
-
Step.jsonID("replace", ReplaceStep);
|
|
31978
|
+
Step$1.jsonID("replace", ReplaceStep);
|
|
31959
31979
|
/**
|
|
31960
31980
|
Replace a part of the document with a slice of content, but
|
|
31961
31981
|
preserve a range of the replaced content by moving it into the
|
|
31962
31982
|
slice.
|
|
31963
31983
|
*/
|
|
31964
|
-
class ReplaceAroundStep extends Step {
|
|
31984
|
+
class ReplaceAroundStep extends Step$1 {
|
|
31965
31985
|
/**
|
|
31966
31986
|
Create a replace-around step with the given range and gap.
|
|
31967
31987
|
`insert` should be the point in the slice into which the content
|
|
@@ -32054,7 +32074,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
32054
32074
|
return new ReplaceAroundStep(json.from, json.to, json.gapFrom, json.gapTo, Slice.fromJSON(schema, json.slice), json.insert, !!json.structure);
|
|
32055
32075
|
}
|
|
32056
32076
|
}
|
|
32057
|
-
Step.jsonID("replaceAround", ReplaceAroundStep);
|
|
32077
|
+
Step$1.jsonID("replaceAround", ReplaceAroundStep);
|
|
32058
32078
|
function contentBetween(doc, from, to) {
|
|
32059
32079
|
let $from = doc.resolve(from), dist = to - from, depth = $from.depth;
|
|
32060
32080
|
while (dist > 0 && depth > 0 && $from.indexAfter(depth) == $from.node(depth).childCount) {
|
|
@@ -32978,7 +32998,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
32978
32998
|
/**
|
|
32979
32999
|
Update an attribute in a specific node.
|
|
32980
33000
|
*/
|
|
32981
|
-
class AttrStep extends Step {
|
|
33001
|
+
class AttrStep extends Step$1 {
|
|
32982
33002
|
/**
|
|
32983
33003
|
Construct an attribute step.
|
|
32984
33004
|
*/
|
|
@@ -33028,11 +33048,11 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
33028
33048
|
return new AttrStep(json.pos, json.attr, json.value);
|
|
33029
33049
|
}
|
|
33030
33050
|
}
|
|
33031
|
-
Step.jsonID("attr", AttrStep);
|
|
33051
|
+
Step$1.jsonID("attr", AttrStep);
|
|
33032
33052
|
/**
|
|
33033
33053
|
Update an attribute in the doc node.
|
|
33034
33054
|
*/
|
|
33035
|
-
class DocAttrStep extends Step {
|
|
33055
|
+
class DocAttrStep extends Step$1 {
|
|
33036
33056
|
/**
|
|
33037
33057
|
Construct an attribute step.
|
|
33038
33058
|
*/
|
|
@@ -33073,7 +33093,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
33073
33093
|
return new DocAttrStep(json.attr, json.value);
|
|
33074
33094
|
}
|
|
33075
33095
|
}
|
|
33076
|
-
Step.jsonID("docAttr", DocAttrStep);
|
|
33096
|
+
Step$1.jsonID("docAttr", DocAttrStep);
|
|
33077
33097
|
|
|
33078
33098
|
/**
|
|
33079
33099
|
@internal
|
|
@@ -46745,7 +46765,7 @@ ${renderedContent}
|
|
|
46745
46765
|
// src/index.ts
|
|
46746
46766
|
var index_default$7 = HardBreak;
|
|
46747
46767
|
|
|
46748
|
-
const styles$
|
|
46768
|
+
const styles$x = css `
|
|
46749
46769
|
${display('inline')}
|
|
46750
46770
|
|
|
46751
46771
|
.positioning-region {
|
|
@@ -46782,7 +46802,7 @@ ${renderedContent}
|
|
|
46782
46802
|
baseName: 'toolbar',
|
|
46783
46803
|
baseClass: Toolbar$1,
|
|
46784
46804
|
template: toolbarTemplate,
|
|
46785
|
-
styles: styles$
|
|
46805
|
+
styles: styles$x
|
|
46786
46806
|
});
|
|
46787
46807
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleToolbar());
|
|
46788
46808
|
const toolbarTag = 'nimble-toolbar';
|
|
@@ -46811,8 +46831,8 @@ ${renderedContent}
|
|
|
46811
46831
|
cssCustomPropertyName: null
|
|
46812
46832
|
}).withDefault(richTextLabelDefaults.richTextToggleNumberedListLabel);
|
|
46813
46833
|
|
|
46814
|
-
const styles$
|
|
46815
|
-
${styles$
|
|
46834
|
+
const styles$w = css `
|
|
46835
|
+
${styles$M}
|
|
46816
46836
|
|
|
46817
46837
|
:host {
|
|
46818
46838
|
height: auto;
|
|
@@ -46830,7 +46850,7 @@ ${renderedContent}
|
|
|
46830
46850
|
}
|
|
46831
46851
|
`;
|
|
46832
46852
|
|
|
46833
|
-
const template$
|
|
46853
|
+
const template$t = html `
|
|
46834
46854
|
<template>
|
|
46835
46855
|
<${anchoredRegionTag}
|
|
46836
46856
|
${ref('region')}
|
|
@@ -47118,15 +47138,15 @@ ${renderedContent}
|
|
|
47118
47138
|
], RichTextMentionListbox.prototype, "anchorElement", void 0);
|
|
47119
47139
|
const nimbleRichTextMentionListbox = RichTextMentionListbox.compose({
|
|
47120
47140
|
baseName: 'rich-text-mention-listbox',
|
|
47121
|
-
template: template$
|
|
47122
|
-
styles: styles$
|
|
47141
|
+
template: template$t,
|
|
47142
|
+
styles: styles$w
|
|
47123
47143
|
});
|
|
47124
47144
|
DesignSystem.getOrCreate()
|
|
47125
47145
|
.withPrefix('nimble')
|
|
47126
47146
|
.register(nimbleRichTextMentionListbox());
|
|
47127
47147
|
const richTextMentionListboxTag = 'nimble-rich-text-mention-listbox';
|
|
47128
47148
|
|
|
47129
|
-
const template$
|
|
47149
|
+
const template$s = html `
|
|
47130
47150
|
<template
|
|
47131
47151
|
${children$1({ property: 'childItems', filter: elements() })}
|
|
47132
47152
|
@focusout="${x => x.focusoutHandler()}"
|
|
@@ -47228,9 +47248,9 @@ ${renderedContent}
|
|
|
47228
47248
|
</template>
|
|
47229
47249
|
`;
|
|
47230
47250
|
|
|
47231
|
-
const styles$
|
|
47251
|
+
const styles$v = css `
|
|
47232
47252
|
${display('inline-flex')}
|
|
47233
|
-
${styles$
|
|
47253
|
+
${styles$P}
|
|
47234
47254
|
|
|
47235
47255
|
:host {
|
|
47236
47256
|
font: ${bodyFont};
|
|
@@ -63604,8 +63624,8 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
63604
63624
|
applyMixins(RichTextEditor, ARIAGlobalStatesAndProperties);
|
|
63605
63625
|
const nimbleRichTextEditor = RichTextEditor.compose({
|
|
63606
63626
|
baseName: 'rich-text-editor',
|
|
63607
|
-
template: template$
|
|
63608
|
-
styles: styles$
|
|
63627
|
+
template: template$s,
|
|
63628
|
+
styles: styles$v,
|
|
63609
63629
|
shadowOptions: {
|
|
63610
63630
|
delegatesFocus: true
|
|
63611
63631
|
}
|
|
@@ -63614,13 +63634,13 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
63614
63634
|
.withPrefix('nimble')
|
|
63615
63635
|
.register(nimbleRichTextEditor());
|
|
63616
63636
|
|
|
63617
|
-
const template$
|
|
63637
|
+
const template$r = html `
|
|
63618
63638
|
<template ${children$1({ property: 'childItems', filter: elements() })}>
|
|
63619
63639
|
<div ${ref('viewer')} class="viewer"></div>
|
|
63620
63640
|
</template>
|
|
63621
63641
|
`;
|
|
63622
63642
|
|
|
63623
|
-
const styles$
|
|
63643
|
+
const styles$u = css `
|
|
63624
63644
|
${display('flex')}
|
|
63625
63645
|
|
|
63626
63646
|
:host {
|
|
@@ -63733,17 +63753,17 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
63733
63753
|
], RichTextViewer.prototype, "markdown", void 0);
|
|
63734
63754
|
const nimbleRichTextViewer = RichTextViewer.compose({
|
|
63735
63755
|
baseName: 'rich-text-viewer',
|
|
63736
|
-
template: template$
|
|
63737
|
-
styles: styles$
|
|
63756
|
+
template: template$r,
|
|
63757
|
+
styles: styles$u
|
|
63738
63758
|
});
|
|
63739
63759
|
DesignSystem.getOrCreate()
|
|
63740
63760
|
.withPrefix('nimble')
|
|
63741
63761
|
.register(nimbleRichTextViewer());
|
|
63742
63762
|
|
|
63743
|
-
const styles$
|
|
63744
|
-
${styles$
|
|
63745
|
-
${styles$
|
|
63746
|
-
${styles$
|
|
63763
|
+
const styles$t = css `
|
|
63764
|
+
${styles$M}
|
|
63765
|
+
${styles$P}
|
|
63766
|
+
${styles$L}
|
|
63747
63767
|
|
|
63748
63768
|
${
|
|
63749
63769
|
/* We are using flex `order` to define the visual ordering of the selected value,
|
|
@@ -63906,7 +63926,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
63906
63926
|
}
|
|
63907
63927
|
`));
|
|
63908
63928
|
|
|
63909
|
-
const styles$
|
|
63929
|
+
const styles$s = css `
|
|
63910
63930
|
${display('inline-grid')}
|
|
63911
63931
|
|
|
63912
63932
|
:host {
|
|
@@ -64076,7 +64096,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
64076
64096
|
}
|
|
64077
64097
|
`));
|
|
64078
64098
|
|
|
64079
|
-
const template$
|
|
64099
|
+
const template$q = html `
|
|
64080
64100
|
<template role="progressbar">
|
|
64081
64101
|
${''
|
|
64082
64102
|
/**
|
|
@@ -64123,8 +64143,8 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
64123
64143
|
], Spinner.prototype, "appearance", void 0);
|
|
64124
64144
|
const nimbleSpinner = Spinner.compose({
|
|
64125
64145
|
baseName: 'spinner',
|
|
64126
|
-
template: template$
|
|
64127
|
-
styles: styles$
|
|
64146
|
+
template: template$q,
|
|
64147
|
+
styles: styles$s
|
|
64128
64148
|
});
|
|
64129
64149
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSpinner());
|
|
64130
64150
|
const spinnerTag = 'nimble-spinner';
|
|
@@ -64140,7 +64160,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
64140
64160
|
<slot ${ref('labelSlot')}></slot>
|
|
64141
64161
|
</label>
|
|
64142
64162
|
`);
|
|
64143
|
-
const template$
|
|
64163
|
+
const template$p = (context, definition) => html `
|
|
64144
64164
|
<template
|
|
64145
64165
|
class="${x => [
|
|
64146
64166
|
x.collapsible && 'collapsible',
|
|
@@ -65356,8 +65376,8 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65356
65376
|
const nimbleSelect = Select.compose({
|
|
65357
65377
|
baseName: 'select',
|
|
65358
65378
|
baseClass: Select$2,
|
|
65359
|
-
template: template$
|
|
65360
|
-
styles: styles$
|
|
65379
|
+
template: template$p,
|
|
65380
|
+
styles: styles$t,
|
|
65361
65381
|
indicator: arrowExpanderDown16X16.data,
|
|
65362
65382
|
end: html `
|
|
65363
65383
|
<${iconExclamationMarkTag}
|
|
@@ -65370,6 +65390,46 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65370
65390
|
applyMixins(Select, StartEnd, DelegatesARIASelect);
|
|
65371
65391
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSelect());
|
|
65372
65392
|
|
|
65393
|
+
const styles$r = css `
|
|
65394
|
+
${display('flex')}
|
|
65395
|
+
`;
|
|
65396
|
+
|
|
65397
|
+
const template$o = html `
|
|
65398
|
+
<template>step</template>
|
|
65399
|
+
`;
|
|
65400
|
+
|
|
65401
|
+
/**
|
|
65402
|
+
* A nimble-styled step for a stepper
|
|
65403
|
+
*/
|
|
65404
|
+
class Step extends FoundationElement {
|
|
65405
|
+
}
|
|
65406
|
+
const nimbleStep = Step.compose({
|
|
65407
|
+
baseName: 'step',
|
|
65408
|
+
template: template$o,
|
|
65409
|
+
styles: styles$r
|
|
65410
|
+
});
|
|
65411
|
+
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStep());
|
|
65412
|
+
|
|
65413
|
+
const styles$q = css `
|
|
65414
|
+
${display('flex')}
|
|
65415
|
+
`;
|
|
65416
|
+
|
|
65417
|
+
const template$n = html `
|
|
65418
|
+
<template>stepper: <slot></slot></template>
|
|
65419
|
+
`;
|
|
65420
|
+
|
|
65421
|
+
/**
|
|
65422
|
+
* A nimble-styled stepper
|
|
65423
|
+
*/
|
|
65424
|
+
class Stepper extends FoundationElement {
|
|
65425
|
+
}
|
|
65426
|
+
const nimbleStepper = Stepper.compose({
|
|
65427
|
+
baseName: 'stepper',
|
|
65428
|
+
template: template$n,
|
|
65429
|
+
styles: styles$q
|
|
65430
|
+
});
|
|
65431
|
+
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStepper());
|
|
65432
|
+
|
|
65373
65433
|
const styles$p = css `
|
|
65374
65434
|
${display('inline-flex')}
|
|
65375
65435
|
|
|
@@ -77613,7 +77673,7 @@ focus outline in that case.
|
|
|
77613
77673
|
.register(nimbleTableColumnText());
|
|
77614
77674
|
|
|
77615
77675
|
const styles$8 = css `
|
|
77616
|
-
${styles$
|
|
77676
|
+
${styles$Z}
|
|
77617
77677
|
|
|
77618
77678
|
.tabpanel {
|
|
77619
77679
|
overflow: auto;
|
|
@@ -77694,7 +77754,7 @@ focus outline in that case.
|
|
|
77694
77754
|
const nimbleTabs = Tabs.compose({
|
|
77695
77755
|
baseName: 'tabs',
|
|
77696
77756
|
baseClass: Tabs$1,
|
|
77697
|
-
template: template$
|
|
77757
|
+
template: template$J,
|
|
77698
77758
|
styles: styles$8
|
|
77699
77759
|
});
|
|
77700
77760
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabs());
|
|
@@ -77776,8 +77836,8 @@ focus outline in that case.
|
|
|
77776
77836
|
|
|
77777
77837
|
const styles$6 = css `
|
|
77778
77838
|
${display('inline-flex')}
|
|
77779
|
-
${styles$
|
|
77780
|
-
${styles$
|
|
77839
|
+
${styles$P}
|
|
77840
|
+
${styles$L}
|
|
77781
77841
|
|
|
77782
77842
|
:host {
|
|
77783
77843
|
font: ${bodyFont};
|
|
@@ -78137,8 +78197,8 @@ focus outline in that case.
|
|
|
78137
78197
|
|
|
78138
78198
|
const styles$5 = css `
|
|
78139
78199
|
${display('inline-block')}
|
|
78140
|
-
${styles$
|
|
78141
|
-
${styles$
|
|
78200
|
+
${styles$P}
|
|
78201
|
+
${styles$L}
|
|
78142
78202
|
|
|
78143
78203
|
:host {
|
|
78144
78204
|
font: ${bodyFont};
|