@ni/ok-components 0.3.13 → 0.4.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 +537 -367
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +4572 -4445
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/custom-elements.json +136 -0
- package/dist/custom-elements.md +32 -0
- package/dist/esm/all-components.d.ts +1 -0
- package/dist/esm/all-components.js +1 -0
- package/dist/esm/all-components.js.map +1 -1
- package/dist/esm/fv-accordion-item/index.d.ts +19 -0
- package/dist/esm/fv-accordion-item/index.js +42 -0
- package/dist/esm/fv-accordion-item/index.js.map +1 -0
- package/dist/esm/fv-accordion-item/styles.d.ts +1 -0
- package/dist/esm/fv-accordion-item/styles.js +112 -0
- package/dist/esm/fv-accordion-item/styles.js.map +1 -0
- package/dist/esm/fv-accordion-item/template.d.ts +2 -0
- package/dist/esm/fv-accordion-item/template.js +26 -0
- package/dist/esm/fv-accordion-item/template.js.map +1 -0
- package/dist/esm/fv-accordion-item/testing/fv-accordion-item.pageobject.d.ts +17 -0
- package/dist/esm/fv-accordion-item/testing/fv-accordion-item.pageobject.js +48 -0
- package/dist/esm/fv-accordion-item/testing/fv-accordion-item.pageobject.js.map +1 -0
- package/dist/esm/fv-accordion-item/types.d.ts +6 -0
- package/dist/esm/fv-accordion-item/types.js +6 -0
- package/dist/esm/fv-accordion-item/types.js.map +1 -0
- package/package.json +1 -1
|
@@ -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$10 = html `<slot></slot>`;
|
|
14902
14902
|
|
|
14903
|
-
const styles$
|
|
14903
|
+
const styles$1n = 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$1n,
|
|
15019
|
+
template: template$10
|
|
15020
15020
|
});
|
|
15021
15021
|
DesignSystem.getOrCreate()
|
|
15022
15022
|
.withPrefix('nimble')
|
|
@@ -16563,7 +16563,7 @@
|
|
|
16563
16563
|
const largePadding = createStringToken(tokenNames.largePadding, tokenValues.largePadding);
|
|
16564
16564
|
createStringToken(tokenNames.labelHeight, tokenValues.labelHeight);
|
|
16565
16565
|
const borderWidth = createStringToken(tokenNames.borderWidth, tokenValues.borderWidth);
|
|
16566
|
-
createStringToken(tokenNames.dividerWidth, tokenValues.dividerWidth);
|
|
16566
|
+
const dividerWidth = createStringToken(tokenNames.dividerWidth, tokenValues.dividerWidth);
|
|
16567
16567
|
const iconSize = createStringToken(tokenNames.iconSize, tokenValues.iconSize);
|
|
16568
16568
|
const drawerWidth = createStringToken(tokenNames.drawerWidth, tokenValues.drawerWidth);
|
|
16569
16569
|
const dialogSmallWidth = createStringToken(tokenNames.dialogSmallWidth, tokenValues.dialogSmallWidth);
|
|
@@ -16600,7 +16600,7 @@
|
|
|
16600
16600
|
const [bodyFont, bodyFontColor, bodyDisabledFontColor, bodyFontFamily, bodyFontWeight, bodyFontSize, bodyFontLineHeight] = createFontTokens(tokenNames.bodyFont, tokenValues.bodyFont, tokenValues.bodyFontColor, tokenValues.bodyDisabledFontColor, tokenValues.bodyFontFamily, tokenValues.bodyFontWeight, tokenValues.bodyFontSize, tokenValues.bodyFontLineHeight);
|
|
16601
16601
|
const [bodyEmphasizedFont, bodyEmphasizedFontColor, bodyEmphasizedDisabledFontColor, bodyEmphasizedFontFamily, bodyEmphasizedFontWeight] = createFontTokens(tokenNames.bodyEmphasizedFont, tokenValues.bodyEmphasizedFont, tokenValues.bodyEmphasizedFontColor, tokenValues.bodyEmphasizedDisabledFontColor, tokenValues.bodyEmphasizedFontFamily, tokenValues.bodyEmphasizedFontWeight, tokenValues.bodyEmphasizedFontSize, tokenValues.bodyEmphasizedFontLineHeight);
|
|
16602
16602
|
createFontTokens(tokenNames.bodyPlus1Font, tokenValues.bodyPlus1Font, tokenValues.bodyPlus1FontColor, tokenValues.bodyPlus1DisabledFontColor, tokenValues.bodyPlus1FontFamily, tokenValues.bodyPlus1FontWeight, tokenValues.bodyPlus1FontSize, tokenValues.bodyPlus1FontLineHeight);
|
|
16603
|
-
createFontTokens(tokenNames.bodyPlus1EmphasizedFont, tokenValues.bodyPlus1EmphasizedFont, tokenValues.bodyPlus1EmphasizedFontColor, tokenValues.bodyPlus1EmphasizedDisabledFontColor, tokenValues.bodyPlus1EmphasizedFontFamily, tokenValues.bodyPlus1EmphasizedFontWeight, tokenValues.bodyPlus1EmphasizedFontSize, tokenValues.bodyPlus1EmphasizedFontLineHeight);
|
|
16603
|
+
const [bodyPlus1EmphasizedFont, bodyPlus1EmphasizedFontColor] = createFontTokens(tokenNames.bodyPlus1EmphasizedFont, tokenValues.bodyPlus1EmphasizedFont, tokenValues.bodyPlus1EmphasizedFontColor, tokenValues.bodyPlus1EmphasizedDisabledFontColor, tokenValues.bodyPlus1EmphasizedFontFamily, tokenValues.bodyPlus1EmphasizedFontWeight, tokenValues.bodyPlus1EmphasizedFontSize, tokenValues.bodyPlus1EmphasizedFontLineHeight);
|
|
16604
16604
|
const [groupHeaderFont, groupHeaderFontColor] = createFontTokens(tokenNames.groupHeaderFont, tokenValues.groupHeaderFont, tokenValues.groupHeaderFontColor, tokenValues.groupHeaderDisabledFontColor, tokenValues.groupHeaderFontFamily, tokenValues.groupHeaderFontWeight, tokenValues.groupHeaderFontSize, tokenValues.groupHeaderFontLineHeight);
|
|
16605
16605
|
const [controlLabelFont, controlLabelFontColor, controlLabelDisabledFontColor, controlLabelFontFamily, controlLabelFontWeight, controlLabelFontSize, controlLabelFontLineHeight] = createFontTokens(tokenNames.controlLabelFont, tokenValues.controlLabelFont, tokenValues.controlLabelFontColor, tokenValues.controlLabelDisabledFontColor, tokenValues.controlLabelFontFamily, tokenValues.controlLabelFontWeight, tokenValues.controlLabelFontSize, tokenValues.controlLabelFontLineHeight);
|
|
16606
16606
|
const [buttonLabelFont, buttonLabelFontColor, buttonLabelDisabledFontColor] = createFontTokens(tokenNames.buttonLabelFont, tokenValues.buttonLabelFont, tokenValues.buttonLabelFontColor, tokenValues.buttonLabelDisabledFontColor, tokenValues.buttonLabelFontFamily, tokenValues.buttonLabelFontWeight, tokenValues.buttonLabelFontSize, tokenValues.buttonLabelFontLineHeight);
|
|
@@ -16658,7 +16658,7 @@
|
|
|
16658
16658
|
}
|
|
16659
16659
|
// #endregion
|
|
16660
16660
|
|
|
16661
|
-
const styles$
|
|
16661
|
+
const styles$1m = 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$$ = (_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$$,
|
|
16843
|
+
styles: styles$1m,
|
|
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$1l = 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$1k = css `
|
|
17237
|
+
${styles$1l}
|
|
17238
17238
|
${buttonAppearanceVariantStyles}
|
|
17239
17239
|
|
|
17240
17240
|
.control {
|
|
@@ -17254,7 +17254,7 @@
|
|
|
17254
17254
|
}
|
|
17255
17255
|
`;
|
|
17256
17256
|
|
|
17257
|
-
const template$
|
|
17257
|
+
const template$_ = (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$_,
|
|
17340
|
+
styles: styles$1k,
|
|
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$1j = 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$Z = (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$Z,
|
|
17533
|
+
styles: styles$1j,
|
|
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$1i = 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$1h = 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$1i}
|
|
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$1g = css `
|
|
18207
|
+
${styles$1h}
|
|
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$Y = 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$1f = 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$Y,
|
|
19320
|
+
styles: styles$1f
|
|
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$X = (context, definition) => html `
|
|
19445
19445
|
<template slot="step">
|
|
19446
19446
|
<li class="
|
|
19447
19447
|
container
|
|
@@ -19587,15 +19587,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19587
19587
|
], AnchorStep.prototype, "tabIndex", void 0);
|
|
19588
19588
|
const nimbleAnchorStep = AnchorStep.compose({
|
|
19589
19589
|
baseName: 'anchor-step',
|
|
19590
|
-
template: template$
|
|
19591
|
-
styles: styles$
|
|
19590
|
+
template: template$X,
|
|
19591
|
+
styles: styles$1g,
|
|
19592
19592
|
shadowOptions: {
|
|
19593
19593
|
delegatesFocus: true
|
|
19594
19594
|
}
|
|
19595
19595
|
});
|
|
19596
19596
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorStep());
|
|
19597
19597
|
|
|
19598
|
-
const styles$
|
|
19598
|
+
const styles$1e = css `
|
|
19599
19599
|
${display$2('inline-flex')}
|
|
19600
19600
|
|
|
19601
19601
|
:host {
|
|
@@ -19712,7 +19712,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19712
19712
|
}
|
|
19713
19713
|
`;
|
|
19714
19714
|
|
|
19715
|
-
const template$
|
|
19715
|
+
const template$W = (context, definition) => html `
|
|
19716
19716
|
<template slot="anchortab" role="tab" aria-disabled="${x => x.disabled}">
|
|
19717
19717
|
<a
|
|
19718
19718
|
download="${x => x.download}"
|
|
@@ -19764,15 +19764,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19764
19764
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
19765
19765
|
const nimbleAnchorTab = AnchorTab.compose({
|
|
19766
19766
|
baseName: 'anchor-tab',
|
|
19767
|
-
template: template$
|
|
19768
|
-
styles: styles$
|
|
19767
|
+
template: template$W,
|
|
19768
|
+
styles: styles$1e,
|
|
19769
19769
|
shadowOptions: {
|
|
19770
19770
|
delegatesFocus: true
|
|
19771
19771
|
}
|
|
19772
19772
|
});
|
|
19773
19773
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTab());
|
|
19774
19774
|
|
|
19775
|
-
const styles$
|
|
19775
|
+
const styles$1d = css `
|
|
19776
19776
|
${display$2('flex')}
|
|
19777
19777
|
|
|
19778
19778
|
:host {
|
|
@@ -19812,12 +19812,12 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19812
19812
|
}
|
|
19813
19813
|
`;
|
|
19814
19814
|
|
|
19815
|
-
const styles$
|
|
19816
|
-
${styles$
|
|
19815
|
+
const styles$1c = css `
|
|
19816
|
+
${styles$1l}
|
|
19817
19817
|
${buttonAppearanceVariantStyles}
|
|
19818
19818
|
`;
|
|
19819
19819
|
|
|
19820
|
-
const template$
|
|
19820
|
+
const template$V = (context, definition) => html `
|
|
19821
19821
|
<button
|
|
19822
19822
|
class="control"
|
|
19823
19823
|
part="control"
|
|
@@ -19908,8 +19908,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19908
19908
|
const nimbleButton = Button$1.compose({
|
|
19909
19909
|
baseName: 'button',
|
|
19910
19910
|
baseClass: Button$2,
|
|
19911
|
-
template: template$
|
|
19912
|
-
styles: styles$
|
|
19911
|
+
template: template$V,
|
|
19912
|
+
styles: styles$1c,
|
|
19913
19913
|
shadowOptions: {
|
|
19914
19914
|
delegatesFocus: true
|
|
19915
19915
|
}
|
|
@@ -19943,7 +19943,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19943
19943
|
registerIconSvg('icon-arrow-expander-right', IconArrowExpanderRight);
|
|
19944
19944
|
const iconArrowExpanderRightTag = 'nimble-icon-arrow-expander-right';
|
|
19945
19945
|
|
|
19946
|
-
const template$
|
|
19946
|
+
const template$U = (context, definition) => html `
|
|
19947
19947
|
<div
|
|
19948
19948
|
class="tab-bar"
|
|
19949
19949
|
>
|
|
@@ -20244,15 +20244,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20244
20244
|
applyMixins(AnchorTabs, StartEnd);
|
|
20245
20245
|
const nimbleAnchorTabs = AnchorTabs.compose({
|
|
20246
20246
|
baseName: 'anchor-tabs',
|
|
20247
|
-
template: template$
|
|
20248
|
-
styles: styles$
|
|
20247
|
+
template: template$U,
|
|
20248
|
+
styles: styles$1d,
|
|
20249
20249
|
shadowOptions: {
|
|
20250
20250
|
delegatesFocus: false
|
|
20251
20251
|
}
|
|
20252
20252
|
});
|
|
20253
20253
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTabs());
|
|
20254
20254
|
|
|
20255
|
-
const styles$
|
|
20255
|
+
const styles$1b = css `
|
|
20256
20256
|
${display$2('block')}
|
|
20257
20257
|
|
|
20258
20258
|
:host {
|
|
@@ -20357,7 +20357,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20357
20357
|
}
|
|
20358
20358
|
`;
|
|
20359
20359
|
|
|
20360
|
-
const template$
|
|
20360
|
+
const template$T = (context, definition) => html `
|
|
20361
20361
|
<template
|
|
20362
20362
|
role="treeitem"
|
|
20363
20363
|
slot="${x => (x.isNestedItem() ? 'item' : null)}"
|
|
@@ -20494,8 +20494,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20494
20494
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
20495
20495
|
const nimbleAnchorTreeItem = AnchorTreeItem.compose({
|
|
20496
20496
|
baseName: 'anchor-tree-item',
|
|
20497
|
-
template: template$
|
|
20498
|
-
styles: styles$
|
|
20497
|
+
template: template$T,
|
|
20498
|
+
styles: styles$1b,
|
|
20499
20499
|
shadowOptions: {
|
|
20500
20500
|
delegatesFocus: true
|
|
20501
20501
|
}
|
|
@@ -20511,7 +20511,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20511
20511
|
zIndex1000: '1000'
|
|
20512
20512
|
};
|
|
20513
20513
|
|
|
20514
|
-
const styles$
|
|
20514
|
+
const styles$1a = css `
|
|
20515
20515
|
${display$2('block')}
|
|
20516
20516
|
|
|
20517
20517
|
:host {
|
|
@@ -20542,14 +20542,14 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20542
20542
|
baseName: 'anchored-region',
|
|
20543
20543
|
baseClass: AnchoredRegion$1,
|
|
20544
20544
|
template: anchoredRegionTemplate,
|
|
20545
|
-
styles: styles$
|
|
20545
|
+
styles: styles$1a
|
|
20546
20546
|
});
|
|
20547
20547
|
DesignSystem.getOrCreate()
|
|
20548
20548
|
.withPrefix('nimble')
|
|
20549
20549
|
.register(nimbleAnchoredRegion());
|
|
20550
20550
|
const anchoredRegionTag = 'nimble-anchored-region';
|
|
20551
20551
|
|
|
20552
|
-
const styles$
|
|
20552
|
+
const styles$19 = css `
|
|
20553
20553
|
${display$2('flex')}
|
|
20554
20554
|
|
|
20555
20555
|
:host {
|
|
@@ -20701,7 +20701,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20701
20701
|
information: 'information'
|
|
20702
20702
|
};
|
|
20703
20703
|
|
|
20704
|
-
const template$
|
|
20704
|
+
const template$S = html `
|
|
20705
20705
|
<${themeProviderTag} theme="${Theme.color}">
|
|
20706
20706
|
<div class="container"
|
|
20707
20707
|
role="status"
|
|
@@ -20819,8 +20819,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20819
20819
|
applyMixins(Banner, ARIAGlobalStatesAndProperties);
|
|
20820
20820
|
const nimbleBanner = Banner.compose({
|
|
20821
20821
|
baseName: 'banner',
|
|
20822
|
-
template: template$
|
|
20823
|
-
styles: styles$
|
|
20822
|
+
template: template$S,
|
|
20823
|
+
styles: styles$19
|
|
20824
20824
|
});
|
|
20825
20825
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBanner());
|
|
20826
20826
|
|
|
@@ -20861,7 +20861,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20861
20861
|
</template>
|
|
20862
20862
|
`;
|
|
20863
20863
|
|
|
20864
|
-
const styles$
|
|
20864
|
+
const styles$18 = css `
|
|
20865
20865
|
${display$2('inline-flex')}
|
|
20866
20866
|
|
|
20867
20867
|
:host {
|
|
@@ -20965,11 +20965,11 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20965
20965
|
baseName: 'breadcrumb',
|
|
20966
20966
|
baseClass: Breadcrumb$1,
|
|
20967
20967
|
template: breadcrumbTemplate,
|
|
20968
|
-
styles: styles$
|
|
20968
|
+
styles: styles$18
|
|
20969
20969
|
});
|
|
20970
20970
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBreadcrumb());
|
|
20971
20971
|
|
|
20972
|
-
const styles$
|
|
20972
|
+
const styles$17 = css `
|
|
20973
20973
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
20974
20974
|
|
|
20975
20975
|
@layer base {
|
|
@@ -21066,14 +21066,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21066
21066
|
baseName: 'breadcrumb-item',
|
|
21067
21067
|
baseClass: BreadcrumbItem$1,
|
|
21068
21068
|
template: breadcrumbItemTemplate,
|
|
21069
|
-
styles: styles$
|
|
21069
|
+
styles: styles$17,
|
|
21070
21070
|
separator: forwardSlash16X16.data
|
|
21071
21071
|
});
|
|
21072
21072
|
DesignSystem.getOrCreate()
|
|
21073
21073
|
.withPrefix('nimble')
|
|
21074
21074
|
.register(nimbleBreadcrumbItem());
|
|
21075
21075
|
|
|
21076
|
-
const styles$
|
|
21076
|
+
const styles$16 = css `
|
|
21077
21077
|
${display$2('flex')}
|
|
21078
21078
|
|
|
21079
21079
|
:host {
|
|
@@ -21097,7 +21097,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21097
21097
|
}
|
|
21098
21098
|
`;
|
|
21099
21099
|
|
|
21100
|
-
const template$
|
|
21100
|
+
const template$R = html `
|
|
21101
21101
|
<section aria-labelledby="title-slot">
|
|
21102
21102
|
<span id="title-slot"><slot name="title"></slot></span>
|
|
21103
21103
|
<slot></slot>
|
|
@@ -21112,12 +21112,12 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21112
21112
|
const nimbleCard = Card.compose({
|
|
21113
21113
|
baseName: 'card',
|
|
21114
21114
|
baseClass: Card$1,
|
|
21115
|
-
template: template$
|
|
21116
|
-
styles: styles$
|
|
21115
|
+
template: template$R,
|
|
21116
|
+
styles: styles$16
|
|
21117
21117
|
});
|
|
21118
21118
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCard());
|
|
21119
21119
|
|
|
21120
|
-
const styles$
|
|
21120
|
+
const styles$15 = css `
|
|
21121
21121
|
${display$2('inline-flex')}
|
|
21122
21122
|
|
|
21123
21123
|
:host {
|
|
@@ -21275,14 +21275,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21275
21275
|
const nimbleCardButton = CardButton.compose({
|
|
21276
21276
|
baseName: 'card-button',
|
|
21277
21277
|
template: buttonTemplate,
|
|
21278
|
-
styles: styles$
|
|
21278
|
+
styles: styles$15,
|
|
21279
21279
|
shadowOptions: {
|
|
21280
21280
|
delegatesFocus: true
|
|
21281
21281
|
}
|
|
21282
21282
|
});
|
|
21283
21283
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCardButton());
|
|
21284
21284
|
|
|
21285
|
-
const styles$
|
|
21285
|
+
const styles$14 = css `
|
|
21286
21286
|
.error-icon {
|
|
21287
21287
|
display: none;
|
|
21288
21288
|
}
|
|
@@ -21316,9 +21316,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21316
21316
|
}
|
|
21317
21317
|
`;
|
|
21318
21318
|
|
|
21319
|
-
const styles$
|
|
21319
|
+
const styles$13 = css `
|
|
21320
21320
|
${display$2('inline-grid')}
|
|
21321
|
-
${styles$
|
|
21321
|
+
${styles$14}
|
|
21322
21322
|
|
|
21323
21323
|
:host {
|
|
21324
21324
|
font: ${bodyFont};
|
|
@@ -21457,7 +21457,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21457
21457
|
</div>
|
|
21458
21458
|
`;
|
|
21459
21459
|
|
|
21460
|
-
const template$
|
|
21460
|
+
const template$Q = (_context, definition) => html `
|
|
21461
21461
|
<template
|
|
21462
21462
|
role="checkbox"
|
|
21463
21463
|
aria-checked="${x => x.checked}"
|
|
@@ -21542,8 +21542,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21542
21542
|
const nimbleCheckbox = Checkbox.compose({
|
|
21543
21543
|
baseName: 'checkbox',
|
|
21544
21544
|
baseClass: Checkbox$1,
|
|
21545
|
-
template: template$
|
|
21546
|
-
styles: styles$
|
|
21545
|
+
template: template$Q,
|
|
21546
|
+
styles: styles$13,
|
|
21547
21547
|
checkedIndicator: check16X16.data,
|
|
21548
21548
|
indeterminateIndicator: minus16X16.data
|
|
21549
21549
|
});
|
|
@@ -21555,7 +21555,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21555
21555
|
block: 'block'
|
|
21556
21556
|
};
|
|
21557
21557
|
|
|
21558
|
-
const styles$
|
|
21558
|
+
const styles$12 = css `
|
|
21559
21559
|
${display$2('inline-flex')}
|
|
21560
21560
|
|
|
21561
21561
|
:host {
|
|
@@ -21616,7 +21616,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21616
21616
|
}
|
|
21617
21617
|
`));
|
|
21618
21618
|
|
|
21619
|
-
const template$
|
|
21619
|
+
const template$P = (context, definition) => html `
|
|
21620
21620
|
${startSlotTemplate(context, definition)}
|
|
21621
21621
|
<span
|
|
21622
21622
|
class="content"
|
|
@@ -21702,16 +21702,16 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21702
21702
|
applyMixins(Chip, StartEnd);
|
|
21703
21703
|
const nimbleChip = Chip.compose({
|
|
21704
21704
|
baseName: 'chip',
|
|
21705
|
-
template: template$
|
|
21706
|
-
styles: styles$
|
|
21705
|
+
template: template$P,
|
|
21706
|
+
styles: styles$12,
|
|
21707
21707
|
shadowOptions: {
|
|
21708
21708
|
delegatesFocus: true
|
|
21709
21709
|
}
|
|
21710
21710
|
});
|
|
21711
21711
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleChip());
|
|
21712
21712
|
|
|
21713
|
-
const styles$
|
|
21714
|
-
${styles$
|
|
21713
|
+
const styles$11 = css `
|
|
21714
|
+
${styles$1l}
|
|
21715
21715
|
${buttonAppearanceVariantStyles}
|
|
21716
21716
|
|
|
21717
21717
|
@layer checked {
|
|
@@ -21758,7 +21758,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21758
21758
|
}
|
|
21759
21759
|
`));
|
|
21760
21760
|
|
|
21761
|
-
const template$
|
|
21761
|
+
const template$O = (context, definition) => html `
|
|
21762
21762
|
<div
|
|
21763
21763
|
role="button"
|
|
21764
21764
|
part="control"
|
|
@@ -21853,8 +21853,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21853
21853
|
applyMixins(ToggleButton, StartEnd, DelegatesARIAButton);
|
|
21854
21854
|
const nimbleToggleButton = ToggleButton.compose({
|
|
21855
21855
|
baseName: 'toggle-button',
|
|
21856
|
-
template: template$
|
|
21857
|
-
styles: styles$
|
|
21856
|
+
template: template$O,
|
|
21857
|
+
styles: styles$11,
|
|
21858
21858
|
shadowOptions: {
|
|
21859
21859
|
delegatesFocus: true
|
|
21860
21860
|
}
|
|
@@ -21884,7 +21884,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21884
21884
|
frameless: 'frameless'
|
|
21885
21885
|
};
|
|
21886
21886
|
|
|
21887
|
-
const styles
|
|
21887
|
+
const styles$10 = css `
|
|
21888
21888
|
${display$2('inline-flex')}
|
|
21889
21889
|
|
|
21890
21890
|
:host {
|
|
@@ -22174,7 +22174,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22174
22174
|
}
|
|
22175
22175
|
`));
|
|
22176
22176
|
|
|
22177
|
-
const styles
|
|
22177
|
+
const styles$$ = css `
|
|
22178
22178
|
.annotated-label {
|
|
22179
22179
|
display: flex;
|
|
22180
22180
|
flex-direction: row;
|
|
@@ -22201,10 +22201,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22201
22201
|
none: undefined,
|
|
22202
22202
|
standard: 'standard'};
|
|
22203
22203
|
|
|
22204
|
-
const styles$
|
|
22204
|
+
const styles$_ = css `
|
|
22205
|
+
${styles$10}
|
|
22206
|
+
${styles$14}
|
|
22205
22207
|
${styles$$}
|
|
22206
|
-
${styles$13}
|
|
22207
|
-
${styles$_}
|
|
22208
22208
|
|
|
22209
22209
|
:host {
|
|
22210
22210
|
--ni-private-hover-bottom-border-width: 2px;
|
|
@@ -22325,7 +22325,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22325
22325
|
<slot></slot>
|
|
22326
22326
|
</label>
|
|
22327
22327
|
`);
|
|
22328
|
-
const template$
|
|
22328
|
+
const template$N = (context, definition) => html `
|
|
22329
22329
|
<template
|
|
22330
22330
|
aria-disabled="${x => x.ariaDisabled}"
|
|
22331
22331
|
autocomplete="${x => x.autocomplete}"
|
|
@@ -23100,8 +23100,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23100
23100
|
const nimbleCombobox = Combobox.compose({
|
|
23101
23101
|
baseName: 'combobox',
|
|
23102
23102
|
baseClass: FormAssociatedCombobox,
|
|
23103
|
-
template: template$
|
|
23104
|
-
styles: styles$
|
|
23103
|
+
template: template$N,
|
|
23104
|
+
styles: styles$_,
|
|
23105
23105
|
shadowOptions: {
|
|
23106
23106
|
delegatesFocus: true
|
|
23107
23107
|
},
|
|
@@ -23145,7 +23145,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23145
23145
|
*/
|
|
23146
23146
|
const UserDismissed = Symbol('user dismissed');
|
|
23147
23147
|
|
|
23148
|
-
const styles$
|
|
23148
|
+
const styles$Z = css `
|
|
23149
23149
|
${display$2('grid')}
|
|
23150
23150
|
|
|
23151
23151
|
dialog {
|
|
@@ -23238,7 +23238,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23238
23238
|
}
|
|
23239
23239
|
`;
|
|
23240
23240
|
|
|
23241
|
-
const template$
|
|
23241
|
+
const template$M = html `
|
|
23242
23242
|
<template>
|
|
23243
23243
|
<dialog
|
|
23244
23244
|
${ref('dialogElement')}
|
|
@@ -23386,13 +23386,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23386
23386
|
applyMixins(Dialog, ARIAGlobalStatesAndProperties);
|
|
23387
23387
|
const nimbleDialog = Dialog.compose({
|
|
23388
23388
|
baseName: 'dialog',
|
|
23389
|
-
template: template$
|
|
23390
|
-
styles: styles$
|
|
23389
|
+
template: template$M,
|
|
23390
|
+
styles: styles$Z,
|
|
23391
23391
|
baseClass: Dialog
|
|
23392
23392
|
});
|
|
23393
23393
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDialog());
|
|
23394
23394
|
|
|
23395
|
-
const styles$
|
|
23395
|
+
const styles$Y = css `
|
|
23396
23396
|
${display$2('block')}
|
|
23397
23397
|
|
|
23398
23398
|
:host {
|
|
@@ -23535,7 +23535,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23535
23535
|
}
|
|
23536
23536
|
`;
|
|
23537
23537
|
|
|
23538
|
-
const template$
|
|
23538
|
+
const template$L = html `
|
|
23539
23539
|
<dialog
|
|
23540
23540
|
${ref('dialog')}
|
|
23541
23541
|
aria-label="${x => x.ariaLabel}"
|
|
@@ -23677,8 +23677,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23677
23677
|
applyMixins(Drawer, ARIAGlobalStatesAndProperties);
|
|
23678
23678
|
const nimbleDrawer = Drawer.compose({
|
|
23679
23679
|
baseName: 'drawer',
|
|
23680
|
-
template: template$
|
|
23681
|
-
styles: styles$
|
|
23680
|
+
template: template$L,
|
|
23681
|
+
styles: styles$Y
|
|
23682
23682
|
});
|
|
23683
23683
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDrawer());
|
|
23684
23684
|
|
|
@@ -26462,7 +26462,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26462
26462
|
}
|
|
26463
26463
|
}
|
|
26464
26464
|
|
|
26465
|
-
const styles$
|
|
26465
|
+
const styles$X = css `
|
|
26466
26466
|
${display$2('none')}
|
|
26467
26467
|
`;
|
|
26468
26468
|
|
|
@@ -26535,7 +26535,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26535
26535
|
], LabelProviderCore.prototype, "itemRemove", void 0);
|
|
26536
26536
|
const nimbleLabelProviderCore = LabelProviderCore.compose({
|
|
26537
26537
|
baseName: 'label-provider-core',
|
|
26538
|
-
styles: styles$
|
|
26538
|
+
styles: styles$X
|
|
26539
26539
|
});
|
|
26540
26540
|
DesignSystem.getOrCreate()
|
|
26541
26541
|
.withPrefix('nimble')
|
|
@@ -26702,13 +26702,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26702
26702
|
], LabelProviderTable.prototype, "groupRowPlaceholderEmpty", void 0);
|
|
26703
26703
|
const nimbleLabelProviderTable = LabelProviderTable.compose({
|
|
26704
26704
|
baseName: 'label-provider-table',
|
|
26705
|
-
styles: styles$
|
|
26705
|
+
styles: styles$X
|
|
26706
26706
|
});
|
|
26707
26707
|
DesignSystem.getOrCreate()
|
|
26708
26708
|
.withPrefix('nimble')
|
|
26709
26709
|
.register(nimbleLabelProviderTable());
|
|
26710
26710
|
|
|
26711
|
-
const styles$
|
|
26711
|
+
const styles$W = css `
|
|
26712
26712
|
${display$2('flex')}
|
|
26713
26713
|
|
|
26714
26714
|
:host {
|
|
@@ -26784,7 +26784,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26784
26784
|
* The template for the {@link @ni/fast-foundation#(ListboxOption:class)} component.
|
|
26785
26785
|
* @public
|
|
26786
26786
|
*/
|
|
26787
|
-
const template$
|
|
26787
|
+
const template$K = (context, definition) => html `
|
|
26788
26788
|
<template
|
|
26789
26789
|
aria-checked="${x => x.ariaChecked}"
|
|
26790
26790
|
aria-disabled="${x => x.ariaDisabled}"
|
|
@@ -26886,13 +26886,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26886
26886
|
const nimbleListOption = ListOption.compose({
|
|
26887
26887
|
baseName: 'list-option',
|
|
26888
26888
|
baseClass: ListboxOption,
|
|
26889
|
-
template: template$
|
|
26890
|
-
styles: styles$
|
|
26889
|
+
template: template$K,
|
|
26890
|
+
styles: styles$W
|
|
26891
26891
|
});
|
|
26892
26892
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListOption());
|
|
26893
26893
|
const listOptionTag = 'nimble-list-option';
|
|
26894
26894
|
|
|
26895
|
-
const styles$
|
|
26895
|
+
const styles$V = css `
|
|
26896
26896
|
${display$2('flex')}
|
|
26897
26897
|
|
|
26898
26898
|
:host {
|
|
@@ -26954,7 +26954,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26954
26954
|
const isListOption$1 = (n) => {
|
|
26955
26955
|
return n instanceof ListOption;
|
|
26956
26956
|
};
|
|
26957
|
-
const template$
|
|
26957
|
+
const template$J = html `
|
|
26958
26958
|
<template
|
|
26959
26959
|
role="group"
|
|
26960
26960
|
aria-label="${x => x.labelContent}"
|
|
@@ -27096,8 +27096,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27096
27096
|
const nimbleListOptionGroup = ListOptionGroup.compose({
|
|
27097
27097
|
baseName: 'list-option-group',
|
|
27098
27098
|
baseClass: FoundationElement,
|
|
27099
|
-
template: template$
|
|
27100
|
-
styles: styles$
|
|
27099
|
+
template: template$J,
|
|
27100
|
+
styles: styles$V
|
|
27101
27101
|
});
|
|
27102
27102
|
DesignSystem.getOrCreate()
|
|
27103
27103
|
.withPrefix('nimble')
|
|
@@ -27124,9 +27124,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27124
27124
|
attr()
|
|
27125
27125
|
], Mapping$1.prototype, "key", void 0);
|
|
27126
27126
|
|
|
27127
|
-
const template$
|
|
27127
|
+
const template$I = html `<template slot="mapping"></template>`;
|
|
27128
27128
|
|
|
27129
|
-
const styles$
|
|
27129
|
+
const styles$U = css `
|
|
27130
27130
|
${display$2('none')}
|
|
27131
27131
|
`;
|
|
27132
27132
|
|
|
@@ -27142,8 +27142,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27142
27142
|
], MappingEmpty.prototype, "text", void 0);
|
|
27143
27143
|
const emptyMapping = MappingEmpty.compose({
|
|
27144
27144
|
baseName: 'mapping-empty',
|
|
27145
|
-
template: template$
|
|
27146
|
-
styles: styles$
|
|
27145
|
+
template: template$I,
|
|
27146
|
+
styles: styles$U
|
|
27147
27147
|
});
|
|
27148
27148
|
DesignSystem.getOrCreate().withPrefix('nimble').register(emptyMapping());
|
|
27149
27149
|
|
|
@@ -27213,8 +27213,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27213
27213
|
], MappingIcon.prototype, "resolvedIcon", void 0);
|
|
27214
27214
|
const iconMapping = MappingIcon.compose({
|
|
27215
27215
|
baseName: 'mapping-icon',
|
|
27216
|
-
template: template$
|
|
27217
|
-
styles: styles$
|
|
27216
|
+
template: template$I,
|
|
27217
|
+
styles: styles$U
|
|
27218
27218
|
});
|
|
27219
27219
|
DesignSystem.getOrCreate().withPrefix('nimble').register(iconMapping());
|
|
27220
27220
|
|
|
@@ -27237,8 +27237,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27237
27237
|
], MappingSpinner.prototype, "textHidden", void 0);
|
|
27238
27238
|
const spinnerMapping = MappingSpinner.compose({
|
|
27239
27239
|
baseName: 'mapping-spinner',
|
|
27240
|
-
template: template$
|
|
27241
|
-
styles: styles$
|
|
27240
|
+
template: template$I,
|
|
27241
|
+
styles: styles$U
|
|
27242
27242
|
});
|
|
27243
27243
|
DesignSystem.getOrCreate().withPrefix('nimble').register(spinnerMapping());
|
|
27244
27244
|
|
|
@@ -27254,8 +27254,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27254
27254
|
], MappingText.prototype, "text", void 0);
|
|
27255
27255
|
const textMapping = MappingText.compose({
|
|
27256
27256
|
baseName: 'mapping-text',
|
|
27257
|
-
template: template$
|
|
27258
|
-
styles: styles$
|
|
27257
|
+
template: template$I,
|
|
27258
|
+
styles: styles$U
|
|
27259
27259
|
});
|
|
27260
27260
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textMapping());
|
|
27261
27261
|
|
|
@@ -27557,7 +27557,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27557
27557
|
observable
|
|
27558
27558
|
], Menu$1.prototype, "itemIcons", void 0);
|
|
27559
27559
|
|
|
27560
|
-
const template$
|
|
27560
|
+
const template$H = () => html `
|
|
27561
27561
|
<template
|
|
27562
27562
|
slot="${x => {
|
|
27563
27563
|
if (x.slot) {
|
|
@@ -27574,7 +27574,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27574
27574
|
</template>
|
|
27575
27575
|
`;
|
|
27576
27576
|
|
|
27577
|
-
const styles$
|
|
27577
|
+
const styles$T = css `
|
|
27578
27578
|
${display$2('grid')}
|
|
27579
27579
|
|
|
27580
27580
|
:host {
|
|
@@ -27645,8 +27645,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27645
27645
|
const nimbleMenu = Menu.compose({
|
|
27646
27646
|
baseName: 'menu',
|
|
27647
27647
|
baseClass: Menu$1,
|
|
27648
|
-
template: template$
|
|
27649
|
-
styles: styles$
|
|
27648
|
+
template: template$H,
|
|
27649
|
+
styles: styles$T
|
|
27650
27650
|
});
|
|
27651
27651
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenu());
|
|
27652
27652
|
|
|
@@ -27661,7 +27661,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27661
27661
|
auto: 'auto'
|
|
27662
27662
|
};
|
|
27663
27663
|
|
|
27664
|
-
const styles$
|
|
27664
|
+
const styles$S = css `
|
|
27665
27665
|
${display$2('inline-block')}
|
|
27666
27666
|
|
|
27667
27667
|
:host {
|
|
@@ -27679,7 +27679,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27679
27679
|
}
|
|
27680
27680
|
`;
|
|
27681
27681
|
|
|
27682
|
-
const template$
|
|
27682
|
+
const template$G = html `
|
|
27683
27683
|
<template
|
|
27684
27684
|
?open="${x => x.open}"
|
|
27685
27685
|
@focusout="${(x, c) => x.focusoutHandler(c.event)}"
|
|
@@ -27929,8 +27929,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27929
27929
|
], MenuButton.prototype, "slottedMenus", void 0);
|
|
27930
27930
|
const nimbleMenuButton = MenuButton.compose({
|
|
27931
27931
|
baseName: 'menu-button',
|
|
27932
|
-
template: template$
|
|
27933
|
-
styles: styles$
|
|
27932
|
+
template: template$G,
|
|
27933
|
+
styles: styles$S,
|
|
27934
27934
|
shadowOptions: {
|
|
27935
27935
|
delegatesFocus: true
|
|
27936
27936
|
}
|
|
@@ -27938,7 +27938,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27938
27938
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuButton());
|
|
27939
27939
|
const menuButtonTag = 'nimble-menu-button';
|
|
27940
27940
|
|
|
27941
|
-
const styles$
|
|
27941
|
+
const styles$R = css `
|
|
27942
27942
|
${display$2('grid')}
|
|
27943
27943
|
|
|
27944
27944
|
:host {
|
|
@@ -28035,7 +28035,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28035
28035
|
baseName: 'menu-item',
|
|
28036
28036
|
baseClass: MenuItem$1,
|
|
28037
28037
|
template: menuItemTemplate,
|
|
28038
|
-
styles: styles$
|
|
28038
|
+
styles: styles$R,
|
|
28039
28039
|
expandCollapseGlyph: arrowExpanderRight16X16.data
|
|
28040
28040
|
});
|
|
28041
28041
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuItem());
|
|
@@ -28050,10 +28050,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28050
28050
|
frameless: 'frameless'
|
|
28051
28051
|
};
|
|
28052
28052
|
|
|
28053
|
-
const styles$
|
|
28053
|
+
const styles$Q = css `
|
|
28054
28054
|
${display$2('inline-block')}
|
|
28055
|
-
${styles$
|
|
28056
|
-
${styles
|
|
28055
|
+
${styles$14}
|
|
28056
|
+
${styles$$}
|
|
28057
28057
|
|
|
28058
28058
|
:host {
|
|
28059
28059
|
font: ${bodyFont};
|
|
@@ -28276,7 +28276,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28276
28276
|
* The template for the {@link @ni/fast-foundation#(NumberField:class)} component.
|
|
28277
28277
|
* @public
|
|
28278
28278
|
*/
|
|
28279
|
-
const template$
|
|
28279
|
+
const template$F = (context, definition) => html `
|
|
28280
28280
|
<template class="${x => (x.readOnly ? 'readonly' : '')}">
|
|
28281
28281
|
${labelTemplate$4}
|
|
28282
28282
|
<div class="root" part="root">
|
|
@@ -28430,8 +28430,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28430
28430
|
const nimbleNumberField = NumberField.compose({
|
|
28431
28431
|
baseName: 'number-field',
|
|
28432
28432
|
baseClass: NumberField$1,
|
|
28433
|
-
template: template$
|
|
28434
|
-
styles: styles$
|
|
28433
|
+
template: template$F,
|
|
28434
|
+
styles: styles$Q,
|
|
28435
28435
|
shadowOptions: {
|
|
28436
28436
|
delegatesFocus: true
|
|
28437
28437
|
},
|
|
@@ -28474,7 +28474,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28474
28474
|
});
|
|
28475
28475
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleNumberField());
|
|
28476
28476
|
|
|
28477
|
-
const styles$
|
|
28477
|
+
const styles$P = css `
|
|
28478
28478
|
${display$2('inline-flex')}
|
|
28479
28479
|
|
|
28480
28480
|
:host {
|
|
@@ -28574,15 +28574,15 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28574
28574
|
baseName: 'radio',
|
|
28575
28575
|
baseClass: Radio$1,
|
|
28576
28576
|
template: radioTemplate,
|
|
28577
|
-
styles: styles$
|
|
28577
|
+
styles: styles$P,
|
|
28578
28578
|
checkedIndicator: circleFilled16X16.data
|
|
28579
28579
|
});
|
|
28580
28580
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadio());
|
|
28581
28581
|
|
|
28582
|
-
const styles$
|
|
28582
|
+
const styles$O = css `
|
|
28583
28583
|
${display$2('inline-block')}
|
|
28584
|
-
${styles$
|
|
28585
|
-
${styles
|
|
28584
|
+
${styles$14}
|
|
28585
|
+
${styles$$}
|
|
28586
28586
|
|
|
28587
28587
|
.positioning-region {
|
|
28588
28588
|
display: flex;
|
|
@@ -28621,7 +28621,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28621
28621
|
`;
|
|
28622
28622
|
|
|
28623
28623
|
const labelTemplate$3 = createRequiredVisibleLabelTemplate(html `<slot name="label"></slot>`);
|
|
28624
|
-
const template$
|
|
28624
|
+
const template$E = html `
|
|
28625
28625
|
<template
|
|
28626
28626
|
role="radiogroup"
|
|
28627
28627
|
aria-disabled="${x => x.disabled}"
|
|
@@ -28661,8 +28661,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28661
28661
|
const nimbleRadioGroup = RadioGroup.compose({
|
|
28662
28662
|
baseName: 'radio-group',
|
|
28663
28663
|
baseClass: RadioGroup$1,
|
|
28664
|
-
template: template$
|
|
28665
|
-
styles: styles$
|
|
28664
|
+
template: template$E,
|
|
28665
|
+
styles: styles$O,
|
|
28666
28666
|
shadowOptions: {
|
|
28667
28667
|
delegatesFocus: true
|
|
28668
28668
|
}
|
|
@@ -47953,7 +47953,7 @@ ${indentedChild}`;
|
|
|
47953
47953
|
// src/index.ts
|
|
47954
47954
|
var index_default$7 = HardBreak;
|
|
47955
47955
|
|
|
47956
|
-
const styles$
|
|
47956
|
+
const styles$N = css `
|
|
47957
47957
|
${display$2('inline')}
|
|
47958
47958
|
|
|
47959
47959
|
.positioning-region {
|
|
@@ -47990,7 +47990,7 @@ ${indentedChild}`;
|
|
|
47990
47990
|
baseName: 'toolbar',
|
|
47991
47991
|
baseClass: Toolbar$1,
|
|
47992
47992
|
template: toolbarTemplate,
|
|
47993
|
-
styles: styles$
|
|
47993
|
+
styles: styles$N
|
|
47994
47994
|
});
|
|
47995
47995
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleToolbar());
|
|
47996
47996
|
const toolbarTag = 'nimble-toolbar';
|
|
@@ -48019,8 +48019,8 @@ ${indentedChild}`;
|
|
|
48019
48019
|
cssCustomPropertyName: null
|
|
48020
48020
|
}).withDefault(richTextLabelDefaults.richTextToggleNumberedListLabel);
|
|
48021
48021
|
|
|
48022
|
-
const styles$
|
|
48023
|
-
${styles
|
|
48022
|
+
const styles$M = css `
|
|
48023
|
+
${styles$10}
|
|
48024
48024
|
|
|
48025
48025
|
:host {
|
|
48026
48026
|
height: auto;
|
|
@@ -48038,7 +48038,7 @@ ${indentedChild}`;
|
|
|
48038
48038
|
}
|
|
48039
48039
|
`;
|
|
48040
48040
|
|
|
48041
|
-
const template$
|
|
48041
|
+
const template$D = html `
|
|
48042
48042
|
<template>
|
|
48043
48043
|
<${anchoredRegionTag}
|
|
48044
48044
|
${ref('region')}
|
|
@@ -48326,15 +48326,15 @@ ${indentedChild}`;
|
|
|
48326
48326
|
], RichTextMentionListbox.prototype, "anchorElement", void 0);
|
|
48327
48327
|
const nimbleRichTextMentionListbox = RichTextMentionListbox.compose({
|
|
48328
48328
|
baseName: 'rich-text-mention-listbox',
|
|
48329
|
-
template: template$
|
|
48330
|
-
styles: styles$
|
|
48329
|
+
template: template$D,
|
|
48330
|
+
styles: styles$M
|
|
48331
48331
|
});
|
|
48332
48332
|
DesignSystem.getOrCreate()
|
|
48333
48333
|
.withPrefix('nimble')
|
|
48334
48334
|
.register(nimbleRichTextMentionListbox());
|
|
48335
48335
|
const richTextMentionListboxTag = 'nimble-rich-text-mention-listbox';
|
|
48336
48336
|
|
|
48337
|
-
const template$
|
|
48337
|
+
const template$C = html `
|
|
48338
48338
|
<template
|
|
48339
48339
|
${children$1({ property: 'childItems', filter: elements() })}
|
|
48340
48340
|
@focusout="${x => x.focusoutHandler()}"
|
|
@@ -48436,9 +48436,9 @@ ${indentedChild}`;
|
|
|
48436
48436
|
</template>
|
|
48437
48437
|
`;
|
|
48438
48438
|
|
|
48439
|
-
const styles$
|
|
48439
|
+
const styles$L = css `
|
|
48440
48440
|
${display$2('inline-flex')}
|
|
48441
|
-
${styles$
|
|
48441
|
+
${styles$14}
|
|
48442
48442
|
|
|
48443
48443
|
:host {
|
|
48444
48444
|
font: ${bodyFont};
|
|
@@ -64884,8 +64884,8 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
64884
64884
|
applyMixins(RichTextEditor, ARIAGlobalStatesAndProperties);
|
|
64885
64885
|
const nimbleRichTextEditor = RichTextEditor.compose({
|
|
64886
64886
|
baseName: 'rich-text-editor',
|
|
64887
|
-
template: template$
|
|
64888
|
-
styles: styles$
|
|
64887
|
+
template: template$C,
|
|
64888
|
+
styles: styles$L,
|
|
64889
64889
|
shadowOptions: {
|
|
64890
64890
|
delegatesFocus: true
|
|
64891
64891
|
}
|
|
@@ -64894,13 +64894,13 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
64894
64894
|
.withPrefix('nimble')
|
|
64895
64895
|
.register(nimbleRichTextEditor());
|
|
64896
64896
|
|
|
64897
|
-
const template$
|
|
64897
|
+
const template$B = html `
|
|
64898
64898
|
<template ${children$1({ property: 'childItems', filter: elements() })}>
|
|
64899
64899
|
<div ${ref('viewer')} class="viewer"></div>
|
|
64900
64900
|
</template>
|
|
64901
64901
|
`;
|
|
64902
64902
|
|
|
64903
|
-
const styles$
|
|
64903
|
+
const styles$K = css `
|
|
64904
64904
|
${display$2('flex')}
|
|
64905
64905
|
|
|
64906
64906
|
:host {
|
|
@@ -65013,17 +65013,17 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65013
65013
|
], RichTextViewer.prototype, "markdown", void 0);
|
|
65014
65014
|
const nimbleRichTextViewer = RichTextViewer.compose({
|
|
65015
65015
|
baseName: 'rich-text-viewer',
|
|
65016
|
-
template: template$
|
|
65017
|
-
styles: styles$
|
|
65016
|
+
template: template$B,
|
|
65017
|
+
styles: styles$K
|
|
65018
65018
|
});
|
|
65019
65019
|
DesignSystem.getOrCreate()
|
|
65020
65020
|
.withPrefix('nimble')
|
|
65021
65021
|
.register(nimbleRichTextViewer());
|
|
65022
65022
|
|
|
65023
|
-
const styles$
|
|
65023
|
+
const styles$J = css `
|
|
65024
|
+
${styles$10}
|
|
65025
|
+
${styles$14}
|
|
65024
65026
|
${styles$$}
|
|
65025
|
-
${styles$13}
|
|
65026
|
-
${styles$_}
|
|
65027
65027
|
|
|
65028
65028
|
${
|
|
65029
65029
|
/* We are using flex `order` to define the visual ordering of the selected value,
|
|
@@ -65186,7 +65186,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65186
65186
|
}
|
|
65187
65187
|
`));
|
|
65188
65188
|
|
|
65189
|
-
const styles$
|
|
65189
|
+
const styles$I = css `
|
|
65190
65190
|
${display$2('inline-grid')}
|
|
65191
65191
|
|
|
65192
65192
|
:host {
|
|
@@ -65356,7 +65356,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65356
65356
|
}
|
|
65357
65357
|
`));
|
|
65358
65358
|
|
|
65359
|
-
const template$
|
|
65359
|
+
const template$A = html `
|
|
65360
65360
|
<template role="progressbar">
|
|
65361
65361
|
${''
|
|
65362
65362
|
/**
|
|
@@ -65403,8 +65403,8 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65403
65403
|
], Spinner.prototype, "appearance", void 0);
|
|
65404
65404
|
const nimbleSpinner = Spinner.compose({
|
|
65405
65405
|
baseName: 'spinner',
|
|
65406
|
-
template: template$
|
|
65407
|
-
styles: styles$
|
|
65406
|
+
template: template$A,
|
|
65407
|
+
styles: styles$I
|
|
65408
65408
|
});
|
|
65409
65409
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSpinner());
|
|
65410
65410
|
const spinnerTag = 'nimble-spinner';
|
|
@@ -65420,7 +65420,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65420
65420
|
<slot ${ref('labelSlot')}></slot>
|
|
65421
65421
|
</label>
|
|
65422
65422
|
`);
|
|
65423
|
-
const template$
|
|
65423
|
+
const template$z = (context, definition) => html `
|
|
65424
65424
|
<template
|
|
65425
65425
|
class="${x => [
|
|
65426
65426
|
x.collapsible && 'collapsible',
|
|
@@ -66632,8 +66632,8 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
66632
66632
|
const nimbleSelect = Select.compose({
|
|
66633
66633
|
baseName: 'select',
|
|
66634
66634
|
baseClass: Select$2,
|
|
66635
|
-
template: template$
|
|
66636
|
-
styles: styles$
|
|
66635
|
+
template: template$z,
|
|
66636
|
+
styles: styles$J,
|
|
66637
66637
|
indicator: arrowExpanderDown16X16.data,
|
|
66638
66638
|
end: html `
|
|
66639
66639
|
<${iconExclamationMarkTag}
|
|
@@ -66646,8 +66646,8 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
66646
66646
|
applyMixins(Select, StartEnd, DelegatesARIASelect);
|
|
66647
66647
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSelect());
|
|
66648
66648
|
|
|
66649
|
-
const styles$
|
|
66650
|
-
${styles$
|
|
66649
|
+
const styles$H = css `
|
|
66650
|
+
${styles$1h}
|
|
66651
66651
|
${'' /* Button specific styles */}
|
|
66652
66652
|
@layer base {
|
|
66653
66653
|
.control {
|
|
@@ -66658,7 +66658,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
66658
66658
|
}
|
|
66659
66659
|
`;
|
|
66660
66660
|
|
|
66661
|
-
const template$
|
|
66661
|
+
const template$y = (context, definition) => html `
|
|
66662
66662
|
<template slot="step">
|
|
66663
66663
|
<li class="
|
|
66664
66664
|
container
|
|
@@ -66779,15 +66779,15 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
66779
66779
|
], Step.prototype, "tabIndex", void 0);
|
|
66780
66780
|
const nimbleStep = Step.compose({
|
|
66781
66781
|
baseName: 'step',
|
|
66782
|
-
template: template$
|
|
66783
|
-
styles: styles$
|
|
66782
|
+
template: template$y,
|
|
66783
|
+
styles: styles$H,
|
|
66784
66784
|
shadowOptions: {
|
|
66785
66785
|
delegatesFocus: true
|
|
66786
66786
|
}
|
|
66787
66787
|
});
|
|
66788
66788
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStep());
|
|
66789
66789
|
|
|
66790
|
-
const styles$
|
|
66790
|
+
const styles$G = css `
|
|
66791
66791
|
${display$2('inline-flex')}
|
|
66792
66792
|
|
|
66793
66793
|
:host {
|
|
@@ -66858,7 +66858,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
66858
66858
|
}
|
|
66859
66859
|
`;
|
|
66860
66860
|
|
|
66861
|
-
const template$
|
|
66861
|
+
const template$x = html `
|
|
66862
66862
|
${when(x => x.showScrollButtons, html `
|
|
66863
66863
|
<${buttonTag}
|
|
66864
66864
|
content-hidden
|
|
@@ -67003,12 +67003,12 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
67003
67003
|
], Stepper.prototype, "steps", void 0);
|
|
67004
67004
|
const nimbleStepper = Stepper.compose({
|
|
67005
67005
|
baseName: 'stepper',
|
|
67006
|
-
template: template$
|
|
67007
|
-
styles: styles$
|
|
67006
|
+
template: template$x,
|
|
67007
|
+
styles: styles$G
|
|
67008
67008
|
});
|
|
67009
67009
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStepper());
|
|
67010
67010
|
|
|
67011
|
-
const styles$
|
|
67011
|
+
const styles$F = css `
|
|
67012
67012
|
${display$2('inline-flex')}
|
|
67013
67013
|
|
|
67014
67014
|
:host {
|
|
@@ -67235,7 +67235,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
67235
67235
|
}
|
|
67236
67236
|
`));
|
|
67237
67237
|
|
|
67238
|
-
const template$
|
|
67238
|
+
const template$w = html `
|
|
67239
67239
|
<template
|
|
67240
67240
|
role="switch"
|
|
67241
67241
|
aria-checked="${x => x.checked}"
|
|
@@ -67279,12 +67279,12 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
67279
67279
|
const nimbleSwitch = Switch.compose({
|
|
67280
67280
|
baseClass: Switch$1,
|
|
67281
67281
|
baseName: 'switch',
|
|
67282
|
-
template: template$
|
|
67283
|
-
styles: styles$
|
|
67282
|
+
template: template$w,
|
|
67283
|
+
styles: styles$F
|
|
67284
67284
|
});
|
|
67285
67285
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSwitch());
|
|
67286
67286
|
|
|
67287
|
-
const styles$
|
|
67287
|
+
const styles$E = css `
|
|
67288
67288
|
${display$2('inline-flex')}
|
|
67289
67289
|
|
|
67290
67290
|
:host {
|
|
@@ -67395,11 +67395,11 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
67395
67395
|
baseName: 'tab',
|
|
67396
67396
|
baseClass: Tab$1,
|
|
67397
67397
|
template: tabTemplate,
|
|
67398
|
-
styles: styles$
|
|
67398
|
+
styles: styles$E
|
|
67399
67399
|
});
|
|
67400
67400
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTab());
|
|
67401
67401
|
|
|
67402
|
-
const styles$
|
|
67402
|
+
const styles$D = css `
|
|
67403
67403
|
${display$2('block')}
|
|
67404
67404
|
|
|
67405
67405
|
:host {
|
|
@@ -67418,7 +67418,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
67418
67418
|
baseName: 'tab-panel',
|
|
67419
67419
|
baseClass: TabPanel$1,
|
|
67420
67420
|
template: tabPanelTemplate,
|
|
67421
|
-
styles: styles$
|
|
67421
|
+
styles: styles$D
|
|
67422
67422
|
});
|
|
67423
67423
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabPanel());
|
|
67424
67424
|
|
|
@@ -71144,7 +71144,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
71144
71144
|
}
|
|
71145
71145
|
}
|
|
71146
71146
|
|
|
71147
|
-
const styles$
|
|
71147
|
+
const styles$C = css `
|
|
71148
71148
|
${display$2('flex')}
|
|
71149
71149
|
|
|
71150
71150
|
:host {
|
|
@@ -71364,7 +71364,7 @@ focus outline in that case.
|
|
|
71364
71364
|
}
|
|
71365
71365
|
`));
|
|
71366
71366
|
|
|
71367
|
-
const styles$
|
|
71367
|
+
const styles$B = css `
|
|
71368
71368
|
${display$2('flex')}
|
|
71369
71369
|
|
|
71370
71370
|
:host {
|
|
@@ -71397,7 +71397,7 @@ focus outline in that case.
|
|
|
71397
71397
|
}
|
|
71398
71398
|
`;
|
|
71399
71399
|
|
|
71400
|
-
const template$
|
|
71400
|
+
const template$v = html `
|
|
71401
71401
|
<template role="columnheader"
|
|
71402
71402
|
class="${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}"
|
|
71403
71403
|
aria-sort="${x => x.ariaSort}"
|
|
@@ -71483,13 +71483,13 @@ focus outline in that case.
|
|
|
71483
71483
|
], TableHeader.prototype, "isGrouped", void 0);
|
|
71484
71484
|
const nimbleTableHeader = TableHeader.compose({
|
|
71485
71485
|
baseName: 'table-header',
|
|
71486
|
-
template: template$
|
|
71487
|
-
styles: styles$
|
|
71486
|
+
template: template$v,
|
|
71487
|
+
styles: styles$B
|
|
71488
71488
|
});
|
|
71489
71489
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableHeader());
|
|
71490
71490
|
const tableHeaderTag = 'nimble-table-header';
|
|
71491
71491
|
|
|
71492
|
-
const styles$
|
|
71492
|
+
const styles$A = css `
|
|
71493
71493
|
:host .animating {
|
|
71494
71494
|
transition: ${mediumDelay} ease-in;
|
|
71495
71495
|
}
|
|
@@ -71514,9 +71514,9 @@ focus outline in that case.
|
|
|
71514
71514
|
}
|
|
71515
71515
|
`;
|
|
71516
71516
|
|
|
71517
|
-
const styles$
|
|
71517
|
+
const styles$z = css `
|
|
71518
71518
|
${display$2('flex')}
|
|
71519
|
-
${styles$
|
|
71519
|
+
${styles$A}
|
|
71520
71520
|
|
|
71521
71521
|
:host {
|
|
71522
71522
|
width: fit-content;
|
|
@@ -71686,7 +71686,7 @@ focus outline in that case.
|
|
|
71686
71686
|
}
|
|
71687
71687
|
`));
|
|
71688
71688
|
|
|
71689
|
-
const styles$
|
|
71689
|
+
const styles$y = css `
|
|
71690
71690
|
${display$2('flex')}
|
|
71691
71691
|
|
|
71692
71692
|
:host {
|
|
@@ -71731,7 +71731,7 @@ focus outline in that case.
|
|
|
71731
71731
|
}
|
|
71732
71732
|
`;
|
|
71733
71733
|
|
|
71734
|
-
const template$
|
|
71734
|
+
const template$u = html `
|
|
71735
71735
|
<template role="cell" style="--ni-private-table-cell-nesting-level: ${x => x.nestingLevel}"
|
|
71736
71736
|
@focusin="${x => x.onCellFocusIn()}"
|
|
71737
71737
|
@blur="${x => x.onCellBlur()}"
|
|
@@ -71828,13 +71828,13 @@ focus outline in that case.
|
|
|
71828
71828
|
], TableCell.prototype, "nestingLevel", void 0);
|
|
71829
71829
|
const nimbleTableCell = TableCell.compose({
|
|
71830
71830
|
baseName: 'table-cell',
|
|
71831
|
-
template: template$
|
|
71832
|
-
styles: styles$
|
|
71831
|
+
template: template$u,
|
|
71832
|
+
styles: styles$y
|
|
71833
71833
|
});
|
|
71834
71834
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableCell());
|
|
71835
71835
|
const tableCellTag = 'nimble-table-cell';
|
|
71836
71836
|
|
|
71837
|
-
const template$
|
|
71837
|
+
const template$t = html `
|
|
71838
71838
|
<template
|
|
71839
71839
|
role="row"
|
|
71840
71840
|
aria-selected=${x => x.ariaSelected}
|
|
@@ -72229,15 +72229,15 @@ focus outline in that case.
|
|
|
72229
72229
|
], TableRow.prototype, "ariaSelected", null);
|
|
72230
72230
|
const nimbleTableRow = TableRow.compose({
|
|
72231
72231
|
baseName: 'table-row',
|
|
72232
|
-
template: template$
|
|
72233
|
-
styles: styles$
|
|
72232
|
+
template: template$t,
|
|
72233
|
+
styles: styles$z
|
|
72234
72234
|
});
|
|
72235
72235
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableRow());
|
|
72236
72236
|
const tableRowTag = 'nimble-table-row';
|
|
72237
72237
|
|
|
72238
|
-
const styles$
|
|
72238
|
+
const styles$x = css `
|
|
72239
72239
|
${display$2('grid')}
|
|
72240
|
-
${styles$
|
|
72240
|
+
${styles$A}
|
|
72241
72241
|
|
|
72242
72242
|
:host {
|
|
72243
72243
|
align-items: center;
|
|
@@ -72325,7 +72325,7 @@ focus outline in that case.
|
|
|
72325
72325
|
}
|
|
72326
72326
|
`));
|
|
72327
72327
|
|
|
72328
|
-
const template$
|
|
72328
|
+
const template$s = html `
|
|
72329
72329
|
<template
|
|
72330
72330
|
role="row"
|
|
72331
72331
|
@click=${x => x.onGroupExpandToggle()}
|
|
@@ -72482,13 +72482,13 @@ focus outline in that case.
|
|
|
72482
72482
|
], TableGroupRow.prototype, "allowHover", void 0);
|
|
72483
72483
|
const nimbleTableGroupRow = TableGroupRow.compose({
|
|
72484
72484
|
baseName: 'table-group-row',
|
|
72485
|
-
template: template$
|
|
72486
|
-
styles: styles$
|
|
72485
|
+
template: template$s,
|
|
72486
|
+
styles: styles$x
|
|
72487
72487
|
});
|
|
72488
72488
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableGroupRow());
|
|
72489
72489
|
const tableGroupRowTag = 'nimble-table-group-row';
|
|
72490
72490
|
|
|
72491
|
-
const template$
|
|
72491
|
+
const template$r = html `
|
|
72492
72492
|
<template
|
|
72493
72493
|
role="treegrid"
|
|
72494
72494
|
${'' /* tabindex managed dynamically by KeyboardNavigationManager */}
|
|
@@ -76799,12 +76799,12 @@ focus outline in that case.
|
|
|
76799
76799
|
], Table$1.prototype, "windowShiftKeyDown", void 0);
|
|
76800
76800
|
const nimbleTable = Table$1.compose({
|
|
76801
76801
|
baseName: 'table',
|
|
76802
|
-
template: template$
|
|
76803
|
-
styles: styles$
|
|
76802
|
+
template: template$r,
|
|
76803
|
+
styles: styles$C
|
|
76804
76804
|
});
|
|
76805
76805
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTable());
|
|
76806
76806
|
|
|
76807
|
-
const styles$
|
|
76807
|
+
const styles$w = css `
|
|
76808
76808
|
${display$2('contents')}
|
|
76809
76809
|
|
|
76810
76810
|
.header-content {
|
|
@@ -76816,7 +76816,7 @@ focus outline in that case.
|
|
|
76816
76816
|
|
|
76817
76817
|
// Avoiding a wrapping <template> and be careful about starting and ending whitspace
|
|
76818
76818
|
// so the template can be composed into other column header templates
|
|
76819
|
-
const template$
|
|
76819
|
+
const template$q = html `<span
|
|
76820
76820
|
${overflow('hasOverflow')}
|
|
76821
76821
|
class="header-content"
|
|
76822
76822
|
title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
|
|
@@ -76881,7 +76881,7 @@ focus outline in that case.
|
|
|
76881
76881
|
return ColumnWithPlaceholder;
|
|
76882
76882
|
}
|
|
76883
76883
|
|
|
76884
|
-
const styles$
|
|
76884
|
+
const styles$v = css `
|
|
76885
76885
|
${display$2('flex')}
|
|
76886
76886
|
|
|
76887
76887
|
:host {
|
|
@@ -76912,7 +76912,7 @@ focus outline in that case.
|
|
|
76912
76912
|
}
|
|
76913
76913
|
`;
|
|
76914
76914
|
|
|
76915
|
-
const template$
|
|
76915
|
+
const template$p = html `
|
|
76916
76916
|
<template
|
|
76917
76917
|
@click="${(x, c) => {
|
|
76918
76918
|
if (typeof x.cellRecord?.href === 'string') {
|
|
@@ -77004,8 +77004,8 @@ focus outline in that case.
|
|
|
77004
77004
|
], TableColumnAnchorCellView.prototype, "showAnchor", null);
|
|
77005
77005
|
const anchorCellView = TableColumnAnchorCellView.compose({
|
|
77006
77006
|
baseName: 'table-column-anchor-cell-view',
|
|
77007
|
-
template: template$
|
|
77008
|
-
styles: styles$
|
|
77007
|
+
template: template$p,
|
|
77008
|
+
styles: styles$v
|
|
77009
77009
|
});
|
|
77010
77010
|
DesignSystem.getOrCreate().withPrefix('nimble').register(anchorCellView());
|
|
77011
77011
|
const tableColumnAnchorCellViewTag = 'nimble-table-column-anchor-cell-view';
|
|
@@ -77082,7 +77082,7 @@ focus outline in that case.
|
|
|
77082
77082
|
observable
|
|
77083
77083
|
], TableColumnTextGroupHeaderViewBase.prototype, "text", void 0);
|
|
77084
77084
|
|
|
77085
|
-
const template$
|
|
77085
|
+
const template$o = html `
|
|
77086
77086
|
<span
|
|
77087
77087
|
${overflow('hasOverflow')}
|
|
77088
77088
|
title="${x => (x.hasOverflow && x.text ? x.text : null)}"
|
|
@@ -77091,7 +77091,7 @@ focus outline in that case.
|
|
|
77091
77091
|
</span>
|
|
77092
77092
|
`;
|
|
77093
77093
|
|
|
77094
|
-
const styles$
|
|
77094
|
+
const styles$u = css `
|
|
77095
77095
|
${display$2('flex')}
|
|
77096
77096
|
|
|
77097
77097
|
span {
|
|
@@ -77115,8 +77115,8 @@ focus outline in that case.
|
|
|
77115
77115
|
}
|
|
77116
77116
|
const tableColumnTextGroupHeaderView = TableColumnTextGroupHeaderView.compose({
|
|
77117
77117
|
baseName: 'table-column-text-group-header-view',
|
|
77118
|
-
template: template$
|
|
77119
|
-
styles: styles$
|
|
77118
|
+
template: template$o,
|
|
77119
|
+
styles: styles$u
|
|
77120
77120
|
});
|
|
77121
77121
|
DesignSystem.getOrCreate()
|
|
77122
77122
|
.withPrefix('nimble')
|
|
@@ -77360,8 +77360,8 @@ focus outline in that case.
|
|
|
77360
77360
|
], TableColumnAnchor.prototype, "download", void 0);
|
|
77361
77361
|
const nimbleTableColumnAnchor = TableColumnAnchor.compose({
|
|
77362
77362
|
baseName: 'table-column-anchor',
|
|
77363
|
-
template: template$
|
|
77364
|
-
styles: styles$
|
|
77363
|
+
template: template$q,
|
|
77364
|
+
styles: styles$w
|
|
77365
77365
|
});
|
|
77366
77366
|
DesignSystem.getOrCreate()
|
|
77367
77367
|
.withPrefix('nimble')
|
|
@@ -77413,15 +77413,15 @@ focus outline in that case.
|
|
|
77413
77413
|
}
|
|
77414
77414
|
const tableColumnDateTextGroupHeaderView = TableColumnDateTextGroupHeaderView.compose({
|
|
77415
77415
|
baseName: 'table-column-date-text-group-header-view',
|
|
77416
|
-
template: template$
|
|
77417
|
-
styles: styles$
|
|
77416
|
+
template: template$o,
|
|
77417
|
+
styles: styles$u
|
|
77418
77418
|
});
|
|
77419
77419
|
DesignSystem.getOrCreate()
|
|
77420
77420
|
.withPrefix('nimble')
|
|
77421
77421
|
.register(tableColumnDateTextGroupHeaderView());
|
|
77422
77422
|
const tableColumnDateTextGroupHeaderViewTag = 'nimble-table-column-date-text-group-header-view';
|
|
77423
77423
|
|
|
77424
|
-
const template$
|
|
77424
|
+
const template$n = html `
|
|
77425
77425
|
<template
|
|
77426
77426
|
class="
|
|
77427
77427
|
${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}
|
|
@@ -77437,7 +77437,7 @@ focus outline in that case.
|
|
|
77437
77437
|
</template>
|
|
77438
77438
|
`;
|
|
77439
77439
|
|
|
77440
|
-
const styles$
|
|
77440
|
+
const styles$t = css `
|
|
77441
77441
|
${display$2('flex')}
|
|
77442
77442
|
|
|
77443
77443
|
:host {
|
|
@@ -77539,8 +77539,8 @@ focus outline in that case.
|
|
|
77539
77539
|
}
|
|
77540
77540
|
const dateTextCellView = TableColumnDateTextCellView.compose({
|
|
77541
77541
|
baseName: 'table-column-date-text-cell-view',
|
|
77542
|
-
template: template$
|
|
77543
|
-
styles: styles$
|
|
77542
|
+
template: template$n,
|
|
77543
|
+
styles: styles$t
|
|
77544
77544
|
});
|
|
77545
77545
|
DesignSystem.getOrCreate().withPrefix('nimble').register(dateTextCellView());
|
|
77546
77546
|
const tableColumnDateTextCellViewTag = 'nimble-table-column-date-text-cell-view';
|
|
@@ -77798,8 +77798,8 @@ focus outline in that case.
|
|
|
77798
77798
|
], TableColumnDateText.prototype, "customHourCycle", void 0);
|
|
77799
77799
|
const nimbleTableColumnDateText = TableColumnDateText.compose({
|
|
77800
77800
|
baseName: 'table-column-date-text',
|
|
77801
|
-
template: template$
|
|
77802
|
-
styles: styles$
|
|
77801
|
+
template: template$q,
|
|
77802
|
+
styles: styles$w
|
|
77803
77803
|
});
|
|
77804
77804
|
DesignSystem.getOrCreate()
|
|
77805
77805
|
.withPrefix('nimble')
|
|
@@ -77815,8 +77815,8 @@ focus outline in that case.
|
|
|
77815
77815
|
}
|
|
77816
77816
|
const durationTextCellView = TableColumnDurationTextCellView.compose({
|
|
77817
77817
|
baseName: 'table-column-duration-text-cell-view',
|
|
77818
|
-
template: template$
|
|
77819
|
-
styles: styles$
|
|
77818
|
+
template: template$n,
|
|
77819
|
+
styles: styles$t
|
|
77820
77820
|
});
|
|
77821
77821
|
DesignSystem.getOrCreate()
|
|
77822
77822
|
.withPrefix('nimble')
|
|
@@ -77917,8 +77917,8 @@ focus outline in that case.
|
|
|
77917
77917
|
}
|
|
77918
77918
|
const tableColumnDurationTextGroupHeaderView = TableColumnDurationTextGroupHeaderView.compose({
|
|
77919
77919
|
baseName: 'table-column-duration-text-group-header-view',
|
|
77920
|
-
template: template$
|
|
77921
|
-
styles: styles$
|
|
77920
|
+
template: template$o,
|
|
77921
|
+
styles: styles$u
|
|
77922
77922
|
});
|
|
77923
77923
|
DesignSystem.getOrCreate()
|
|
77924
77924
|
.withPrefix('nimble')
|
|
@@ -77970,8 +77970,8 @@ focus outline in that case.
|
|
|
77970
77970
|
}
|
|
77971
77971
|
const nimbleTableColumnDurationText = TableColumnDurationText.compose({
|
|
77972
77972
|
baseName: 'table-column-duration-text',
|
|
77973
|
-
template: template$
|
|
77974
|
-
styles: styles$
|
|
77973
|
+
template: template$q,
|
|
77974
|
+
styles: styles$w
|
|
77975
77975
|
});
|
|
77976
77976
|
DesignSystem.getOrCreate()
|
|
77977
77977
|
.withPrefix('nimble')
|
|
@@ -78079,15 +78079,15 @@ focus outline in that case.
|
|
|
78079
78079
|
attr({ attribute: 'key-type' })
|
|
78080
78080
|
], TableColumnEnumBase.prototype, "keyType", void 0);
|
|
78081
78081
|
|
|
78082
|
-
const styles$
|
|
78083
|
-
${styles$
|
|
78082
|
+
const styles$s = css `
|
|
78083
|
+
${styles$w}
|
|
78084
78084
|
|
|
78085
78085
|
slot[name='mapping'] {
|
|
78086
78086
|
display: none;
|
|
78087
78087
|
}
|
|
78088
78088
|
`;
|
|
78089
78089
|
|
|
78090
|
-
const template$
|
|
78090
|
+
const template$m = html `${template$q}<slot ${slotted('mappings')} name="mapping"></slot>`;
|
|
78091
78091
|
|
|
78092
78092
|
const enumBaseValidityFlagNames = [
|
|
78093
78093
|
'invalidMappingKeyValueForType',
|
|
@@ -78173,7 +78173,7 @@ focus outline in that case.
|
|
|
78173
78173
|
}
|
|
78174
78174
|
}
|
|
78175
78175
|
|
|
78176
|
-
const styles$
|
|
78176
|
+
const styles$r = css `
|
|
78177
78177
|
${display$2('inline-flex')}
|
|
78178
78178
|
|
|
78179
78179
|
:host {
|
|
@@ -78197,7 +78197,7 @@ focus outline in that case.
|
|
|
78197
78197
|
}
|
|
78198
78198
|
`;
|
|
78199
78199
|
|
|
78200
|
-
const template$
|
|
78200
|
+
const template$l = html `
|
|
78201
78201
|
${when(x => x.visualizationTemplate, html `
|
|
78202
78202
|
<span class="reserve-icon-size">
|
|
78203
78203
|
${x => x.visualizationTemplate}
|
|
@@ -78341,15 +78341,15 @@ focus outline in that case.
|
|
|
78341
78341
|
], TableColumnMappingGroupHeaderView.prototype, "visualizationTemplate", void 0);
|
|
78342
78342
|
const mappingGroupHeaderView = TableColumnMappingGroupHeaderView.compose({
|
|
78343
78343
|
baseName: 'table-column-mapping-group-header-view',
|
|
78344
|
-
template: template$
|
|
78345
|
-
styles: styles$
|
|
78344
|
+
template: template$l,
|
|
78345
|
+
styles: styles$r
|
|
78346
78346
|
});
|
|
78347
78347
|
DesignSystem.getOrCreate()
|
|
78348
78348
|
.withPrefix('nimble')
|
|
78349
78349
|
.register(mappingGroupHeaderView());
|
|
78350
78350
|
const tableColumnMappingGroupHeaderViewTag = 'nimble-table-column-mapping-group-header-view';
|
|
78351
78351
|
|
|
78352
|
-
const styles$
|
|
78352
|
+
const styles$q = css `
|
|
78353
78353
|
${display$2('inline-flex')}
|
|
78354
78354
|
|
|
78355
78355
|
:host {
|
|
@@ -78373,7 +78373,7 @@ focus outline in that case.
|
|
|
78373
78373
|
}
|
|
78374
78374
|
`;
|
|
78375
78375
|
|
|
78376
|
-
const template$
|
|
78376
|
+
const template$k = html `
|
|
78377
78377
|
${when(x => x.visualizationTemplate, html `
|
|
78378
78378
|
<span class="reserve-icon-size">
|
|
78379
78379
|
${x => x.visualizationTemplate}
|
|
@@ -78460,8 +78460,8 @@ focus outline in that case.
|
|
|
78460
78460
|
], TableColumnMappingCellView.prototype, "hasOverflow", void 0);
|
|
78461
78461
|
const mappingCellView = TableColumnMappingCellView.compose({
|
|
78462
78462
|
baseName: 'table-column-mapping-cell-view',
|
|
78463
|
-
template: template$
|
|
78464
|
-
styles: styles$
|
|
78463
|
+
template: template$k,
|
|
78464
|
+
styles: styles$q
|
|
78465
78465
|
});
|
|
78466
78466
|
DesignSystem.getOrCreate().withPrefix('nimble').register(mappingCellView());
|
|
78467
78467
|
const tableColumnMappingCellViewTag = 'nimble-table-column-mapping-cell-view';
|
|
@@ -78544,23 +78544,23 @@ focus outline in that case.
|
|
|
78544
78544
|
], TableColumnMapping.prototype, "widthMode", void 0);
|
|
78545
78545
|
const nimbleTableColumnMapping = TableColumnMapping.compose({
|
|
78546
78546
|
baseName: 'table-column-mapping',
|
|
78547
|
-
template: template$
|
|
78548
|
-
styles: styles$
|
|
78547
|
+
template: template$m,
|
|
78548
|
+
styles: styles$s
|
|
78549
78549
|
});
|
|
78550
78550
|
DesignSystem.getOrCreate()
|
|
78551
78551
|
.withPrefix('nimble')
|
|
78552
78552
|
.register(nimbleTableColumnMapping());
|
|
78553
78553
|
|
|
78554
|
-
const template$
|
|
78554
|
+
const template$j = html `
|
|
78555
78555
|
<template @delegated-event="${(x, c) => x.onDelegatedEvent(c.event)}"
|
|
78556
|
-
>${template$
|
|
78556
|
+
>${template$q}</template
|
|
78557
78557
|
>
|
|
78558
78558
|
`;
|
|
78559
78559
|
|
|
78560
78560
|
/** @internal */
|
|
78561
78561
|
const cellViewMenuSlotName = 'menu-button-menu';
|
|
78562
78562
|
|
|
78563
|
-
const template$
|
|
78563
|
+
const template$i = html `
|
|
78564
78564
|
${when(x => x.showMenuButton, html `
|
|
78565
78565
|
<${menuButtonTag}
|
|
78566
78566
|
${ref('menuButton')}
|
|
@@ -78579,7 +78579,7 @@ focus outline in that case.
|
|
|
78579
78579
|
`)}
|
|
78580
78580
|
`;
|
|
78581
78581
|
|
|
78582
|
-
const styles$
|
|
78582
|
+
const styles$p = css `
|
|
78583
78583
|
:host {
|
|
78584
78584
|
align-self: center;
|
|
78585
78585
|
width: 100%;
|
|
@@ -78654,8 +78654,8 @@ focus outline in that case.
|
|
|
78654
78654
|
], TableColumnMenuButtonCellView.prototype, "showMenuButton", null);
|
|
78655
78655
|
const menuButtonCellView = TableColumnMenuButtonCellView.compose({
|
|
78656
78656
|
baseName: 'table-column-menu-button-cell-view',
|
|
78657
|
-
template: template$
|
|
78658
|
-
styles: styles$
|
|
78657
|
+
template: template$i,
|
|
78658
|
+
styles: styles$p
|
|
78659
78659
|
});
|
|
78660
78660
|
DesignSystem.getOrCreate().withPrefix('nimble').register(menuButtonCellView());
|
|
78661
78661
|
const tableColumnMenuButtonCellViewTag = 'nimble-table-column-menu-button-cell-view';
|
|
@@ -78710,8 +78710,8 @@ focus outline in that case.
|
|
|
78710
78710
|
], TableColumnMenuButton.prototype, "menuSlot", void 0);
|
|
78711
78711
|
const nimbleTableColumnMenuButton = TableColumnMenuButton.compose({
|
|
78712
78712
|
baseName: 'table-column-menu-button',
|
|
78713
|
-
template: template$
|
|
78714
|
-
styles: styles$
|
|
78713
|
+
template: template$j,
|
|
78714
|
+
styles: styles$w
|
|
78715
78715
|
});
|
|
78716
78716
|
DesignSystem.getOrCreate()
|
|
78717
78717
|
.withPrefix('nimble')
|
|
@@ -78719,7 +78719,7 @@ focus outline in that case.
|
|
|
78719
78719
|
|
|
78720
78720
|
// Avoiding a wrapping <template> and be careful about starting and ending whitespace
|
|
78721
78721
|
// so the template can be composed into other column header templates
|
|
78722
|
-
const template$
|
|
78722
|
+
const template$h = html `<span
|
|
78723
78723
|
${overflow('hasOverflow')}
|
|
78724
78724
|
class="header-content"
|
|
78725
78725
|
title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
|
|
@@ -78738,8 +78738,8 @@ focus outline in that case.
|
|
|
78738
78738
|
}
|
|
78739
78739
|
const tableColumnNumberTextGroupHeaderView = TableColumnNumberTextGroupHeaderView.compose({
|
|
78740
78740
|
baseName: 'table-column-number-text-group-header-view',
|
|
78741
|
-
template: template$
|
|
78742
|
-
styles: styles$
|
|
78741
|
+
template: template$o,
|
|
78742
|
+
styles: styles$u
|
|
78743
78743
|
});
|
|
78744
78744
|
DesignSystem.getOrCreate()
|
|
78745
78745
|
.withPrefix('nimble')
|
|
@@ -78760,8 +78760,8 @@ focus outline in that case.
|
|
|
78760
78760
|
}
|
|
78761
78761
|
const numberTextCellView = TableColumnNumberTextCellView.compose({
|
|
78762
78762
|
baseName: 'table-column-number-text-cell-view',
|
|
78763
|
-
template: template$
|
|
78764
|
-
styles: styles$
|
|
78763
|
+
template: template$n,
|
|
78764
|
+
styles: styles$t
|
|
78765
78765
|
});
|
|
78766
78766
|
DesignSystem.getOrCreate().withPrefix('nimble').register(numberTextCellView());
|
|
78767
78767
|
const tableColumnNumberTextCellViewTag = 'nimble-table-column-number-text-cell-view';
|
|
@@ -79301,8 +79301,8 @@ focus outline in that case.
|
|
|
79301
79301
|
], TableColumnNumberText.prototype, "unit", void 0);
|
|
79302
79302
|
const nimbleTableColumnNumberText = TableColumnNumberText.compose({
|
|
79303
79303
|
baseName: 'table-column-number-text',
|
|
79304
|
-
template: template$
|
|
79305
|
-
styles: styles$
|
|
79304
|
+
template: template$h,
|
|
79305
|
+
styles: styles$w
|
|
79306
79306
|
});
|
|
79307
79307
|
DesignSystem.getOrCreate()
|
|
79308
79308
|
.withPrefix('nimble')
|
|
@@ -79320,8 +79320,8 @@ focus outline in that case.
|
|
|
79320
79320
|
}
|
|
79321
79321
|
const textCellView = TableColumnTextCellView.compose({
|
|
79322
79322
|
baseName: 'table-column-text-cell-view',
|
|
79323
|
-
template: template$
|
|
79324
|
-
styles: styles$
|
|
79323
|
+
template: template$n,
|
|
79324
|
+
styles: styles$t
|
|
79325
79325
|
});
|
|
79326
79326
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textCellView());
|
|
79327
79327
|
const tableColumnTextCellViewTag = 'nimble-table-column-text-cell-view';
|
|
@@ -79375,15 +79375,15 @@ focus outline in that case.
|
|
|
79375
79375
|
}
|
|
79376
79376
|
const nimbleTableColumnText = TableColumnText.compose({
|
|
79377
79377
|
baseName: 'table-column-text',
|
|
79378
|
-
template: template$
|
|
79379
|
-
styles: styles$
|
|
79378
|
+
template: template$q,
|
|
79379
|
+
styles: styles$w
|
|
79380
79380
|
});
|
|
79381
79381
|
DesignSystem.getOrCreate()
|
|
79382
79382
|
.withPrefix('nimble')
|
|
79383
79383
|
.register(nimbleTableColumnText());
|
|
79384
79384
|
|
|
79385
|
-
const styles$
|
|
79386
|
-
${styles$
|
|
79385
|
+
const styles$o = css `
|
|
79386
|
+
${styles$1d}
|
|
79387
79387
|
|
|
79388
79388
|
.tabpanel {
|
|
79389
79389
|
overflow: auto;
|
|
@@ -79464,12 +79464,12 @@ focus outline in that case.
|
|
|
79464
79464
|
const nimbleTabs = Tabs.compose({
|
|
79465
79465
|
baseName: 'tabs',
|
|
79466
79466
|
baseClass: Tabs$1,
|
|
79467
|
-
template: template$
|
|
79468
|
-
styles: styles$
|
|
79467
|
+
template: template$U,
|
|
79468
|
+
styles: styles$o
|
|
79469
79469
|
});
|
|
79470
79470
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabs());
|
|
79471
79471
|
|
|
79472
|
-
const styles$
|
|
79472
|
+
const styles$n = css `
|
|
79473
79473
|
${display$2('flex')}
|
|
79474
79474
|
|
|
79475
79475
|
:host {
|
|
@@ -79501,7 +79501,7 @@ focus outline in that case.
|
|
|
79501
79501
|
}
|
|
79502
79502
|
`;
|
|
79503
79503
|
|
|
79504
|
-
const template$
|
|
79504
|
+
const template$g = (context, definition) => html `
|
|
79505
79505
|
<template slot="end">
|
|
79506
79506
|
${when(x => x.defaultSlottedElements.length > 0, html `
|
|
79507
79507
|
<div class="separator"></div>
|
|
@@ -79533,8 +79533,8 @@ focus outline in that case.
|
|
|
79533
79533
|
], TabsToolbar.prototype, "defaultSlottedElements", void 0);
|
|
79534
79534
|
const nimbleTabsToolbar = TabsToolbar.compose({
|
|
79535
79535
|
baseName: 'tabs-toolbar',
|
|
79536
|
-
template: template$
|
|
79537
|
-
styles: styles$
|
|
79536
|
+
template: template$g,
|
|
79537
|
+
styles: styles$n
|
|
79538
79538
|
});
|
|
79539
79539
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabsToolbar());
|
|
79540
79540
|
applyMixins(TabsToolbar, StartEnd);
|
|
@@ -79544,10 +79544,10 @@ focus outline in that case.
|
|
|
79544
79544
|
block: 'block'
|
|
79545
79545
|
};
|
|
79546
79546
|
|
|
79547
|
-
const styles$
|
|
79547
|
+
const styles$m = css `
|
|
79548
79548
|
${display$2('inline-flex')}
|
|
79549
|
-
${styles$
|
|
79550
|
-
${styles
|
|
79549
|
+
${styles$14}
|
|
79550
|
+
${styles$$}
|
|
79551
79551
|
|
|
79552
79552
|
:host {
|
|
79553
79553
|
font: ${bodyFont};
|
|
@@ -79739,7 +79739,7 @@ focus outline in that case.
|
|
|
79739
79739
|
<slot ${slotted('defaultSlottedNodes')}></slot>
|
|
79740
79740
|
</label>
|
|
79741
79741
|
`);
|
|
79742
|
-
const template$
|
|
79742
|
+
const template$f = () => html `
|
|
79743
79743
|
${labelTemplate$1}
|
|
79744
79744
|
<div class="container">
|
|
79745
79745
|
<textarea
|
|
@@ -79887,8 +79887,8 @@ focus outline in that case.
|
|
|
79887
79887
|
const nimbleTextArea = TextArea.compose({
|
|
79888
79888
|
baseName: 'text-area',
|
|
79889
79889
|
baseClass: TextArea$1,
|
|
79890
|
-
template: template$
|
|
79891
|
-
styles: styles$
|
|
79890
|
+
template: template$f,
|
|
79891
|
+
styles: styles$m,
|
|
79892
79892
|
shadowOptions: {
|
|
79893
79893
|
delegatesFocus: true
|
|
79894
79894
|
}
|
|
@@ -79905,10 +79905,10 @@ focus outline in that case.
|
|
|
79905
79905
|
frameless: 'frameless'
|
|
79906
79906
|
};
|
|
79907
79907
|
|
|
79908
|
-
const styles$
|
|
79908
|
+
const styles$l = css `
|
|
79909
79909
|
${display$2('inline-block')}
|
|
79910
|
-
${styles$
|
|
79911
|
-
${styles
|
|
79910
|
+
${styles$14}
|
|
79911
|
+
${styles$$}
|
|
79912
79912
|
|
|
79913
79913
|
:host {
|
|
79914
79914
|
font: ${bodyFont};
|
|
@@ -80182,7 +80182,7 @@ focus outline in that case.
|
|
|
80182
80182
|
* The template for the {@link @ni/fast-foundation#(TextField:class)} component.
|
|
80183
80183
|
* @public
|
|
80184
80184
|
*/
|
|
80185
|
-
const template$
|
|
80185
|
+
const template$e = (context, definition) => html `
|
|
80186
80186
|
<template
|
|
80187
80187
|
class="
|
|
80188
80188
|
${x => (x.readOnly ? 'readonly' : '')}
|
|
@@ -80267,8 +80267,8 @@ focus outline in that case.
|
|
|
80267
80267
|
const nimbleTextField = TextField.compose({
|
|
80268
80268
|
baseName: 'text-field',
|
|
80269
80269
|
baseClass: TextField$1,
|
|
80270
|
-
template: template$
|
|
80271
|
-
styles: styles$
|
|
80270
|
+
template: template$e,
|
|
80271
|
+
styles: styles$l,
|
|
80272
80272
|
shadowOptions: {
|
|
80273
80273
|
delegatesFocus: true
|
|
80274
80274
|
},
|
|
@@ -80285,7 +80285,7 @@ focus outline in that case.
|
|
|
80285
80285
|
});
|
|
80286
80286
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTextField());
|
|
80287
80287
|
|
|
80288
|
-
const styles$
|
|
80288
|
+
const styles$k = css `
|
|
80289
80289
|
${display$2('inline-flex')}
|
|
80290
80290
|
|
|
80291
80291
|
:host {
|
|
@@ -80371,7 +80371,7 @@ focus outline in that case.
|
|
|
80371
80371
|
}
|
|
80372
80372
|
`));
|
|
80373
80373
|
|
|
80374
|
-
const template$
|
|
80374
|
+
const template$d = html `
|
|
80375
80375
|
${when(x => x.tooltipVisible, html `
|
|
80376
80376
|
<${anchoredRegionTag}
|
|
80377
80377
|
class="anchored-region"
|
|
@@ -80423,8 +80423,8 @@ focus outline in that case.
|
|
|
80423
80423
|
const nimbleTooltip = Tooltip.compose({
|
|
80424
80424
|
baseName: 'tooltip',
|
|
80425
80425
|
baseClass: Tooltip$1,
|
|
80426
|
-
template: template$
|
|
80427
|
-
styles: styles$
|
|
80426
|
+
template: template$d,
|
|
80427
|
+
styles: styles$k
|
|
80428
80428
|
});
|
|
80429
80429
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTooltip());
|
|
80430
80430
|
|
|
@@ -80512,7 +80512,7 @@ focus outline in that case.
|
|
|
80512
80512
|
}
|
|
80513
80513
|
}
|
|
80514
80514
|
|
|
80515
|
-
const styles$
|
|
80515
|
+
const styles$j = css `
|
|
80516
80516
|
${display$2('block')}
|
|
80517
80517
|
|
|
80518
80518
|
:host {
|
|
@@ -80729,12 +80729,12 @@ focus outline in that case.
|
|
|
80729
80729
|
baseName: 'tree-item',
|
|
80730
80730
|
baseClass: TreeItem$1,
|
|
80731
80731
|
template: treeItemTemplate,
|
|
80732
|
-
styles: styles$
|
|
80732
|
+
styles: styles$j,
|
|
80733
80733
|
expandCollapseGlyph: arrowExpanderUp16X16.data
|
|
80734
80734
|
});
|
|
80735
80735
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeItem());
|
|
80736
80736
|
|
|
80737
|
-
const styles$
|
|
80737
|
+
const styles$i = css `
|
|
80738
80738
|
${display$2('flex')}
|
|
80739
80739
|
|
|
80740
80740
|
:host {
|
|
@@ -80748,7 +80748,7 @@ focus outline in that case.
|
|
|
80748
80748
|
}
|
|
80749
80749
|
`;
|
|
80750
80750
|
|
|
80751
|
-
const template$
|
|
80751
|
+
const template$c = html `
|
|
80752
80752
|
<template
|
|
80753
80753
|
role="tree"
|
|
80754
80754
|
${ref('treeView')}
|
|
@@ -80844,8 +80844,8 @@ focus outline in that case.
|
|
|
80844
80844
|
const nimbleTreeView = TreeView.compose({
|
|
80845
80845
|
baseName: 'tree-view',
|
|
80846
80846
|
baseClass: TreeView$1,
|
|
80847
|
-
template: template$
|
|
80848
|
-
styles: styles$
|
|
80847
|
+
template: template$c,
|
|
80848
|
+
styles: styles$i
|
|
80849
80849
|
});
|
|
80850
80850
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeView());
|
|
80851
80851
|
|
|
@@ -80961,9 +80961,9 @@ focus outline in that case.
|
|
|
80961
80961
|
}
|
|
80962
80962
|
const unitScaleByte = new UnitScaleByte();
|
|
80963
80963
|
|
|
80964
|
-
const template$
|
|
80964
|
+
const template$b = html `<template slot="unit"></template>`;
|
|
80965
80965
|
|
|
80966
|
-
const styles$
|
|
80966
|
+
const styles$h = css `
|
|
80967
80967
|
${display$2('none')}
|
|
80968
80968
|
`;
|
|
80969
80969
|
|
|
@@ -80991,8 +80991,8 @@ focus outline in that case.
|
|
|
80991
80991
|
], UnitByte.prototype, "binary", void 0);
|
|
80992
80992
|
const nimbleUnitByte = UnitByte.compose({
|
|
80993
80993
|
baseName: 'unit-byte',
|
|
80994
|
-
template: template$
|
|
80995
|
-
styles: styles$
|
|
80994
|
+
template: template$b,
|
|
80995
|
+
styles: styles$h
|
|
80996
80996
|
});
|
|
80997
80997
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitByte());
|
|
80998
80998
|
|
|
@@ -81044,8 +81044,8 @@ focus outline in that case.
|
|
|
81044
81044
|
}
|
|
81045
81045
|
const nimbleUnitVolt = UnitVolt.compose({
|
|
81046
81046
|
baseName: 'unit-volt',
|
|
81047
|
-
template: template$
|
|
81048
|
-
styles: styles$
|
|
81047
|
+
template: template$b,
|
|
81048
|
+
styles: styles$h
|
|
81049
81049
|
});
|
|
81050
81050
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitVolt());
|
|
81051
81051
|
|
|
@@ -95359,7 +95359,7 @@ focus outline in that case.
|
|
|
95359
95359
|
return new Table(reader.readAll());
|
|
95360
95360
|
}
|
|
95361
95361
|
|
|
95362
|
-
const template$
|
|
95362
|
+
const template$a = html `
|
|
95363
95363
|
<div class="wafer-map-container">
|
|
95364
95364
|
<svg class="svg-root">
|
|
95365
95365
|
<g ${ref('zoomContainer')} transform=${x => x.transform.toString()}>
|
|
@@ -95392,7 +95392,7 @@ focus outline in that case.
|
|
|
95392
95392
|
</div>
|
|
95393
95393
|
`;
|
|
95394
95394
|
|
|
95395
|
-
const styles$
|
|
95395
|
+
const styles$g = css `
|
|
95396
95396
|
${display$2('inline-block')}
|
|
95397
95397
|
|
|
95398
95398
|
:host {
|
|
@@ -98417,8 +98417,8 @@ focus outline in that case.
|
|
|
98417
98417
|
], WaferMap.prototype, "colorScale", void 0);
|
|
98418
98418
|
const nimbleWaferMap = WaferMap.compose({
|
|
98419
98419
|
baseName: 'wafer-map',
|
|
98420
|
-
template: template$
|
|
98421
|
-
styles: styles$
|
|
98420
|
+
template: template$a,
|
|
98421
|
+
styles: styles$g
|
|
98422
98422
|
});
|
|
98423
98423
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleWaferMap());
|
|
98424
98424
|
|
|
@@ -98430,7 +98430,7 @@ focus outline in that case.
|
|
|
98430
98430
|
*/
|
|
98431
98431
|
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;}`;
|
|
98432
98432
|
|
|
98433
|
-
const styles$
|
|
98433
|
+
const styles$f = css `
|
|
98434
98434
|
${display$1('flex')}
|
|
98435
98435
|
|
|
98436
98436
|
:host {
|
|
@@ -98503,7 +98503,7 @@ focus outline in that case.
|
|
|
98503
98503
|
}
|
|
98504
98504
|
`;
|
|
98505
98505
|
|
|
98506
|
-
const template$
|
|
98506
|
+
const template$9 = html `
|
|
98507
98507
|
<div class="toolbar ${x => (x.toolbarEmpty ? 'toolbar-empty' : '')}">
|
|
98508
98508
|
<slot name="toolbar" ${slotted({ property: 'slottedToolbarElements' })}></slot>
|
|
98509
98509
|
</div>
|
|
@@ -98585,16 +98585,16 @@ focus outline in that case.
|
|
|
98585
98585
|
], ChatConversation.prototype, "slottedEndElements", void 0);
|
|
98586
98586
|
const sprightChatConversation = ChatConversation.compose({
|
|
98587
98587
|
baseName: 'chat-conversation',
|
|
98588
|
-
template: template$
|
|
98589
|
-
styles: styles$
|
|
98588
|
+
template: template$9,
|
|
98589
|
+
styles: styles$f
|
|
98590
98590
|
});
|
|
98591
98591
|
DesignSystem.getOrCreate()
|
|
98592
98592
|
.withPrefix('spright')
|
|
98593
98593
|
.register(sprightChatConversation());
|
|
98594
98594
|
|
|
98595
|
-
const styles$
|
|
98595
|
+
const styles$e = css `
|
|
98596
98596
|
${display$1('flex')}
|
|
98597
|
-
${styles$
|
|
98597
|
+
${styles$14}
|
|
98598
98598
|
|
|
98599
98599
|
:host {
|
|
98600
98600
|
width: 100%;
|
|
@@ -98696,7 +98696,7 @@ focus outline in that case.
|
|
|
98696
98696
|
}
|
|
98697
98697
|
`;
|
|
98698
98698
|
|
|
98699
|
-
const template$
|
|
98699
|
+
const template$8 = html `
|
|
98700
98700
|
<div class="container">
|
|
98701
98701
|
<textarea
|
|
98702
98702
|
${ref('textArea')}
|
|
@@ -98912,8 +98912,8 @@ focus outline in that case.
|
|
|
98912
98912
|
], ChatInput.prototype, "scrollbarWidth", void 0);
|
|
98913
98913
|
const sprightChatInput = ChatInput.compose({
|
|
98914
98914
|
baseName: 'chat-input',
|
|
98915
|
-
template: template$
|
|
98916
|
-
styles: styles$
|
|
98915
|
+
template: template$8,
|
|
98916
|
+
styles: styles$e,
|
|
98917
98917
|
shadowOptions: {
|
|
98918
98918
|
delegatesFocus: true
|
|
98919
98919
|
}
|
|
@@ -98931,7 +98931,7 @@ focus outline in that case.
|
|
|
98931
98931
|
inbound: 'inbound'
|
|
98932
98932
|
};
|
|
98933
98933
|
|
|
98934
|
-
const styles$
|
|
98934
|
+
const styles$d = css `
|
|
98935
98935
|
${display$1('flex')}
|
|
98936
98936
|
|
|
98937
98937
|
:host {
|
|
@@ -99005,7 +99005,7 @@ focus outline in that case.
|
|
|
99005
99005
|
}
|
|
99006
99006
|
`;
|
|
99007
99007
|
|
|
99008
|
-
const template$
|
|
99008
|
+
const template$7 = (context, definition) => html `
|
|
99009
99009
|
<div class="container">
|
|
99010
99010
|
${startSlotTemplate(context, definition)}
|
|
99011
99011
|
<section class="message-content">
|
|
@@ -99054,12 +99054,12 @@ focus outline in that case.
|
|
|
99054
99054
|
applyMixins(ChatMessage, StartEnd);
|
|
99055
99055
|
const sprightChatMessage = ChatMessage.compose({
|
|
99056
99056
|
baseName: 'chat-message',
|
|
99057
|
-
template: template$
|
|
99058
|
-
styles: styles$
|
|
99057
|
+
template: template$7,
|
|
99058
|
+
styles: styles$d
|
|
99059
99059
|
});
|
|
99060
99060
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessage());
|
|
99061
99061
|
|
|
99062
|
-
const styles$
|
|
99062
|
+
const styles$c = css `
|
|
99063
99063
|
${display$1('flex')}
|
|
99064
99064
|
|
|
99065
99065
|
:host {
|
|
@@ -99117,7 +99117,7 @@ focus outline in that case.
|
|
|
99117
99117
|
}
|
|
99118
99118
|
`;
|
|
99119
99119
|
|
|
99120
|
-
const template$
|
|
99120
|
+
const template$6 = (context, definition) => html `
|
|
99121
99121
|
<div class="container">
|
|
99122
99122
|
${startSlotTemplate(context, definition)}
|
|
99123
99123
|
<section class="message-content">
|
|
@@ -99155,12 +99155,12 @@ focus outline in that case.
|
|
|
99155
99155
|
applyMixins(ChatMessageInbound, StartEnd);
|
|
99156
99156
|
const sprightChatMessageInbound = ChatMessageInbound.compose({
|
|
99157
99157
|
baseName: 'chat-message-inbound',
|
|
99158
|
-
template: template$
|
|
99159
|
-
styles: styles$
|
|
99158
|
+
template: template$6,
|
|
99159
|
+
styles: styles$c
|
|
99160
99160
|
});
|
|
99161
99161
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageInbound());
|
|
99162
99162
|
|
|
99163
|
-
const styles$
|
|
99163
|
+
const styles$b = css `
|
|
99164
99164
|
${display$1('flex')}
|
|
99165
99165
|
|
|
99166
99166
|
:host {
|
|
@@ -99194,7 +99194,7 @@ focus outline in that case.
|
|
|
99194
99194
|
}
|
|
99195
99195
|
`;
|
|
99196
99196
|
|
|
99197
|
-
const template$
|
|
99197
|
+
const template$5 = () => html `
|
|
99198
99198
|
<div class="container">
|
|
99199
99199
|
<section class="message-content">
|
|
99200
99200
|
<slot></slot>
|
|
@@ -99209,12 +99209,12 @@ focus outline in that case.
|
|
|
99209
99209
|
}
|
|
99210
99210
|
const sprightChatMessageOutbound = ChatMessageOutbound.compose({
|
|
99211
99211
|
baseName: 'chat-message-outbound',
|
|
99212
|
-
template: template$
|
|
99213
|
-
styles: styles$
|
|
99212
|
+
template: template$5,
|
|
99213
|
+
styles: styles$b
|
|
99214
99214
|
});
|
|
99215
99215
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageOutbound());
|
|
99216
99216
|
|
|
99217
|
-
const styles$
|
|
99217
|
+
const styles$a = css `
|
|
99218
99218
|
${display$1('flex')}
|
|
99219
99219
|
|
|
99220
99220
|
:host {
|
|
@@ -99241,7 +99241,7 @@ focus outline in that case.
|
|
|
99241
99241
|
}
|
|
99242
99242
|
`;
|
|
99243
99243
|
|
|
99244
|
-
const template$
|
|
99244
|
+
const template$4 = () => html `
|
|
99245
99245
|
<div class="container">
|
|
99246
99246
|
<section class="message-content">
|
|
99247
99247
|
<slot></slot>
|
|
@@ -99256,13 +99256,13 @@ focus outline in that case.
|
|
|
99256
99256
|
}
|
|
99257
99257
|
const sprightChatMessageSystem = ChatMessageSystem.compose({
|
|
99258
99258
|
baseName: 'chat-message-system',
|
|
99259
|
-
template: template$
|
|
99260
|
-
styles: styles$
|
|
99259
|
+
template: template$4,
|
|
99260
|
+
styles: styles$a
|
|
99261
99261
|
});
|
|
99262
99262
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageSystem());
|
|
99263
99263
|
|
|
99264
|
-
const styles$
|
|
99265
|
-
${styles$
|
|
99264
|
+
const styles$9 = css `
|
|
99265
|
+
${styles$1f}
|
|
99266
99266
|
|
|
99267
99267
|
.icon svg {
|
|
99268
99268
|
fill: ${calendarEventBorderReservationColor};
|
|
@@ -99279,15 +99279,15 @@ focus outline in that case.
|
|
|
99279
99279
|
}
|
|
99280
99280
|
const sprightIconWorkItemCalendarWeek = IconWorkItemCalendarWeek.compose({
|
|
99281
99281
|
baseName: 'icon-work-item-calendar-week',
|
|
99282
|
-
template: template$
|
|
99283
|
-
styles: styles$
|
|
99282
|
+
template: template$Y,
|
|
99283
|
+
styles: styles$9
|
|
99284
99284
|
});
|
|
99285
99285
|
DesignSystem.getOrCreate()
|
|
99286
99286
|
.withPrefix('spright')
|
|
99287
99287
|
.register(sprightIconWorkItemCalendarWeek());
|
|
99288
99288
|
|
|
99289
|
-
const styles$
|
|
99290
|
-
${styles$
|
|
99289
|
+
const styles$8 = css `
|
|
99290
|
+
${styles$1f}
|
|
99291
99291
|
|
|
99292
99292
|
.icon svg {
|
|
99293
99293
|
fill: ${calendarEventBorderCalibrationColor};
|
|
@@ -99304,15 +99304,15 @@ focus outline in that case.
|
|
|
99304
99304
|
}
|
|
99305
99305
|
const sprightIconWorkItemCalipers = IconWorkItemCalipers.compose({
|
|
99306
99306
|
baseName: 'icon-work-item-calipers',
|
|
99307
|
-
template: template$
|
|
99308
|
-
styles: styles$
|
|
99307
|
+
template: template$Y,
|
|
99308
|
+
styles: styles$8
|
|
99309
99309
|
});
|
|
99310
99310
|
DesignSystem.getOrCreate()
|
|
99311
99311
|
.withPrefix('spright')
|
|
99312
99312
|
.register(sprightIconWorkItemCalipers());
|
|
99313
99313
|
|
|
99314
|
-
const styles$
|
|
99315
|
-
${styles$
|
|
99314
|
+
const styles$7 = css `
|
|
99315
|
+
${styles$1f}
|
|
99316
99316
|
|
|
99317
99317
|
.icon svg {
|
|
99318
99318
|
fill: ${calendarEventBorderTransportOrderColor};
|
|
@@ -99329,15 +99329,15 @@ focus outline in that case.
|
|
|
99329
99329
|
}
|
|
99330
99330
|
const sprightIconWorkItemForklift = IconWorkItemForklift.compose({
|
|
99331
99331
|
baseName: 'icon-work-item-forklift',
|
|
99332
|
-
template: template$
|
|
99333
|
-
styles: styles$
|
|
99332
|
+
template: template$Y,
|
|
99333
|
+
styles: styles$7
|
|
99334
99334
|
});
|
|
99335
99335
|
DesignSystem.getOrCreate()
|
|
99336
99336
|
.withPrefix('spright')
|
|
99337
99337
|
.register(sprightIconWorkItemForklift());
|
|
99338
99338
|
|
|
99339
|
-
const styles$
|
|
99340
|
-
${styles$
|
|
99339
|
+
const styles$6 = css `
|
|
99340
|
+
${styles$1f}
|
|
99341
99341
|
|
|
99342
99342
|
.icon svg {
|
|
99343
99343
|
fill: ${calendarEventBorderStaticColor};
|
|
@@ -99354,15 +99354,15 @@ focus outline in that case.
|
|
|
99354
99354
|
}
|
|
99355
99355
|
const sprightIconWorkItemRectangleCheckLines = IconWorkItemRectangleCheckLines.compose({
|
|
99356
99356
|
baseName: 'icon-work-item-rectangle-check-lines',
|
|
99357
|
-
template: template$
|
|
99358
|
-
styles: styles$
|
|
99357
|
+
template: template$Y,
|
|
99358
|
+
styles: styles$6
|
|
99359
99359
|
});
|
|
99360
99360
|
DesignSystem.getOrCreate()
|
|
99361
99361
|
.withPrefix('spright')
|
|
99362
99362
|
.register(sprightIconWorkItemRectangleCheckLines());
|
|
99363
99363
|
|
|
99364
|
-
const styles$
|
|
99365
|
-
${styles$
|
|
99364
|
+
const styles$5 = css `
|
|
99365
|
+
${styles$1f}
|
|
99366
99366
|
|
|
99367
99367
|
.icon svg {
|
|
99368
99368
|
fill: ${calendarEventBorderJobColor};
|
|
@@ -99379,15 +99379,15 @@ focus outline in that case.
|
|
|
99379
99379
|
}
|
|
99380
99380
|
const sprightIconWorkItemUserHelmetSafety = IconWorkItemUserHelmetSafety.compose({
|
|
99381
99381
|
baseName: 'icon-work-item-user-helmet-safety',
|
|
99382
|
-
template: template$
|
|
99383
|
-
styles: styles$
|
|
99382
|
+
template: template$Y,
|
|
99383
|
+
styles: styles$5
|
|
99384
99384
|
});
|
|
99385
99385
|
DesignSystem.getOrCreate()
|
|
99386
99386
|
.withPrefix('spright')
|
|
99387
99387
|
.register(sprightIconWorkItemUserHelmetSafety());
|
|
99388
99388
|
|
|
99389
|
-
const styles$
|
|
99390
|
-
${styles$
|
|
99389
|
+
const styles$4 = css `
|
|
99390
|
+
${styles$1f}
|
|
99391
99391
|
|
|
99392
99392
|
.icon svg {
|
|
99393
99393
|
fill: ${calendarEventBorderMaintenanceColor};
|
|
@@ -99404,14 +99404,14 @@ focus outline in that case.
|
|
|
99404
99404
|
}
|
|
99405
99405
|
const sprightIconWorkItemWrenchHammer = IconWorkItemWrenchHammer.compose({
|
|
99406
99406
|
baseName: 'icon-work-item-wrench-hammer',
|
|
99407
|
-
template: template$
|
|
99408
|
-
styles: styles$
|
|
99407
|
+
template: template$Y,
|
|
99408
|
+
styles: styles$4
|
|
99409
99409
|
});
|
|
99410
99410
|
DesignSystem.getOrCreate()
|
|
99411
99411
|
.withPrefix('spright')
|
|
99412
99412
|
.register(sprightIconWorkItemWrenchHammer());
|
|
99413
99413
|
|
|
99414
|
-
const styles$
|
|
99414
|
+
const styles$3 = css `
|
|
99415
99415
|
${display$1('inline-block')}
|
|
99416
99416
|
|
|
99417
99417
|
:host {
|
|
@@ -99436,7 +99436,7 @@ focus outline in that case.
|
|
|
99436
99436
|
}
|
|
99437
99437
|
`;
|
|
99438
99438
|
|
|
99439
|
-
const template$
|
|
99439
|
+
const template$3 = html `<slot></slot>`;
|
|
99440
99440
|
|
|
99441
99441
|
/**
|
|
99442
99442
|
* A Spright demo component (not for production use)
|
|
@@ -99445,8 +99445,8 @@ focus outline in that case.
|
|
|
99445
99445
|
}
|
|
99446
99446
|
const sprightRectangle = Rectangle.compose({
|
|
99447
99447
|
baseName: 'rectangle',
|
|
99448
|
-
template: template$
|
|
99449
|
-
styles: styles$
|
|
99448
|
+
template: template$3,
|
|
99449
|
+
styles: styles$3
|
|
99450
99450
|
});
|
|
99451
99451
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightRectangle());
|
|
99452
99452
|
|
|
@@ -99458,6 +99458,185 @@ focus outline in that case.
|
|
|
99458
99458
|
*/
|
|
99459
99459
|
const display = (displayValue) => `${display$3(displayValue)}:host{box-sizing:border-box;}*{box-sizing:border-box;}:host::before,:host::after,::before,::after{box-sizing:border-box;}`;
|
|
99460
99460
|
|
|
99461
|
+
/**
|
|
99462
|
+
* Set user-select: none in a way that works across all supported browsers.
|
|
99463
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/user-select#browser_compatibility
|
|
99464
|
+
*/
|
|
99465
|
+
const userSelectNone = cssPartial `
|
|
99466
|
+
user-select: none;
|
|
99467
|
+
-webkit-user-select: none;
|
|
99468
|
+
`;
|
|
99469
|
+
|
|
99470
|
+
const FvAccordionItemAppearance = {
|
|
99471
|
+
outline: 'outline',
|
|
99472
|
+
ghost: 'ghost',
|
|
99473
|
+
block: 'block'
|
|
99474
|
+
};
|
|
99475
|
+
|
|
99476
|
+
const styles$2 = css `
|
|
99477
|
+
@layer base, hover, focusVisible, active, disabled, top;
|
|
99478
|
+
|
|
99479
|
+
@layer base {
|
|
99480
|
+
${display('block')}
|
|
99481
|
+
|
|
99482
|
+
:host {
|
|
99483
|
+
border-bottom: ${dividerWidth} solid transparent;
|
|
99484
|
+
}
|
|
99485
|
+
|
|
99486
|
+
.accordion-item-details > .accordion-item-summary {
|
|
99487
|
+
display: flex;
|
|
99488
|
+
box-sizing: border-box;
|
|
99489
|
+
height: calc(${controlHeight} + (2 * ${dividerWidth}));
|
|
99490
|
+
align-items: center;
|
|
99491
|
+
margin-left: 0;
|
|
99492
|
+
border: ${dividerWidth} solid transparent;
|
|
99493
|
+
outline: ${dividerWidth} solid transparent;
|
|
99494
|
+
outline-offset: -1px;
|
|
99495
|
+
list-style: none;
|
|
99496
|
+
cursor: pointer;
|
|
99497
|
+
${userSelectNone}
|
|
99498
|
+
transition:
|
|
99499
|
+
border-color ${smallDelay} ease-in,
|
|
99500
|
+
outline-color ${smallDelay} ease-in;
|
|
99501
|
+
}
|
|
99502
|
+
|
|
99503
|
+
.accordion-item-details > .accordion-item-summary::-webkit-details-marker {
|
|
99504
|
+
display: none;
|
|
99505
|
+
}
|
|
99506
|
+
|
|
99507
|
+
.accordion-item-details > .accordion-item-summary::marker {
|
|
99508
|
+
content: "";
|
|
99509
|
+
}
|
|
99510
|
+
|
|
99511
|
+
.accordion-item-icon {
|
|
99512
|
+
transition: transform ${mediumDelay} ease-in;
|
|
99513
|
+
margin: calc(${smallPadding} - ${borderWidth});
|
|
99514
|
+
min-width: ${iconSize};
|
|
99515
|
+
}
|
|
99516
|
+
|
|
99517
|
+
.accordion-item-details[open] > .accordion-item-summary > .accordion-item-icon {
|
|
99518
|
+
transform: rotate(90deg);
|
|
99519
|
+
}
|
|
99520
|
+
|
|
99521
|
+
.accordion-item-title {
|
|
99522
|
+
flex: 1;
|
|
99523
|
+
width: 100%;
|
|
99524
|
+
position: relative;
|
|
99525
|
+
font: ${bodyPlus1EmphasizedFont};
|
|
99526
|
+
color: ${bodyPlus1EmphasizedFontColor};
|
|
99527
|
+
text-align: left;
|
|
99528
|
+
display: block;
|
|
99529
|
+
/* Preserve descenders within the ellipsis clip region without shifting the text. */
|
|
99530
|
+
padding-bottom: 2px;
|
|
99531
|
+
margin-bottom: -2px;
|
|
99532
|
+
text-overflow: ellipsis;
|
|
99533
|
+
overflow: hidden;
|
|
99534
|
+
white-space: nowrap;
|
|
99535
|
+
overflow-wrap: normal;
|
|
99536
|
+
}
|
|
99537
|
+
|
|
99538
|
+
.accordion-item-content {
|
|
99539
|
+
display: flex;
|
|
99540
|
+
flex-direction: column;
|
|
99541
|
+
gap: ${standardPadding};
|
|
99542
|
+
margin-left: ${largePadding};
|
|
99543
|
+
margin-top: ${mediumPadding};
|
|
99544
|
+
padding-bottom: ${standardPadding};
|
|
99545
|
+
}
|
|
99546
|
+
}
|
|
99547
|
+
|
|
99548
|
+
@layer hover {
|
|
99549
|
+
.accordion-item-details > .accordion-item-summary:hover {
|
|
99550
|
+
border-color: ${borderHoverColor};
|
|
99551
|
+
}
|
|
99552
|
+
}
|
|
99553
|
+
|
|
99554
|
+
@layer focusVisible {
|
|
99555
|
+
.accordion-item-details > .accordion-item-summary:focus-visible {
|
|
99556
|
+
outline: 2px solid ${borderHoverColor};
|
|
99557
|
+
outline-offset: -2px;
|
|
99558
|
+
}
|
|
99559
|
+
}
|
|
99560
|
+
`.withBehaviors(appearanceBehavior(FvAccordionItemAppearance.outline, css `
|
|
99561
|
+
@layer base {
|
|
99562
|
+
:host {
|
|
99563
|
+
border-bottom: ${dividerWidth} solid rgba(${borderRgbPartialColor}, 0.2);
|
|
99564
|
+
border-bottom-color: rgba(${borderRgbPartialColor}, 0.2);
|
|
99565
|
+
}
|
|
99566
|
+
}
|
|
99567
|
+
`), appearanceBehavior(FvAccordionItemAppearance.block, css `
|
|
99568
|
+
@layer base {
|
|
99569
|
+
.accordion-item-details > .accordion-item-summary {
|
|
99570
|
+
background-color: rgba(${borderRgbPartialColor}, 0.1);
|
|
99571
|
+
}
|
|
99572
|
+
}
|
|
99573
|
+
|
|
99574
|
+
@layer hover {
|
|
99575
|
+
.accordion-item-details > .accordion-item-summary:hover {
|
|
99576
|
+
border-color: transparent;
|
|
99577
|
+
outline-color: ${borderHoverColor};
|
|
99578
|
+
}
|
|
99579
|
+
}
|
|
99580
|
+
`));
|
|
99581
|
+
|
|
99582
|
+
const arrowExpanderRightTag = iconArrowExpanderRightTag;
|
|
99583
|
+
const template$2 = html `
|
|
99584
|
+
<details
|
|
99585
|
+
class="accordion-item-details"
|
|
99586
|
+
?open="${x => x.expanded}"
|
|
99587
|
+
@toggle="${(x, c) => x.handleToggle(c.event)}"
|
|
99588
|
+
>
|
|
99589
|
+
<summary
|
|
99590
|
+
class="accordion-item-summary"
|
|
99591
|
+
aria-expanded="${x => x.expanded}"
|
|
99592
|
+
>
|
|
99593
|
+
<${arrowExpanderRightTag}
|
|
99594
|
+
class="accordion-item-icon"
|
|
99595
|
+
></${arrowExpanderRightTag}>
|
|
99596
|
+
<span class="accordion-item-title" title="${x => x.header}">
|
|
99597
|
+
${x => x.header}
|
|
99598
|
+
</span>
|
|
99599
|
+
</summary>
|
|
99600
|
+
<div class="accordion-item-content">
|
|
99601
|
+
<slot></slot>
|
|
99602
|
+
</div>
|
|
99603
|
+
</details>
|
|
99604
|
+
`;
|
|
99605
|
+
|
|
99606
|
+
/**
|
|
99607
|
+
* An accordion item component that can be expanded or collapsed to
|
|
99608
|
+
* show or hide its content.
|
|
99609
|
+
*/
|
|
99610
|
+
class FvAccordionItem extends FoundationElement {
|
|
99611
|
+
constructor() {
|
|
99612
|
+
super(...arguments);
|
|
99613
|
+
this.header = '';
|
|
99614
|
+
this.expanded = false;
|
|
99615
|
+
this.appearance = FvAccordionItemAppearance.ghost;
|
|
99616
|
+
}
|
|
99617
|
+
handleToggle(event) {
|
|
99618
|
+
this.expanded = event.target.open;
|
|
99619
|
+
return true;
|
|
99620
|
+
}
|
|
99621
|
+
}
|
|
99622
|
+
__decorate([
|
|
99623
|
+
attr
|
|
99624
|
+
], FvAccordionItem.prototype, "header", void 0);
|
|
99625
|
+
__decorate([
|
|
99626
|
+
attr({ mode: 'boolean' })
|
|
99627
|
+
], FvAccordionItem.prototype, "expanded", void 0);
|
|
99628
|
+
__decorate([
|
|
99629
|
+
attr()
|
|
99630
|
+
], FvAccordionItem.prototype, "appearance", void 0);
|
|
99631
|
+
const okFvAccordionItem = FvAccordionItem.compose({
|
|
99632
|
+
baseName: 'fv-accordion-item',
|
|
99633
|
+
template: template$2,
|
|
99634
|
+
styles: styles$2
|
|
99635
|
+
});
|
|
99636
|
+
DesignSystem.getOrCreate()
|
|
99637
|
+
.withPrefix('ok')
|
|
99638
|
+
.register(okFvAccordionItem());
|
|
99639
|
+
|
|
99461
99640
|
const styles$1 = css `
|
|
99462
99641
|
${display('inline-block')}
|
|
99463
99642
|
|
|
@@ -99497,15 +99676,6 @@ focus outline in that case.
|
|
|
99497
99676
|
});
|
|
99498
99677
|
DesignSystem.getOrCreate().withPrefix('ok').register(okButton());
|
|
99499
99678
|
|
|
99500
|
-
/**
|
|
99501
|
-
* Set user-select: none in a way that works across all supported browsers.
|
|
99502
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/user-select#browser_compatibility
|
|
99503
|
-
*/
|
|
99504
|
-
const userSelectNone = cssPartial `
|
|
99505
|
-
user-select: none;
|
|
99506
|
-
-webkit-user-select: none;
|
|
99507
|
-
`;
|
|
99508
|
-
|
|
99509
99679
|
const styles = css `
|
|
99510
99680
|
${display('inline-flex')}
|
|
99511
99681
|
|