@ni/ok-components 1.0.0 → 1.1.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 +711 -382
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +285 -24
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/custom-elements.json +144 -31
- package/dist/custom-elements.md +43 -8
- package/dist/esm/fv/all-fv.d.ts +1 -0
- package/dist/esm/fv/all-fv.js +1 -0
- package/dist/esm/fv/all-fv.js.map +1 -1
- package/dist/esm/fv/search-input/index.d.ts +23 -0
- package/dist/esm/fv/search-input/index.js +50 -0
- package/dist/esm/fv/search-input/index.js.map +1 -0
- package/dist/esm/fv/search-input/styles.d.ts +1 -0
- package/dist/esm/fv/search-input/styles.js +178 -0
- package/dist/esm/fv/search-input/styles.js.map +1 -0
- package/dist/esm/fv/search-input/template.d.ts +2 -0
- package/dist/esm/fv/search-input/template.js +34 -0
- package/dist/esm/fv/search-input/template.js.map +1 -0
- package/dist/esm/fv/search-input/testing/fv-search-input.pageobject.d.ts +22 -0
- package/dist/esm/fv/search-input/testing/fv-search-input.pageobject.js +65 -0
- package/dist/esm/fv/search-input/testing/fv-search-input.pageobject.js.map +1 -0
- package/dist/esm/fv/search-input/types.d.ts +7 -0
- package/dist/esm/fv/search-input/types.js +7 -0
- package/dist/esm/fv/search-input/types.js.map +1 -0
- package/package.json +2 -2
|
@@ -14898,9 +14898,9 @@
|
|
|
14898
14898
|
const prefix = 'ni-nimble';
|
|
14899
14899
|
const styleNameFromTokenName = (tokenName) => `${prefix}-${tokenName}`;
|
|
14900
14900
|
|
|
14901
|
-
const template$
|
|
14901
|
+
const template$13 = html `<slot></slot>`;
|
|
14902
14902
|
|
|
14903
|
-
const styles$
|
|
14903
|
+
const styles$1q = css `
|
|
14904
14904
|
${display$2('contents')}
|
|
14905
14905
|
`;
|
|
14906
14906
|
|
|
@@ -15015,8 +15015,8 @@
|
|
|
15015
15015
|
], ThemeProvider.prototype, "theme", void 0);
|
|
15016
15016
|
const nimbleDesignSystemProvider = ThemeProvider.compose({
|
|
15017
15017
|
baseName: 'theme-provider',
|
|
15018
|
-
styles: styles$
|
|
15019
|
-
template: template$
|
|
15018
|
+
styles: styles$1q,
|
|
15019
|
+
template: template$13
|
|
15020
15020
|
});
|
|
15021
15021
|
DesignSystem.getOrCreate()
|
|
15022
15022
|
.withPrefix('nimble')
|
|
@@ -16658,7 +16658,7 @@
|
|
|
16658
16658
|
}
|
|
16659
16659
|
// #endregion
|
|
16660
16660
|
|
|
16661
|
-
const styles$
|
|
16661
|
+
const styles$1p = css `
|
|
16662
16662
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
16663
16663
|
|
|
16664
16664
|
@layer base {
|
|
@@ -16736,7 +16736,7 @@
|
|
|
16736
16736
|
}
|
|
16737
16737
|
`;
|
|
16738
16738
|
|
|
16739
|
-
const template$
|
|
16739
|
+
const template$12 = (_context, definition) => html `${
|
|
16740
16740
|
/* top-container div is necessary because setting contenteditable directly on the native anchor instead
|
|
16741
16741
|
leaves it focusable, unlike the behavior you get when the anchor is _within_ a contenteditable element.
|
|
16742
16742
|
*/ ''}<div
|
|
@@ -16839,8 +16839,8 @@
|
|
|
16839
16839
|
const nimbleAnchor = Anchor.compose({
|
|
16840
16840
|
baseName: 'anchor',
|
|
16841
16841
|
baseClass: Anchor$1,
|
|
16842
|
-
template: template$
|
|
16843
|
-
styles: styles$
|
|
16842
|
+
template: template$12,
|
|
16843
|
+
styles: styles$1p,
|
|
16844
16844
|
shadowOptions: {
|
|
16845
16845
|
delegatesFocus: true
|
|
16846
16846
|
}
|
|
@@ -16949,7 +16949,7 @@
|
|
|
16949
16949
|
padding: 0;
|
|
16950
16950
|
`;
|
|
16951
16951
|
|
|
16952
|
-
const styles$
|
|
16952
|
+
const styles$1o = css `
|
|
16953
16953
|
@layer base, checked, hover, focusVisible, active, disabled, top;
|
|
16954
16954
|
|
|
16955
16955
|
@layer base {
|
|
@@ -17233,8 +17233,8 @@
|
|
|
17233
17233
|
}
|
|
17234
17234
|
`));
|
|
17235
17235
|
|
|
17236
|
-
const styles$
|
|
17237
|
-
${styles$
|
|
17236
|
+
const styles$1n = css `
|
|
17237
|
+
${styles$1o}
|
|
17238
17238
|
${buttonAppearanceVariantStyles}
|
|
17239
17239
|
|
|
17240
17240
|
.control {
|
|
@@ -17254,7 +17254,7 @@
|
|
|
17254
17254
|
}
|
|
17255
17255
|
`;
|
|
17256
17256
|
|
|
17257
|
-
const template$
|
|
17257
|
+
const template$11 = (context, definition) => html `
|
|
17258
17258
|
<a
|
|
17259
17259
|
class="control"
|
|
17260
17260
|
part="control"
|
|
@@ -17336,8 +17336,8 @@
|
|
|
17336
17336
|
], AnchorButton.prototype, "disabled", void 0);
|
|
17337
17337
|
const nimbleAnchorButton = AnchorButton.compose({
|
|
17338
17338
|
baseName: 'anchor-button',
|
|
17339
|
-
template: template$
|
|
17340
|
-
styles: styles$
|
|
17339
|
+
template: template$11,
|
|
17340
|
+
styles: styles$1n,
|
|
17341
17341
|
shadowOptions: {
|
|
17342
17342
|
delegatesFocus: true
|
|
17343
17343
|
}
|
|
@@ -17345,7 +17345,7 @@
|
|
|
17345
17345
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorButton());
|
|
17346
17346
|
const anchorButtonTag = 'nimble-anchor-button';
|
|
17347
17347
|
|
|
17348
|
-
const styles$
|
|
17348
|
+
const styles$1m = css `
|
|
17349
17349
|
${display$2('grid')}
|
|
17350
17350
|
|
|
17351
17351
|
:host {
|
|
@@ -17428,7 +17428,7 @@
|
|
|
17428
17428
|
}
|
|
17429
17429
|
`;
|
|
17430
17430
|
|
|
17431
|
-
const template
|
|
17431
|
+
const template$10 = (context, definition) => html `
|
|
17432
17432
|
<template
|
|
17433
17433
|
role="menuitem"
|
|
17434
17434
|
class="${x => (typeof x.startColumnCount === 'number'
|
|
@@ -17529,8 +17529,8 @@
|
|
|
17529
17529
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
17530
17530
|
const nimbleAnchorMenuItem = AnchorMenuItem.compose({
|
|
17531
17531
|
baseName: 'anchor-menu-item',
|
|
17532
|
-
template: template
|
|
17533
|
-
styles: styles$
|
|
17532
|
+
template: template$10,
|
|
17533
|
+
styles: styles$1m,
|
|
17534
17534
|
shadowOptions: {
|
|
17535
17535
|
delegatesFocus: true
|
|
17536
17536
|
}
|
|
@@ -17542,7 +17542,7 @@
|
|
|
17542
17542
|
|
|
17543
17543
|
// These styles end up inside a @layer block so must use the
|
|
17544
17544
|
// cssPartial tag instead of the css tag
|
|
17545
|
-
const styles$
|
|
17545
|
+
const styles$1l = cssPartial `
|
|
17546
17546
|
.severity-text {
|
|
17547
17547
|
display: none;
|
|
17548
17548
|
font: ${errorTextFont};
|
|
@@ -17652,12 +17652,12 @@
|
|
|
17652
17652
|
const themeBehavior = (theme, styles) => new ThemeStyleSheetBehavior(theme, styles);
|
|
17653
17653
|
/* eslint-enable max-classes-per-file */
|
|
17654
17654
|
|
|
17655
|
-
const styles$
|
|
17655
|
+
const styles$1k = css `
|
|
17656
17656
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
17657
17657
|
|
|
17658
17658
|
@layer base {
|
|
17659
17659
|
${display$2('inline-flex')}
|
|
17660
|
-
${styles$
|
|
17660
|
+
${styles$1l}
|
|
17661
17661
|
:host {
|
|
17662
17662
|
color: ${buttonLabelFontColor};
|
|
17663
17663
|
font: ${buttonLabelFont};
|
|
@@ -18203,8 +18203,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
18203
18203
|
}
|
|
18204
18204
|
`));
|
|
18205
18205
|
|
|
18206
|
-
const styles$
|
|
18207
|
-
${styles$
|
|
18206
|
+
const styles$1j = css `
|
|
18207
|
+
${styles$1k}
|
|
18208
18208
|
${'' /* Anchor specific styles */}
|
|
18209
18209
|
@layer base {
|
|
18210
18210
|
.control {
|
|
@@ -19247,13 +19247,13 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19247
19247
|
};
|
|
19248
19248
|
|
|
19249
19249
|
// Avoiding any whitespace in the template because this is an inline element
|
|
19250
|
-
const template
|
|
19250
|
+
const template$$ = html `<div
|
|
19251
19251
|
class="icon"
|
|
19252
19252
|
aria-hidden="true"
|
|
19253
19253
|
:innerHTML=${x => x.icon.data}
|
|
19254
19254
|
></div>`;
|
|
19255
19255
|
|
|
19256
|
-
const styles$
|
|
19256
|
+
const styles$1i = css `
|
|
19257
19257
|
${display$2('inline-flex')}
|
|
19258
19258
|
|
|
19259
19259
|
:host {
|
|
@@ -19316,8 +19316,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19316
19316
|
const registerIconSvg = (baseName, iconClass) => {
|
|
19317
19317
|
const composedIcon = iconClass.compose({
|
|
19318
19318
|
baseName,
|
|
19319
|
-
template: template
|
|
19320
|
-
styles: styles$
|
|
19319
|
+
template: template$$,
|
|
19320
|
+
styles: styles$1i
|
|
19321
19321
|
});
|
|
19322
19322
|
DesignSystem.getOrCreate().withPrefix('nimble').register(composedIcon());
|
|
19323
19323
|
};
|
|
@@ -19441,7 +19441,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19441
19441
|
*/
|
|
19442
19442
|
const StepperOrientation = Orientation;
|
|
19443
19443
|
|
|
19444
|
-
const template$
|
|
19444
|
+
const template$_ = (context, definition) => html `
|
|
19445
19445
|
<template slot="step">
|
|
19446
19446
|
<li class="
|
|
19447
19447
|
container
|
|
@@ -19588,15 +19588,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19588
19588
|
], AnchorStep.prototype, "tabIndex", void 0);
|
|
19589
19589
|
const nimbleAnchorStep = AnchorStep.compose({
|
|
19590
19590
|
baseName: 'anchor-step',
|
|
19591
|
-
template: template$
|
|
19592
|
-
styles: styles$
|
|
19591
|
+
template: template$_,
|
|
19592
|
+
styles: styles$1j,
|
|
19593
19593
|
shadowOptions: {
|
|
19594
19594
|
delegatesFocus: true
|
|
19595
19595
|
}
|
|
19596
19596
|
});
|
|
19597
19597
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorStep());
|
|
19598
19598
|
|
|
19599
|
-
const styles$
|
|
19599
|
+
const styles$1h = css `
|
|
19600
19600
|
${display$2('inline-flex')}
|
|
19601
19601
|
|
|
19602
19602
|
:host {
|
|
@@ -19713,7 +19713,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19713
19713
|
}
|
|
19714
19714
|
`;
|
|
19715
19715
|
|
|
19716
|
-
const template$
|
|
19716
|
+
const template$Z = (context, definition) => html `
|
|
19717
19717
|
<template slot="anchortab" role="tab" aria-disabled="${x => x.disabled}">
|
|
19718
19718
|
<a
|
|
19719
19719
|
download="${x => x.download}"
|
|
@@ -19765,15 +19765,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19765
19765
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
19766
19766
|
const nimbleAnchorTab = AnchorTab.compose({
|
|
19767
19767
|
baseName: 'anchor-tab',
|
|
19768
|
-
template: template$
|
|
19769
|
-
styles: styles$
|
|
19768
|
+
template: template$Z,
|
|
19769
|
+
styles: styles$1h,
|
|
19770
19770
|
shadowOptions: {
|
|
19771
19771
|
delegatesFocus: true
|
|
19772
19772
|
}
|
|
19773
19773
|
});
|
|
19774
19774
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTab());
|
|
19775
19775
|
|
|
19776
|
-
const styles$
|
|
19776
|
+
const styles$1g = css `
|
|
19777
19777
|
${display$2('flex')}
|
|
19778
19778
|
|
|
19779
19779
|
:host {
|
|
@@ -19813,12 +19813,12 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19813
19813
|
}
|
|
19814
19814
|
`;
|
|
19815
19815
|
|
|
19816
|
-
const styles$
|
|
19817
|
-
${styles$
|
|
19816
|
+
const styles$1f = css `
|
|
19817
|
+
${styles$1o}
|
|
19818
19818
|
${buttonAppearanceVariantStyles}
|
|
19819
19819
|
`;
|
|
19820
19820
|
|
|
19821
|
-
const template$
|
|
19821
|
+
const template$Y = (context, definition) => html `
|
|
19822
19822
|
<button
|
|
19823
19823
|
class="control"
|
|
19824
19824
|
part="control"
|
|
@@ -19909,8 +19909,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19909
19909
|
const nimbleButton = Button.compose({
|
|
19910
19910
|
baseName: 'button',
|
|
19911
19911
|
baseClass: Button$1,
|
|
19912
|
-
template: template$
|
|
19913
|
-
styles: styles$
|
|
19912
|
+
template: template$Y,
|
|
19913
|
+
styles: styles$1f,
|
|
19914
19914
|
shadowOptions: {
|
|
19915
19915
|
delegatesFocus: true
|
|
19916
19916
|
}
|
|
@@ -19944,7 +19944,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19944
19944
|
registerIconSvg('icon-arrow-expander-right', IconArrowExpanderRight);
|
|
19945
19945
|
const iconArrowExpanderRightTag = 'nimble-icon-arrow-expander-right';
|
|
19946
19946
|
|
|
19947
|
-
const template$
|
|
19947
|
+
const template$X = (context, definition) => html `
|
|
19948
19948
|
<div
|
|
19949
19949
|
class="tab-bar"
|
|
19950
19950
|
>
|
|
@@ -20245,15 +20245,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20245
20245
|
applyMixins(AnchorTabs, StartEnd);
|
|
20246
20246
|
const nimbleAnchorTabs = AnchorTabs.compose({
|
|
20247
20247
|
baseName: 'anchor-tabs',
|
|
20248
|
-
template: template$
|
|
20249
|
-
styles: styles$
|
|
20248
|
+
template: template$X,
|
|
20249
|
+
styles: styles$1g,
|
|
20250
20250
|
shadowOptions: {
|
|
20251
20251
|
delegatesFocus: false
|
|
20252
20252
|
}
|
|
20253
20253
|
});
|
|
20254
20254
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTabs());
|
|
20255
20255
|
|
|
20256
|
-
const styles$
|
|
20256
|
+
const styles$1e = css `
|
|
20257
20257
|
${display$2('block')}
|
|
20258
20258
|
|
|
20259
20259
|
:host {
|
|
@@ -20358,7 +20358,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20358
20358
|
}
|
|
20359
20359
|
`;
|
|
20360
20360
|
|
|
20361
|
-
const template$
|
|
20361
|
+
const template$W = (context, definition) => html `
|
|
20362
20362
|
<template
|
|
20363
20363
|
role="treeitem"
|
|
20364
20364
|
slot="${x => (x.isNestedItem() ? 'item' : null)}"
|
|
@@ -20495,8 +20495,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20495
20495
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
20496
20496
|
const nimbleAnchorTreeItem = AnchorTreeItem.compose({
|
|
20497
20497
|
baseName: 'anchor-tree-item',
|
|
20498
|
-
template: template$
|
|
20499
|
-
styles: styles$
|
|
20498
|
+
template: template$W,
|
|
20499
|
+
styles: styles$1e,
|
|
20500
20500
|
shadowOptions: {
|
|
20501
20501
|
delegatesFocus: true
|
|
20502
20502
|
}
|
|
@@ -20512,7 +20512,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20512
20512
|
zIndex1000: '1000'
|
|
20513
20513
|
};
|
|
20514
20514
|
|
|
20515
|
-
const styles$
|
|
20515
|
+
const styles$1d = css `
|
|
20516
20516
|
${display$2('block')}
|
|
20517
20517
|
|
|
20518
20518
|
:host {
|
|
@@ -20543,14 +20543,14 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20543
20543
|
baseName: 'anchored-region',
|
|
20544
20544
|
baseClass: AnchoredRegion$1,
|
|
20545
20545
|
template: anchoredRegionTemplate,
|
|
20546
|
-
styles: styles$
|
|
20546
|
+
styles: styles$1d
|
|
20547
20547
|
});
|
|
20548
20548
|
DesignSystem.getOrCreate()
|
|
20549
20549
|
.withPrefix('nimble')
|
|
20550
20550
|
.register(nimbleAnchoredRegion());
|
|
20551
20551
|
const anchoredRegionTag = 'nimble-anchored-region';
|
|
20552
20552
|
|
|
20553
|
-
const styles$
|
|
20553
|
+
const styles$1c = css `
|
|
20554
20554
|
${display$2('flex')}
|
|
20555
20555
|
|
|
20556
20556
|
:host {
|
|
@@ -20702,7 +20702,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20702
20702
|
information: 'information'
|
|
20703
20703
|
};
|
|
20704
20704
|
|
|
20705
|
-
const template$
|
|
20705
|
+
const template$V = html `
|
|
20706
20706
|
<${themeProviderTag} theme="${Theme.color}">
|
|
20707
20707
|
<div class="container"
|
|
20708
20708
|
role="status"
|
|
@@ -20820,8 +20820,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20820
20820
|
applyMixins(Banner, ARIAGlobalStatesAndProperties);
|
|
20821
20821
|
const nimbleBanner = Banner.compose({
|
|
20822
20822
|
baseName: 'banner',
|
|
20823
|
-
template: template$
|
|
20824
|
-
styles: styles$
|
|
20823
|
+
template: template$V,
|
|
20824
|
+
styles: styles$1c
|
|
20825
20825
|
});
|
|
20826
20826
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBanner());
|
|
20827
20827
|
|
|
@@ -20862,7 +20862,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20862
20862
|
</template>
|
|
20863
20863
|
`;
|
|
20864
20864
|
|
|
20865
|
-
const styles$
|
|
20865
|
+
const styles$1b = css `
|
|
20866
20866
|
${display$2('inline-flex')}
|
|
20867
20867
|
|
|
20868
20868
|
:host {
|
|
@@ -20966,11 +20966,11 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20966
20966
|
baseName: 'breadcrumb',
|
|
20967
20967
|
baseClass: Breadcrumb$1,
|
|
20968
20968
|
template: breadcrumbTemplate,
|
|
20969
|
-
styles: styles$
|
|
20969
|
+
styles: styles$1b
|
|
20970
20970
|
});
|
|
20971
20971
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBreadcrumb());
|
|
20972
20972
|
|
|
20973
|
-
const styles$
|
|
20973
|
+
const styles$1a = css `
|
|
20974
20974
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
20975
20975
|
|
|
20976
20976
|
@layer base {
|
|
@@ -21067,14 +21067,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21067
21067
|
baseName: 'breadcrumb-item',
|
|
21068
21068
|
baseClass: BreadcrumbItem$1,
|
|
21069
21069
|
template: breadcrumbItemTemplate,
|
|
21070
|
-
styles: styles$
|
|
21070
|
+
styles: styles$1a,
|
|
21071
21071
|
separator: forwardSlash16X16.data
|
|
21072
21072
|
});
|
|
21073
21073
|
DesignSystem.getOrCreate()
|
|
21074
21074
|
.withPrefix('nimble')
|
|
21075
21075
|
.register(nimbleBreadcrumbItem());
|
|
21076
21076
|
|
|
21077
|
-
const styles$
|
|
21077
|
+
const styles$19 = css `
|
|
21078
21078
|
${display$2('flex')}
|
|
21079
21079
|
|
|
21080
21080
|
:host {
|
|
@@ -21098,7 +21098,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21098
21098
|
}
|
|
21099
21099
|
`;
|
|
21100
21100
|
|
|
21101
|
-
const template$
|
|
21101
|
+
const template$U = html `
|
|
21102
21102
|
<section aria-labelledby="title-slot">
|
|
21103
21103
|
<span id="title-slot"><slot name="title"></slot></span>
|
|
21104
21104
|
<slot></slot>
|
|
@@ -21113,12 +21113,12 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21113
21113
|
const nimbleCard = Card.compose({
|
|
21114
21114
|
baseName: 'card',
|
|
21115
21115
|
baseClass: Card$1,
|
|
21116
|
-
template: template$
|
|
21117
|
-
styles: styles$
|
|
21116
|
+
template: template$U,
|
|
21117
|
+
styles: styles$19
|
|
21118
21118
|
});
|
|
21119
21119
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCard());
|
|
21120
21120
|
|
|
21121
|
-
const styles$
|
|
21121
|
+
const styles$18 = css `
|
|
21122
21122
|
${display$2('inline-flex')}
|
|
21123
21123
|
|
|
21124
21124
|
:host {
|
|
@@ -21276,14 +21276,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21276
21276
|
const nimbleCardButton = CardButton.compose({
|
|
21277
21277
|
baseName: 'card-button',
|
|
21278
21278
|
template: buttonTemplate,
|
|
21279
|
-
styles: styles$
|
|
21279
|
+
styles: styles$18,
|
|
21280
21280
|
shadowOptions: {
|
|
21281
21281
|
delegatesFocus: true
|
|
21282
21282
|
}
|
|
21283
21283
|
});
|
|
21284
21284
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCardButton());
|
|
21285
21285
|
|
|
21286
|
-
const styles$
|
|
21286
|
+
const styles$17 = css `
|
|
21287
21287
|
.error-icon {
|
|
21288
21288
|
display: none;
|
|
21289
21289
|
}
|
|
@@ -21317,9 +21317,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21317
21317
|
}
|
|
21318
21318
|
`;
|
|
21319
21319
|
|
|
21320
|
-
const styles$
|
|
21320
|
+
const styles$16 = css `
|
|
21321
21321
|
${display$2('inline-grid')}
|
|
21322
|
-
${styles$
|
|
21322
|
+
${styles$17}
|
|
21323
21323
|
|
|
21324
21324
|
:host {
|
|
21325
21325
|
font: ${bodyFont};
|
|
@@ -21458,7 +21458,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21458
21458
|
</div>
|
|
21459
21459
|
`;
|
|
21460
21460
|
|
|
21461
|
-
const template$
|
|
21461
|
+
const template$T = (_context, definition) => html `
|
|
21462
21462
|
<template
|
|
21463
21463
|
role="checkbox"
|
|
21464
21464
|
aria-checked="${x => x.checked}"
|
|
@@ -21543,8 +21543,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21543
21543
|
const nimbleCheckbox = Checkbox.compose({
|
|
21544
21544
|
baseName: 'checkbox',
|
|
21545
21545
|
baseClass: Checkbox$1,
|
|
21546
|
-
template: template$
|
|
21547
|
-
styles: styles$
|
|
21546
|
+
template: template$T,
|
|
21547
|
+
styles: styles$16,
|
|
21548
21548
|
checkedIndicator: check16X16.data,
|
|
21549
21549
|
indeterminateIndicator: minus16X16.data
|
|
21550
21550
|
});
|
|
@@ -21556,7 +21556,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21556
21556
|
block: 'block'
|
|
21557
21557
|
};
|
|
21558
21558
|
|
|
21559
|
-
const styles$
|
|
21559
|
+
const styles$15 = css `
|
|
21560
21560
|
${display$2('inline-flex')}
|
|
21561
21561
|
|
|
21562
21562
|
:host {
|
|
@@ -21617,7 +21617,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21617
21617
|
}
|
|
21618
21618
|
`));
|
|
21619
21619
|
|
|
21620
|
-
const template$
|
|
21620
|
+
const template$S = (context, definition) => html `
|
|
21621
21621
|
${startSlotTemplate(context, definition)}
|
|
21622
21622
|
<span
|
|
21623
21623
|
class="content"
|
|
@@ -21703,16 +21703,16 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21703
21703
|
applyMixins(Chip, StartEnd);
|
|
21704
21704
|
const nimbleChip = Chip.compose({
|
|
21705
21705
|
baseName: 'chip',
|
|
21706
|
-
template: template$
|
|
21707
|
-
styles: styles$
|
|
21706
|
+
template: template$S,
|
|
21707
|
+
styles: styles$15,
|
|
21708
21708
|
shadowOptions: {
|
|
21709
21709
|
delegatesFocus: true
|
|
21710
21710
|
}
|
|
21711
21711
|
});
|
|
21712
21712
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleChip());
|
|
21713
21713
|
|
|
21714
|
-
const styles$
|
|
21715
|
-
${styles$
|
|
21714
|
+
const styles$14 = css `
|
|
21715
|
+
${styles$1o}
|
|
21716
21716
|
${buttonAppearanceVariantStyles}
|
|
21717
21717
|
|
|
21718
21718
|
@layer checked {
|
|
@@ -21759,7 +21759,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21759
21759
|
}
|
|
21760
21760
|
`));
|
|
21761
21761
|
|
|
21762
|
-
const template$
|
|
21762
|
+
const template$R = (context, definition) => html `
|
|
21763
21763
|
<div
|
|
21764
21764
|
role="button"
|
|
21765
21765
|
part="control"
|
|
@@ -21854,8 +21854,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21854
21854
|
applyMixins(ToggleButton, StartEnd, DelegatesARIAButton);
|
|
21855
21855
|
const nimbleToggleButton = ToggleButton.compose({
|
|
21856
21856
|
baseName: 'toggle-button',
|
|
21857
|
-
template: template$
|
|
21858
|
-
styles: styles$
|
|
21857
|
+
template: template$R,
|
|
21858
|
+
styles: styles$14,
|
|
21859
21859
|
shadowOptions: {
|
|
21860
21860
|
delegatesFocus: true
|
|
21861
21861
|
}
|
|
@@ -21885,7 +21885,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21885
21885
|
frameless: 'frameless'
|
|
21886
21886
|
};
|
|
21887
21887
|
|
|
21888
|
-
const styles$
|
|
21888
|
+
const styles$13 = css `
|
|
21889
21889
|
${display$2('inline-flex')}
|
|
21890
21890
|
|
|
21891
21891
|
:host {
|
|
@@ -22175,7 +22175,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22175
22175
|
}
|
|
22176
22176
|
`));
|
|
22177
22177
|
|
|
22178
|
-
const styles$
|
|
22178
|
+
const styles$12 = css `
|
|
22179
22179
|
.annotated-label {
|
|
22180
22180
|
display: flex;
|
|
22181
22181
|
flex-direction: row;
|
|
@@ -22202,10 +22202,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22202
22202
|
none: undefined,
|
|
22203
22203
|
standard: 'standard'};
|
|
22204
22204
|
|
|
22205
|
-
const styles$
|
|
22205
|
+
const styles$11 = css `
|
|
22206
|
+
${styles$13}
|
|
22207
|
+
${styles$17}
|
|
22206
22208
|
${styles$12}
|
|
22207
|
-
${styles$16}
|
|
22208
|
-
${styles$11}
|
|
22209
22209
|
|
|
22210
22210
|
:host {
|
|
22211
22211
|
--ni-private-hover-bottom-border-width: 2px;
|
|
@@ -22326,7 +22326,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22326
22326
|
<slot></slot>
|
|
22327
22327
|
</label>
|
|
22328
22328
|
`);
|
|
22329
|
-
const template$
|
|
22329
|
+
const template$Q = (context, definition) => html `
|
|
22330
22330
|
<template
|
|
22331
22331
|
aria-disabled="${x => x.ariaDisabled}"
|
|
22332
22332
|
autocomplete="${x => x.autocomplete}"
|
|
@@ -23101,8 +23101,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23101
23101
|
const nimbleCombobox = Combobox.compose({
|
|
23102
23102
|
baseName: 'combobox',
|
|
23103
23103
|
baseClass: FormAssociatedCombobox,
|
|
23104
|
-
template: template$
|
|
23105
|
-
styles: styles$
|
|
23104
|
+
template: template$Q,
|
|
23105
|
+
styles: styles$11,
|
|
23106
23106
|
shadowOptions: {
|
|
23107
23107
|
delegatesFocus: true
|
|
23108
23108
|
},
|
|
@@ -23146,7 +23146,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23146
23146
|
*/
|
|
23147
23147
|
const UserDismissed = Symbol('user dismissed');
|
|
23148
23148
|
|
|
23149
|
-
const styles
|
|
23149
|
+
const styles$10 = css `
|
|
23150
23150
|
${display$2('grid')}
|
|
23151
23151
|
|
|
23152
23152
|
dialog {
|
|
@@ -23239,7 +23239,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23239
23239
|
}
|
|
23240
23240
|
`;
|
|
23241
23241
|
|
|
23242
|
-
const template$
|
|
23242
|
+
const template$P = html `
|
|
23243
23243
|
<template>
|
|
23244
23244
|
<dialog
|
|
23245
23245
|
${ref('dialogElement')}
|
|
@@ -23387,13 +23387,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23387
23387
|
applyMixins(Dialog, ARIAGlobalStatesAndProperties);
|
|
23388
23388
|
const nimbleDialog = Dialog.compose({
|
|
23389
23389
|
baseName: 'dialog',
|
|
23390
|
-
template: template$
|
|
23391
|
-
styles: styles
|
|
23390
|
+
template: template$P,
|
|
23391
|
+
styles: styles$10,
|
|
23392
23392
|
baseClass: Dialog
|
|
23393
23393
|
});
|
|
23394
23394
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDialog());
|
|
23395
23395
|
|
|
23396
|
-
const styles
|
|
23396
|
+
const styles$$ = css `
|
|
23397
23397
|
${display$2('block')}
|
|
23398
23398
|
|
|
23399
23399
|
:host {
|
|
@@ -23536,7 +23536,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23536
23536
|
}
|
|
23537
23537
|
`;
|
|
23538
23538
|
|
|
23539
|
-
const template$
|
|
23539
|
+
const template$O = html `
|
|
23540
23540
|
<dialog
|
|
23541
23541
|
${ref('dialog')}
|
|
23542
23542
|
aria-label="${x => x.ariaLabel}"
|
|
@@ -23678,8 +23678,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23678
23678
|
applyMixins(Drawer, ARIAGlobalStatesAndProperties);
|
|
23679
23679
|
const nimbleDrawer = Drawer.compose({
|
|
23680
23680
|
baseName: 'drawer',
|
|
23681
|
-
template: template$
|
|
23682
|
-
styles: styles
|
|
23681
|
+
template: template$O,
|
|
23682
|
+
styles: styles$$
|
|
23683
23683
|
});
|
|
23684
23684
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDrawer());
|
|
23685
23685
|
|
|
@@ -26463,7 +26463,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26463
26463
|
}
|
|
26464
26464
|
}
|
|
26465
26465
|
|
|
26466
|
-
const styles$
|
|
26466
|
+
const styles$_ = css `
|
|
26467
26467
|
${display$2('none')}
|
|
26468
26468
|
`;
|
|
26469
26469
|
|
|
@@ -26536,7 +26536,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26536
26536
|
], LabelProviderCore.prototype, "itemRemove", void 0);
|
|
26537
26537
|
const nimbleLabelProviderCore = LabelProviderCore.compose({
|
|
26538
26538
|
baseName: 'label-provider-core',
|
|
26539
|
-
styles: styles$
|
|
26539
|
+
styles: styles$_
|
|
26540
26540
|
});
|
|
26541
26541
|
DesignSystem.getOrCreate()
|
|
26542
26542
|
.withPrefix('nimble')
|
|
@@ -26703,13 +26703,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26703
26703
|
], LabelProviderTable.prototype, "groupRowPlaceholderEmpty", void 0);
|
|
26704
26704
|
const nimbleLabelProviderTable = LabelProviderTable.compose({
|
|
26705
26705
|
baseName: 'label-provider-table',
|
|
26706
|
-
styles: styles$
|
|
26706
|
+
styles: styles$_
|
|
26707
26707
|
});
|
|
26708
26708
|
DesignSystem.getOrCreate()
|
|
26709
26709
|
.withPrefix('nimble')
|
|
26710
26710
|
.register(nimbleLabelProviderTable());
|
|
26711
26711
|
|
|
26712
|
-
const styles$
|
|
26712
|
+
const styles$Z = css `
|
|
26713
26713
|
${display$2('flex')}
|
|
26714
26714
|
|
|
26715
26715
|
:host {
|
|
@@ -26785,7 +26785,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26785
26785
|
* The template for the {@link @ni/fast-foundation#(ListboxOption:class)} component.
|
|
26786
26786
|
* @public
|
|
26787
26787
|
*/
|
|
26788
|
-
const template$
|
|
26788
|
+
const template$N = (context, definition) => html `
|
|
26789
26789
|
<template
|
|
26790
26790
|
aria-checked="${x => x.ariaChecked}"
|
|
26791
26791
|
aria-disabled="${x => x.ariaDisabled}"
|
|
@@ -26887,13 +26887,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26887
26887
|
const nimbleListOption = ListOption.compose({
|
|
26888
26888
|
baseName: 'list-option',
|
|
26889
26889
|
baseClass: ListboxOption,
|
|
26890
|
-
template: template$
|
|
26891
|
-
styles: styles$
|
|
26890
|
+
template: template$N,
|
|
26891
|
+
styles: styles$Z
|
|
26892
26892
|
});
|
|
26893
26893
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListOption());
|
|
26894
26894
|
const listOptionTag = 'nimble-list-option';
|
|
26895
26895
|
|
|
26896
|
-
const styles$
|
|
26896
|
+
const styles$Y = css `
|
|
26897
26897
|
${display$2('flex')}
|
|
26898
26898
|
|
|
26899
26899
|
:host {
|
|
@@ -26955,7 +26955,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26955
26955
|
const isListOption$1 = (n) => {
|
|
26956
26956
|
return n instanceof ListOption;
|
|
26957
26957
|
};
|
|
26958
|
-
const template$
|
|
26958
|
+
const template$M = html `
|
|
26959
26959
|
<template
|
|
26960
26960
|
role="group"
|
|
26961
26961
|
aria-label="${x => x.labelContent}"
|
|
@@ -27097,8 +27097,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27097
27097
|
const nimbleListOptionGroup = ListOptionGroup.compose({
|
|
27098
27098
|
baseName: 'list-option-group',
|
|
27099
27099
|
baseClass: FoundationElement,
|
|
27100
|
-
template: template$
|
|
27101
|
-
styles: styles$
|
|
27100
|
+
template: template$M,
|
|
27101
|
+
styles: styles$Y
|
|
27102
27102
|
});
|
|
27103
27103
|
DesignSystem.getOrCreate()
|
|
27104
27104
|
.withPrefix('nimble')
|
|
@@ -27125,9 +27125,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27125
27125
|
attr()
|
|
27126
27126
|
], Mapping$1.prototype, "key", void 0);
|
|
27127
27127
|
|
|
27128
|
-
const template$
|
|
27128
|
+
const template$L = html `<template slot="mapping"></template>`;
|
|
27129
27129
|
|
|
27130
|
-
const styles$
|
|
27130
|
+
const styles$X = css `
|
|
27131
27131
|
${display$2('none')}
|
|
27132
27132
|
`;
|
|
27133
27133
|
|
|
@@ -27143,8 +27143,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27143
27143
|
], MappingEmpty.prototype, "text", void 0);
|
|
27144
27144
|
const emptyMapping = MappingEmpty.compose({
|
|
27145
27145
|
baseName: 'mapping-empty',
|
|
27146
|
-
template: template$
|
|
27147
|
-
styles: styles$
|
|
27146
|
+
template: template$L,
|
|
27147
|
+
styles: styles$X
|
|
27148
27148
|
});
|
|
27149
27149
|
DesignSystem.getOrCreate().withPrefix('nimble').register(emptyMapping());
|
|
27150
27150
|
|
|
@@ -27214,8 +27214,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27214
27214
|
], MappingIcon.prototype, "resolvedIcon", void 0);
|
|
27215
27215
|
const iconMapping = MappingIcon.compose({
|
|
27216
27216
|
baseName: 'mapping-icon',
|
|
27217
|
-
template: template$
|
|
27218
|
-
styles: styles$
|
|
27217
|
+
template: template$L,
|
|
27218
|
+
styles: styles$X
|
|
27219
27219
|
});
|
|
27220
27220
|
DesignSystem.getOrCreate().withPrefix('nimble').register(iconMapping());
|
|
27221
27221
|
|
|
@@ -27238,8 +27238,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27238
27238
|
], MappingSpinner.prototype, "textHidden", void 0);
|
|
27239
27239
|
const spinnerMapping = MappingSpinner.compose({
|
|
27240
27240
|
baseName: 'mapping-spinner',
|
|
27241
|
-
template: template$
|
|
27242
|
-
styles: styles$
|
|
27241
|
+
template: template$L,
|
|
27242
|
+
styles: styles$X
|
|
27243
27243
|
});
|
|
27244
27244
|
DesignSystem.getOrCreate().withPrefix('nimble').register(spinnerMapping());
|
|
27245
27245
|
|
|
@@ -27255,8 +27255,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27255
27255
|
], MappingText.prototype, "text", void 0);
|
|
27256
27256
|
const textMapping = MappingText.compose({
|
|
27257
27257
|
baseName: 'mapping-text',
|
|
27258
|
-
template: template$
|
|
27259
|
-
styles: styles$
|
|
27258
|
+
template: template$L,
|
|
27259
|
+
styles: styles$X
|
|
27260
27260
|
});
|
|
27261
27261
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textMapping());
|
|
27262
27262
|
|
|
@@ -27558,7 +27558,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27558
27558
|
observable
|
|
27559
27559
|
], Menu$1.prototype, "itemIcons", void 0);
|
|
27560
27560
|
|
|
27561
|
-
const template$
|
|
27561
|
+
const template$K = () => html `
|
|
27562
27562
|
<template
|
|
27563
27563
|
slot="${x => {
|
|
27564
27564
|
if (x.slot) {
|
|
@@ -27575,7 +27575,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27575
27575
|
</template>
|
|
27576
27576
|
`;
|
|
27577
27577
|
|
|
27578
|
-
const styles$
|
|
27578
|
+
const styles$W = css `
|
|
27579
27579
|
${display$2('grid')}
|
|
27580
27580
|
|
|
27581
27581
|
:host {
|
|
@@ -27646,8 +27646,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27646
27646
|
const nimbleMenu = Menu.compose({
|
|
27647
27647
|
baseName: 'menu',
|
|
27648
27648
|
baseClass: Menu$1,
|
|
27649
|
-
template: template$
|
|
27650
|
-
styles: styles$
|
|
27649
|
+
template: template$K,
|
|
27650
|
+
styles: styles$W
|
|
27651
27651
|
});
|
|
27652
27652
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenu());
|
|
27653
27653
|
|
|
@@ -27662,7 +27662,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27662
27662
|
auto: 'auto'
|
|
27663
27663
|
};
|
|
27664
27664
|
|
|
27665
|
-
const styles$
|
|
27665
|
+
const styles$V = css `
|
|
27666
27666
|
${display$2('inline-block')}
|
|
27667
27667
|
|
|
27668
27668
|
:host {
|
|
@@ -27680,7 +27680,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27680
27680
|
}
|
|
27681
27681
|
`;
|
|
27682
27682
|
|
|
27683
|
-
const template$
|
|
27683
|
+
const template$J = html `
|
|
27684
27684
|
<template
|
|
27685
27685
|
?open="${x => x.open}"
|
|
27686
27686
|
@focusout="${(x, c) => x.focusoutHandler(c.event)}"
|
|
@@ -27930,8 +27930,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27930
27930
|
], MenuButton.prototype, "slottedMenus", void 0);
|
|
27931
27931
|
const nimbleMenuButton = MenuButton.compose({
|
|
27932
27932
|
baseName: 'menu-button',
|
|
27933
|
-
template: template$
|
|
27934
|
-
styles: styles$
|
|
27933
|
+
template: template$J,
|
|
27934
|
+
styles: styles$V,
|
|
27935
27935
|
shadowOptions: {
|
|
27936
27936
|
delegatesFocus: true
|
|
27937
27937
|
}
|
|
@@ -27939,7 +27939,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27939
27939
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuButton());
|
|
27940
27940
|
const menuButtonTag = 'nimble-menu-button';
|
|
27941
27941
|
|
|
27942
|
-
const styles$
|
|
27942
|
+
const styles$U = css `
|
|
27943
27943
|
${display$2('grid')}
|
|
27944
27944
|
|
|
27945
27945
|
:host {
|
|
@@ -28036,7 +28036,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28036
28036
|
baseName: 'menu-item',
|
|
28037
28037
|
baseClass: MenuItem$1,
|
|
28038
28038
|
template: menuItemTemplate,
|
|
28039
|
-
styles: styles$
|
|
28039
|
+
styles: styles$U,
|
|
28040
28040
|
expandCollapseGlyph: arrowExpanderRight16X16.data
|
|
28041
28041
|
});
|
|
28042
28042
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuItem());
|
|
@@ -28051,10 +28051,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28051
28051
|
frameless: 'frameless'
|
|
28052
28052
|
};
|
|
28053
28053
|
|
|
28054
|
-
const styles$
|
|
28054
|
+
const styles$T = css `
|
|
28055
28055
|
${display$2('inline-block')}
|
|
28056
|
-
${styles$
|
|
28057
|
-
${styles$
|
|
28056
|
+
${styles$17}
|
|
28057
|
+
${styles$12}
|
|
28058
28058
|
|
|
28059
28059
|
:host {
|
|
28060
28060
|
font: ${bodyFont};
|
|
@@ -28277,7 +28277,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28277
28277
|
* The template for the {@link @ni/fast-foundation#(NumberField:class)} component.
|
|
28278
28278
|
* @public
|
|
28279
28279
|
*/
|
|
28280
|
-
const template$
|
|
28280
|
+
const template$I = (context, definition) => html `
|
|
28281
28281
|
<template class="${x => (x.readOnly ? 'readonly' : '')}">
|
|
28282
28282
|
${labelTemplate$4}
|
|
28283
28283
|
<div class="root" part="root">
|
|
@@ -28431,8 +28431,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28431
28431
|
const nimbleNumberField = NumberField.compose({
|
|
28432
28432
|
baseName: 'number-field',
|
|
28433
28433
|
baseClass: NumberField$1,
|
|
28434
|
-
template: template$
|
|
28435
|
-
styles: styles$
|
|
28434
|
+
template: template$I,
|
|
28435
|
+
styles: styles$T,
|
|
28436
28436
|
shadowOptions: {
|
|
28437
28437
|
delegatesFocus: true
|
|
28438
28438
|
},
|
|
@@ -28475,7 +28475,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28475
28475
|
});
|
|
28476
28476
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleNumberField());
|
|
28477
28477
|
|
|
28478
|
-
const styles$
|
|
28478
|
+
const styles$S = css `
|
|
28479
28479
|
${display$2('inline-flex')}
|
|
28480
28480
|
|
|
28481
28481
|
:host {
|
|
@@ -28575,15 +28575,15 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28575
28575
|
baseName: 'radio',
|
|
28576
28576
|
baseClass: Radio$1,
|
|
28577
28577
|
template: radioTemplate,
|
|
28578
|
-
styles: styles$
|
|
28578
|
+
styles: styles$S,
|
|
28579
28579
|
checkedIndicator: circleFilled16X16.data
|
|
28580
28580
|
});
|
|
28581
28581
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadio());
|
|
28582
28582
|
|
|
28583
|
-
const styles$
|
|
28583
|
+
const styles$R = css `
|
|
28584
28584
|
${display$2('inline-block')}
|
|
28585
|
-
${styles$
|
|
28586
|
-
${styles$
|
|
28585
|
+
${styles$17}
|
|
28586
|
+
${styles$12}
|
|
28587
28587
|
|
|
28588
28588
|
.positioning-region {
|
|
28589
28589
|
display: flex;
|
|
@@ -28622,7 +28622,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28622
28622
|
`;
|
|
28623
28623
|
|
|
28624
28624
|
const labelTemplate$3 = createRequiredVisibleLabelTemplate(html `<slot name="label"></slot>`);
|
|
28625
|
-
const template$
|
|
28625
|
+
const template$H = html `
|
|
28626
28626
|
<template
|
|
28627
28627
|
role="radiogroup"
|
|
28628
28628
|
aria-disabled="${x => x.disabled}"
|
|
@@ -28662,8 +28662,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28662
28662
|
const nimbleRadioGroup = RadioGroup.compose({
|
|
28663
28663
|
baseName: 'radio-group',
|
|
28664
28664
|
baseClass: RadioGroup$1,
|
|
28665
|
-
template: template$
|
|
28666
|
-
styles: styles$
|
|
28665
|
+
template: template$H,
|
|
28666
|
+
styles: styles$R,
|
|
28667
28667
|
shadowOptions: {
|
|
28668
28668
|
delegatesFocus: true
|
|
28669
28669
|
}
|
|
@@ -47954,7 +47954,7 @@ ${indentedChild}`;
|
|
|
47954
47954
|
// src/index.ts
|
|
47955
47955
|
var index_default$7 = HardBreak;
|
|
47956
47956
|
|
|
47957
|
-
const styles$
|
|
47957
|
+
const styles$Q = css `
|
|
47958
47958
|
${display$2('inline')}
|
|
47959
47959
|
|
|
47960
47960
|
.positioning-region {
|
|
@@ -47991,7 +47991,7 @@ ${indentedChild}`;
|
|
|
47991
47991
|
baseName: 'toolbar',
|
|
47992
47992
|
baseClass: Toolbar$1,
|
|
47993
47993
|
template: toolbarTemplate,
|
|
47994
|
-
styles: styles$
|
|
47994
|
+
styles: styles$Q
|
|
47995
47995
|
});
|
|
47996
47996
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleToolbar());
|
|
47997
47997
|
const toolbarTag = 'nimble-toolbar';
|
|
@@ -48020,8 +48020,8 @@ ${indentedChild}`;
|
|
|
48020
48020
|
cssCustomPropertyName: null
|
|
48021
48021
|
}).withDefault(richTextLabelDefaults.richTextToggleNumberedListLabel);
|
|
48022
48022
|
|
|
48023
|
-
const styles$
|
|
48024
|
-
${styles$
|
|
48023
|
+
const styles$P = css `
|
|
48024
|
+
${styles$13}
|
|
48025
48025
|
|
|
48026
48026
|
:host {
|
|
48027
48027
|
height: auto;
|
|
@@ -48039,7 +48039,7 @@ ${indentedChild}`;
|
|
|
48039
48039
|
}
|
|
48040
48040
|
`;
|
|
48041
48041
|
|
|
48042
|
-
const template$
|
|
48042
|
+
const template$G = html `
|
|
48043
48043
|
<template>
|
|
48044
48044
|
<${anchoredRegionTag}
|
|
48045
48045
|
${ref('region')}
|
|
@@ -48327,15 +48327,15 @@ ${indentedChild}`;
|
|
|
48327
48327
|
], RichTextMentionListbox.prototype, "anchorElement", void 0);
|
|
48328
48328
|
const nimbleRichTextMentionListbox = RichTextMentionListbox.compose({
|
|
48329
48329
|
baseName: 'rich-text-mention-listbox',
|
|
48330
|
-
template: template$
|
|
48331
|
-
styles: styles$
|
|
48330
|
+
template: template$G,
|
|
48331
|
+
styles: styles$P
|
|
48332
48332
|
});
|
|
48333
48333
|
DesignSystem.getOrCreate()
|
|
48334
48334
|
.withPrefix('nimble')
|
|
48335
48335
|
.register(nimbleRichTextMentionListbox());
|
|
48336
48336
|
const richTextMentionListboxTag = 'nimble-rich-text-mention-listbox';
|
|
48337
48337
|
|
|
48338
|
-
const template$
|
|
48338
|
+
const template$F = html `
|
|
48339
48339
|
<template
|
|
48340
48340
|
${children$1({ property: 'childItems', filter: elements() })}
|
|
48341
48341
|
@focusout="${x => x.focusoutHandler()}"
|
|
@@ -48437,9 +48437,9 @@ ${indentedChild}`;
|
|
|
48437
48437
|
</template>
|
|
48438
48438
|
`;
|
|
48439
48439
|
|
|
48440
|
-
const styles$
|
|
48440
|
+
const styles$O = css `
|
|
48441
48441
|
${display$2('inline-flex')}
|
|
48442
|
-
${styles$
|
|
48442
|
+
${styles$17}
|
|
48443
48443
|
|
|
48444
48444
|
:host {
|
|
48445
48445
|
font: ${bodyFont};
|
|
@@ -64885,8 +64885,8 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
64885
64885
|
applyMixins(RichTextEditor, ARIAGlobalStatesAndProperties);
|
|
64886
64886
|
const nimbleRichTextEditor = RichTextEditor.compose({
|
|
64887
64887
|
baseName: 'rich-text-editor',
|
|
64888
|
-
template: template$
|
|
64889
|
-
styles: styles$
|
|
64888
|
+
template: template$F,
|
|
64889
|
+
styles: styles$O,
|
|
64890
64890
|
shadowOptions: {
|
|
64891
64891
|
delegatesFocus: true
|
|
64892
64892
|
}
|
|
@@ -64895,13 +64895,13 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
64895
64895
|
.withPrefix('nimble')
|
|
64896
64896
|
.register(nimbleRichTextEditor());
|
|
64897
64897
|
|
|
64898
|
-
const template$
|
|
64898
|
+
const template$E = html `
|
|
64899
64899
|
<template ${children$1({ property: 'childItems', filter: elements() })}>
|
|
64900
64900
|
<div ${ref('viewer')} class="viewer"></div>
|
|
64901
64901
|
</template>
|
|
64902
64902
|
`;
|
|
64903
64903
|
|
|
64904
|
-
const styles$
|
|
64904
|
+
const styles$N = css `
|
|
64905
64905
|
${display$2('flex')}
|
|
64906
64906
|
|
|
64907
64907
|
:host {
|
|
@@ -65014,17 +65014,17 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65014
65014
|
], RichTextViewer.prototype, "markdown", void 0);
|
|
65015
65015
|
const nimbleRichTextViewer = RichTextViewer.compose({
|
|
65016
65016
|
baseName: 'rich-text-viewer',
|
|
65017
|
-
template: template$
|
|
65018
|
-
styles: styles$
|
|
65017
|
+
template: template$E,
|
|
65018
|
+
styles: styles$N
|
|
65019
65019
|
});
|
|
65020
65020
|
DesignSystem.getOrCreate()
|
|
65021
65021
|
.withPrefix('nimble')
|
|
65022
65022
|
.register(nimbleRichTextViewer());
|
|
65023
65023
|
|
|
65024
|
-
const styles$
|
|
65024
|
+
const styles$M = css `
|
|
65025
|
+
${styles$13}
|
|
65026
|
+
${styles$17}
|
|
65025
65027
|
${styles$12}
|
|
65026
|
-
${styles$16}
|
|
65027
|
-
${styles$11}
|
|
65028
65028
|
|
|
65029
65029
|
${
|
|
65030
65030
|
/* We are using flex `order` to define the visual ordering of the selected value,
|
|
@@ -65187,7 +65187,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65187
65187
|
}
|
|
65188
65188
|
`));
|
|
65189
65189
|
|
|
65190
|
-
const styles$
|
|
65190
|
+
const styles$L = css `
|
|
65191
65191
|
${display$2('inline-grid')}
|
|
65192
65192
|
|
|
65193
65193
|
:host {
|
|
@@ -65357,7 +65357,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65357
65357
|
}
|
|
65358
65358
|
`));
|
|
65359
65359
|
|
|
65360
|
-
const template$
|
|
65360
|
+
const template$D = html `
|
|
65361
65361
|
<template role="progressbar">
|
|
65362
65362
|
${''
|
|
65363
65363
|
/**
|
|
@@ -65404,8 +65404,8 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65404
65404
|
], Spinner.prototype, "appearance", void 0);
|
|
65405
65405
|
const nimbleSpinner = Spinner.compose({
|
|
65406
65406
|
baseName: 'spinner',
|
|
65407
|
-
template: template$
|
|
65408
|
-
styles: styles$
|
|
65407
|
+
template: template$D,
|
|
65408
|
+
styles: styles$L
|
|
65409
65409
|
});
|
|
65410
65410
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSpinner());
|
|
65411
65411
|
const spinnerTag = 'nimble-spinner';
|
|
@@ -65421,7 +65421,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65421
65421
|
<slot ${ref('labelSlot')}></slot>
|
|
65422
65422
|
</label>
|
|
65423
65423
|
`);
|
|
65424
|
-
const template$
|
|
65424
|
+
const template$C = (context, definition) => html `
|
|
65425
65425
|
<template
|
|
65426
65426
|
class="${x => [
|
|
65427
65427
|
x.collapsible && 'collapsible',
|
|
@@ -66633,8 +66633,8 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
66633
66633
|
const nimbleSelect = Select.compose({
|
|
66634
66634
|
baseName: 'select',
|
|
66635
66635
|
baseClass: Select$2,
|
|
66636
|
-
template: template$
|
|
66637
|
-
styles: styles$
|
|
66636
|
+
template: template$C,
|
|
66637
|
+
styles: styles$M,
|
|
66638
66638
|
indicator: arrowExpanderDown16X16.data,
|
|
66639
66639
|
end: html `
|
|
66640
66640
|
<${iconExclamationMarkTag}
|
|
@@ -66647,8 +66647,8 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
66647
66647
|
applyMixins(Select, StartEnd, DelegatesARIASelect);
|
|
66648
66648
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSelect());
|
|
66649
66649
|
|
|
66650
|
-
const styles$
|
|
66651
|
-
${styles$
|
|
66650
|
+
const styles$K = css `
|
|
66651
|
+
${styles$1k}
|
|
66652
66652
|
${'' /* Button specific styles */}
|
|
66653
66653
|
@layer base {
|
|
66654
66654
|
.control {
|
|
@@ -66659,7 +66659,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
66659
66659
|
}
|
|
66660
66660
|
`;
|
|
66661
66661
|
|
|
66662
|
-
const template$
|
|
66662
|
+
const template$B = (context, definition) => html `
|
|
66663
66663
|
<template slot="step">
|
|
66664
66664
|
<li class="
|
|
66665
66665
|
container
|
|
@@ -66781,15 +66781,15 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
66781
66781
|
], Step.prototype, "tabIndex", void 0);
|
|
66782
66782
|
const nimbleStep = Step.compose({
|
|
66783
66783
|
baseName: 'step',
|
|
66784
|
-
template: template$
|
|
66785
|
-
styles: styles$
|
|
66784
|
+
template: template$B,
|
|
66785
|
+
styles: styles$K,
|
|
66786
66786
|
shadowOptions: {
|
|
66787
66787
|
delegatesFocus: true
|
|
66788
66788
|
}
|
|
66789
66789
|
});
|
|
66790
66790
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStep());
|
|
66791
66791
|
|
|
66792
|
-
const styles$
|
|
66792
|
+
const styles$J = css `
|
|
66793
66793
|
${display$2('inline-flex')}
|
|
66794
66794
|
|
|
66795
66795
|
:host {
|
|
@@ -66860,7 +66860,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
66860
66860
|
}
|
|
66861
66861
|
`;
|
|
66862
66862
|
|
|
66863
|
-
const template$
|
|
66863
|
+
const template$A = html `
|
|
66864
66864
|
${when(x => x.showScrollButtons, html `
|
|
66865
66865
|
<${buttonTag}
|
|
66866
66866
|
content-hidden
|
|
@@ -67005,12 +67005,12 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
67005
67005
|
], Stepper.prototype, "steps", void 0);
|
|
67006
67006
|
const nimbleStepper = Stepper.compose({
|
|
67007
67007
|
baseName: 'stepper',
|
|
67008
|
-
template: template$
|
|
67009
|
-
styles: styles$
|
|
67008
|
+
template: template$A,
|
|
67009
|
+
styles: styles$J
|
|
67010
67010
|
});
|
|
67011
67011
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStepper());
|
|
67012
67012
|
|
|
67013
|
-
const styles$
|
|
67013
|
+
const styles$I = css `
|
|
67014
67014
|
${display$2('inline-flex')}
|
|
67015
67015
|
|
|
67016
67016
|
:host {
|
|
@@ -67237,7 +67237,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
67237
67237
|
}
|
|
67238
67238
|
`));
|
|
67239
67239
|
|
|
67240
|
-
const template$
|
|
67240
|
+
const template$z = html `
|
|
67241
67241
|
<template
|
|
67242
67242
|
role="switch"
|
|
67243
67243
|
aria-checked="${x => x.checked}"
|
|
@@ -67281,12 +67281,12 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
67281
67281
|
const nimbleSwitch = Switch.compose({
|
|
67282
67282
|
baseClass: Switch$1,
|
|
67283
67283
|
baseName: 'switch',
|
|
67284
|
-
template: template$
|
|
67285
|
-
styles: styles$
|
|
67284
|
+
template: template$z,
|
|
67285
|
+
styles: styles$I
|
|
67286
67286
|
});
|
|
67287
67287
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSwitch());
|
|
67288
67288
|
|
|
67289
|
-
const styles$
|
|
67289
|
+
const styles$H = css `
|
|
67290
67290
|
${display$2('inline-flex')}
|
|
67291
67291
|
|
|
67292
67292
|
:host {
|
|
@@ -67397,11 +67397,11 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
67397
67397
|
baseName: 'tab',
|
|
67398
67398
|
baseClass: Tab$1,
|
|
67399
67399
|
template: tabTemplate,
|
|
67400
|
-
styles: styles$
|
|
67400
|
+
styles: styles$H
|
|
67401
67401
|
});
|
|
67402
67402
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTab());
|
|
67403
67403
|
|
|
67404
|
-
const styles$
|
|
67404
|
+
const styles$G = css `
|
|
67405
67405
|
${display$2('block')}
|
|
67406
67406
|
|
|
67407
67407
|
:host {
|
|
@@ -67420,7 +67420,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
67420
67420
|
baseName: 'tab-panel',
|
|
67421
67421
|
baseClass: TabPanel$1,
|
|
67422
67422
|
template: tabPanelTemplate,
|
|
67423
|
-
styles: styles$
|
|
67423
|
+
styles: styles$G
|
|
67424
67424
|
});
|
|
67425
67425
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabPanel());
|
|
67426
67426
|
|
|
@@ -71146,7 +71146,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
71146
71146
|
}
|
|
71147
71147
|
}
|
|
71148
71148
|
|
|
71149
|
-
const styles$
|
|
71149
|
+
const styles$F = css `
|
|
71150
71150
|
${display$2('flex')}
|
|
71151
71151
|
|
|
71152
71152
|
:host {
|
|
@@ -71366,7 +71366,7 @@ focus outline in that case.
|
|
|
71366
71366
|
}
|
|
71367
71367
|
`));
|
|
71368
71368
|
|
|
71369
|
-
const styles$
|
|
71369
|
+
const styles$E = css `
|
|
71370
71370
|
${display$2('flex')}
|
|
71371
71371
|
|
|
71372
71372
|
:host {
|
|
@@ -71399,7 +71399,7 @@ focus outline in that case.
|
|
|
71399
71399
|
}
|
|
71400
71400
|
`;
|
|
71401
71401
|
|
|
71402
|
-
const template$
|
|
71402
|
+
const template$y = html `
|
|
71403
71403
|
<template role="columnheader"
|
|
71404
71404
|
class="${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}"
|
|
71405
71405
|
aria-sort="${x => x.ariaSort}"
|
|
@@ -71485,13 +71485,13 @@ focus outline in that case.
|
|
|
71485
71485
|
], TableHeader.prototype, "isGrouped", void 0);
|
|
71486
71486
|
const nimbleTableHeader = TableHeader.compose({
|
|
71487
71487
|
baseName: 'table-header',
|
|
71488
|
-
template: template$
|
|
71489
|
-
styles: styles$
|
|
71488
|
+
template: template$y,
|
|
71489
|
+
styles: styles$E
|
|
71490
71490
|
});
|
|
71491
71491
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableHeader());
|
|
71492
71492
|
const tableHeaderTag = 'nimble-table-header';
|
|
71493
71493
|
|
|
71494
|
-
const styles$
|
|
71494
|
+
const styles$D = css `
|
|
71495
71495
|
:host .animating {
|
|
71496
71496
|
transition: ${mediumDelay} ease-in;
|
|
71497
71497
|
}
|
|
@@ -71516,9 +71516,9 @@ focus outline in that case.
|
|
|
71516
71516
|
}
|
|
71517
71517
|
`;
|
|
71518
71518
|
|
|
71519
|
-
const styles$
|
|
71519
|
+
const styles$C = css `
|
|
71520
71520
|
${display$2('flex')}
|
|
71521
|
-
${styles$
|
|
71521
|
+
${styles$D}
|
|
71522
71522
|
|
|
71523
71523
|
:host {
|
|
71524
71524
|
width: fit-content;
|
|
@@ -71688,7 +71688,7 @@ focus outline in that case.
|
|
|
71688
71688
|
}
|
|
71689
71689
|
`));
|
|
71690
71690
|
|
|
71691
|
-
const styles$
|
|
71691
|
+
const styles$B = css `
|
|
71692
71692
|
${display$2('flex')}
|
|
71693
71693
|
|
|
71694
71694
|
:host {
|
|
@@ -71733,7 +71733,7 @@ focus outline in that case.
|
|
|
71733
71733
|
}
|
|
71734
71734
|
`;
|
|
71735
71735
|
|
|
71736
|
-
const template$
|
|
71736
|
+
const template$x = html `
|
|
71737
71737
|
<template role="cell" style="--ni-private-table-cell-nesting-level: ${x => x.nestingLevel}"
|
|
71738
71738
|
@focusin="${x => x.onCellFocusIn()}"
|
|
71739
71739
|
@blur="${x => x.onCellBlur()}"
|
|
@@ -71830,13 +71830,13 @@ focus outline in that case.
|
|
|
71830
71830
|
], TableCell.prototype, "nestingLevel", void 0);
|
|
71831
71831
|
const nimbleTableCell = TableCell.compose({
|
|
71832
71832
|
baseName: 'table-cell',
|
|
71833
|
-
template: template$
|
|
71834
|
-
styles: styles$
|
|
71833
|
+
template: template$x,
|
|
71834
|
+
styles: styles$B
|
|
71835
71835
|
});
|
|
71836
71836
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableCell());
|
|
71837
71837
|
const tableCellTag = 'nimble-table-cell';
|
|
71838
71838
|
|
|
71839
|
-
const template$
|
|
71839
|
+
const template$w = html `
|
|
71840
71840
|
<template
|
|
71841
71841
|
role="row"
|
|
71842
71842
|
aria-selected=${x => x.ariaSelected}
|
|
@@ -72231,15 +72231,15 @@ focus outline in that case.
|
|
|
72231
72231
|
], TableRow.prototype, "ariaSelected", null);
|
|
72232
72232
|
const nimbleTableRow = TableRow.compose({
|
|
72233
72233
|
baseName: 'table-row',
|
|
72234
|
-
template: template$
|
|
72235
|
-
styles: styles$
|
|
72234
|
+
template: template$w,
|
|
72235
|
+
styles: styles$C
|
|
72236
72236
|
});
|
|
72237
72237
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableRow());
|
|
72238
72238
|
const tableRowTag = 'nimble-table-row';
|
|
72239
72239
|
|
|
72240
|
-
const styles$
|
|
72240
|
+
const styles$A = css `
|
|
72241
72241
|
${display$2('grid')}
|
|
72242
|
-
${styles$
|
|
72242
|
+
${styles$D}
|
|
72243
72243
|
|
|
72244
72244
|
:host {
|
|
72245
72245
|
align-items: center;
|
|
@@ -72327,7 +72327,7 @@ focus outline in that case.
|
|
|
72327
72327
|
}
|
|
72328
72328
|
`));
|
|
72329
72329
|
|
|
72330
|
-
const template$
|
|
72330
|
+
const template$v = html `
|
|
72331
72331
|
<template
|
|
72332
72332
|
role="row"
|
|
72333
72333
|
@click=${x => x.onGroupExpandToggle()}
|
|
@@ -72484,13 +72484,13 @@ focus outline in that case.
|
|
|
72484
72484
|
], TableGroupRow.prototype, "allowHover", void 0);
|
|
72485
72485
|
const nimbleTableGroupRow = TableGroupRow.compose({
|
|
72486
72486
|
baseName: 'table-group-row',
|
|
72487
|
-
template: template$
|
|
72488
|
-
styles: styles$
|
|
72487
|
+
template: template$v,
|
|
72488
|
+
styles: styles$A
|
|
72489
72489
|
});
|
|
72490
72490
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableGroupRow());
|
|
72491
72491
|
const tableGroupRowTag = 'nimble-table-group-row';
|
|
72492
72492
|
|
|
72493
|
-
const template$
|
|
72493
|
+
const template$u = html `
|
|
72494
72494
|
<template
|
|
72495
72495
|
role="treegrid"
|
|
72496
72496
|
${'' /* tabindex managed dynamically by KeyboardNavigationManager */}
|
|
@@ -76801,12 +76801,12 @@ focus outline in that case.
|
|
|
76801
76801
|
], Table$1.prototype, "windowShiftKeyDown", void 0);
|
|
76802
76802
|
const nimbleTable = Table$1.compose({
|
|
76803
76803
|
baseName: 'table',
|
|
76804
|
-
template: template$
|
|
76805
|
-
styles: styles$
|
|
76804
|
+
template: template$u,
|
|
76805
|
+
styles: styles$F
|
|
76806
76806
|
});
|
|
76807
76807
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTable());
|
|
76808
76808
|
|
|
76809
|
-
const styles$
|
|
76809
|
+
const styles$z = css `
|
|
76810
76810
|
${display$2('contents')}
|
|
76811
76811
|
|
|
76812
76812
|
.header-content {
|
|
@@ -76818,7 +76818,7 @@ focus outline in that case.
|
|
|
76818
76818
|
|
|
76819
76819
|
// Avoiding a wrapping <template> and be careful about starting and ending whitspace
|
|
76820
76820
|
// so the template can be composed into other column header templates
|
|
76821
|
-
const template$
|
|
76821
|
+
const template$t = html `<span
|
|
76822
76822
|
${overflow('hasOverflow')}
|
|
76823
76823
|
class="header-content"
|
|
76824
76824
|
title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
|
|
@@ -76883,7 +76883,7 @@ focus outline in that case.
|
|
|
76883
76883
|
return ColumnWithPlaceholder;
|
|
76884
76884
|
}
|
|
76885
76885
|
|
|
76886
|
-
const styles$
|
|
76886
|
+
const styles$y = css `
|
|
76887
76887
|
${display$2('flex')}
|
|
76888
76888
|
|
|
76889
76889
|
:host {
|
|
@@ -76914,7 +76914,7 @@ focus outline in that case.
|
|
|
76914
76914
|
}
|
|
76915
76915
|
`;
|
|
76916
76916
|
|
|
76917
|
-
const template$
|
|
76917
|
+
const template$s = html `
|
|
76918
76918
|
<template
|
|
76919
76919
|
@click="${(x, c) => {
|
|
76920
76920
|
if (typeof x.cellRecord?.href === 'string') {
|
|
@@ -77006,8 +77006,8 @@ focus outline in that case.
|
|
|
77006
77006
|
], TableColumnAnchorCellView.prototype, "showAnchor", null);
|
|
77007
77007
|
const anchorCellView = TableColumnAnchorCellView.compose({
|
|
77008
77008
|
baseName: 'table-column-anchor-cell-view',
|
|
77009
|
-
template: template$
|
|
77010
|
-
styles: styles$
|
|
77009
|
+
template: template$s,
|
|
77010
|
+
styles: styles$y
|
|
77011
77011
|
});
|
|
77012
77012
|
DesignSystem.getOrCreate().withPrefix('nimble').register(anchorCellView());
|
|
77013
77013
|
const tableColumnAnchorCellViewTag = 'nimble-table-column-anchor-cell-view';
|
|
@@ -77084,7 +77084,7 @@ focus outline in that case.
|
|
|
77084
77084
|
observable
|
|
77085
77085
|
], TableColumnTextGroupHeaderViewBase.prototype, "text", void 0);
|
|
77086
77086
|
|
|
77087
|
-
const template$
|
|
77087
|
+
const template$r = html `
|
|
77088
77088
|
<span
|
|
77089
77089
|
${overflow('hasOverflow')}
|
|
77090
77090
|
title="${x => (x.hasOverflow && x.text ? x.text : null)}"
|
|
@@ -77093,7 +77093,7 @@ focus outline in that case.
|
|
|
77093
77093
|
</span>
|
|
77094
77094
|
`;
|
|
77095
77095
|
|
|
77096
|
-
const styles$
|
|
77096
|
+
const styles$x = css `
|
|
77097
77097
|
${display$2('flex')}
|
|
77098
77098
|
|
|
77099
77099
|
span {
|
|
@@ -77117,8 +77117,8 @@ focus outline in that case.
|
|
|
77117
77117
|
}
|
|
77118
77118
|
const tableColumnTextGroupHeaderView = TableColumnTextGroupHeaderView.compose({
|
|
77119
77119
|
baseName: 'table-column-text-group-header-view',
|
|
77120
|
-
template: template$
|
|
77121
|
-
styles: styles$
|
|
77120
|
+
template: template$r,
|
|
77121
|
+
styles: styles$x
|
|
77122
77122
|
});
|
|
77123
77123
|
DesignSystem.getOrCreate()
|
|
77124
77124
|
.withPrefix('nimble')
|
|
@@ -77362,8 +77362,8 @@ focus outline in that case.
|
|
|
77362
77362
|
], TableColumnAnchor.prototype, "download", void 0);
|
|
77363
77363
|
const nimbleTableColumnAnchor = TableColumnAnchor.compose({
|
|
77364
77364
|
baseName: 'table-column-anchor',
|
|
77365
|
-
template: template$
|
|
77366
|
-
styles: styles$
|
|
77365
|
+
template: template$t,
|
|
77366
|
+
styles: styles$z
|
|
77367
77367
|
});
|
|
77368
77368
|
DesignSystem.getOrCreate()
|
|
77369
77369
|
.withPrefix('nimble')
|
|
@@ -77415,15 +77415,15 @@ focus outline in that case.
|
|
|
77415
77415
|
}
|
|
77416
77416
|
const tableColumnDateTextGroupHeaderView = TableColumnDateTextGroupHeaderView.compose({
|
|
77417
77417
|
baseName: 'table-column-date-text-group-header-view',
|
|
77418
|
-
template: template$
|
|
77419
|
-
styles: styles$
|
|
77418
|
+
template: template$r,
|
|
77419
|
+
styles: styles$x
|
|
77420
77420
|
});
|
|
77421
77421
|
DesignSystem.getOrCreate()
|
|
77422
77422
|
.withPrefix('nimble')
|
|
77423
77423
|
.register(tableColumnDateTextGroupHeaderView());
|
|
77424
77424
|
const tableColumnDateTextGroupHeaderViewTag = 'nimble-table-column-date-text-group-header-view';
|
|
77425
77425
|
|
|
77426
|
-
const template$
|
|
77426
|
+
const template$q = html `
|
|
77427
77427
|
<template
|
|
77428
77428
|
class="
|
|
77429
77429
|
${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}
|
|
@@ -77439,7 +77439,7 @@ focus outline in that case.
|
|
|
77439
77439
|
</template>
|
|
77440
77440
|
`;
|
|
77441
77441
|
|
|
77442
|
-
const styles$
|
|
77442
|
+
const styles$w = css `
|
|
77443
77443
|
${display$2('flex')}
|
|
77444
77444
|
|
|
77445
77445
|
:host {
|
|
@@ -77541,8 +77541,8 @@ focus outline in that case.
|
|
|
77541
77541
|
}
|
|
77542
77542
|
const dateTextCellView = TableColumnDateTextCellView.compose({
|
|
77543
77543
|
baseName: 'table-column-date-text-cell-view',
|
|
77544
|
-
template: template$
|
|
77545
|
-
styles: styles$
|
|
77544
|
+
template: template$q,
|
|
77545
|
+
styles: styles$w
|
|
77546
77546
|
});
|
|
77547
77547
|
DesignSystem.getOrCreate().withPrefix('nimble').register(dateTextCellView());
|
|
77548
77548
|
const tableColumnDateTextCellViewTag = 'nimble-table-column-date-text-cell-view';
|
|
@@ -77800,8 +77800,8 @@ focus outline in that case.
|
|
|
77800
77800
|
], TableColumnDateText.prototype, "customHourCycle", void 0);
|
|
77801
77801
|
const nimbleTableColumnDateText = TableColumnDateText.compose({
|
|
77802
77802
|
baseName: 'table-column-date-text',
|
|
77803
|
-
template: template$
|
|
77804
|
-
styles: styles$
|
|
77803
|
+
template: template$t,
|
|
77804
|
+
styles: styles$z
|
|
77805
77805
|
});
|
|
77806
77806
|
DesignSystem.getOrCreate()
|
|
77807
77807
|
.withPrefix('nimble')
|
|
@@ -77817,8 +77817,8 @@ focus outline in that case.
|
|
|
77817
77817
|
}
|
|
77818
77818
|
const durationTextCellView = TableColumnDurationTextCellView.compose({
|
|
77819
77819
|
baseName: 'table-column-duration-text-cell-view',
|
|
77820
|
-
template: template$
|
|
77821
|
-
styles: styles$
|
|
77820
|
+
template: template$q,
|
|
77821
|
+
styles: styles$w
|
|
77822
77822
|
});
|
|
77823
77823
|
DesignSystem.getOrCreate()
|
|
77824
77824
|
.withPrefix('nimble')
|
|
@@ -77919,8 +77919,8 @@ focus outline in that case.
|
|
|
77919
77919
|
}
|
|
77920
77920
|
const tableColumnDurationTextGroupHeaderView = TableColumnDurationTextGroupHeaderView.compose({
|
|
77921
77921
|
baseName: 'table-column-duration-text-group-header-view',
|
|
77922
|
-
template: template$
|
|
77923
|
-
styles: styles$
|
|
77922
|
+
template: template$r,
|
|
77923
|
+
styles: styles$x
|
|
77924
77924
|
});
|
|
77925
77925
|
DesignSystem.getOrCreate()
|
|
77926
77926
|
.withPrefix('nimble')
|
|
@@ -77972,8 +77972,8 @@ focus outline in that case.
|
|
|
77972
77972
|
}
|
|
77973
77973
|
const nimbleTableColumnDurationText = TableColumnDurationText.compose({
|
|
77974
77974
|
baseName: 'table-column-duration-text',
|
|
77975
|
-
template: template$
|
|
77976
|
-
styles: styles$
|
|
77975
|
+
template: template$t,
|
|
77976
|
+
styles: styles$z
|
|
77977
77977
|
});
|
|
77978
77978
|
DesignSystem.getOrCreate()
|
|
77979
77979
|
.withPrefix('nimble')
|
|
@@ -78081,15 +78081,15 @@ focus outline in that case.
|
|
|
78081
78081
|
attr({ attribute: 'key-type' })
|
|
78082
78082
|
], TableColumnEnumBase.prototype, "keyType", void 0);
|
|
78083
78083
|
|
|
78084
|
-
const styles$
|
|
78085
|
-
${styles$
|
|
78084
|
+
const styles$v = css `
|
|
78085
|
+
${styles$z}
|
|
78086
78086
|
|
|
78087
78087
|
slot[name='mapping'] {
|
|
78088
78088
|
display: none;
|
|
78089
78089
|
}
|
|
78090
78090
|
`;
|
|
78091
78091
|
|
|
78092
|
-
const template$
|
|
78092
|
+
const template$p = html `${template$t}<slot ${slotted('mappings')} name="mapping"></slot>`;
|
|
78093
78093
|
|
|
78094
78094
|
const enumBaseValidityFlagNames = [
|
|
78095
78095
|
'invalidMappingKeyValueForType',
|
|
@@ -78175,7 +78175,7 @@ focus outline in that case.
|
|
|
78175
78175
|
}
|
|
78176
78176
|
}
|
|
78177
78177
|
|
|
78178
|
-
const styles$
|
|
78178
|
+
const styles$u = css `
|
|
78179
78179
|
${display$2('inline-flex')}
|
|
78180
78180
|
|
|
78181
78181
|
:host {
|
|
@@ -78199,7 +78199,7 @@ focus outline in that case.
|
|
|
78199
78199
|
}
|
|
78200
78200
|
`;
|
|
78201
78201
|
|
|
78202
|
-
const template$
|
|
78202
|
+
const template$o = html `
|
|
78203
78203
|
${when(x => x.visualizationTemplate, html `
|
|
78204
78204
|
<span class="reserve-icon-size">
|
|
78205
78205
|
${x => x.visualizationTemplate}
|
|
@@ -78343,15 +78343,15 @@ focus outline in that case.
|
|
|
78343
78343
|
], TableColumnMappingGroupHeaderView.prototype, "visualizationTemplate", void 0);
|
|
78344
78344
|
const mappingGroupHeaderView = TableColumnMappingGroupHeaderView.compose({
|
|
78345
78345
|
baseName: 'table-column-mapping-group-header-view',
|
|
78346
|
-
template: template$
|
|
78347
|
-
styles: styles$
|
|
78346
|
+
template: template$o,
|
|
78347
|
+
styles: styles$u
|
|
78348
78348
|
});
|
|
78349
78349
|
DesignSystem.getOrCreate()
|
|
78350
78350
|
.withPrefix('nimble')
|
|
78351
78351
|
.register(mappingGroupHeaderView());
|
|
78352
78352
|
const tableColumnMappingGroupHeaderViewTag = 'nimble-table-column-mapping-group-header-view';
|
|
78353
78353
|
|
|
78354
|
-
const styles$
|
|
78354
|
+
const styles$t = css `
|
|
78355
78355
|
${display$2('inline-flex')}
|
|
78356
78356
|
|
|
78357
78357
|
:host {
|
|
@@ -78375,7 +78375,7 @@ focus outline in that case.
|
|
|
78375
78375
|
}
|
|
78376
78376
|
`;
|
|
78377
78377
|
|
|
78378
|
-
const template$
|
|
78378
|
+
const template$n = html `
|
|
78379
78379
|
${when(x => x.visualizationTemplate, html `
|
|
78380
78380
|
<span class="reserve-icon-size">
|
|
78381
78381
|
${x => x.visualizationTemplate}
|
|
@@ -78462,8 +78462,8 @@ focus outline in that case.
|
|
|
78462
78462
|
], TableColumnMappingCellView.prototype, "hasOverflow", void 0);
|
|
78463
78463
|
const mappingCellView = TableColumnMappingCellView.compose({
|
|
78464
78464
|
baseName: 'table-column-mapping-cell-view',
|
|
78465
|
-
template: template$
|
|
78466
|
-
styles: styles$
|
|
78465
|
+
template: template$n,
|
|
78466
|
+
styles: styles$t
|
|
78467
78467
|
});
|
|
78468
78468
|
DesignSystem.getOrCreate().withPrefix('nimble').register(mappingCellView());
|
|
78469
78469
|
const tableColumnMappingCellViewTag = 'nimble-table-column-mapping-cell-view';
|
|
@@ -78546,23 +78546,23 @@ focus outline in that case.
|
|
|
78546
78546
|
], TableColumnMapping.prototype, "widthMode", void 0);
|
|
78547
78547
|
const nimbleTableColumnMapping = TableColumnMapping.compose({
|
|
78548
78548
|
baseName: 'table-column-mapping',
|
|
78549
|
-
template: template$
|
|
78550
|
-
styles: styles$
|
|
78549
|
+
template: template$p,
|
|
78550
|
+
styles: styles$v
|
|
78551
78551
|
});
|
|
78552
78552
|
DesignSystem.getOrCreate()
|
|
78553
78553
|
.withPrefix('nimble')
|
|
78554
78554
|
.register(nimbleTableColumnMapping());
|
|
78555
78555
|
|
|
78556
|
-
const template$
|
|
78556
|
+
const template$m = html `
|
|
78557
78557
|
<template @delegated-event="${(x, c) => x.onDelegatedEvent(c.event)}"
|
|
78558
|
-
>${template$
|
|
78558
|
+
>${template$t}</template
|
|
78559
78559
|
>
|
|
78560
78560
|
`;
|
|
78561
78561
|
|
|
78562
78562
|
/** @internal */
|
|
78563
78563
|
const cellViewMenuSlotName = 'menu-button-menu';
|
|
78564
78564
|
|
|
78565
|
-
const template$
|
|
78565
|
+
const template$l = html `
|
|
78566
78566
|
${when(x => x.showMenuButton, html `
|
|
78567
78567
|
<${menuButtonTag}
|
|
78568
78568
|
${ref('menuButton')}
|
|
@@ -78581,7 +78581,7 @@ focus outline in that case.
|
|
|
78581
78581
|
`)}
|
|
78582
78582
|
`;
|
|
78583
78583
|
|
|
78584
|
-
const styles$
|
|
78584
|
+
const styles$s = css `
|
|
78585
78585
|
:host {
|
|
78586
78586
|
align-self: center;
|
|
78587
78587
|
width: 100%;
|
|
@@ -78656,8 +78656,8 @@ focus outline in that case.
|
|
|
78656
78656
|
], TableColumnMenuButtonCellView.prototype, "showMenuButton", null);
|
|
78657
78657
|
const menuButtonCellView = TableColumnMenuButtonCellView.compose({
|
|
78658
78658
|
baseName: 'table-column-menu-button-cell-view',
|
|
78659
|
-
template: template$
|
|
78660
|
-
styles: styles$
|
|
78659
|
+
template: template$l,
|
|
78660
|
+
styles: styles$s
|
|
78661
78661
|
});
|
|
78662
78662
|
DesignSystem.getOrCreate().withPrefix('nimble').register(menuButtonCellView());
|
|
78663
78663
|
const tableColumnMenuButtonCellViewTag = 'nimble-table-column-menu-button-cell-view';
|
|
@@ -78712,8 +78712,8 @@ focus outline in that case.
|
|
|
78712
78712
|
], TableColumnMenuButton.prototype, "menuSlot", void 0);
|
|
78713
78713
|
const nimbleTableColumnMenuButton = TableColumnMenuButton.compose({
|
|
78714
78714
|
baseName: 'table-column-menu-button',
|
|
78715
|
-
template: template$
|
|
78716
|
-
styles: styles$
|
|
78715
|
+
template: template$m,
|
|
78716
|
+
styles: styles$z
|
|
78717
78717
|
});
|
|
78718
78718
|
DesignSystem.getOrCreate()
|
|
78719
78719
|
.withPrefix('nimble')
|
|
@@ -78721,7 +78721,7 @@ focus outline in that case.
|
|
|
78721
78721
|
|
|
78722
78722
|
// Avoiding a wrapping <template> and be careful about starting and ending whitespace
|
|
78723
78723
|
// so the template can be composed into other column header templates
|
|
78724
|
-
const template$
|
|
78724
|
+
const template$k = html `<span
|
|
78725
78725
|
${overflow('hasOverflow')}
|
|
78726
78726
|
class="header-content"
|
|
78727
78727
|
title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
|
|
@@ -78740,8 +78740,8 @@ focus outline in that case.
|
|
|
78740
78740
|
}
|
|
78741
78741
|
const tableColumnNumberTextGroupHeaderView = TableColumnNumberTextGroupHeaderView.compose({
|
|
78742
78742
|
baseName: 'table-column-number-text-group-header-view',
|
|
78743
|
-
template: template$
|
|
78744
|
-
styles: styles$
|
|
78743
|
+
template: template$r,
|
|
78744
|
+
styles: styles$x
|
|
78745
78745
|
});
|
|
78746
78746
|
DesignSystem.getOrCreate()
|
|
78747
78747
|
.withPrefix('nimble')
|
|
@@ -78762,8 +78762,8 @@ focus outline in that case.
|
|
|
78762
78762
|
}
|
|
78763
78763
|
const numberTextCellView = TableColumnNumberTextCellView.compose({
|
|
78764
78764
|
baseName: 'table-column-number-text-cell-view',
|
|
78765
|
-
template: template$
|
|
78766
|
-
styles: styles$
|
|
78765
|
+
template: template$q,
|
|
78766
|
+
styles: styles$w
|
|
78767
78767
|
});
|
|
78768
78768
|
DesignSystem.getOrCreate().withPrefix('nimble').register(numberTextCellView());
|
|
78769
78769
|
const tableColumnNumberTextCellViewTag = 'nimble-table-column-number-text-cell-view';
|
|
@@ -79303,8 +79303,8 @@ focus outline in that case.
|
|
|
79303
79303
|
], TableColumnNumberText.prototype, "unit", void 0);
|
|
79304
79304
|
const nimbleTableColumnNumberText = TableColumnNumberText.compose({
|
|
79305
79305
|
baseName: 'table-column-number-text',
|
|
79306
|
-
template: template$
|
|
79307
|
-
styles: styles$
|
|
79306
|
+
template: template$k,
|
|
79307
|
+
styles: styles$z
|
|
79308
79308
|
});
|
|
79309
79309
|
DesignSystem.getOrCreate()
|
|
79310
79310
|
.withPrefix('nimble')
|
|
@@ -79322,8 +79322,8 @@ focus outline in that case.
|
|
|
79322
79322
|
}
|
|
79323
79323
|
const textCellView = TableColumnTextCellView.compose({
|
|
79324
79324
|
baseName: 'table-column-text-cell-view',
|
|
79325
|
-
template: template$
|
|
79326
|
-
styles: styles$
|
|
79325
|
+
template: template$q,
|
|
79326
|
+
styles: styles$w
|
|
79327
79327
|
});
|
|
79328
79328
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textCellView());
|
|
79329
79329
|
const tableColumnTextCellViewTag = 'nimble-table-column-text-cell-view';
|
|
@@ -79377,15 +79377,15 @@ focus outline in that case.
|
|
|
79377
79377
|
}
|
|
79378
79378
|
const nimbleTableColumnText = TableColumnText.compose({
|
|
79379
79379
|
baseName: 'table-column-text',
|
|
79380
|
-
template: template$
|
|
79381
|
-
styles: styles$
|
|
79380
|
+
template: template$t,
|
|
79381
|
+
styles: styles$z
|
|
79382
79382
|
});
|
|
79383
79383
|
DesignSystem.getOrCreate()
|
|
79384
79384
|
.withPrefix('nimble')
|
|
79385
79385
|
.register(nimbleTableColumnText());
|
|
79386
79386
|
|
|
79387
|
-
const styles$
|
|
79388
|
-
${styles$
|
|
79387
|
+
const styles$r = css `
|
|
79388
|
+
${styles$1g}
|
|
79389
79389
|
|
|
79390
79390
|
.tabpanel {
|
|
79391
79391
|
overflow: auto;
|
|
@@ -79466,12 +79466,12 @@ focus outline in that case.
|
|
|
79466
79466
|
const nimbleTabs = Tabs.compose({
|
|
79467
79467
|
baseName: 'tabs',
|
|
79468
79468
|
baseClass: Tabs$1,
|
|
79469
|
-
template: template$
|
|
79470
|
-
styles: styles$
|
|
79469
|
+
template: template$X,
|
|
79470
|
+
styles: styles$r
|
|
79471
79471
|
});
|
|
79472
79472
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabs());
|
|
79473
79473
|
|
|
79474
|
-
const styles$
|
|
79474
|
+
const styles$q = css `
|
|
79475
79475
|
${display$2('flex')}
|
|
79476
79476
|
|
|
79477
79477
|
:host {
|
|
@@ -79503,7 +79503,7 @@ focus outline in that case.
|
|
|
79503
79503
|
}
|
|
79504
79504
|
`;
|
|
79505
79505
|
|
|
79506
|
-
const template$
|
|
79506
|
+
const template$j = (context, definition) => html `
|
|
79507
79507
|
<template slot="end">
|
|
79508
79508
|
${when(x => x.defaultSlottedElements.length > 0, html `
|
|
79509
79509
|
<div class="separator"></div>
|
|
@@ -79535,8 +79535,8 @@ focus outline in that case.
|
|
|
79535
79535
|
], TabsToolbar.prototype, "defaultSlottedElements", void 0);
|
|
79536
79536
|
const nimbleTabsToolbar = TabsToolbar.compose({
|
|
79537
79537
|
baseName: 'tabs-toolbar',
|
|
79538
|
-
template: template$
|
|
79539
|
-
styles: styles$
|
|
79538
|
+
template: template$j,
|
|
79539
|
+
styles: styles$q
|
|
79540
79540
|
});
|
|
79541
79541
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabsToolbar());
|
|
79542
79542
|
applyMixins(TabsToolbar, StartEnd);
|
|
@@ -79546,10 +79546,10 @@ focus outline in that case.
|
|
|
79546
79546
|
block: 'block'
|
|
79547
79547
|
};
|
|
79548
79548
|
|
|
79549
|
-
const styles$
|
|
79549
|
+
const styles$p = css `
|
|
79550
79550
|
${display$2('inline-flex')}
|
|
79551
|
-
${styles$
|
|
79552
|
-
${styles$
|
|
79551
|
+
${styles$17}
|
|
79552
|
+
${styles$12}
|
|
79553
79553
|
|
|
79554
79554
|
:host {
|
|
79555
79555
|
font: ${bodyFont};
|
|
@@ -79741,7 +79741,7 @@ focus outline in that case.
|
|
|
79741
79741
|
<slot ${slotted('defaultSlottedNodes')}></slot>
|
|
79742
79742
|
</label>
|
|
79743
79743
|
`);
|
|
79744
|
-
const template$
|
|
79744
|
+
const template$i = () => html `
|
|
79745
79745
|
${labelTemplate$1}
|
|
79746
79746
|
<div class="container">
|
|
79747
79747
|
<textarea
|
|
@@ -79889,8 +79889,8 @@ focus outline in that case.
|
|
|
79889
79889
|
const nimbleTextArea = TextArea.compose({
|
|
79890
79890
|
baseName: 'text-area',
|
|
79891
79891
|
baseClass: TextArea$1,
|
|
79892
|
-
template: template$
|
|
79893
|
-
styles: styles$
|
|
79892
|
+
template: template$i,
|
|
79893
|
+
styles: styles$p,
|
|
79894
79894
|
shadowOptions: {
|
|
79895
79895
|
delegatesFocus: true
|
|
79896
79896
|
}
|
|
@@ -79907,10 +79907,10 @@ focus outline in that case.
|
|
|
79907
79907
|
frameless: 'frameless'
|
|
79908
79908
|
};
|
|
79909
79909
|
|
|
79910
|
-
const styles$
|
|
79910
|
+
const styles$o = css `
|
|
79911
79911
|
${display$2('inline-block')}
|
|
79912
|
-
${styles$
|
|
79913
|
-
${styles$
|
|
79912
|
+
${styles$17}
|
|
79913
|
+
${styles$12}
|
|
79914
79914
|
|
|
79915
79915
|
:host {
|
|
79916
79916
|
font: ${bodyFont};
|
|
@@ -80184,7 +80184,7 @@ focus outline in that case.
|
|
|
80184
80184
|
* The template for the {@link @ni/fast-foundation#(TextField:class)} component.
|
|
80185
80185
|
* @public
|
|
80186
80186
|
*/
|
|
80187
|
-
const template$
|
|
80187
|
+
const template$h = (context, definition) => html `
|
|
80188
80188
|
<template
|
|
80189
80189
|
class="
|
|
80190
80190
|
${x => (x.readOnly ? 'readonly' : '')}
|
|
@@ -80269,8 +80269,8 @@ focus outline in that case.
|
|
|
80269
80269
|
const nimbleTextField = TextField.compose({
|
|
80270
80270
|
baseName: 'text-field',
|
|
80271
80271
|
baseClass: TextField$1,
|
|
80272
|
-
template: template$
|
|
80273
|
-
styles: styles$
|
|
80272
|
+
template: template$h,
|
|
80273
|
+
styles: styles$o,
|
|
80274
80274
|
shadowOptions: {
|
|
80275
80275
|
delegatesFocus: true
|
|
80276
80276
|
},
|
|
@@ -80287,7 +80287,7 @@ focus outline in that case.
|
|
|
80287
80287
|
});
|
|
80288
80288
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTextField());
|
|
80289
80289
|
|
|
80290
|
-
const styles$
|
|
80290
|
+
const styles$n = css `
|
|
80291
80291
|
${display$2('inline-flex')}
|
|
80292
80292
|
|
|
80293
80293
|
:host {
|
|
@@ -80373,7 +80373,7 @@ focus outline in that case.
|
|
|
80373
80373
|
}
|
|
80374
80374
|
`));
|
|
80375
80375
|
|
|
80376
|
-
const template$
|
|
80376
|
+
const template$g = html `
|
|
80377
80377
|
${when(x => x.tooltipVisible, html `
|
|
80378
80378
|
<${anchoredRegionTag}
|
|
80379
80379
|
class="anchored-region"
|
|
@@ -80425,8 +80425,8 @@ focus outline in that case.
|
|
|
80425
80425
|
const nimbleTooltip = Tooltip.compose({
|
|
80426
80426
|
baseName: 'tooltip',
|
|
80427
80427
|
baseClass: Tooltip$1,
|
|
80428
|
-
template: template$
|
|
80429
|
-
styles: styles$
|
|
80428
|
+
template: template$g,
|
|
80429
|
+
styles: styles$n
|
|
80430
80430
|
});
|
|
80431
80431
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTooltip());
|
|
80432
80432
|
|
|
@@ -80514,7 +80514,7 @@ focus outline in that case.
|
|
|
80514
80514
|
}
|
|
80515
80515
|
}
|
|
80516
80516
|
|
|
80517
|
-
const styles$
|
|
80517
|
+
const styles$m = css `
|
|
80518
80518
|
${display$2('block')}
|
|
80519
80519
|
|
|
80520
80520
|
:host {
|
|
@@ -80731,12 +80731,12 @@ focus outline in that case.
|
|
|
80731
80731
|
baseName: 'tree-item',
|
|
80732
80732
|
baseClass: TreeItem$1,
|
|
80733
80733
|
template: treeItemTemplate,
|
|
80734
|
-
styles: styles$
|
|
80734
|
+
styles: styles$m,
|
|
80735
80735
|
expandCollapseGlyph: arrowExpanderUp16X16.data
|
|
80736
80736
|
});
|
|
80737
80737
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeItem());
|
|
80738
80738
|
|
|
80739
|
-
const styles$
|
|
80739
|
+
const styles$l = css `
|
|
80740
80740
|
${display$2('flex')}
|
|
80741
80741
|
|
|
80742
80742
|
:host {
|
|
@@ -80750,7 +80750,7 @@ focus outline in that case.
|
|
|
80750
80750
|
}
|
|
80751
80751
|
`;
|
|
80752
80752
|
|
|
80753
|
-
const template$
|
|
80753
|
+
const template$f = html `
|
|
80754
80754
|
<template
|
|
80755
80755
|
role="tree"
|
|
80756
80756
|
${ref('treeView')}
|
|
@@ -80846,8 +80846,8 @@ focus outline in that case.
|
|
|
80846
80846
|
const nimbleTreeView = TreeView.compose({
|
|
80847
80847
|
baseName: 'tree-view',
|
|
80848
80848
|
baseClass: TreeView$1,
|
|
80849
|
-
template: template$
|
|
80850
|
-
styles: styles$
|
|
80849
|
+
template: template$f,
|
|
80850
|
+
styles: styles$l
|
|
80851
80851
|
});
|
|
80852
80852
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeView());
|
|
80853
80853
|
|
|
@@ -80963,9 +80963,9 @@ focus outline in that case.
|
|
|
80963
80963
|
}
|
|
80964
80964
|
const unitScaleByte = new UnitScaleByte();
|
|
80965
80965
|
|
|
80966
|
-
const template$
|
|
80966
|
+
const template$e = html `<template slot="unit"></template>`;
|
|
80967
80967
|
|
|
80968
|
-
const styles$
|
|
80968
|
+
const styles$k = css `
|
|
80969
80969
|
${display$2('none')}
|
|
80970
80970
|
`;
|
|
80971
80971
|
|
|
@@ -80993,8 +80993,8 @@ focus outline in that case.
|
|
|
80993
80993
|
], UnitByte.prototype, "binary", void 0);
|
|
80994
80994
|
const nimbleUnitByte = UnitByte.compose({
|
|
80995
80995
|
baseName: 'unit-byte',
|
|
80996
|
-
template: template$
|
|
80997
|
-
styles: styles$
|
|
80996
|
+
template: template$e,
|
|
80997
|
+
styles: styles$k
|
|
80998
80998
|
});
|
|
80999
80999
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitByte());
|
|
81000
81000
|
|
|
@@ -81046,8 +81046,8 @@ focus outline in that case.
|
|
|
81046
81046
|
}
|
|
81047
81047
|
const nimbleUnitVolt = UnitVolt.compose({
|
|
81048
81048
|
baseName: 'unit-volt',
|
|
81049
|
-
template: template$
|
|
81050
|
-
styles: styles$
|
|
81049
|
+
template: template$e,
|
|
81050
|
+
styles: styles$k
|
|
81051
81051
|
});
|
|
81052
81052
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitVolt());
|
|
81053
81053
|
|
|
@@ -95361,7 +95361,7 @@ focus outline in that case.
|
|
|
95361
95361
|
return new Table(reader.readAll());
|
|
95362
95362
|
}
|
|
95363
95363
|
|
|
95364
|
-
const template$
|
|
95364
|
+
const template$d = html `
|
|
95365
95365
|
<div class="wafer-map-container">
|
|
95366
95366
|
<svg class="svg-root">
|
|
95367
95367
|
<g ${ref('zoomContainer')} transform=${x => x.transform.toString()}>
|
|
@@ -95394,7 +95394,7 @@ focus outline in that case.
|
|
|
95394
95394
|
</div>
|
|
95395
95395
|
`;
|
|
95396
95396
|
|
|
95397
|
-
const styles$
|
|
95397
|
+
const styles$j = css `
|
|
95398
95398
|
${display$2('inline-block')}
|
|
95399
95399
|
|
|
95400
95400
|
:host {
|
|
@@ -98419,8 +98419,8 @@ focus outline in that case.
|
|
|
98419
98419
|
], WaferMap.prototype, "colorScale", void 0);
|
|
98420
98420
|
const nimbleWaferMap = WaferMap.compose({
|
|
98421
98421
|
baseName: 'wafer-map',
|
|
98422
|
-
template: template$
|
|
98423
|
-
styles: styles$
|
|
98422
|
+
template: template$d,
|
|
98423
|
+
styles: styles$j
|
|
98424
98424
|
});
|
|
98425
98425
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleWaferMap());
|
|
98426
98426
|
|
|
@@ -98432,7 +98432,7 @@ focus outline in that case.
|
|
|
98432
98432
|
*/
|
|
98433
98433
|
const display$1 = (displayValue) => `${display$3(displayValue)}:host{box-sizing:border-box;}*{box-sizing:border-box;}:host::before,:host::after,::before,::after{box-sizing:border-box;}`;
|
|
98434
98434
|
|
|
98435
|
-
const styles$
|
|
98435
|
+
const styles$i = css `
|
|
98436
98436
|
${display$1('flex')}
|
|
98437
98437
|
|
|
98438
98438
|
:host {
|
|
@@ -98505,7 +98505,7 @@ focus outline in that case.
|
|
|
98505
98505
|
}
|
|
98506
98506
|
`;
|
|
98507
98507
|
|
|
98508
|
-
const template$
|
|
98508
|
+
const template$c = html `
|
|
98509
98509
|
<div class="toolbar ${x => (x.toolbarEmpty ? 'toolbar-empty' : '')}">
|
|
98510
98510
|
<slot name="toolbar" ${slotted({ property: 'slottedToolbarElements' })}></slot>
|
|
98511
98511
|
</div>
|
|
@@ -98587,16 +98587,16 @@ focus outline in that case.
|
|
|
98587
98587
|
], ChatConversation.prototype, "slottedEndElements", void 0);
|
|
98588
98588
|
const sprightChatConversation = ChatConversation.compose({
|
|
98589
98589
|
baseName: 'chat-conversation',
|
|
98590
|
-
template: template$
|
|
98591
|
-
styles: styles$
|
|
98590
|
+
template: template$c,
|
|
98591
|
+
styles: styles$i
|
|
98592
98592
|
});
|
|
98593
98593
|
DesignSystem.getOrCreate()
|
|
98594
98594
|
.withPrefix('spright')
|
|
98595
98595
|
.register(sprightChatConversation());
|
|
98596
98596
|
|
|
98597
|
-
const styles$
|
|
98597
|
+
const styles$h = css `
|
|
98598
98598
|
${display$1('flex')}
|
|
98599
|
-
${styles$
|
|
98599
|
+
${styles$17}
|
|
98600
98600
|
|
|
98601
98601
|
:host {
|
|
98602
98602
|
width: 100%;
|
|
@@ -98696,10 +98696,57 @@ focus outline in that case.
|
|
|
98696
98696
|
width: 80px;
|
|
98697
98697
|
margin: ${mediumPadding};
|
|
98698
98698
|
}
|
|
98699
|
+
|
|
98700
|
+
.attachments {
|
|
98701
|
+
display: none;
|
|
98702
|
+
}
|
|
98703
|
+
|
|
98704
|
+
.attachments.has-content {
|
|
98705
|
+
display: flex;
|
|
98706
|
+
flex-wrap: wrap;
|
|
98707
|
+
gap: ${mediumPadding};
|
|
98708
|
+
padding: ${mediumPadding};
|
|
98709
|
+
max-height: calc(${controlSlimHeight} * 3 + ${mediumPadding} * 4 );
|
|
98710
|
+
overflow-y: auto;
|
|
98711
|
+
}
|
|
98712
|
+
|
|
98713
|
+
.attachments ::slotted(*) {
|
|
98714
|
+
height: ${controlSlimHeight};
|
|
98715
|
+
}
|
|
98716
|
+
|
|
98717
|
+
.footer {
|
|
98718
|
+
display: flex;
|
|
98719
|
+
flex-direction: row;
|
|
98720
|
+
align-items: flex-end;
|
|
98721
|
+
justify-content: flex-end;
|
|
98722
|
+
}
|
|
98723
|
+
|
|
98724
|
+
.footer-actions {
|
|
98725
|
+
display: none;
|
|
98726
|
+
flex: 1;
|
|
98727
|
+
}
|
|
98728
|
+
|
|
98729
|
+
.footer-actions.has-content {
|
|
98730
|
+
display: flex;
|
|
98731
|
+
align-items: center;
|
|
98732
|
+
flex-wrap: wrap;
|
|
98733
|
+
column-gap: ${mediumPadding};
|
|
98734
|
+
margin: ${mediumPadding};
|
|
98735
|
+
}
|
|
98736
|
+
|
|
98737
|
+
.footer-actions ::slotted(*) {
|
|
98738
|
+
height: ${controlSlimHeight};
|
|
98739
|
+
}
|
|
98699
98740
|
`;
|
|
98700
98741
|
|
|
98701
|
-
const template$
|
|
98742
|
+
const template$b = html `
|
|
98702
98743
|
<div class="container">
|
|
98744
|
+
<section class="attachments ${x => (x.attachmentsIsEmpty ? '' : 'has-content')}">
|
|
98745
|
+
<slot
|
|
98746
|
+
name="attachments"
|
|
98747
|
+
${slotted({ property: 'slottedAttachmentsElements' })}
|
|
98748
|
+
></slot>
|
|
98749
|
+
</section>
|
|
98703
98750
|
<textarea
|
|
98704
98751
|
${ref('textArea')}
|
|
98705
98752
|
placeholder="${x => x.placeholder}"
|
|
@@ -98709,19 +98756,27 @@ focus outline in that case.
|
|
|
98709
98756
|
@keydown="${(x, c) => x.textAreaKeydownHandler(c.event)}"
|
|
98710
98757
|
@input="${x => x.textAreaInputHandler()}"
|
|
98711
98758
|
></textarea>
|
|
98712
|
-
|
|
98713
|
-
class="
|
|
98714
|
-
|
|
98715
|
-
|
|
98716
|
-
|
|
98717
|
-
|
|
98718
|
-
|
|
98719
|
-
|
|
98720
|
-
|
|
98721
|
-
|
|
98722
|
-
|
|
98723
|
-
|
|
98724
|
-
|
|
98759
|
+
<section class="footer">
|
|
98760
|
+
<section class="footer-actions ${x => (x.footerActionsIsEmpty ? '' : 'has-content')}">
|
|
98761
|
+
<slot
|
|
98762
|
+
name="footer-actions"
|
|
98763
|
+
${slotted({ property: 'slottedFooterActionsElements' })}
|
|
98764
|
+
></slot>
|
|
98765
|
+
</section>
|
|
98766
|
+
<${buttonTag}
|
|
98767
|
+
class="action-button"
|
|
98768
|
+
appearance="block"
|
|
98769
|
+
appearance-variant="${x => (x.processing ? 'primary' : 'accent')}"
|
|
98770
|
+
?disabled=${x => (x.processing ? false : (x.sendDisabled || x.isInputEmpty))}
|
|
98771
|
+
@click=${x => (x.processing ? x.stopButtonClickHandler() : x.sendButtonClickHandler())}
|
|
98772
|
+
tabindex="${x => x.tabIndex}"
|
|
98773
|
+
title=${x => (x.processing ? x.stopButtonLabel : x.sendButtonLabel)}
|
|
98774
|
+
content-hidden
|
|
98775
|
+
>
|
|
98776
|
+
${x => (x.processing ? x.stopButtonLabel : x.sendButtonLabel)}
|
|
98777
|
+
${when(x => x.processing, html `<${iconStopSquareTag} slot="start"></${iconStopSquareTag}>`, html `<${iconPaperPlaneTag} slot="start"></${iconPaperPlaneTag}>`)}
|
|
98778
|
+
</${buttonTag}>
|
|
98779
|
+
</section>
|
|
98725
98780
|
<${iconExclamationMarkTag}
|
|
98726
98781
|
severity="error"
|
|
98727
98782
|
class="error-icon ${x => (x.scrollbarWidth >= 0 ? 'scrollbar-width-calculated' : '')}"
|
|
@@ -98750,8 +98805,18 @@ focus outline in that case.
|
|
|
98750
98805
|
* @internal
|
|
98751
98806
|
*/
|
|
98752
98807
|
this.scrollbarWidth = -1;
|
|
98808
|
+
/** @internal */
|
|
98809
|
+
this.footerActionsIsEmpty = true;
|
|
98810
|
+
/** @internal */
|
|
98811
|
+
this.attachmentsIsEmpty = true;
|
|
98753
98812
|
this.updateScrollbarWidthQueued = false;
|
|
98754
98813
|
}
|
|
98814
|
+
slottedFooterActionsElementsChanged(_prev, next) {
|
|
98815
|
+
this.footerActionsIsEmpty = next === undefined || next.length === 0;
|
|
98816
|
+
}
|
|
98817
|
+
slottedAttachmentsElementsChanged(_prev, next) {
|
|
98818
|
+
this.attachmentsIsEmpty = next === undefined || next.length === 0;
|
|
98819
|
+
}
|
|
98755
98820
|
/**
|
|
98756
98821
|
* @internal
|
|
98757
98822
|
*/
|
|
@@ -98912,10 +98977,22 @@ focus outline in that case.
|
|
|
98912
98977
|
__decorate([
|
|
98913
98978
|
observable
|
|
98914
98979
|
], ChatInput.prototype, "scrollbarWidth", void 0);
|
|
98980
|
+
__decorate([
|
|
98981
|
+
observable
|
|
98982
|
+
], ChatInput.prototype, "footerActionsIsEmpty", void 0);
|
|
98983
|
+
__decorate([
|
|
98984
|
+
observable
|
|
98985
|
+
], ChatInput.prototype, "slottedFooterActionsElements", void 0);
|
|
98986
|
+
__decorate([
|
|
98987
|
+
observable
|
|
98988
|
+
], ChatInput.prototype, "attachmentsIsEmpty", void 0);
|
|
98989
|
+
__decorate([
|
|
98990
|
+
observable
|
|
98991
|
+
], ChatInput.prototype, "slottedAttachmentsElements", void 0);
|
|
98915
98992
|
const sprightChatInput = ChatInput.compose({
|
|
98916
98993
|
baseName: 'chat-input',
|
|
98917
|
-
template: template$
|
|
98918
|
-
styles: styles$
|
|
98994
|
+
template: template$b,
|
|
98995
|
+
styles: styles$h,
|
|
98919
98996
|
shadowOptions: {
|
|
98920
98997
|
delegatesFocus: true
|
|
98921
98998
|
}
|
|
@@ -98933,7 +99010,7 @@ focus outline in that case.
|
|
|
98933
99010
|
inbound: 'inbound'
|
|
98934
99011
|
};
|
|
98935
99012
|
|
|
98936
|
-
const styles$
|
|
99013
|
+
const styles$g = css `
|
|
98937
99014
|
${display$1('flex')}
|
|
98938
99015
|
|
|
98939
99016
|
:host {
|
|
@@ -99007,7 +99084,7 @@ focus outline in that case.
|
|
|
99007
99084
|
}
|
|
99008
99085
|
`;
|
|
99009
99086
|
|
|
99010
|
-
const template$
|
|
99087
|
+
const template$a = (context, definition) => html `
|
|
99011
99088
|
<div class="container">
|
|
99012
99089
|
${startSlotTemplate(context, definition)}
|
|
99013
99090
|
<section class="message-content">
|
|
@@ -99056,12 +99133,12 @@ focus outline in that case.
|
|
|
99056
99133
|
applyMixins(ChatMessage, StartEnd);
|
|
99057
99134
|
const sprightChatMessage = ChatMessage.compose({
|
|
99058
99135
|
baseName: 'chat-message',
|
|
99059
|
-
template: template$
|
|
99060
|
-
styles: styles$
|
|
99136
|
+
template: template$a,
|
|
99137
|
+
styles: styles$g
|
|
99061
99138
|
});
|
|
99062
99139
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessage());
|
|
99063
99140
|
|
|
99064
|
-
const styles$
|
|
99141
|
+
const styles$f = css `
|
|
99065
99142
|
${display$1('flex')}
|
|
99066
99143
|
|
|
99067
99144
|
:host {
|
|
@@ -99119,7 +99196,7 @@ focus outline in that case.
|
|
|
99119
99196
|
}
|
|
99120
99197
|
`;
|
|
99121
99198
|
|
|
99122
|
-
const template$
|
|
99199
|
+
const template$9 = (context, definition) => html `
|
|
99123
99200
|
<div class="container">
|
|
99124
99201
|
${startSlotTemplate(context, definition)}
|
|
99125
99202
|
<section class="message-content">
|
|
@@ -99157,12 +99234,12 @@ focus outline in that case.
|
|
|
99157
99234
|
applyMixins(ChatMessageInbound, StartEnd);
|
|
99158
99235
|
const sprightChatMessageInbound = ChatMessageInbound.compose({
|
|
99159
99236
|
baseName: 'chat-message-inbound',
|
|
99160
|
-
template: template$
|
|
99161
|
-
styles: styles$
|
|
99237
|
+
template: template$9,
|
|
99238
|
+
styles: styles$f
|
|
99162
99239
|
});
|
|
99163
99240
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageInbound());
|
|
99164
99241
|
|
|
99165
|
-
const styles$
|
|
99242
|
+
const styles$e = css `
|
|
99166
99243
|
${display$1('flex')}
|
|
99167
99244
|
|
|
99168
99245
|
:host {
|
|
@@ -99196,7 +99273,7 @@ focus outline in that case.
|
|
|
99196
99273
|
}
|
|
99197
99274
|
`;
|
|
99198
99275
|
|
|
99199
|
-
const template$
|
|
99276
|
+
const template$8 = () => html `
|
|
99200
99277
|
<div class="container">
|
|
99201
99278
|
<section class="message-content">
|
|
99202
99279
|
<slot></slot>
|
|
@@ -99211,12 +99288,12 @@ focus outline in that case.
|
|
|
99211
99288
|
}
|
|
99212
99289
|
const sprightChatMessageOutbound = ChatMessageOutbound.compose({
|
|
99213
99290
|
baseName: 'chat-message-outbound',
|
|
99214
|
-
template: template$
|
|
99215
|
-
styles: styles$
|
|
99291
|
+
template: template$8,
|
|
99292
|
+
styles: styles$e
|
|
99216
99293
|
});
|
|
99217
99294
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageOutbound());
|
|
99218
99295
|
|
|
99219
|
-
const styles$
|
|
99296
|
+
const styles$d = css `
|
|
99220
99297
|
${display$1('flex')}
|
|
99221
99298
|
|
|
99222
99299
|
:host {
|
|
@@ -99243,7 +99320,7 @@ focus outline in that case.
|
|
|
99243
99320
|
}
|
|
99244
99321
|
`;
|
|
99245
99322
|
|
|
99246
|
-
const template$
|
|
99323
|
+
const template$7 = () => html `
|
|
99247
99324
|
<div class="container">
|
|
99248
99325
|
<section class="message-content">
|
|
99249
99326
|
<slot></slot>
|
|
@@ -99258,12 +99335,12 @@ focus outline in that case.
|
|
|
99258
99335
|
}
|
|
99259
99336
|
const sprightChatMessageSystem = ChatMessageSystem.compose({
|
|
99260
99337
|
baseName: 'chat-message-system',
|
|
99261
|
-
template: template$
|
|
99262
|
-
styles: styles$
|
|
99338
|
+
template: template$7,
|
|
99339
|
+
styles: styles$d
|
|
99263
99340
|
});
|
|
99264
99341
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageSystem());
|
|
99265
99342
|
|
|
99266
|
-
const styles$
|
|
99343
|
+
const styles$c = css `
|
|
99267
99344
|
${display$1('flex')}
|
|
99268
99345
|
|
|
99269
99346
|
:host {
|
|
@@ -99323,13 +99400,13 @@ focus outline in that case.
|
|
|
99323
99400
|
const nigelChatLightData = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 48 48"><defs><linearGradient id="nigelChatGradient" gradientUnits="userSpaceOnUse" x1="24" y1="0.1611" x2="24" y2="48.1611"><stop offset="0" stop-color="#008557"/><stop offset="1" stop-color="#00C07E"/></linearGradient></defs><path fill="url(#nigelChatGradient)" d="M36.654,11.338c-1.63-1.626-3.685-2.512-5.797-2.766c2.107-0.256,4.157-1.153,5.783-2.776C38.273,4.167,39.175,2.112,39.429,0c0.251,2.115,1.139,4.174,2.774,5.805c1.63,1.626,3.685,2.512,5.797,2.766c-2.108,0.256-4.158,1.153-5.784,2.776c-1.632,1.629-2.534,3.684-2.787,5.796C39.177,15.027,38.289,12.969,36.654,11.338z M18,24v-0.5c0-1.003,0.274-1.941,0.746-2.752c0.473-0.901,1.172-1.589,2.081-2.05c0.198-0.111,0.404-0.208,0.616-0.294c0.005-0.002,0.011-0.004,0.016-0.006C22.09,18.144,22.778,18,23.5,18H28V6.5C28,4.575,26.425,3,24.5,3h-21C1.575,3,0,4.575,0,6.5v14C0,22.425,1.575,24,3.5,24h1.75L3.5,31L18,24z M20,23.5v14c0,1.925,1.575,3.5,3.5,3.5h7l14,7l-1.75-7h1.75c1.925,0,3.5-1.575,3.5-3.5V23c0-1.925-1.575-3-3.5-3h-21C21.575,20,20,21.575,20,23.5z"/></svg>';
|
|
99324
99401
|
const nigelChatDarkData = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 48 48"><defs><linearGradient id="nigelChatGradientDark" gradientUnits="userSpaceOnUse" x1="24" y1="47.8389" x2="24" y2="-0.1611"><stop offset="0" stop-color="#008557"/><stop offset="1" stop-color="#00C07E"/></linearGradient></defs><path fill="url(#nigelChatGradientDark)" d="M36.654,11.338c-1.63-1.626-3.685-2.512-5.797-2.766c2.107-0.256,4.157-1.153,5.783-2.776C38.273,4.167,39.175,2.112,39.429,0c0.251,2.115,1.139,4.174,2.774,5.805c1.63,1.626,3.685,2.512,5.797,2.766c-2.108,0.256-4.158,1.153-5.784,2.776c-1.632,1.629-2.534,3.684-2.787,5.796C39.177,15.027,38.289,12.969,36.654,11.338z M18,24v-0.5c0-1.003,0.274-1.941,0.746-2.752c0.473-0.901,1.172-1.589,2.081-2.05c0.198-0.111,0.404-0.208,0.616-0.294c0.005-0.002,0.011-0.004,0.016-0.006C22.09,18.144,22.778,18,23.5,18H28V6.5C28,4.575,26.425,3,24.5,3h-21C1.575,3,0,4.575,0,6.5v14C0,22.425,1.575,24,3.5,24h1.75L3.5,31L18,24z M20,23.5v14c0,1.925,1.575,3.5,3.5,3.5h7l14,7l-1.75-7h1.75c1.925,0,3.5-1.575,3.5-3.5V23c0-1.925-1.575-3-3.5-3h-21C21.575,20,20,21.575,20,23.5z"/></svg>';
|
|
99325
99402
|
|
|
99326
|
-
const template$
|
|
99403
|
+
const template$6 = html `
|
|
99327
99404
|
<div class="icon light-icon" aria-hidden="true" :innerHTML="${() => nigelChatLightData}"></div>
|
|
99328
99405
|
<div class="icon dark-icon" aria-hidden="true" :innerHTML="${() => nigelChatDarkData}"></div>
|
|
99329
99406
|
`;
|
|
99330
99407
|
|
|
99331
|
-
const styles$
|
|
99332
|
-
${styles$
|
|
99408
|
+
const styles$b = css `
|
|
99409
|
+
${styles$1i}
|
|
99333
99410
|
|
|
99334
99411
|
.dark-icon {
|
|
99335
99412
|
display: none;
|
|
@@ -99352,15 +99429,15 @@ focus outline in that case.
|
|
|
99352
99429
|
}
|
|
99353
99430
|
const sprightIconNigelChat = IconNigelChat.compose({
|
|
99354
99431
|
baseName: 'icon-nigel-chat',
|
|
99355
|
-
template: template$
|
|
99356
|
-
styles: styles$
|
|
99432
|
+
template: template$6,
|
|
99433
|
+
styles: styles$b
|
|
99357
99434
|
});
|
|
99358
99435
|
DesignSystem.getOrCreate()
|
|
99359
99436
|
.withPrefix('spright')
|
|
99360
99437
|
.register(sprightIconNigelChat());
|
|
99361
99438
|
const iconNigelChatTag = 'spright-icon-nigel-chat';
|
|
99362
99439
|
|
|
99363
|
-
const template$
|
|
99440
|
+
const template$5 = () => html `
|
|
99364
99441
|
<div class="container">
|
|
99365
99442
|
<div class="brand-icon">
|
|
99366
99443
|
<slot name="brand-icon">
|
|
@@ -99392,13 +99469,13 @@ focus outline in that case.
|
|
|
99392
99469
|
], ChatMessageWelcome.prototype, "subtitle", void 0);
|
|
99393
99470
|
const sprightChatMessageWelcome = ChatMessageWelcome.compose({
|
|
99394
99471
|
baseName: 'chat-message-welcome',
|
|
99395
|
-
template: template$
|
|
99396
|
-
styles: styles$
|
|
99472
|
+
template: template$5,
|
|
99473
|
+
styles: styles$c
|
|
99397
99474
|
});
|
|
99398
99475
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageWelcome());
|
|
99399
99476
|
|
|
99400
|
-
const styles$
|
|
99401
|
-
${styles$
|
|
99477
|
+
const styles$a = css `
|
|
99478
|
+
${styles$1i}
|
|
99402
99479
|
|
|
99403
99480
|
.icon svg {
|
|
99404
99481
|
fill: ${calendarEventBorderReservationColor};
|
|
@@ -99415,15 +99492,15 @@ focus outline in that case.
|
|
|
99415
99492
|
}
|
|
99416
99493
|
const sprightIconWorkItemCalendarWeek = IconWorkItemCalendarWeek.compose({
|
|
99417
99494
|
baseName: 'icon-work-item-calendar-week',
|
|
99418
|
-
template: template
|
|
99419
|
-
styles: styles$
|
|
99495
|
+
template: template$$,
|
|
99496
|
+
styles: styles$a
|
|
99420
99497
|
});
|
|
99421
99498
|
DesignSystem.getOrCreate()
|
|
99422
99499
|
.withPrefix('spright')
|
|
99423
99500
|
.register(sprightIconWorkItemCalendarWeek());
|
|
99424
99501
|
|
|
99425
|
-
const styles$
|
|
99426
|
-
${styles$
|
|
99502
|
+
const styles$9 = css `
|
|
99503
|
+
${styles$1i}
|
|
99427
99504
|
|
|
99428
99505
|
.icon svg {
|
|
99429
99506
|
fill: ${calendarEventBorderCalibrationColor};
|
|
@@ -99440,15 +99517,15 @@ focus outline in that case.
|
|
|
99440
99517
|
}
|
|
99441
99518
|
const sprightIconWorkItemCalipers = IconWorkItemCalipers.compose({
|
|
99442
99519
|
baseName: 'icon-work-item-calipers',
|
|
99443
|
-
template: template
|
|
99444
|
-
styles: styles$
|
|
99520
|
+
template: template$$,
|
|
99521
|
+
styles: styles$9
|
|
99445
99522
|
});
|
|
99446
99523
|
DesignSystem.getOrCreate()
|
|
99447
99524
|
.withPrefix('spright')
|
|
99448
99525
|
.register(sprightIconWorkItemCalipers());
|
|
99449
99526
|
|
|
99450
|
-
const styles$
|
|
99451
|
-
${styles$
|
|
99527
|
+
const styles$8 = css `
|
|
99528
|
+
${styles$1i}
|
|
99452
99529
|
|
|
99453
99530
|
.icon svg {
|
|
99454
99531
|
fill: ${calendarEventBorderTransportOrderColor};
|
|
@@ -99465,15 +99542,15 @@ focus outline in that case.
|
|
|
99465
99542
|
}
|
|
99466
99543
|
const sprightIconWorkItemForklift = IconWorkItemForklift.compose({
|
|
99467
99544
|
baseName: 'icon-work-item-forklift',
|
|
99468
|
-
template: template
|
|
99469
|
-
styles: styles$
|
|
99545
|
+
template: template$$,
|
|
99546
|
+
styles: styles$8
|
|
99470
99547
|
});
|
|
99471
99548
|
DesignSystem.getOrCreate()
|
|
99472
99549
|
.withPrefix('spright')
|
|
99473
99550
|
.register(sprightIconWorkItemForklift());
|
|
99474
99551
|
|
|
99475
|
-
const styles$
|
|
99476
|
-
${styles$
|
|
99552
|
+
const styles$7 = css `
|
|
99553
|
+
${styles$1i}
|
|
99477
99554
|
|
|
99478
99555
|
.icon svg {
|
|
99479
99556
|
fill: ${calendarEventBorderStaticColor};
|
|
@@ -99490,15 +99567,15 @@ focus outline in that case.
|
|
|
99490
99567
|
}
|
|
99491
99568
|
const sprightIconWorkItemRectangleCheckLines = IconWorkItemRectangleCheckLines.compose({
|
|
99492
99569
|
baseName: 'icon-work-item-rectangle-check-lines',
|
|
99493
|
-
template: template
|
|
99494
|
-
styles: styles$
|
|
99570
|
+
template: template$$,
|
|
99571
|
+
styles: styles$7
|
|
99495
99572
|
});
|
|
99496
99573
|
DesignSystem.getOrCreate()
|
|
99497
99574
|
.withPrefix('spright')
|
|
99498
99575
|
.register(sprightIconWorkItemRectangleCheckLines());
|
|
99499
99576
|
|
|
99500
|
-
const styles$
|
|
99501
|
-
${styles$
|
|
99577
|
+
const styles$6 = css `
|
|
99578
|
+
${styles$1i}
|
|
99502
99579
|
|
|
99503
99580
|
.icon svg {
|
|
99504
99581
|
fill: ${calendarEventBorderJobColor};
|
|
@@ -99515,15 +99592,15 @@ focus outline in that case.
|
|
|
99515
99592
|
}
|
|
99516
99593
|
const sprightIconWorkItemUserHelmetSafety = IconWorkItemUserHelmetSafety.compose({
|
|
99517
99594
|
baseName: 'icon-work-item-user-helmet-safety',
|
|
99518
|
-
template: template
|
|
99519
|
-
styles: styles$
|
|
99595
|
+
template: template$$,
|
|
99596
|
+
styles: styles$6
|
|
99520
99597
|
});
|
|
99521
99598
|
DesignSystem.getOrCreate()
|
|
99522
99599
|
.withPrefix('spright')
|
|
99523
99600
|
.register(sprightIconWorkItemUserHelmetSafety());
|
|
99524
99601
|
|
|
99525
|
-
const styles$
|
|
99526
|
-
${styles$
|
|
99602
|
+
const styles$5 = css `
|
|
99603
|
+
${styles$1i}
|
|
99527
99604
|
|
|
99528
99605
|
.icon svg {
|
|
99529
99606
|
fill: ${calendarEventBorderMaintenanceColor};
|
|
@@ -99540,14 +99617,14 @@ focus outline in that case.
|
|
|
99540
99617
|
}
|
|
99541
99618
|
const sprightIconWorkItemWrenchHammer = IconWorkItemWrenchHammer.compose({
|
|
99542
99619
|
baseName: 'icon-work-item-wrench-hammer',
|
|
99543
|
-
template: template
|
|
99544
|
-
styles: styles$
|
|
99620
|
+
template: template$$,
|
|
99621
|
+
styles: styles$5
|
|
99545
99622
|
});
|
|
99546
99623
|
DesignSystem.getOrCreate()
|
|
99547
99624
|
.withPrefix('spright')
|
|
99548
99625
|
.register(sprightIconWorkItemWrenchHammer());
|
|
99549
99626
|
|
|
99550
|
-
const styles$
|
|
99627
|
+
const styles$4 = css `
|
|
99551
99628
|
${display$1('inline-block')}
|
|
99552
99629
|
|
|
99553
99630
|
:host {
|
|
@@ -99572,7 +99649,7 @@ focus outline in that case.
|
|
|
99572
99649
|
}
|
|
99573
99650
|
`;
|
|
99574
99651
|
|
|
99575
|
-
const template$
|
|
99652
|
+
const template$4 = html `<slot></slot>`;
|
|
99576
99653
|
|
|
99577
99654
|
/**
|
|
99578
99655
|
* A Spright demo component (not for production use)
|
|
@@ -99581,8 +99658,8 @@ focus outline in that case.
|
|
|
99581
99658
|
}
|
|
99582
99659
|
const sprightRectangle = Rectangle.compose({
|
|
99583
99660
|
baseName: 'rectangle',
|
|
99584
|
-
template: template$
|
|
99585
|
-
styles: styles$
|
|
99661
|
+
template: template$4,
|
|
99662
|
+
styles: styles$4
|
|
99586
99663
|
});
|
|
99587
99664
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightRectangle());
|
|
99588
99665
|
|
|
@@ -99609,7 +99686,7 @@ focus outline in that case.
|
|
|
99609
99686
|
block: 'block'
|
|
99610
99687
|
};
|
|
99611
99688
|
|
|
99612
|
-
const styles$
|
|
99689
|
+
const styles$3 = css `
|
|
99613
99690
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
99614
99691
|
|
|
99615
99692
|
@layer base {
|
|
@@ -99715,7 +99792,7 @@ focus outline in that case.
|
|
|
99715
99792
|
}
|
|
99716
99793
|
`));
|
|
99717
99794
|
|
|
99718
|
-
const template$
|
|
99795
|
+
const template$3 = html `
|
|
99719
99796
|
<details
|
|
99720
99797
|
class="accordion-item-details"
|
|
99721
99798
|
?open="${x => x.expanded}"
|
|
@@ -99765,13 +99842,265 @@ focus outline in that case.
|
|
|
99765
99842
|
], FvAccordionItem.prototype, "appearance", void 0);
|
|
99766
99843
|
const okFvAccordionItem = FvAccordionItem.compose({
|
|
99767
99844
|
baseName: 'fv-accordion-item',
|
|
99768
|
-
template: template$
|
|
99769
|
-
styles: styles$
|
|
99845
|
+
template: template$3,
|
|
99846
|
+
styles: styles$3
|
|
99770
99847
|
});
|
|
99771
99848
|
DesignSystem.getOrCreate()
|
|
99772
99849
|
.withPrefix('ok')
|
|
99773
99850
|
.register(okFvAccordionItem());
|
|
99774
99851
|
|
|
99852
|
+
const styles$2 = css `
|
|
99853
|
+
@layer base, hover, focusVisible, active, disabled, top;
|
|
99854
|
+
|
|
99855
|
+
@layer base {
|
|
99856
|
+
${display('inline-block')}
|
|
99857
|
+
|
|
99858
|
+
:host {
|
|
99859
|
+
--ni-private-fv-search-input-inline-padding: ${standardPadding};
|
|
99860
|
+
--ni-private-fv-search-input-leading-inset: ${mediumPadding};
|
|
99861
|
+
--ni-private-fv-search-input-leading-space: calc(var(--ni-private-fv-search-input-leading-inset) + ${iconSize} + ${smallPadding});
|
|
99862
|
+
--ni-private-fv-search-input-trailing-space: calc(var(--ni-private-fv-search-input-inline-padding) + ${iconSize});
|
|
99863
|
+
--ni-private-fv-search-input-border-color: rgba(${borderRgbPartialColor}, 0.3);
|
|
99864
|
+
--ni-private-fv-search-input-border-radius: 0px;
|
|
99865
|
+
min-width: 120px;
|
|
99866
|
+
height: ${controlHeight};
|
|
99867
|
+
font: ${bodyFont};
|
|
99868
|
+
color: ${bodyFontColor};
|
|
99869
|
+
}
|
|
99870
|
+
|
|
99871
|
+
.search-input-container {
|
|
99872
|
+
position: relative;
|
|
99873
|
+
display: flex;
|
|
99874
|
+
align-items: center;
|
|
99875
|
+
width: 100%;
|
|
99876
|
+
height: 100%;
|
|
99877
|
+
border: ${borderWidth} solid transparent;
|
|
99878
|
+
border-radius: var(--ni-private-fv-search-input-border-radius);
|
|
99879
|
+
color: inherit;
|
|
99880
|
+
background-color: transparent;
|
|
99881
|
+
transition:
|
|
99882
|
+
border-color ${smallDelay} ease-in-out,
|
|
99883
|
+
box-shadow ${smallDelay} ease-in-out,
|
|
99884
|
+
background-color ${smallDelay} ease-in-out;
|
|
99885
|
+
}
|
|
99886
|
+
|
|
99887
|
+
.search-input-container::after {
|
|
99888
|
+
content: '';
|
|
99889
|
+
position: absolute;
|
|
99890
|
+
inset-inline: 0;
|
|
99891
|
+
inset-block-end: calc(-1 * ${borderWidth});
|
|
99892
|
+
border-bottom: calc(${borderWidth} + 1px) solid ${borderHoverColor};
|
|
99893
|
+
transform: scaleX(0);
|
|
99894
|
+
transform-origin: center;
|
|
99895
|
+
transition:
|
|
99896
|
+
transform ${smallDelay} ease-in-out,
|
|
99897
|
+
border-bottom-color ${smallDelay} ease-in-out;
|
|
99898
|
+
pointer-events: none;
|
|
99899
|
+
}
|
|
99900
|
+
|
|
99901
|
+
.search-input-icon {
|
|
99902
|
+
position: absolute;
|
|
99903
|
+
display: inline-flex;
|
|
99904
|
+
align-items: center;
|
|
99905
|
+
justify-content: center;
|
|
99906
|
+
top: 50%;
|
|
99907
|
+
inset-inline-start: var(--ni-private-fv-search-input-leading-inset);
|
|
99908
|
+
transform: translateY(-50%);
|
|
99909
|
+
color: ${placeholderFontColor};
|
|
99910
|
+
pointer-events: none;
|
|
99911
|
+
${iconColor.cssCustomProperty}: ${placeholderFontColor};
|
|
99912
|
+
}
|
|
99913
|
+
|
|
99914
|
+
.search-input {
|
|
99915
|
+
-webkit-appearance: none;
|
|
99916
|
+
appearance: none;
|
|
99917
|
+
display: block;
|
|
99918
|
+
flex: 1 1 auto;
|
|
99919
|
+
min-width: 0;
|
|
99920
|
+
width: 100%;
|
|
99921
|
+
height: 100%;
|
|
99922
|
+
padding: 0 var(--ni-private-fv-search-input-trailing-space) 0 var(--ni-private-fv-search-input-leading-space);
|
|
99923
|
+
font: inherit;
|
|
99924
|
+
line-height: normal;
|
|
99925
|
+
color: inherit;
|
|
99926
|
+
border: none;
|
|
99927
|
+
outline: none;
|
|
99928
|
+
border-radius: 0;
|
|
99929
|
+
background: transparent;
|
|
99930
|
+
}
|
|
99931
|
+
|
|
99932
|
+
.search-input::placeholder {
|
|
99933
|
+
color: ${placeholderFontColor};
|
|
99934
|
+
}
|
|
99935
|
+
|
|
99936
|
+
.search-input-clear {
|
|
99937
|
+
-webkit-appearance: none;
|
|
99938
|
+
appearance: none;
|
|
99939
|
+
position: absolute;
|
|
99940
|
+
display: inline-flex;
|
|
99941
|
+
align-items: center;
|
|
99942
|
+
justify-content: center;
|
|
99943
|
+
top: 50%;
|
|
99944
|
+
inset-inline-end: 2px;
|
|
99945
|
+
height: calc(100% - 6px);
|
|
99946
|
+
aspect-ratio: 1;
|
|
99947
|
+
padding: 0;
|
|
99948
|
+
transform: translateY(-50%);
|
|
99949
|
+
color: ${placeholderFontColor};
|
|
99950
|
+
border: none;
|
|
99951
|
+
border-radius: 2px;
|
|
99952
|
+
background: transparent;
|
|
99953
|
+
cursor: pointer;
|
|
99954
|
+
${iconColor.cssCustomProperty}: ${placeholderFontColor};
|
|
99955
|
+
}
|
|
99956
|
+
|
|
99957
|
+
:host([appearance='outline']) .search-input-container {
|
|
99958
|
+
border-color: var(--ni-private-fv-search-input-border-color);
|
|
99959
|
+
}
|
|
99960
|
+
|
|
99961
|
+
:host([appearance='block']) .search-input-container {
|
|
99962
|
+
background-color: rgba(${borderRgbPartialColor}, 0.1);
|
|
99963
|
+
}
|
|
99964
|
+
|
|
99965
|
+
:host([appearance='underline']) .search-input-container::after {
|
|
99966
|
+
transform: scaleX(1);
|
|
99967
|
+
border-bottom-color: var(--ni-private-fv-search-input-border-color);
|
|
99968
|
+
}
|
|
99969
|
+
}
|
|
99970
|
+
|
|
99971
|
+
@layer hover {
|
|
99972
|
+
.search-input-clear:hover {
|
|
99973
|
+
background: ${fillHoverColor};
|
|
99974
|
+
}
|
|
99975
|
+
|
|
99976
|
+
:host([appearance='outline']) .search-input-container:hover {
|
|
99977
|
+
border-color: ${borderHoverColor};
|
|
99978
|
+
box-shadow: 0 0 0 ${borderWidth} ${borderHoverColor} inset;
|
|
99979
|
+
}
|
|
99980
|
+
|
|
99981
|
+
:host([appearance='block']) .search-input-container:hover::after {
|
|
99982
|
+
transform: scaleX(1);
|
|
99983
|
+
border-bottom-color: ${borderHoverColor};
|
|
99984
|
+
}
|
|
99985
|
+
|
|
99986
|
+
:host([appearance='underline']) .search-input-container:hover::after {
|
|
99987
|
+
border-bottom-color: ${borderHoverColor};
|
|
99988
|
+
}
|
|
99989
|
+
|
|
99990
|
+
:host([appearance='frameless']) .search-input-container:hover::after {
|
|
99991
|
+
transform: scaleX(1);
|
|
99992
|
+
border-bottom-color: ${borderHoverColor};
|
|
99993
|
+
}
|
|
99994
|
+
}
|
|
99995
|
+
|
|
99996
|
+
@layer focusVisible {
|
|
99997
|
+
.search-input:focus-visible {
|
|
99998
|
+
outline: none;
|
|
99999
|
+
}
|
|
100000
|
+
|
|
100001
|
+
.search-input-clear:focus-visible {
|
|
100002
|
+
outline: ${borderWidth} solid ${borderHoverColor};
|
|
100003
|
+
outline-offset: -1px;
|
|
100004
|
+
}
|
|
100005
|
+
|
|
100006
|
+
:host([appearance='outline']) .search-input-container:focus-within {
|
|
100007
|
+
border-color: ${borderHoverColor};
|
|
100008
|
+
box-shadow: 0 0 0 ${borderWidth} ${borderHoverColor} inset;
|
|
100009
|
+
}
|
|
100010
|
+
|
|
100011
|
+
:host([appearance='block']) .search-input-container:focus-within::after {
|
|
100012
|
+
transform: scaleX(1);
|
|
100013
|
+
border-bottom-color: ${borderHoverColor};
|
|
100014
|
+
}
|
|
100015
|
+
|
|
100016
|
+
:host([appearance='underline']) .search-input-container:focus-within::after {
|
|
100017
|
+
border-bottom-color: ${borderHoverColor};
|
|
100018
|
+
}
|
|
100019
|
+
|
|
100020
|
+
:host([appearance='frameless']) .search-input-container:focus-within::after {
|
|
100021
|
+
transform: scaleX(1);
|
|
100022
|
+
border-bottom-color: ${borderHoverColor};
|
|
100023
|
+
}
|
|
100024
|
+
}
|
|
100025
|
+
`;
|
|
100026
|
+
|
|
100027
|
+
const template$2 = html `
|
|
100028
|
+
<div class="search-input-container">
|
|
100029
|
+
<span class="search-input-icon" aria-hidden="true">
|
|
100030
|
+
<${iconMagnifyingGlassTag}></${iconMagnifyingGlassTag}>
|
|
100031
|
+
</span>
|
|
100032
|
+
<input
|
|
100033
|
+
class="search-input"
|
|
100034
|
+
part="control"
|
|
100035
|
+
id="control"
|
|
100036
|
+
type="text"
|
|
100037
|
+
aria-label="${x => x.ariaLabel}"
|
|
100038
|
+
aria-labelledby="${x => x.ariaLabelledby}"
|
|
100039
|
+
placeholder="${x => x.placeholder}"
|
|
100040
|
+
:value="${x => x.value}"
|
|
100041
|
+
@input="${x => x.handleTextInput()}"
|
|
100042
|
+
@change="${x => x.handleChange()}"
|
|
100043
|
+
${ref('control')}
|
|
100044
|
+
/>
|
|
100045
|
+
${when(x => x.value.length > 0, html `
|
|
100046
|
+
<button
|
|
100047
|
+
class="search-input-clear"
|
|
100048
|
+
type="button"
|
|
100049
|
+
aria-label="Clear search"
|
|
100050
|
+
@click="${x => x.clear()}"
|
|
100051
|
+
>
|
|
100052
|
+
<${iconTimesTag}></${iconTimesTag}>
|
|
100053
|
+
</button>
|
|
100054
|
+
`)}
|
|
100055
|
+
</div>
|
|
100056
|
+
`;
|
|
100057
|
+
|
|
100058
|
+
const FvSearchInputAppearance = {
|
|
100059
|
+
outline: 'outline'};
|
|
100060
|
+
|
|
100061
|
+
/**
|
|
100062
|
+
* A compact search input with a built-in clear affordance.
|
|
100063
|
+
*/
|
|
100064
|
+
class FvSearchInput extends TextField$1 {
|
|
100065
|
+
constructor() {
|
|
100066
|
+
super(...arguments);
|
|
100067
|
+
this.appearance = FvSearchInputAppearance.outline;
|
|
100068
|
+
}
|
|
100069
|
+
handleChange() {
|
|
100070
|
+
this.value = this.control.value;
|
|
100071
|
+
super.handleChange();
|
|
100072
|
+
}
|
|
100073
|
+
/**
|
|
100074
|
+
* Clears the current value, restores focus to the text input, and
|
|
100075
|
+
* dispatches a synthetic `input` event on the host so consumers
|
|
100076
|
+
* observe the same immediate value-update contract as typing.
|
|
100077
|
+
* The inner <input> value is updated on the next FAST render cycle
|
|
100078
|
+
* via the `:value` template binding.
|
|
100079
|
+
*/
|
|
100080
|
+
clear() {
|
|
100081
|
+
if (this.value === '') {
|
|
100082
|
+
return true;
|
|
100083
|
+
}
|
|
100084
|
+
this.value = '';
|
|
100085
|
+
this.control.focus();
|
|
100086
|
+
this.dispatchEvent(new Event('input', { bubbles: true, composed: true }));
|
|
100087
|
+
return true;
|
|
100088
|
+
}
|
|
100089
|
+
}
|
|
100090
|
+
__decorate([
|
|
100091
|
+
attr
|
|
100092
|
+
], FvSearchInput.prototype, "appearance", void 0);
|
|
100093
|
+
const okFvSearchInput = FvSearchInput.compose({
|
|
100094
|
+
baseName: 'fv-search-input',
|
|
100095
|
+
baseClass: TextField$1,
|
|
100096
|
+
template: template$2,
|
|
100097
|
+
styles: styles$2,
|
|
100098
|
+
shadowOptions: {
|
|
100099
|
+
delegatesFocus: true
|
|
100100
|
+
}
|
|
100101
|
+
});
|
|
100102
|
+
DesignSystem.getOrCreate().withPrefix('ok').register(okFvSearchInput());
|
|
100103
|
+
|
|
99775
100104
|
const styles$1 = css `
|
|
99776
100105
|
${display('inline-block')}
|
|
99777
100106
|
|