@ni/ok-components 0.2.3 → 0.2.4
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.
|
@@ -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$Z = html `<slot></slot>`;
|
|
14885
14885
|
|
|
14886
|
-
const styles$
|
|
14886
|
+
const styles$1c = css `
|
|
14887
14887
|
${display$2('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$1c,
|
|
15002
|
+
template: template$Z
|
|
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$1b = 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$Y = (_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$Y,
|
|
16757
|
+
styles: styles$1b,
|
|
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$1a = 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$19 = css `
|
|
17151
|
+
${styles$1a}
|
|
17152
17152
|
${buttonAppearanceVariantStyles}
|
|
17153
17153
|
|
|
17154
17154
|
.control {
|
|
@@ -17168,7 +17168,7 @@
|
|
|
17168
17168
|
}
|
|
17169
17169
|
`;
|
|
17170
17170
|
|
|
17171
|
-
const template$
|
|
17171
|
+
const template$X = (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$X,
|
|
17254
|
+
styles: styles$19,
|
|
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$18 = css `
|
|
17263
17263
|
${display$2('grid')}
|
|
17264
17264
|
|
|
17265
17265
|
:host {
|
|
@@ -17342,7 +17342,7 @@
|
|
|
17342
17342
|
}
|
|
17343
17343
|
`;
|
|
17344
17344
|
|
|
17345
|
-
const template$
|
|
17345
|
+
const template$W = (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$W,
|
|
17447
|
+
styles: styles$18,
|
|
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$17 = css `
|
|
17458
|
+
${display$2('flex')}
|
|
17459
|
+
`;
|
|
17460
|
+
|
|
17461
|
+
const template$V = 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$V,
|
|
17473
|
+
styles: styles$17
|
|
17474
|
+
});
|
|
17475
|
+
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorStep());
|
|
17476
|
+
|
|
17477
|
+
const styles$16 = css `
|
|
17458
17478
|
${display$2('inline-flex')}
|
|
17459
17479
|
|
|
17460
17480
|
:host {
|
|
@@ -17571,7 +17591,7 @@
|
|
|
17571
17591
|
}
|
|
17572
17592
|
`;
|
|
17573
17593
|
|
|
17574
|
-
const template$
|
|
17594
|
+
const template$U = (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$U,
|
|
17647
|
+
styles: styles$16,
|
|
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$15 = css `
|
|
17635
17655
|
${display$2('flex')}
|
|
17636
17656
|
|
|
17637
17657
|
:host {
|
|
@@ -17671,12 +17691,12 @@
|
|
|
17671
17691
|
}
|
|
17672
17692
|
`;
|
|
17673
17693
|
|
|
17674
|
-
const styles$
|
|
17675
|
-
${styles$
|
|
17694
|
+
const styles$14 = css `
|
|
17695
|
+
${styles$1a}
|
|
17676
17696
|
${buttonAppearanceVariantStyles}
|
|
17677
17697
|
`;
|
|
17678
17698
|
|
|
17679
|
-
const template$
|
|
17699
|
+
const template$T = (context, definition) => html `
|
|
17680
17700
|
<button
|
|
17681
17701
|
class="control"
|
|
17682
17702
|
part="control"
|
|
@@ -17767,8 +17787,8 @@
|
|
|
17767
17787
|
const nimbleButton = Button$1.compose({
|
|
17768
17788
|
baseName: 'button',
|
|
17769
17789
|
baseClass: Button$2,
|
|
17770
|
-
template: template$
|
|
17771
|
-
styles: styles$
|
|
17790
|
+
template: template$T,
|
|
17791
|
+
styles: styles$14,
|
|
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$S = 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$13 = css `
|
|
18734
18754
|
${display$2('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$S,
|
|
18817
|
+
styles: styles$13
|
|
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$R = (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$R,
|
|
19212
|
+
styles: styles$15,
|
|
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$12 = css `
|
|
19200
19220
|
${display$2('block')}
|
|
19201
19221
|
|
|
19202
19222
|
:host {
|
|
@@ -19301,7 +19321,7 @@
|
|
|
19301
19321
|
}
|
|
19302
19322
|
`;
|
|
19303
19323
|
|
|
19304
|
-
const template$
|
|
19324
|
+
const template$Q = (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$Q,
|
|
19462
|
+
styles: styles$12,
|
|
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$11 = css `
|
|
19459
19479
|
${display$2('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$11
|
|
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$10 = css `
|
|
19571
19591
|
${display$2('flex')}
|
|
19572
19592
|
|
|
19573
19593
|
:host {
|
|
@@ -19745,7 +19765,7 @@
|
|
|
19745
19765
|
information: 'information'
|
|
19746
19766
|
};
|
|
19747
19767
|
|
|
19748
|
-
const template$
|
|
19768
|
+
const template$P = 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$P,
|
|
19887
|
+
styles: styles$10
|
|
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$$ = css `
|
|
19909
19929
|
${display$2('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$$
|
|
20013
20033
|
});
|
|
20014
20034
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBreadcrumb());
|
|
20015
20035
|
|
|
20016
|
-
const styles$
|
|
20036
|
+
const styles$_ = 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$_,
|
|
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$Z = css `
|
|
20121
20141
|
${display$2('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$O = 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$O,
|
|
20180
|
+
styles: styles$Z
|
|
20161
20181
|
});
|
|
20162
20182
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCard());
|
|
20163
20183
|
|
|
20164
|
-
const styles$
|
|
20184
|
+
const styles$Y = css `
|
|
20165
20185
|
${display$2('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$Y,
|
|
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$X = 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$W = css `
|
|
20364
20384
|
${display$2('inline-grid')}
|
|
20365
|
-
${styles$
|
|
20385
|
+
${styles$X}
|
|
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$N = (_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$N,
|
|
20665
|
+
styles: styles$W,
|
|
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$V = css `
|
|
20673
|
+
${styles$1a}
|
|
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$M = (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$M,
|
|
20816
|
+
styles: styles$V,
|
|
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$U = css `
|
|
20827
20847
|
${display$2('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$T = 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$S = css `
|
|
21164
|
+
${styles$U}
|
|
21165
|
+
${styles$X}
|
|
21166
|
+
${styles$T}
|
|
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$L = (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$L,
|
|
22063
|
+
styles: styles$S,
|
|
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$R = css `
|
|
22088
22108
|
${display$2('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$K = 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$K,
|
|
22349
|
+
styles: styles$R,
|
|
22330
22350
|
baseClass: Dialog
|
|
22331
22351
|
});
|
|
22332
22352
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDialog());
|
|
22333
22353
|
|
|
22334
|
-
const styles$
|
|
22354
|
+
const styles$Q = css `
|
|
22335
22355
|
${display$2('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$J = 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$J,
|
|
22640
|
+
styles: styles$Q
|
|
22621
22641
|
});
|
|
22622
22642
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDrawer());
|
|
22623
22643
|
|
|
@@ -25399,7 +25419,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25399
25419
|
}
|
|
25400
25420
|
}
|
|
25401
25421
|
|
|
25402
|
-
const styles$
|
|
25422
|
+
const styles$P = css `
|
|
25403
25423
|
${display$2('none')}
|
|
25404
25424
|
`;
|
|
25405
25425
|
|
|
@@ -25464,7 +25484,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25464
25484
|
], LabelProviderCore.prototype, "itemRemove", void 0);
|
|
25465
25485
|
const nimbleLabelProviderCore = LabelProviderCore.compose({
|
|
25466
25486
|
baseName: 'label-provider-core',
|
|
25467
|
-
styles: styles$
|
|
25487
|
+
styles: styles$P
|
|
25468
25488
|
});
|
|
25469
25489
|
DesignSystem.getOrCreate()
|
|
25470
25490
|
.withPrefix('nimble')
|
|
@@ -25631,13 +25651,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25631
25651
|
], LabelProviderTable.prototype, "groupRowPlaceholderEmpty", void 0);
|
|
25632
25652
|
const nimbleLabelProviderTable = LabelProviderTable.compose({
|
|
25633
25653
|
baseName: 'label-provider-table',
|
|
25634
|
-
styles: styles$
|
|
25654
|
+
styles: styles$P
|
|
25635
25655
|
});
|
|
25636
25656
|
DesignSystem.getOrCreate()
|
|
25637
25657
|
.withPrefix('nimble')
|
|
25638
25658
|
.register(nimbleLabelProviderTable());
|
|
25639
25659
|
|
|
25640
|
-
const styles$
|
|
25660
|
+
const styles$O = css `
|
|
25641
25661
|
${display$2('flex')}
|
|
25642
25662
|
|
|
25643
25663
|
:host {
|
|
@@ -25713,7 +25733,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25713
25733
|
* The template for the {@link @ni/fast-foundation#(ListboxOption:class)} component.
|
|
25714
25734
|
* @public
|
|
25715
25735
|
*/
|
|
25716
|
-
const template$
|
|
25736
|
+
const template$I = (context, definition) => html `
|
|
25717
25737
|
<template
|
|
25718
25738
|
aria-checked="${x => x.ariaChecked}"
|
|
25719
25739
|
aria-disabled="${x => x.ariaDisabled}"
|
|
@@ -25826,13 +25846,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25826
25846
|
const nimbleListOption = ListOption.compose({
|
|
25827
25847
|
baseName: 'list-option',
|
|
25828
25848
|
baseClass: ListboxOption,
|
|
25829
|
-
template: template$
|
|
25830
|
-
styles: styles$
|
|
25849
|
+
template: template$I,
|
|
25850
|
+
styles: styles$O
|
|
25831
25851
|
});
|
|
25832
25852
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListOption());
|
|
25833
25853
|
const listOptionTag = 'nimble-list-option';
|
|
25834
25854
|
|
|
25835
|
-
const styles$
|
|
25855
|
+
const styles$N = css `
|
|
25836
25856
|
${display$2('flex')}
|
|
25837
25857
|
|
|
25838
25858
|
:host {
|
|
@@ -25894,7 +25914,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25894
25914
|
const isListOption$1 = (n) => {
|
|
25895
25915
|
return n instanceof ListOption;
|
|
25896
25916
|
};
|
|
25897
|
-
const template$
|
|
25917
|
+
const template$H = html `
|
|
25898
25918
|
<template
|
|
25899
25919
|
role="group"
|
|
25900
25920
|
aria-label="${x => x.labelContent}"
|
|
@@ -26036,8 +26056,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26036
26056
|
const nimbleListOptionGroup = ListOptionGroup.compose({
|
|
26037
26057
|
baseName: 'list-option-group',
|
|
26038
26058
|
baseClass: FoundationElement,
|
|
26039
|
-
template: template$
|
|
26040
|
-
styles: styles$
|
|
26059
|
+
template: template$H,
|
|
26060
|
+
styles: styles$N
|
|
26041
26061
|
});
|
|
26042
26062
|
DesignSystem.getOrCreate()
|
|
26043
26063
|
.withPrefix('nimble')
|
|
@@ -26064,9 +26084,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26064
26084
|
attr()
|
|
26065
26085
|
], Mapping$1.prototype, "key", void 0);
|
|
26066
26086
|
|
|
26067
|
-
const template$
|
|
26087
|
+
const template$G = html `<template slot="mapping"></template>`;
|
|
26068
26088
|
|
|
26069
|
-
const styles$
|
|
26089
|
+
const styles$M = css `
|
|
26070
26090
|
${display$2('none')}
|
|
26071
26091
|
`;
|
|
26072
26092
|
|
|
@@ -26082,8 +26102,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26082
26102
|
], MappingEmpty.prototype, "text", void 0);
|
|
26083
26103
|
const emptyMapping = MappingEmpty.compose({
|
|
26084
26104
|
baseName: 'mapping-empty',
|
|
26085
|
-
template: template$
|
|
26086
|
-
styles: styles$
|
|
26105
|
+
template: template$G,
|
|
26106
|
+
styles: styles$M
|
|
26087
26107
|
});
|
|
26088
26108
|
DesignSystem.getOrCreate().withPrefix('nimble').register(emptyMapping());
|
|
26089
26109
|
|
|
@@ -26153,8 +26173,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26153
26173
|
], MappingIcon.prototype, "resolvedIcon", void 0);
|
|
26154
26174
|
const iconMapping = MappingIcon.compose({
|
|
26155
26175
|
baseName: 'mapping-icon',
|
|
26156
|
-
template: template$
|
|
26157
|
-
styles: styles$
|
|
26176
|
+
template: template$G,
|
|
26177
|
+
styles: styles$M
|
|
26158
26178
|
});
|
|
26159
26179
|
DesignSystem.getOrCreate().withPrefix('nimble').register(iconMapping());
|
|
26160
26180
|
|
|
@@ -26177,8 +26197,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26177
26197
|
], MappingSpinner.prototype, "textHidden", void 0);
|
|
26178
26198
|
const spinnerMapping = MappingSpinner.compose({
|
|
26179
26199
|
baseName: 'mapping-spinner',
|
|
26180
|
-
template: template$
|
|
26181
|
-
styles: styles$
|
|
26200
|
+
template: template$G,
|
|
26201
|
+
styles: styles$M
|
|
26182
26202
|
});
|
|
26183
26203
|
DesignSystem.getOrCreate().withPrefix('nimble').register(spinnerMapping());
|
|
26184
26204
|
|
|
@@ -26194,8 +26214,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26194
26214
|
], MappingText.prototype, "text", void 0);
|
|
26195
26215
|
const textMapping = MappingText.compose({
|
|
26196
26216
|
baseName: 'mapping-text',
|
|
26197
|
-
template: template$
|
|
26198
|
-
styles: styles$
|
|
26217
|
+
template: template$G,
|
|
26218
|
+
styles: styles$M
|
|
26199
26219
|
});
|
|
26200
26220
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textMapping());
|
|
26201
26221
|
|
|
@@ -26497,7 +26517,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26497
26517
|
observable
|
|
26498
26518
|
], Menu$1.prototype, "itemIcons", void 0);
|
|
26499
26519
|
|
|
26500
|
-
const template$
|
|
26520
|
+
const template$F = () => html `
|
|
26501
26521
|
<template
|
|
26502
26522
|
slot="${x => {
|
|
26503
26523
|
if (x.slot) {
|
|
@@ -26514,7 +26534,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26514
26534
|
</template>
|
|
26515
26535
|
`;
|
|
26516
26536
|
|
|
26517
|
-
const styles$
|
|
26537
|
+
const styles$L = css `
|
|
26518
26538
|
${display$2('grid')}
|
|
26519
26539
|
|
|
26520
26540
|
:host {
|
|
@@ -26585,8 +26605,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26585
26605
|
const nimbleMenu = Menu.compose({
|
|
26586
26606
|
baseName: 'menu',
|
|
26587
26607
|
baseClass: Menu$1,
|
|
26588
|
-
template: template$
|
|
26589
|
-
styles: styles$
|
|
26608
|
+
template: template$F,
|
|
26609
|
+
styles: styles$L
|
|
26590
26610
|
});
|
|
26591
26611
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenu());
|
|
26592
26612
|
|
|
@@ -26601,7 +26621,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26601
26621
|
auto: 'auto'
|
|
26602
26622
|
};
|
|
26603
26623
|
|
|
26604
|
-
const styles$
|
|
26624
|
+
const styles$K = css `
|
|
26605
26625
|
${display$2('inline-block')}
|
|
26606
26626
|
|
|
26607
26627
|
:host {
|
|
@@ -26619,7 +26639,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26619
26639
|
}
|
|
26620
26640
|
`;
|
|
26621
26641
|
|
|
26622
|
-
const template$
|
|
26642
|
+
const template$E = html `
|
|
26623
26643
|
<template
|
|
26624
26644
|
?open="${x => x.open}"
|
|
26625
26645
|
@focusout="${(x, c) => x.focusoutHandler(c.event)}"
|
|
@@ -26869,8 +26889,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26869
26889
|
], MenuButton.prototype, "slottedMenus", void 0);
|
|
26870
26890
|
const nimbleMenuButton = MenuButton.compose({
|
|
26871
26891
|
baseName: 'menu-button',
|
|
26872
|
-
template: template$
|
|
26873
|
-
styles: styles$
|
|
26892
|
+
template: template$E,
|
|
26893
|
+
styles: styles$K,
|
|
26874
26894
|
shadowOptions: {
|
|
26875
26895
|
delegatesFocus: true
|
|
26876
26896
|
}
|
|
@@ -26878,7 +26898,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26878
26898
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuButton());
|
|
26879
26899
|
const menuButtonTag = 'nimble-menu-button';
|
|
26880
26900
|
|
|
26881
|
-
const styles$
|
|
26901
|
+
const styles$J = css `
|
|
26882
26902
|
${display$2('grid')}
|
|
26883
26903
|
|
|
26884
26904
|
:host {
|
|
@@ -26975,7 +26995,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26975
26995
|
baseName: 'menu-item',
|
|
26976
26996
|
baseClass: MenuItem$1,
|
|
26977
26997
|
template: menuItemTemplate,
|
|
26978
|
-
styles: styles$
|
|
26998
|
+
styles: styles$J,
|
|
26979
26999
|
expandCollapseGlyph: arrowExpanderRight16X16.data
|
|
26980
27000
|
});
|
|
26981
27001
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuItem());
|
|
@@ -26990,10 +27010,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26990
27010
|
frameless: 'frameless'
|
|
26991
27011
|
};
|
|
26992
27012
|
|
|
26993
|
-
const styles$
|
|
27013
|
+
const styles$I = css `
|
|
26994
27014
|
${display$2('inline-block')}
|
|
26995
|
-
${styles$
|
|
26996
|
-
${styles$
|
|
27015
|
+
${styles$X}
|
|
27016
|
+
${styles$T}
|
|
26997
27017
|
|
|
26998
27018
|
:host {
|
|
26999
27019
|
font: ${bodyFont};
|
|
@@ -27216,7 +27236,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27216
27236
|
* The template for the {@link @ni/fast-foundation#(NumberField:class)} component.
|
|
27217
27237
|
* @public
|
|
27218
27238
|
*/
|
|
27219
|
-
const template$
|
|
27239
|
+
const template$D = (context, definition) => html `
|
|
27220
27240
|
<template class="${x => (x.readOnly ? 'readonly' : '')}">
|
|
27221
27241
|
${labelTemplate$4}
|
|
27222
27242
|
<div class="root" part="root">
|
|
@@ -27370,8 +27390,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27370
27390
|
const nimbleNumberField = NumberField.compose({
|
|
27371
27391
|
baseName: 'number-field',
|
|
27372
27392
|
baseClass: NumberField$1,
|
|
27373
|
-
template: template$
|
|
27374
|
-
styles: styles$
|
|
27393
|
+
template: template$D,
|
|
27394
|
+
styles: styles$I,
|
|
27375
27395
|
shadowOptions: {
|
|
27376
27396
|
delegatesFocus: true
|
|
27377
27397
|
},
|
|
@@ -27414,7 +27434,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27414
27434
|
});
|
|
27415
27435
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleNumberField());
|
|
27416
27436
|
|
|
27417
|
-
const styles$
|
|
27437
|
+
const styles$H = css `
|
|
27418
27438
|
${display$2('inline-flex')}
|
|
27419
27439
|
|
|
27420
27440
|
:host {
|
|
@@ -27514,15 +27534,15 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27514
27534
|
baseName: 'radio',
|
|
27515
27535
|
baseClass: Radio$1,
|
|
27516
27536
|
template: radioTemplate,
|
|
27517
|
-
styles: styles$
|
|
27537
|
+
styles: styles$H,
|
|
27518
27538
|
checkedIndicator: circleFilled16X16.data
|
|
27519
27539
|
});
|
|
27520
27540
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadio());
|
|
27521
27541
|
|
|
27522
|
-
const styles$
|
|
27542
|
+
const styles$G = css `
|
|
27523
27543
|
${display$2('inline-block')}
|
|
27524
|
-
${styles$
|
|
27525
|
-
${styles$
|
|
27544
|
+
${styles$X}
|
|
27545
|
+
${styles$T}
|
|
27526
27546
|
|
|
27527
27547
|
.positioning-region {
|
|
27528
27548
|
display: flex;
|
|
@@ -27561,7 +27581,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27561
27581
|
`;
|
|
27562
27582
|
|
|
27563
27583
|
const labelTemplate$3 = createRequiredVisibleLabelTemplate(html `<slot name="label"></slot>`);
|
|
27564
|
-
const template$
|
|
27584
|
+
const template$C = html `
|
|
27565
27585
|
<template
|
|
27566
27586
|
role="radiogroup"
|
|
27567
27587
|
aria-disabled="${x => x.disabled}"
|
|
@@ -27601,8 +27621,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27601
27621
|
const nimbleRadioGroup = RadioGroup.compose({
|
|
27602
27622
|
baseName: 'radio-group',
|
|
27603
27623
|
baseClass: RadioGroup$1,
|
|
27604
|
-
template: template$
|
|
27605
|
-
styles: styles$
|
|
27624
|
+
template: template$C,
|
|
27625
|
+
styles: styles$G,
|
|
27606
27626
|
shadowOptions: {
|
|
27607
27627
|
delegatesFocus: true
|
|
27608
27628
|
}
|
|
@@ -31538,7 +31558,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
31538
31558
|
JSON-serialization identifier using
|
|
31539
31559
|
[`Step.jsonID`](https://prosemirror.net/docs/ref/#transform.Step^jsonID).
|
|
31540
31560
|
*/
|
|
31541
|
-
class Step {
|
|
31561
|
+
let Step$1 = class Step {
|
|
31542
31562
|
/**
|
|
31543
31563
|
Get the step map that represents the changes made by this step,
|
|
31544
31564
|
and which can be used to transform between positions in the old
|
|
@@ -31576,7 +31596,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
31576
31596
|
stepClass.prototype.jsonID = id;
|
|
31577
31597
|
return stepClass;
|
|
31578
31598
|
}
|
|
31579
|
-
}
|
|
31599
|
+
};
|
|
31580
31600
|
/**
|
|
31581
31601
|
The result of [applying](https://prosemirror.net/docs/ref/#transform.Step.apply) a step. Contains either a
|
|
31582
31602
|
new document or a failure value.
|
|
@@ -31637,7 +31657,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
31637
31657
|
/**
|
|
31638
31658
|
Add a mark to all inline content between two positions.
|
|
31639
31659
|
*/
|
|
31640
|
-
class AddMarkStep extends Step {
|
|
31660
|
+
class AddMarkStep extends Step$1 {
|
|
31641
31661
|
/**
|
|
31642
31662
|
Create a mark step.
|
|
31643
31663
|
*/
|
|
@@ -31698,11 +31718,11 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
31698
31718
|
return new AddMarkStep(json.from, json.to, schema.markFromJSON(json.mark));
|
|
31699
31719
|
}
|
|
31700
31720
|
}
|
|
31701
|
-
Step.jsonID("addMark", AddMarkStep);
|
|
31721
|
+
Step$1.jsonID("addMark", AddMarkStep);
|
|
31702
31722
|
/**
|
|
31703
31723
|
Remove a mark from all inline content between two positions.
|
|
31704
31724
|
*/
|
|
31705
|
-
class RemoveMarkStep extends Step {
|
|
31725
|
+
class RemoveMarkStep extends Step$1 {
|
|
31706
31726
|
/**
|
|
31707
31727
|
Create a mark-removing step.
|
|
31708
31728
|
*/
|
|
@@ -31760,11 +31780,11 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
31760
31780
|
return new RemoveMarkStep(json.from, json.to, schema.markFromJSON(json.mark));
|
|
31761
31781
|
}
|
|
31762
31782
|
}
|
|
31763
|
-
Step.jsonID("removeMark", RemoveMarkStep);
|
|
31783
|
+
Step$1.jsonID("removeMark", RemoveMarkStep);
|
|
31764
31784
|
/**
|
|
31765
31785
|
Add a mark to a specific node.
|
|
31766
31786
|
*/
|
|
31767
|
-
class AddNodeMarkStep extends Step {
|
|
31787
|
+
class AddNodeMarkStep extends Step$1 {
|
|
31768
31788
|
/**
|
|
31769
31789
|
Create a node mark step.
|
|
31770
31790
|
*/
|
|
@@ -31817,11 +31837,11 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
31817
31837
|
return new AddNodeMarkStep(json.pos, schema.markFromJSON(json.mark));
|
|
31818
31838
|
}
|
|
31819
31839
|
}
|
|
31820
|
-
Step.jsonID("addNodeMark", AddNodeMarkStep);
|
|
31840
|
+
Step$1.jsonID("addNodeMark", AddNodeMarkStep);
|
|
31821
31841
|
/**
|
|
31822
31842
|
Remove a mark from a specific node.
|
|
31823
31843
|
*/
|
|
31824
|
-
class RemoveNodeMarkStep extends Step {
|
|
31844
|
+
class RemoveNodeMarkStep extends Step$1 {
|
|
31825
31845
|
/**
|
|
31826
31846
|
Create a mark-removing step.
|
|
31827
31847
|
*/
|
|
@@ -31867,12 +31887,12 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
31867
31887
|
return new RemoveNodeMarkStep(json.pos, schema.markFromJSON(json.mark));
|
|
31868
31888
|
}
|
|
31869
31889
|
}
|
|
31870
|
-
Step.jsonID("removeNodeMark", RemoveNodeMarkStep);
|
|
31890
|
+
Step$1.jsonID("removeNodeMark", RemoveNodeMarkStep);
|
|
31871
31891
|
|
|
31872
31892
|
/**
|
|
31873
31893
|
Replace a part of the document with a slice of new content.
|
|
31874
31894
|
*/
|
|
31875
|
-
class ReplaceStep extends Step {
|
|
31895
|
+
class ReplaceStep extends Step$1 {
|
|
31876
31896
|
/**
|
|
31877
31897
|
The given `slice` should fit the 'gap' between `from` and
|
|
31878
31898
|
`to`—the depths must line up, and the surrounding nodes must be
|
|
@@ -31956,13 +31976,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
31956
31976
|
return new ReplaceStep(json.from, json.to, Slice.fromJSON(schema, json.slice), !!json.structure);
|
|
31957
31977
|
}
|
|
31958
31978
|
}
|
|
31959
|
-
Step.jsonID("replace", ReplaceStep);
|
|
31979
|
+
Step$1.jsonID("replace", ReplaceStep);
|
|
31960
31980
|
/**
|
|
31961
31981
|
Replace a part of the document with a slice of content, but
|
|
31962
31982
|
preserve a range of the replaced content by moving it into the
|
|
31963
31983
|
slice.
|
|
31964
31984
|
*/
|
|
31965
|
-
class ReplaceAroundStep extends Step {
|
|
31985
|
+
class ReplaceAroundStep extends Step$1 {
|
|
31966
31986
|
/**
|
|
31967
31987
|
Create a replace-around step with the given range and gap.
|
|
31968
31988
|
`insert` should be the point in the slice into which the content
|
|
@@ -32055,7 +32075,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
32055
32075
|
return new ReplaceAroundStep(json.from, json.to, json.gapFrom, json.gapTo, Slice.fromJSON(schema, json.slice), json.insert, !!json.structure);
|
|
32056
32076
|
}
|
|
32057
32077
|
}
|
|
32058
|
-
Step.jsonID("replaceAround", ReplaceAroundStep);
|
|
32078
|
+
Step$1.jsonID("replaceAround", ReplaceAroundStep);
|
|
32059
32079
|
function contentBetween(doc, from, to) {
|
|
32060
32080
|
let $from = doc.resolve(from), dist = to - from, depth = $from.depth;
|
|
32061
32081
|
while (dist > 0 && depth > 0 && $from.indexAfter(depth) == $from.node(depth).childCount) {
|
|
@@ -32979,7 +32999,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
32979
32999
|
/**
|
|
32980
33000
|
Update an attribute in a specific node.
|
|
32981
33001
|
*/
|
|
32982
|
-
class AttrStep extends Step {
|
|
33002
|
+
class AttrStep extends Step$1 {
|
|
32983
33003
|
/**
|
|
32984
33004
|
Construct an attribute step.
|
|
32985
33005
|
*/
|
|
@@ -33029,11 +33049,11 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
33029
33049
|
return new AttrStep(json.pos, json.attr, json.value);
|
|
33030
33050
|
}
|
|
33031
33051
|
}
|
|
33032
|
-
Step.jsonID("attr", AttrStep);
|
|
33052
|
+
Step$1.jsonID("attr", AttrStep);
|
|
33033
33053
|
/**
|
|
33034
33054
|
Update an attribute in the doc node.
|
|
33035
33055
|
*/
|
|
33036
|
-
class DocAttrStep extends Step {
|
|
33056
|
+
class DocAttrStep extends Step$1 {
|
|
33037
33057
|
/**
|
|
33038
33058
|
Construct an attribute step.
|
|
33039
33059
|
*/
|
|
@@ -33074,7 +33094,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
33074
33094
|
return new DocAttrStep(json.attr, json.value);
|
|
33075
33095
|
}
|
|
33076
33096
|
}
|
|
33077
|
-
Step.jsonID("docAttr", DocAttrStep);
|
|
33097
|
+
Step$1.jsonID("docAttr", DocAttrStep);
|
|
33078
33098
|
|
|
33079
33099
|
/**
|
|
33080
33100
|
@internal
|
|
@@ -46746,7 +46766,7 @@ ${renderedContent}
|
|
|
46746
46766
|
// src/index.ts
|
|
46747
46767
|
var index_default$7 = HardBreak;
|
|
46748
46768
|
|
|
46749
|
-
const styles$
|
|
46769
|
+
const styles$F = css `
|
|
46750
46770
|
${display$2('inline')}
|
|
46751
46771
|
|
|
46752
46772
|
.positioning-region {
|
|
@@ -46783,7 +46803,7 @@ ${renderedContent}
|
|
|
46783
46803
|
baseName: 'toolbar',
|
|
46784
46804
|
baseClass: Toolbar$1,
|
|
46785
46805
|
template: toolbarTemplate,
|
|
46786
|
-
styles: styles$
|
|
46806
|
+
styles: styles$F
|
|
46787
46807
|
});
|
|
46788
46808
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleToolbar());
|
|
46789
46809
|
const toolbarTag = 'nimble-toolbar';
|
|
@@ -46812,8 +46832,8 @@ ${renderedContent}
|
|
|
46812
46832
|
cssCustomPropertyName: null
|
|
46813
46833
|
}).withDefault(richTextLabelDefaults.richTextToggleNumberedListLabel);
|
|
46814
46834
|
|
|
46815
|
-
const styles$
|
|
46816
|
-
${styles$
|
|
46835
|
+
const styles$E = css `
|
|
46836
|
+
${styles$U}
|
|
46817
46837
|
|
|
46818
46838
|
:host {
|
|
46819
46839
|
height: auto;
|
|
@@ -46831,7 +46851,7 @@ ${renderedContent}
|
|
|
46831
46851
|
}
|
|
46832
46852
|
`;
|
|
46833
46853
|
|
|
46834
|
-
const template$
|
|
46854
|
+
const template$B = html `
|
|
46835
46855
|
<template>
|
|
46836
46856
|
<${anchoredRegionTag}
|
|
46837
46857
|
${ref('region')}
|
|
@@ -47119,15 +47139,15 @@ ${renderedContent}
|
|
|
47119
47139
|
], RichTextMentionListbox.prototype, "anchorElement", void 0);
|
|
47120
47140
|
const nimbleRichTextMentionListbox = RichTextMentionListbox.compose({
|
|
47121
47141
|
baseName: 'rich-text-mention-listbox',
|
|
47122
|
-
template: template$
|
|
47123
|
-
styles: styles$
|
|
47142
|
+
template: template$B,
|
|
47143
|
+
styles: styles$E
|
|
47124
47144
|
});
|
|
47125
47145
|
DesignSystem.getOrCreate()
|
|
47126
47146
|
.withPrefix('nimble')
|
|
47127
47147
|
.register(nimbleRichTextMentionListbox());
|
|
47128
47148
|
const richTextMentionListboxTag = 'nimble-rich-text-mention-listbox';
|
|
47129
47149
|
|
|
47130
|
-
const template$
|
|
47150
|
+
const template$A = html `
|
|
47131
47151
|
<template
|
|
47132
47152
|
${children$1({ property: 'childItems', filter: elements() })}
|
|
47133
47153
|
@focusout="${x => x.focusoutHandler()}"
|
|
@@ -47229,9 +47249,9 @@ ${renderedContent}
|
|
|
47229
47249
|
</template>
|
|
47230
47250
|
`;
|
|
47231
47251
|
|
|
47232
|
-
const styles$
|
|
47252
|
+
const styles$D = css `
|
|
47233
47253
|
${display$2('inline-flex')}
|
|
47234
|
-
${styles$
|
|
47254
|
+
${styles$X}
|
|
47235
47255
|
|
|
47236
47256
|
:host {
|
|
47237
47257
|
font: ${bodyFont};
|
|
@@ -63605,8 +63625,8 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
63605
63625
|
applyMixins(RichTextEditor, ARIAGlobalStatesAndProperties);
|
|
63606
63626
|
const nimbleRichTextEditor = RichTextEditor.compose({
|
|
63607
63627
|
baseName: 'rich-text-editor',
|
|
63608
|
-
template: template$
|
|
63609
|
-
styles: styles$
|
|
63628
|
+
template: template$A,
|
|
63629
|
+
styles: styles$D,
|
|
63610
63630
|
shadowOptions: {
|
|
63611
63631
|
delegatesFocus: true
|
|
63612
63632
|
}
|
|
@@ -63615,13 +63635,13 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
63615
63635
|
.withPrefix('nimble')
|
|
63616
63636
|
.register(nimbleRichTextEditor());
|
|
63617
63637
|
|
|
63618
|
-
const template$
|
|
63638
|
+
const template$z = html `
|
|
63619
63639
|
<template ${children$1({ property: 'childItems', filter: elements() })}>
|
|
63620
63640
|
<div ${ref('viewer')} class="viewer"></div>
|
|
63621
63641
|
</template>
|
|
63622
63642
|
`;
|
|
63623
63643
|
|
|
63624
|
-
const styles$
|
|
63644
|
+
const styles$C = css `
|
|
63625
63645
|
${display$2('flex')}
|
|
63626
63646
|
|
|
63627
63647
|
:host {
|
|
@@ -63734,17 +63754,17 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
63734
63754
|
], RichTextViewer.prototype, "markdown", void 0);
|
|
63735
63755
|
const nimbleRichTextViewer = RichTextViewer.compose({
|
|
63736
63756
|
baseName: 'rich-text-viewer',
|
|
63737
|
-
template: template$
|
|
63738
|
-
styles: styles$
|
|
63757
|
+
template: template$z,
|
|
63758
|
+
styles: styles$C
|
|
63739
63759
|
});
|
|
63740
63760
|
DesignSystem.getOrCreate()
|
|
63741
63761
|
.withPrefix('nimble')
|
|
63742
63762
|
.register(nimbleRichTextViewer());
|
|
63743
63763
|
|
|
63744
|
-
const styles$
|
|
63745
|
-
${styles$
|
|
63746
|
-
${styles$
|
|
63747
|
-
${styles$
|
|
63764
|
+
const styles$B = css `
|
|
63765
|
+
${styles$U}
|
|
63766
|
+
${styles$X}
|
|
63767
|
+
${styles$T}
|
|
63748
63768
|
|
|
63749
63769
|
${
|
|
63750
63770
|
/* We are using flex `order` to define the visual ordering of the selected value,
|
|
@@ -63907,7 +63927,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
63907
63927
|
}
|
|
63908
63928
|
`));
|
|
63909
63929
|
|
|
63910
|
-
const styles$
|
|
63930
|
+
const styles$A = css `
|
|
63911
63931
|
${display$2('inline-grid')}
|
|
63912
63932
|
|
|
63913
63933
|
:host {
|
|
@@ -64077,7 +64097,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
64077
64097
|
}
|
|
64078
64098
|
`));
|
|
64079
64099
|
|
|
64080
|
-
const template$
|
|
64100
|
+
const template$y = html `
|
|
64081
64101
|
<template role="progressbar">
|
|
64082
64102
|
${''
|
|
64083
64103
|
/**
|
|
@@ -64124,8 +64144,8 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
64124
64144
|
], Spinner.prototype, "appearance", void 0);
|
|
64125
64145
|
const nimbleSpinner = Spinner.compose({
|
|
64126
64146
|
baseName: 'spinner',
|
|
64127
|
-
template: template$
|
|
64128
|
-
styles: styles$
|
|
64147
|
+
template: template$y,
|
|
64148
|
+
styles: styles$A
|
|
64129
64149
|
});
|
|
64130
64150
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSpinner());
|
|
64131
64151
|
const spinnerTag = 'nimble-spinner';
|
|
@@ -64141,7 +64161,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
64141
64161
|
<slot ${ref('labelSlot')}></slot>
|
|
64142
64162
|
</label>
|
|
64143
64163
|
`);
|
|
64144
|
-
const template$
|
|
64164
|
+
const template$x = (context, definition) => html `
|
|
64145
64165
|
<template
|
|
64146
64166
|
class="${x => [
|
|
64147
64167
|
x.collapsible && 'collapsible',
|
|
@@ -65357,8 +65377,8 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65357
65377
|
const nimbleSelect = Select.compose({
|
|
65358
65378
|
baseName: 'select',
|
|
65359
65379
|
baseClass: Select$2,
|
|
65360
|
-
template: template$
|
|
65361
|
-
styles: styles$
|
|
65380
|
+
template: template$x,
|
|
65381
|
+
styles: styles$B,
|
|
65362
65382
|
indicator: arrowExpanderDown16X16.data,
|
|
65363
65383
|
end: html `
|
|
65364
65384
|
<${iconExclamationMarkTag}
|
|
@@ -65371,6 +65391,46 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65371
65391
|
applyMixins(Select, StartEnd, DelegatesARIASelect);
|
|
65372
65392
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSelect());
|
|
65373
65393
|
|
|
65394
|
+
const styles$z = css `
|
|
65395
|
+
${display$2('flex')}
|
|
65396
|
+
`;
|
|
65397
|
+
|
|
65398
|
+
const template$w = html `
|
|
65399
|
+
<template>step</template>
|
|
65400
|
+
`;
|
|
65401
|
+
|
|
65402
|
+
/**
|
|
65403
|
+
* A nimble-styled step for a stepper
|
|
65404
|
+
*/
|
|
65405
|
+
class Step extends FoundationElement {
|
|
65406
|
+
}
|
|
65407
|
+
const nimbleStep = Step.compose({
|
|
65408
|
+
baseName: 'step',
|
|
65409
|
+
template: template$w,
|
|
65410
|
+
styles: styles$z
|
|
65411
|
+
});
|
|
65412
|
+
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStep());
|
|
65413
|
+
|
|
65414
|
+
const styles$y = css `
|
|
65415
|
+
${display$2('flex')}
|
|
65416
|
+
`;
|
|
65417
|
+
|
|
65418
|
+
const template$v = html `
|
|
65419
|
+
<template>stepper: <slot></slot></template>
|
|
65420
|
+
`;
|
|
65421
|
+
|
|
65422
|
+
/**
|
|
65423
|
+
* A nimble-styled stepper
|
|
65424
|
+
*/
|
|
65425
|
+
class Stepper extends FoundationElement {
|
|
65426
|
+
}
|
|
65427
|
+
const nimbleStepper = Stepper.compose({
|
|
65428
|
+
baseName: 'stepper',
|
|
65429
|
+
template: template$v,
|
|
65430
|
+
styles: styles$y
|
|
65431
|
+
});
|
|
65432
|
+
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStepper());
|
|
65433
|
+
|
|
65374
65434
|
const styles$x = css `
|
|
65375
65435
|
${display$2('inline-flex')}
|
|
65376
65436
|
|
|
@@ -77614,7 +77674,7 @@ focus outline in that case.
|
|
|
77614
77674
|
.register(nimbleTableColumnText());
|
|
77615
77675
|
|
|
77616
77676
|
const styles$g = css `
|
|
77617
|
-
${styles$
|
|
77677
|
+
${styles$15}
|
|
77618
77678
|
|
|
77619
77679
|
.tabpanel {
|
|
77620
77680
|
overflow: auto;
|
|
@@ -77695,7 +77755,7 @@ focus outline in that case.
|
|
|
77695
77755
|
const nimbleTabs = Tabs.compose({
|
|
77696
77756
|
baseName: 'tabs',
|
|
77697
77757
|
baseClass: Tabs$1,
|
|
77698
|
-
template: template$
|
|
77758
|
+
template: template$R,
|
|
77699
77759
|
styles: styles$g
|
|
77700
77760
|
});
|
|
77701
77761
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabs());
|
|
@@ -77777,8 +77837,8 @@ focus outline in that case.
|
|
|
77777
77837
|
|
|
77778
77838
|
const styles$e = css `
|
|
77779
77839
|
${display$2('inline-flex')}
|
|
77780
|
-
${styles$
|
|
77781
|
-
${styles$
|
|
77840
|
+
${styles$X}
|
|
77841
|
+
${styles$T}
|
|
77782
77842
|
|
|
77783
77843
|
:host {
|
|
77784
77844
|
font: ${bodyFont};
|
|
@@ -78138,8 +78198,8 @@ focus outline in that case.
|
|
|
78138
78198
|
|
|
78139
78199
|
const styles$d = css `
|
|
78140
78200
|
${display$2('inline-block')}
|
|
78141
|
-
${styles$
|
|
78142
|
-
${styles$
|
|
78201
|
+
${styles$X}
|
|
78202
|
+
${styles$T}
|
|
78143
78203
|
|
|
78144
78204
|
:host {
|
|
78145
78205
|
font: ${bodyFont};
|