@ni/spright-components 4.3.2 → 4.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11120,89 +11120,6 @@
11120
11120
  </template>
11121
11121
  `;
11122
11122
 
11123
- /**
11124
- * The template for the {@link @microsoft/fast-foundation#(NumberField:class)} component.
11125
- * @public
11126
- */
11127
- const numberFieldTemplate = (context, definition) => html `
11128
- <template class="${x => (x.readOnly ? "readonly" : "")}">
11129
- <label
11130
- part="label"
11131
- for="control"
11132
- class="${x => x.defaultSlottedNodes && x.defaultSlottedNodes.length
11133
- ? "label"
11134
- : "label label__hidden"}"
11135
- >
11136
- <slot ${slotted("defaultSlottedNodes")}></slot>
11137
- </label>
11138
- <div class="root" part="root">
11139
- ${startSlotTemplate(context, definition)}
11140
- <input
11141
- class="control"
11142
- part="control"
11143
- id="control"
11144
- @input="${x => x.handleTextInput()}"
11145
- @change="${x => x.handleChange()}"
11146
- @keydown="${(x, c) => x.handleKeyDown(c.event)}"
11147
- @blur="${(x, c) => x.handleBlur()}"
11148
- ?autofocus="${x => x.autofocus}"
11149
- ?disabled="${x => x.disabled}"
11150
- list="${x => x.list}"
11151
- maxlength="${x => x.maxlength}"
11152
- minlength="${x => x.minlength}"
11153
- placeholder="${x => x.placeholder}"
11154
- ?readonly="${x => x.readOnly}"
11155
- ?required="${x => x.required}"
11156
- size="${x => x.size}"
11157
- type="text"
11158
- inputmode="numeric"
11159
- min="${x => x.min}"
11160
- max="${x => x.max}"
11161
- step="${x => x.step}"
11162
- aria-atomic="${x => x.ariaAtomic}"
11163
- aria-busy="${x => x.ariaBusy}"
11164
- aria-controls="${x => x.ariaControls}"
11165
- aria-current="${x => x.ariaCurrent}"
11166
- aria-describedby="${x => x.ariaDescribedby}"
11167
- aria-details="${x => x.ariaDetails}"
11168
- aria-disabled="${x => x.ariaDisabled}"
11169
- aria-errormessage="${x => x.ariaErrormessage}"
11170
- aria-flowto="${x => x.ariaFlowto}"
11171
- aria-haspopup="${x => x.ariaHaspopup}"
11172
- aria-hidden="${x => x.ariaHidden}"
11173
- aria-invalid="${x => x.ariaInvalid}"
11174
- aria-keyshortcuts="${x => x.ariaKeyshortcuts}"
11175
- aria-label="${x => x.ariaLabel}"
11176
- aria-labelledby="${x => x.ariaLabelledby}"
11177
- aria-live="${x => x.ariaLive}"
11178
- aria-owns="${x => x.ariaOwns}"
11179
- aria-relevant="${x => x.ariaRelevant}"
11180
- aria-roledescription="${x => x.ariaRoledescription}"
11181
- ${ref("control")}
11182
- />
11183
- ${when(x => !x.hideStep && !x.readOnly && !x.disabled, html `
11184
- <div class="controls" part="controls">
11185
- <div class="step-up" part="step-up" @click="${x => x.stepUp()}">
11186
- <slot name="step-up-glyph">
11187
- ${definition.stepUpGlyph || ""}
11188
- </slot>
11189
- </div>
11190
- <div
11191
- class="step-down"
11192
- part="step-down"
11193
- @click="${x => x.stepDown()}"
11194
- >
11195
- <slot name="step-down-glyph">
11196
- ${definition.stepDownGlyph || ""}
11197
- </slot>
11198
- </div>
11199
- </div>
11200
- `)}
11201
- ${endSlotTemplate(context, definition)}
11202
- </div>
11203
- </template>
11204
- `;
11205
-
11206
11123
  class _TextField extends FoundationElement {
11207
11124
  }
11208
11125
  /**
@@ -13444,74 +13361,6 @@
13444
13361
  ], TextArea$1.prototype, "defaultSlottedNodes", void 0);
13445
13362
  applyMixins(TextArea$1, DelegatesARIATextbox);
13446
13363
 
13447
- /**
13448
- * The template for the {@link @microsoft/fast-foundation#(TextField:class)} component.
13449
- * @public
13450
- */
13451
- const textFieldTemplate = (context, definition) => html `
13452
- <template
13453
- class="
13454
- ${x => (x.readOnly ? "readonly" : "")}
13455
- "
13456
- >
13457
- <label
13458
- part="label"
13459
- for="control"
13460
- class="${x => x.defaultSlottedNodes && x.defaultSlottedNodes.length
13461
- ? "label"
13462
- : "label label__hidden"}"
13463
- >
13464
- <slot
13465
- ${slotted({ property: "defaultSlottedNodes", filter: whitespaceFilter })}
13466
- ></slot>
13467
- </label>
13468
- <div class="root" part="root">
13469
- ${startSlotTemplate(context, definition)}
13470
- <input
13471
- class="control"
13472
- part="control"
13473
- id="control"
13474
- @input="${x => x.handleTextInput()}"
13475
- @change="${x => x.handleChange()}"
13476
- ?autofocus="${x => x.autofocus}"
13477
- ?disabled="${x => x.disabled}"
13478
- list="${x => x.list}"
13479
- maxlength="${x => x.maxlength}"
13480
- minlength="${x => x.minlength}"
13481
- pattern="${x => x.pattern}"
13482
- placeholder="${x => x.placeholder}"
13483
- ?readonly="${x => x.readOnly}"
13484
- ?required="${x => x.required}"
13485
- size="${x => x.size}"
13486
- ?spellcheck="${x => x.spellcheck}"
13487
- :value="${x => x.value}"
13488
- type="${x => x.type}"
13489
- aria-atomic="${x => x.ariaAtomic}"
13490
- aria-busy="${x => x.ariaBusy}"
13491
- aria-controls="${x => x.ariaControls}"
13492
- aria-current="${x => x.ariaCurrent}"
13493
- aria-describedby="${x => x.ariaDescribedby}"
13494
- aria-details="${x => x.ariaDetails}"
13495
- aria-disabled="${x => x.ariaDisabled}"
13496
- aria-errormessage="${x => x.ariaErrormessage}"
13497
- aria-flowto="${x => x.ariaFlowto}"
13498
- aria-haspopup="${x => x.ariaHaspopup}"
13499
- aria-hidden="${x => x.ariaHidden}"
13500
- aria-invalid="${x => x.ariaInvalid}"
13501
- aria-keyshortcuts="${x => x.ariaKeyshortcuts}"
13502
- aria-label="${x => x.ariaLabel}"
13503
- aria-labelledby="${x => x.ariaLabelledby}"
13504
- aria-live="${x => x.ariaLive}"
13505
- aria-owns="${x => x.ariaOwns}"
13506
- aria-relevant="${x => x.ariaRelevant}"
13507
- aria-roledescription="${x => x.ariaRoledescription}"
13508
- ${ref("control")}
13509
- />
13510
- ${endSlotTemplate(context, definition)}
13511
- </div>
13512
- </template>
13513
- `;
13514
-
13515
13364
  /**
13516
13365
  * The template for the {@link @microsoft/fast-foundation#(Toolbar:class)} component.
13517
13366
  *
@@ -16472,7 +16321,7 @@
16472
16321
  return `${prefix}${uniqueIdCounter++}`;
16473
16322
  }
16474
16323
 
16475
- const template$N = html `<slot></slot>`;
16324
+ const template$P = html `<slot></slot>`;
16476
16325
 
16477
16326
  const styles$11 = css `
16478
16327
  ${display$1('contents')}
@@ -16590,7 +16439,7 @@
16590
16439
  const nimbleDesignSystemProvider = ThemeProvider.compose({
16591
16440
  baseName: 'theme-provider',
16592
16441
  styles: styles$11,
16593
- template: template$N
16442
+ template: template$P
16594
16443
  });
16595
16444
  DesignSystem.getOrCreate()
16596
16445
  .withPrefix('nimble')
@@ -16893,7 +16742,7 @@
16893
16742
  `;
16894
16743
 
16895
16744
  // prettier-ignore
16896
- const template$M = (_context, definition) => html `${
16745
+ const template$O = (_context, definition) => html `${
16897
16746
  /* top-container div is necessary because setting contenteditable directly on the native anchor instead
16898
16747
  leaves it focusable, unlike the behavior you get when the anchor is _within_ a contenteditable element.
16899
16748
  */ ''}<div
@@ -16996,7 +16845,7 @@
16996
16845
  const nimbleAnchor = Anchor.compose({
16997
16846
  baseName: 'anchor',
16998
16847
  baseClass: Anchor$1,
16999
- template: template$M,
16848
+ template: template$O,
17000
16849
  styles: styles$10,
17001
16850
  shadowOptions: {
17002
16851
  delegatesFocus: true
@@ -17414,7 +17263,7 @@
17414
17263
  }
17415
17264
  `;
17416
17265
 
17417
- const template$L = (context, definition) => html `
17266
+ const template$N = (context, definition) => html `
17418
17267
  <a
17419
17268
  class="control"
17420
17269
  part="control"
@@ -17496,7 +17345,7 @@
17496
17345
  ], AnchorButton.prototype, "disabled", void 0);
17497
17346
  const nimbleAnchorButton = AnchorButton.compose({
17498
17347
  baseName: 'anchor-button',
17499
- template: template$L,
17348
+ template: template$N,
17500
17349
  styles: styles$_,
17501
17350
  shadowOptions: {
17502
17351
  delegatesFocus: true
@@ -17588,7 +17437,7 @@
17588
17437
  }
17589
17438
  `;
17590
17439
 
17591
- const template$K = (context, definition) => html `
17440
+ const template$M = (context, definition) => html `
17592
17441
  <template
17593
17442
  role="menuitem"
17594
17443
  class="${x => (typeof x.startColumnCount === 'number'
@@ -17689,7 +17538,7 @@
17689
17538
  // FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
17690
17539
  const nimbleAnchorMenuItem = AnchorMenuItem.compose({
17691
17540
  baseName: 'anchor-menu-item',
17692
- template: template$K,
17541
+ template: template$M,
17693
17542
  styles: styles$Z,
17694
17543
  shadowOptions: {
17695
17544
  delegatesFocus: true
@@ -17817,7 +17666,7 @@
17817
17666
  }
17818
17667
  `;
17819
17668
 
17820
- const template$J = (context, definition) => html `
17669
+ const template$L = (context, definition) => html `
17821
17670
  <template slot="anchortab" role="tab" aria-disabled="${x => x.disabled}">
17822
17671
  <a
17823
17672
  download="${x => x.download}"
@@ -17869,7 +17718,7 @@
17869
17718
  // FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
17870
17719
  const nimbleAnchorTab = AnchorTab.compose({
17871
17720
  baseName: 'anchor-tab',
17872
- template: template$J,
17721
+ template: template$L,
17873
17722
  styles: styles$Y,
17874
17723
  shadowOptions: {
17875
17724
  delegatesFocus: true
@@ -17922,7 +17771,7 @@
17922
17771
  ${buttonAppearanceVariantStyles}
17923
17772
  `;
17924
17773
 
17925
- const template$I = (context, definition) => html `
17774
+ const template$K = (context, definition) => html `
17926
17775
  <button
17927
17776
  class="control"
17928
17777
  part="control"
@@ -18013,7 +17862,7 @@
18013
17862
  const nimbleButton = Button.compose({
18014
17863
  baseName: 'button',
18015
17864
  baseClass: Button$1,
18016
- template: template$I,
17865
+ template: template$K,
18017
17866
  styles: styles$W,
18018
17867
  shadowOptions: {
18019
17868
  delegatesFocus: true
@@ -18853,7 +18702,7 @@
18853
18702
  };
18854
18703
 
18855
18704
  // Avoiding any whitespace in the template because this is an inline element
18856
- const template$H = html `<div
18705
+ const template$J = html `<div
18857
18706
  class="icon"
18858
18707
  aria-hidden="true"
18859
18708
  :innerHTML=${x => x.icon.data}
@@ -18921,7 +18770,7 @@
18921
18770
  const registerIcon = (baseName, iconClass) => {
18922
18771
  const composedIcon = iconClass.compose({
18923
18772
  baseName,
18924
- template: template$H,
18773
+ template: template$J,
18925
18774
  styles: styles$V
18926
18775
  });
18927
18776
  DesignSystem.getOrCreate().withPrefix('nimble').register(composedIcon());
@@ -19013,7 +18862,7 @@
19013
18862
  }).withDefault(coreLabelDefaults.scrollForwardLabel);
19014
18863
 
19015
18864
  // prettier-ignore
19016
- const template$G = (context, definition) => html `
18865
+ const template$I = (context, definition) => html `
19017
18866
  <div
19018
18867
  class="tab-bar"
19019
18868
  >
@@ -19312,7 +19161,7 @@
19312
19161
  applyMixins(AnchorTabs, StartEnd);
19313
19162
  const nimbleAnchorTabs = AnchorTabs.compose({
19314
19163
  baseName: 'anchor-tabs',
19315
- template: template$G,
19164
+ template: template$I,
19316
19165
  styles: styles$X,
19317
19166
  shadowOptions: {
19318
19167
  delegatesFocus: false
@@ -19425,7 +19274,7 @@
19425
19274
  }
19426
19275
  `;
19427
19276
 
19428
- const template$F = (context, definition) => html `
19277
+ const template$H = (context, definition) => html `
19429
19278
  <template
19430
19279
  role="treeitem"
19431
19280
  slot="${x => (x.isNestedItem() ? 'item' : null)}"
@@ -19562,7 +19411,7 @@
19562
19411
  // FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
19563
19412
  const nimbleAnchorTreeItem = AnchorTreeItem.compose({
19564
19413
  baseName: 'anchor-tree-item',
19565
- template: template$F,
19414
+ template: template$H,
19566
19415
  styles: styles$U,
19567
19416
  shadowOptions: {
19568
19417
  delegatesFocus: true
@@ -19870,7 +19719,7 @@
19870
19719
  };
19871
19720
 
19872
19721
  // prettier-ignore
19873
- const template$E = html `
19722
+ const template$G = html `
19874
19723
  <${themeProviderTag} theme="${Theme.color}">
19875
19724
  <div class="container"
19876
19725
  role="status"
@@ -19988,7 +19837,7 @@
19988
19837
  applyMixins(Banner, ARIAGlobalStatesAndProperties);
19989
19838
  const nimbleBanner = Banner.compose({
19990
19839
  baseName: 'banner',
19991
- template: template$E,
19840
+ template: template$G,
19992
19841
  styles: styles$S
19993
19842
  });
19994
19843
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBanner());
@@ -20155,7 +20004,7 @@ so this becomes the fallback color for the slot */ ''}
20155
20004
  }
20156
20005
  `;
20157
20006
 
20158
- const template$D = html `
20007
+ const template$F = html `
20159
20008
  <section aria-labelledby="title-slot">
20160
20009
  <span id="title-slot"><slot name="title"></slot></span>
20161
20010
  <slot></slot>
@@ -20170,7 +20019,7 @@ so this becomes the fallback color for the slot */ ''}
20170
20019
  const nimbleCard = Card.compose({
20171
20020
  baseName: 'card',
20172
20021
  baseClass: Card$1,
20173
- template: template$D,
20022
+ template: template$F,
20174
20023
  styles: styles$P
20175
20024
  });
20176
20025
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCard());
@@ -20570,7 +20419,7 @@ so this becomes the fallback color for the slot */ ''}
20570
20419
  </div>
20571
20420
  `;
20572
20421
 
20573
- const template$C = (_context, definition) => html `
20422
+ const template$E = (_context, definition) => html `
20574
20423
  <template
20575
20424
  role="checkbox"
20576
20425
  aria-checked="${x => x.checked}"
@@ -20655,7 +20504,7 @@ so this becomes the fallback color for the slot */ ''}
20655
20504
  const nimbleCheckbox = Checkbox.compose({
20656
20505
  baseName: 'checkbox',
20657
20506
  baseClass: Checkbox$1,
20658
- template: template$C,
20507
+ template: template$E,
20659
20508
  styles: styles$M,
20660
20509
  checkedIndicator: check16X16.data,
20661
20510
  indeterminateIndicator: minus16X16.data
@@ -20713,7 +20562,7 @@ so this becomes the fallback color for the slot */ ''}
20713
20562
 
20714
20563
  /* eslint-disable @typescript-eslint/indent */
20715
20564
  // prettier-ignore
20716
- const template$B = (context, definition) => html `
20565
+ const template$D = (context, definition) => html `
20717
20566
  <div
20718
20567
  role="button"
20719
20568
  part="control"
@@ -20809,7 +20658,7 @@ so this becomes the fallback color for the slot */ ''}
20809
20658
  applyMixins(ToggleButton, StartEnd, DelegatesARIAButton);
20810
20659
  const nimbleToggleButton = ToggleButton.compose({
20811
20660
  baseName: 'toggle-button',
20812
- template: template$B,
20661
+ template: template$D,
20813
20662
  styles: styles$L,
20814
20663
  shadowOptions: {
20815
20664
  delegatesFocus: true
@@ -21205,7 +21054,7 @@ so this becomes the fallback color for the slot */ ''}
21205
21054
 
21206
21055
  /* eslint-disable @typescript-eslint/indent */
21207
21056
  // prettier-ignore
21208
- const template$A = (context, definition) => html `
21057
+ const template$C = (context, definition) => html `
21209
21058
  <template
21210
21059
  aria-disabled="${x => x.ariaDisabled}"
21211
21060
  autocomplete="${x => x.autocomplete}"
@@ -21953,7 +21802,7 @@ so this becomes the fallback color for the slot */ ''}
21953
21802
  const nimbleCombobox = Combobox.compose({
21954
21803
  baseName: 'combobox',
21955
21804
  baseClass: FormAssociatedCombobox,
21956
- template: template$A,
21805
+ template: template$C,
21957
21806
  styles: styles$J,
21958
21807
  shadowOptions: {
21959
21808
  delegatesFocus: true
@@ -22091,7 +21940,7 @@ so this becomes the fallback color for the slot */ ''}
22091
21940
  }
22092
21941
  `;
22093
21942
 
22094
- const template$z = html `
21943
+ const template$B = html `
22095
21944
  <template>
22096
21945
  <dialog
22097
21946
  ${ref('dialogElement')}
@@ -22239,7 +22088,7 @@ so this becomes the fallback color for the slot */ ''}
22239
22088
  applyMixins(Dialog, ARIAGlobalStatesAndProperties);
22240
22089
  const nimbleDialog = Dialog.compose({
22241
22090
  baseName: 'dialog',
22242
- template: template$z,
22091
+ template: template$B,
22243
22092
  styles: styles$I,
22244
22093
  baseClass: Dialog
22245
22094
  });
@@ -22388,7 +22237,7 @@ so this becomes the fallback color for the slot */ ''}
22388
22237
  }
22389
22238
  `;
22390
22239
 
22391
- const template$y = html `
22240
+ const template$A = html `
22392
22241
  <dialog
22393
22242
  ${ref('dialog')}
22394
22243
  aria-label="${x => x.ariaLabel}"
@@ -22531,7 +22380,7 @@ so this becomes the fallback color for the slot */ ''}
22531
22380
  applyMixins(Drawer, ARIAGlobalStatesAndProperties);
22532
22381
  const nimbleDrawer = Drawer.compose({
22533
22382
  baseName: 'drawer',
22534
- template: template$y,
22383
+ template: template$A,
22535
22384
  styles: styles$H
22536
22385
  });
22537
22386
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDrawer());
@@ -25312,7 +25161,7 @@ so this becomes the fallback color for the slot */ ''}
25312
25161
  * @public
25313
25162
  */
25314
25163
  // prettier-ignore
25315
- const template$x = (context, definition) => html `
25164
+ const template$z = (context, definition) => html `
25316
25165
  <template
25317
25166
  aria-checked="${x => x.ariaChecked}"
25318
25167
  aria-disabled="${x => x.ariaDisabled}"
@@ -25425,7 +25274,7 @@ so this becomes the fallback color for the slot */ ''}
25425
25274
  const nimbleListOption = ListOption.compose({
25426
25275
  baseName: 'list-option',
25427
25276
  baseClass: ListboxOption,
25428
- template: template$x,
25277
+ template: template$z,
25429
25278
  styles: styles$F
25430
25279
  });
25431
25280
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListOption());
@@ -25494,7 +25343,7 @@ so this becomes the fallback color for the slot */ ''}
25494
25343
  return n instanceof ListOption;
25495
25344
  };
25496
25345
  // prettier-ignore
25497
- const template$w = html `
25346
+ const template$y = html `
25498
25347
  <template
25499
25348
  role="group"
25500
25349
  aria-label="${x => x.labelContent}"
@@ -25636,7 +25485,7 @@ so this becomes the fallback color for the slot */ ''}
25636
25485
  const nimbleListOptionGroup = ListOptionGroup.compose({
25637
25486
  baseName: 'list-option-group',
25638
25487
  baseClass: FoundationElement,
25639
- template: template$w,
25488
+ template: template$y,
25640
25489
  styles: styles$E
25641
25490
  });
25642
25491
  DesignSystem.getOrCreate()
@@ -25652,7 +25501,7 @@ so this becomes the fallback color for the slot */ ''}
25652
25501
  attr()
25653
25502
  ], Mapping$1.prototype, "key", void 0);
25654
25503
 
25655
- const template$v = html `<template slot="mapping"></template>`;
25504
+ const template$x = html `<template slot="mapping"></template>`;
25656
25505
 
25657
25506
  const styles$D = css `
25658
25507
  ${display$1('none')}
@@ -25670,7 +25519,7 @@ so this becomes the fallback color for the slot */ ''}
25670
25519
  ], MappingEmpty.prototype, "text", void 0);
25671
25520
  const emptyMapping = MappingEmpty.compose({
25672
25521
  baseName: 'mapping-empty',
25673
- template: template$v,
25522
+ template: template$x,
25674
25523
  styles: styles$D
25675
25524
  });
25676
25525
  DesignSystem.getOrCreate().withPrefix('nimble').register(emptyMapping());
@@ -25741,7 +25590,7 @@ so this becomes the fallback color for the slot */ ''}
25741
25590
  ], MappingIcon.prototype, "resolvedIcon", void 0);
25742
25591
  const iconMapping = MappingIcon.compose({
25743
25592
  baseName: 'mapping-icon',
25744
- template: template$v,
25593
+ template: template$x,
25745
25594
  styles: styles$D
25746
25595
  });
25747
25596
  DesignSystem.getOrCreate().withPrefix('nimble').register(iconMapping());
@@ -25765,7 +25614,7 @@ so this becomes the fallback color for the slot */ ''}
25765
25614
  ], MappingSpinner.prototype, "textHidden", void 0);
25766
25615
  const spinnerMapping = MappingSpinner.compose({
25767
25616
  baseName: 'mapping-spinner',
25768
- template: template$v,
25617
+ template: template$x,
25769
25618
  styles: styles$D
25770
25619
  });
25771
25620
  DesignSystem.getOrCreate().withPrefix('nimble').register(spinnerMapping());
@@ -25782,7 +25631,7 @@ so this becomes the fallback color for the slot */ ''}
25782
25631
  ], MappingText.prototype, "text", void 0);
25783
25632
  const textMapping = MappingText.compose({
25784
25633
  baseName: 'mapping-text',
25785
- template: template$v,
25634
+ template: template$x,
25786
25635
  styles: styles$D
25787
25636
  });
25788
25637
  DesignSystem.getOrCreate().withPrefix('nimble').register(textMapping());
@@ -26088,7 +25937,7 @@ so this becomes the fallback color for the slot */ ''}
26088
25937
 
26089
25938
  /* eslint-disable @typescript-eslint/indent */
26090
25939
  // prettier-ignore
26091
- const template$u = () => html `
25940
+ const template$w = () => html `
26092
25941
  <template
26093
25942
  slot="${x => {
26094
25943
  if (x.slot) {
@@ -26177,7 +26026,7 @@ so this becomes the fallback color for the slot */ ''}
26177
26026
  const nimbleMenu = Menu.compose({
26178
26027
  baseName: 'menu',
26179
26028
  baseClass: Menu$1,
26180
- template: template$u,
26029
+ template: template$w,
26181
26030
  styles: styles$C
26182
26031
  });
26183
26032
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenu());
@@ -26214,7 +26063,7 @@ so this becomes the fallback color for the slot */ ''}
26214
26063
  `;
26215
26064
 
26216
26065
  // prettier-ignore
26217
- const template$t = html `
26066
+ const template$v = html `
26218
26067
  <template
26219
26068
  ?open="${x => x.open}"
26220
26069
  @focusout="${(x, c) => x.focusoutHandler(c.event)}"
@@ -26464,7 +26313,7 @@ so this becomes the fallback color for the slot */ ''}
26464
26313
  ], MenuButton.prototype, "slottedMenus", void 0);
26465
26314
  const nimbleMenuButton = MenuButton.compose({
26466
26315
  baseName: 'menu-button',
26467
- template: template$t,
26316
+ template: template$v,
26468
26317
  styles: styles$B,
26469
26318
  shadowOptions: {
26470
26319
  delegatesFocus: true
@@ -26774,6 +26623,93 @@ so this becomes the fallback color for the slot */ ''}
26774
26623
  }
26775
26624
  `));
26776
26625
 
26626
+ /**
26627
+ * The template for the {@link @microsoft/fast-foundation#(NumberField:class)} component.
26628
+ * @public
26629
+ */
26630
+ const template$u = (context, definition) => html `
26631
+ <template class="${x => (x.readOnly ? 'readonly' : '')}">
26632
+ <label
26633
+ part="label"
26634
+ for="control"
26635
+ class="${x => (x.defaultSlottedNodes?.length
26636
+ ? 'label'
26637
+ : 'label label__hidden')}"
26638
+ >
26639
+ <slot ${slotted('defaultSlottedNodes')}></slot>
26640
+ </label>
26641
+ <div class="root" part="root">
26642
+ ${startSlotTemplate(context, definition)}
26643
+ <input
26644
+ class="control"
26645
+ part="control"
26646
+ id="control"
26647
+ @input="${x => x.handleTextInput()}"
26648
+ @change="${x => x.handleChange()}"
26649
+ @keydown="${(x, c) => x.handleKeyDown(c.event)}"
26650
+ @blur="${x => x.handleBlur()}"
26651
+ ?autofocus="${x => x.autofocus}"
26652
+ ?disabled="${x => x.disabled}"
26653
+ list="${x => x.list}"
26654
+ maxlength="${x => x.maxlength}"
26655
+ minlength="${x => x.minlength}"
26656
+ placeholder="${x => x.placeholder}"
26657
+ ?readonly="${x => x.readOnly}"
26658
+ ?required="${x => x.required}"
26659
+ size="${x => x.size}"
26660
+ type="text"
26661
+ inputmode="numeric"
26662
+ min="${x => x.min}"
26663
+ max="${x => x.max}"
26664
+ step="${x => x.step}"
26665
+ aria-atomic="${x => x.ariaAtomic}"
26666
+ aria-busy="${x => x.ariaBusy}"
26667
+ aria-controls="${x => x.ariaControls}"
26668
+ aria-current="${x => x.ariaCurrent}"
26669
+ aria-describedby="${x => x.ariaDescribedby}"
26670
+ aria-details="${x => x.ariaDetails}"
26671
+ aria-disabled="${x => x.ariaDisabled}"
26672
+ aria-errormessage="${x => x.ariaErrormessage}"
26673
+ aria-flowto="${x => x.ariaFlowto}"
26674
+ aria-haspopup="${x => x.ariaHaspopup}"
26675
+ aria-hidden="${x => x.ariaHidden}"
26676
+ aria-invalid="${x => x.ariaInvalid}"
26677
+ aria-keyshortcuts="${x => x.ariaKeyshortcuts}"
26678
+ aria-label="${x => x.ariaLabel}"
26679
+ aria-labelledby="${x => x.ariaLabelledby}"
26680
+ aria-live="${x => x.ariaLive}"
26681
+ aria-owns="${x => x.ariaOwns}"
26682
+ aria-relevant="${x => x.ariaRelevant}"
26683
+ aria-roledescription="${x => x.ariaRoledescription}"
26684
+ ${ref('control')}
26685
+ />
26686
+ ${when(x => !x.hideStep && !x.readOnly && !x.disabled, html `
26687
+ <div class="controls" part="controls">
26688
+ <div
26689
+ class="step-up"
26690
+ part="step-up"
26691
+ @click="${x => x.stepUp()}"
26692
+ >
26693
+ <slot name="step-up-glyph">
26694
+ ${definition.stepUpGlyph || ''}
26695
+ </slot>
26696
+ </div>
26697
+ <div
26698
+ class="step-down"
26699
+ part="step-down"
26700
+ @click="${x => x.stepDown()}"
26701
+ >
26702
+ <slot name="step-down-glyph">
26703
+ ${definition.stepDownGlyph || ''}
26704
+ </slot>
26705
+ </div>
26706
+ </div>
26707
+ `)}
26708
+ ${endSlotTemplate(context, definition)}
26709
+ </div>
26710
+ </template>
26711
+ `;
26712
+
26777
26713
  /**
26778
26714
  * A nimble-styled HTML number input
26779
26715
  */
@@ -26802,7 +26738,7 @@ so this becomes the fallback color for the slot */ ''}
26802
26738
  const nimbleNumberField = NumberField.compose({
26803
26739
  baseName: 'number-field',
26804
26740
  baseClass: NumberField$1,
26805
- template: numberFieldTemplate,
26741
+ template: template$u,
26806
26742
  styles: styles$z,
26807
26743
  shadowOptions: {
26808
26744
  delegatesFocus: true
@@ -26992,7 +26928,7 @@ so this becomes the fallback color for the slot */ ''}
26992
26928
  `;
26993
26929
 
26994
26930
  /* eslint-disable @typescript-eslint/indent */
26995
- const template$s = html `
26931
+ const template$t = html `
26996
26932
  <template
26997
26933
  role="radiogroup"
26998
26934
  aria-disabled="${x => x.disabled}"
@@ -27031,7 +26967,7 @@ so this becomes the fallback color for the slot */ ''}
27031
26967
  const nimbleRadioGroup = RadioGroup.compose({
27032
26968
  baseName: 'radio-group',
27033
26969
  baseClass: RadioGroup$1,
27034
- template: template$s,
26970
+ template: template$t,
27035
26971
  styles: styles$x,
27036
26972
  shadowOptions: {
27037
26973
  delegatesFocus: true
@@ -45399,7 +45335,7 @@ img.ProseMirror-separator {
45399
45335
 
45400
45336
  /* eslint-disable @typescript-eslint/indent */
45401
45337
  // prettier-ignore
45402
- const template$r = html `
45338
+ const template$s = html `
45403
45339
  <template>
45404
45340
  <${anchoredRegionTag}
45405
45341
  ${ref('region')}
@@ -45687,7 +45623,7 @@ img.ProseMirror-separator {
45687
45623
  ], RichTextMentionListbox.prototype, "anchorElement", void 0);
45688
45624
  const nimbleRichTextMentionListbox = RichTextMentionListbox.compose({
45689
45625
  baseName: 'rich-text-mention-listbox',
45690
- template: template$r,
45626
+ template: template$s,
45691
45627
  styles: styles$v
45692
45628
  });
45693
45629
  DesignSystem.getOrCreate()
@@ -45696,7 +45632,7 @@ img.ProseMirror-separator {
45696
45632
  const richTextMentionListboxTag = 'nimble-rich-text-mention-listbox';
45697
45633
 
45698
45634
  // prettier-ignore
45699
- const template$q = html `
45635
+ const template$r = html `
45700
45636
  <template
45701
45637
  ${children$1({ property: 'childItems', filter: elements() })}
45702
45638
  @focusout="${x => x.focusoutHandler()}"
@@ -60492,7 +60428,7 @@ img.ProseMirror-separator {
60492
60428
  applyMixins(RichTextEditor, ARIAGlobalStatesAndProperties);
60493
60429
  const nimbleRichTextEditor = RichTextEditor.compose({
60494
60430
  baseName: 'rich-text-editor',
60495
- template: template$q,
60431
+ template: template$r,
60496
60432
  styles: styles$u,
60497
60433
  shadowOptions: {
60498
60434
  delegatesFocus: true
@@ -60502,7 +60438,7 @@ img.ProseMirror-separator {
60502
60438
  .withPrefix('nimble')
60503
60439
  .register(nimbleRichTextEditor());
60504
60440
 
60505
- const template$p = html `
60441
+ const template$q = html `
60506
60442
  <template ${children$1({ property: 'childItems', filter: elements() })}>
60507
60443
  <div ${ref('viewer')} class="viewer"></div>
60508
60444
  </template>
@@ -60619,7 +60555,7 @@ img.ProseMirror-separator {
60619
60555
  ], RichTextViewer.prototype, "markdown", void 0);
60620
60556
  const nimbleRichTextViewer = RichTextViewer.compose({
60621
60557
  baseName: 'rich-text-viewer',
60622
- template: template$p,
60558
+ template: template$q,
60623
60559
  styles: styles$t
60624
60560
  });
60625
60561
  DesignSystem.getOrCreate()
@@ -60953,7 +60889,7 @@ img.ProseMirror-separator {
60953
60889
 
60954
60890
  /* eslint-disable @typescript-eslint/indent */
60955
60891
  // prettier-ignore
60956
- const template$o = html `
60892
+ const template$p = html `
60957
60893
  <template role="progressbar">
60958
60894
  ${''
60959
60895
  /**
@@ -61001,7 +60937,7 @@ img.ProseMirror-separator {
61001
60937
  ], Spinner.prototype, "appearance", void 0);
61002
60938
  const nimbleSpinner = Spinner.compose({
61003
60939
  baseName: 'spinner',
61004
- template: template$o,
60940
+ template: template$p,
61005
60941
  styles: styles$r
61006
60942
  });
61007
60943
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSpinner());
@@ -61015,7 +60951,7 @@ img.ProseMirror-separator {
61015
60951
  };
61016
60952
  /* eslint-disable @typescript-eslint/indent */
61017
60953
  // prettier-ignore
61018
- const template$n = (context, definition) => html `
60954
+ const template$o = (context, definition) => html `
61019
60955
  <template
61020
60956
  class="${x => [
61021
60957
  x.collapsible && 'collapsible',
@@ -62225,7 +62161,7 @@ img.ProseMirror-separator {
62225
62161
  const nimbleSelect = Select.compose({
62226
62162
  baseName: 'select',
62227
62163
  baseClass: Select$2,
62228
- template: template$n,
62164
+ template: template$o,
62229
62165
  styles: styles$s,
62230
62166
  indicator: arrowExpanderDown16X16.data,
62231
62167
  end: html `
@@ -62402,7 +62338,7 @@ img.ProseMirror-separator {
62402
62338
  `));
62403
62339
 
62404
62340
  // prettier-ignore
62405
- const template$m = html `
62341
+ const template$n = html `
62406
62342
  <template
62407
62343
  role="switch"
62408
62344
  aria-checked="${x => x.checked}"
@@ -62446,7 +62382,7 @@ img.ProseMirror-separator {
62446
62382
  const nimbleSwitch = Switch.compose({
62447
62383
  baseClass: Switch$1,
62448
62384
  baseName: 'switch',
62449
- template: template$m,
62385
+ template: template$n,
62450
62386
  styles: styles$q
62451
62387
  });
62452
62388
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSwitch());
@@ -66562,7 +66498,7 @@ focus outline in that case.
66562
66498
  `;
66563
66499
 
66564
66500
  // prettier-ignore
66565
- const template$l = html `
66501
+ const template$m = html `
66566
66502
  <template role="columnheader"
66567
66503
  class="${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}"
66568
66504
  aria-sort="${x => x.ariaSort}"
@@ -66648,7 +66584,7 @@ focus outline in that case.
66648
66584
  ], TableHeader.prototype, "isGrouped", void 0);
66649
66585
  const nimbleTableHeader = TableHeader.compose({
66650
66586
  baseName: 'table-header',
66651
- template: template$l,
66587
+ template: template$m,
66652
66588
  styles: styles$m
66653
66589
  });
66654
66590
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableHeader());
@@ -66897,7 +66833,7 @@ focus outline in that case.
66897
66833
  `;
66898
66834
 
66899
66835
  // prettier-ignore
66900
- const template$k = html `
66836
+ const template$l = html `
66901
66837
  <template role="cell" style="--ni-private-table-cell-nesting-level: ${x => x.nestingLevel}"
66902
66838
  @focusin="${x => x.onCellFocusIn()}"
66903
66839
  @blur="${x => x.onCellBlur()}"
@@ -66994,14 +66930,14 @@ focus outline in that case.
66994
66930
  ], TableCell.prototype, "nestingLevel", void 0);
66995
66931
  const nimbleTableCell = TableCell.compose({
66996
66932
  baseName: 'table-cell',
66997
- template: template$k,
66933
+ template: template$l,
66998
66934
  styles: styles$j
66999
66935
  });
67000
66936
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableCell());
67001
66937
  const tableCellTag = 'nimble-table-cell';
67002
66938
 
67003
66939
  // prettier-ignore
67004
- const template$j = html `
66940
+ const template$k = html `
67005
66941
  <template
67006
66942
  role="row"
67007
66943
  aria-selected=${x => x.ariaSelected}
@@ -67395,7 +67331,7 @@ focus outline in that case.
67395
67331
  ], TableRow.prototype, "ariaSelected", null);
67396
67332
  const nimbleTableRow = TableRow.compose({
67397
67333
  baseName: 'table-row',
67398
- template: template$j,
67334
+ template: template$k,
67399
67335
  styles: styles$k
67400
67336
  });
67401
67337
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableRow());
@@ -67493,7 +67429,7 @@ focus outline in that case.
67493
67429
 
67494
67430
  /* eslint-disable @typescript-eslint/indent */
67495
67431
  // prettier-ignore
67496
- const template$i = html `
67432
+ const template$j = html `
67497
67433
  <template
67498
67434
  role="row"
67499
67435
  @click=${x => x.onGroupExpandToggle()}
@@ -67651,14 +67587,14 @@ focus outline in that case.
67651
67587
  ], TableGroupRow.prototype, "allowHover", void 0);
67652
67588
  const nimbleTableGroupRow = TableGroupRow.compose({
67653
67589
  baseName: 'table-group-row',
67654
- template: template$i,
67590
+ template: template$j,
67655
67591
  styles: styles$i
67656
67592
  });
67657
67593
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableGroupRow());
67658
67594
  const tableGroupRowTag = 'nimble-table-group-row';
67659
67595
 
67660
67596
  // prettier-ignore
67661
- const template$h = html `
67597
+ const template$i = html `
67662
67598
  <template
67663
67599
  role="treegrid"
67664
67600
  ${'' /* tabindex managed dynamically by KeyboardNavigationManager */}
@@ -71719,7 +71655,7 @@ focus outline in that case.
71719
71655
  ], Table$1.prototype, "windowShiftKeyDown", void 0);
71720
71656
  const nimbleTable = Table$1.compose({
71721
71657
  baseName: 'table',
71722
- template: template$h,
71658
+ template: template$i,
71723
71659
  styles: styles$n
71724
71660
  });
71725
71661
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTable());
@@ -71737,7 +71673,7 @@ focus outline in that case.
71737
71673
  // Avoiding a wrapping <template> and be careful about starting and ending whitspace
71738
71674
  // so the template can be composed into other column header templates
71739
71675
  // prettier-ignore
71740
- const template$g = html `<span
71676
+ const template$h = html `<span
71741
71677
  ${overflow('hasOverflow')}
71742
71678
  class="header-content"
71743
71679
  title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
@@ -71845,7 +71781,7 @@ focus outline in that case.
71845
71781
 
71846
71782
  /* eslint-disable @typescript-eslint/indent */
71847
71783
  // prettier-ignore
71848
- const template$f = html `
71784
+ const template$g = html `
71849
71785
  <template
71850
71786
  @click="${(x, c) => {
71851
71787
  if (typeof x.cellRecord?.href === 'string') {
@@ -71938,7 +71874,7 @@ focus outline in that case.
71938
71874
  ], TableColumnAnchorCellView.prototype, "showAnchor", null);
71939
71875
  const anchorCellView = TableColumnAnchorCellView.compose({
71940
71876
  baseName: 'table-column-anchor-cell-view',
71941
- template: template$f,
71877
+ template: template$g,
71942
71878
  styles: styles$g
71943
71879
  });
71944
71880
  DesignSystem.getOrCreate().withPrefix('nimble').register(anchorCellView());
@@ -72016,7 +71952,7 @@ focus outline in that case.
72016
71952
  observable
72017
71953
  ], TableColumnTextGroupHeaderViewBase.prototype, "text", void 0);
72018
71954
 
72019
- const template$e = html `
71955
+ const template$f = html `
72020
71956
  <span
72021
71957
  ${overflow('hasOverflow')}
72022
71958
  title="${x => (x.hasOverflow && x.text ? x.text : null)}"
@@ -72049,7 +71985,7 @@ focus outline in that case.
72049
71985
  }
72050
71986
  const tableColumnTextGroupHeaderView = TableColumnTextGroupHeaderView.compose({
72051
71987
  baseName: 'table-column-text-group-header-view',
72052
- template: template$e,
71988
+ template: template$f,
72053
71989
  styles: styles$f
72054
71990
  });
72055
71991
  DesignSystem.getOrCreate()
@@ -72302,7 +72238,7 @@ focus outline in that case.
72302
72238
  ], TableColumnAnchor.prototype, "download", void 0);
72303
72239
  const nimbleTableColumnAnchor = TableColumnAnchor.compose({
72304
72240
  baseName: 'table-column-anchor',
72305
- template: template$g,
72241
+ template: template$h,
72306
72242
  styles: styles$h
72307
72243
  });
72308
72244
  DesignSystem.getOrCreate()
@@ -72355,7 +72291,7 @@ focus outline in that case.
72355
72291
  }
72356
72292
  const tableColumnDateTextGroupHeaderView = TableColumnDateTextGroupHeaderView.compose({
72357
72293
  baseName: 'table-column-date-text-group-header-view',
72358
- template: template$e,
72294
+ template: template$f,
72359
72295
  styles: styles$f
72360
72296
  });
72361
72297
  DesignSystem.getOrCreate()
@@ -72364,7 +72300,7 @@ focus outline in that case.
72364
72300
  const tableColumnDateTextGroupHeaderViewTag = 'nimble-table-column-date-text-group-header-view';
72365
72301
 
72366
72302
  // prettier-ignore
72367
- const template$d = html `
72303
+ const template$e = html `
72368
72304
  <template
72369
72305
  class="
72370
72306
  ${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}
@@ -72482,7 +72418,7 @@ focus outline in that case.
72482
72418
  }
72483
72419
  const dateTextCellView = TableColumnDateTextCellView.compose({
72484
72420
  baseName: 'table-column-date-text-cell-view',
72485
- template: template$d,
72421
+ template: template$e,
72486
72422
  styles: styles$e
72487
72423
  });
72488
72424
  DesignSystem.getOrCreate().withPrefix('nimble').register(dateTextCellView());
@@ -72743,7 +72679,7 @@ focus outline in that case.
72743
72679
  ], TableColumnDateText.prototype, "customHourCycle", void 0);
72744
72680
  const nimbleTableColumnDateText = TableColumnDateText.compose({
72745
72681
  baseName: 'table-column-date-text',
72746
- template: template$g,
72682
+ template: template$h,
72747
72683
  styles: styles$h
72748
72684
  });
72749
72685
  DesignSystem.getOrCreate()
@@ -72760,7 +72696,7 @@ focus outline in that case.
72760
72696
  }
72761
72697
  const durationTextCellView = TableColumnDurationTextCellView.compose({
72762
72698
  baseName: 'table-column-duration-text-cell-view',
72763
- template: template$d,
72699
+ template: template$e,
72764
72700
  styles: styles$e
72765
72701
  });
72766
72702
  DesignSystem.getOrCreate()
@@ -72862,7 +72798,7 @@ focus outline in that case.
72862
72798
  }
72863
72799
  const tableColumnDurationTextGroupHeaderView = TableColumnDurationTextGroupHeaderView.compose({
72864
72800
  baseName: 'table-column-duration-text-group-header-view',
72865
- template: template$e,
72801
+ template: template$f,
72866
72802
  styles: styles$f
72867
72803
  });
72868
72804
  DesignSystem.getOrCreate()
@@ -72915,7 +72851,7 @@ focus outline in that case.
72915
72851
  }
72916
72852
  const nimbleTableColumnDurationText = TableColumnDurationText.compose({
72917
72853
  baseName: 'table-column-duration-text',
72918
- template: template$g,
72854
+ template: template$h,
72919
72855
  styles: styles$h
72920
72856
  });
72921
72857
  DesignSystem.getOrCreate()
@@ -73032,7 +72968,7 @@ focus outline in that case.
73032
72968
  }
73033
72969
  `;
73034
72970
 
73035
- const template$c = html `${template$g}<slot ${slotted('mappings')} name="mapping"></slot>`;
72971
+ const template$d = html `${template$h}<slot ${slotted('mappings')} name="mapping"></slot>`;
73036
72972
 
73037
72973
  const enumBaseValidityFlagNames = [
73038
72974
  'invalidMappingKeyValueForType',
@@ -73143,7 +73079,7 @@ focus outline in that case.
73143
73079
  `;
73144
73080
 
73145
73081
  // prettier-ignore
73146
- const template$b = html `
73082
+ const template$c = html `
73147
73083
  ${when(x => x.visualizationTemplate, html `
73148
73084
  <span class="reserve-icon-size">
73149
73085
  ${x => x.visualizationTemplate}
@@ -73292,7 +73228,7 @@ focus outline in that case.
73292
73228
  ], TableColumnMappingGroupHeaderView.prototype, "visualizationTemplate", void 0);
73293
73229
  const mappingGroupHeaderView = TableColumnMappingGroupHeaderView.compose({
73294
73230
  baseName: 'table-column-mapping-group-header-view',
73295
- template: template$b,
73231
+ template: template$c,
73296
73232
  styles: styles$c
73297
73233
  });
73298
73234
  DesignSystem.getOrCreate()
@@ -73325,7 +73261,7 @@ focus outline in that case.
73325
73261
  `;
73326
73262
 
73327
73263
  // prettier-ignore
73328
- const template$a = html `
73264
+ const template$b = html `
73329
73265
  ${when(x => x.visualizationTemplate, html `
73330
73266
  <span class="reserve-icon-size">
73331
73267
  ${x => x.visualizationTemplate}
@@ -73412,7 +73348,7 @@ focus outline in that case.
73412
73348
  ], TableColumnMappingCellView.prototype, "hasOverflow", void 0);
73413
73349
  const mappingCellView = TableColumnMappingCellView.compose({
73414
73350
  baseName: 'table-column-mapping-cell-view',
73415
- template: template$a,
73351
+ template: template$b,
73416
73352
  styles: styles$b
73417
73353
  });
73418
73354
  DesignSystem.getOrCreate().withPrefix('nimble').register(mappingCellView());
@@ -73497,16 +73433,16 @@ focus outline in that case.
73497
73433
  ], TableColumnMapping.prototype, "widthMode", void 0);
73498
73434
  const nimbleTableColumnMapping = TableColumnMapping.compose({
73499
73435
  baseName: 'table-column-mapping',
73500
- template: template$c,
73436
+ template: template$d,
73501
73437
  styles: styles$d
73502
73438
  });
73503
73439
  DesignSystem.getOrCreate()
73504
73440
  .withPrefix('nimble')
73505
73441
  .register(nimbleTableColumnMapping());
73506
73442
 
73507
- const template$9 = html `
73443
+ const template$a = html `
73508
73444
  <template @delegated-event="${(x, c) => x.onDelegatedEvent(c.event)}"
73509
- >${template$g}</template
73445
+ >${template$h}</template
73510
73446
  >
73511
73447
  `;
73512
73448
 
@@ -73514,7 +73450,7 @@ focus outline in that case.
73514
73450
  const cellViewMenuSlotName = 'menu-button-menu';
73515
73451
 
73516
73452
  // prettier-ignore
73517
- const template$8 = html `
73453
+ const template$9 = html `
73518
73454
  ${when(x => x.showMenuButton, html `
73519
73455
  <${menuButtonTag}
73520
73456
  ${ref('menuButton')}
@@ -73608,7 +73544,7 @@ focus outline in that case.
73608
73544
  ], TableColumnMenuButtonCellView.prototype, "showMenuButton", null);
73609
73545
  const menuButtonCellView = TableColumnMenuButtonCellView.compose({
73610
73546
  baseName: 'table-column-menu-button-cell-view',
73611
- template: template$8,
73547
+ template: template$9,
73612
73548
  styles: styles$a
73613
73549
  });
73614
73550
  DesignSystem.getOrCreate().withPrefix('nimble').register(menuButtonCellView());
@@ -73664,7 +73600,7 @@ focus outline in that case.
73664
73600
  ], TableColumnMenuButton.prototype, "menuSlot", void 0);
73665
73601
  const nimbleTableColumnMenuButton = TableColumnMenuButton.compose({
73666
73602
  baseName: 'table-column-menu-button',
73667
- template: template$9,
73603
+ template: template$a,
73668
73604
  styles: styles$h
73669
73605
  });
73670
73606
  DesignSystem.getOrCreate()
@@ -73674,7 +73610,7 @@ focus outline in that case.
73674
73610
  // Avoiding a wrapping <template> and be careful about starting and ending whitespace
73675
73611
  // so the template can be composed into other column header templates
73676
73612
  // prettier-ignore
73677
- const template$7 = html `<span
73613
+ const template$8 = html `<span
73678
73614
  ${overflow('hasOverflow')}
73679
73615
  class="header-content"
73680
73616
  title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
@@ -73693,7 +73629,7 @@ focus outline in that case.
73693
73629
  }
73694
73630
  const tableColumnNumberTextGroupHeaderView = TableColumnNumberTextGroupHeaderView.compose({
73695
73631
  baseName: 'table-column-number-text-group-header-view',
73696
- template: template$e,
73632
+ template: template$f,
73697
73633
  styles: styles$f
73698
73634
  });
73699
73635
  DesignSystem.getOrCreate()
@@ -73715,7 +73651,7 @@ focus outline in that case.
73715
73651
  }
73716
73652
  const numberTextCellView = TableColumnNumberTextCellView.compose({
73717
73653
  baseName: 'table-column-number-text-cell-view',
73718
- template: template$d,
73654
+ template: template$e,
73719
73655
  styles: styles$e
73720
73656
  });
73721
73657
  DesignSystem.getOrCreate().withPrefix('nimble').register(numberTextCellView());
@@ -74257,7 +74193,7 @@ focus outline in that case.
74257
74193
  ], TableColumnNumberText.prototype, "unit", void 0);
74258
74194
  const nimbleTableColumnNumberText = TableColumnNumberText.compose({
74259
74195
  baseName: 'table-column-number-text',
74260
- template: template$7,
74196
+ template: template$8,
74261
74197
  styles: styles$h
74262
74198
  });
74263
74199
  DesignSystem.getOrCreate()
@@ -74276,7 +74212,7 @@ focus outline in that case.
74276
74212
  }
74277
74213
  const textCellView = TableColumnTextCellView.compose({
74278
74214
  baseName: 'table-column-text-cell-view',
74279
- template: template$d,
74215
+ template: template$e,
74280
74216
  styles: styles$e
74281
74217
  });
74282
74218
  DesignSystem.getOrCreate().withPrefix('nimble').register(textCellView());
@@ -74331,7 +74267,7 @@ focus outline in that case.
74331
74267
  }
74332
74268
  const nimbleTableColumnText = TableColumnText.compose({
74333
74269
  baseName: 'table-column-text',
74334
- template: template$g,
74270
+ template: template$h,
74335
74271
  styles: styles$h
74336
74272
  });
74337
74273
  DesignSystem.getOrCreate()
@@ -74420,7 +74356,7 @@ focus outline in that case.
74420
74356
  const nimbleTabs = Tabs.compose({
74421
74357
  baseName: 'tabs',
74422
74358
  baseClass: Tabs$1,
74423
- template: template$G,
74359
+ template: template$I,
74424
74360
  styles: styles$9
74425
74361
  });
74426
74362
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabs());
@@ -74444,7 +74380,7 @@ focus outline in that case.
74444
74380
  }
74445
74381
  `;
74446
74382
 
74447
- const template$6 = html `
74383
+ const template$7 = html `
74448
74384
  <template slot="end">
74449
74385
  <div class="separator"></div>
74450
74386
  <slot></slot>
@@ -74458,7 +74394,7 @@ focus outline in that case.
74458
74394
  }
74459
74395
  const nimbleTabsToolbar = TabsToolbar.compose({
74460
74396
  baseName: 'tabs-toolbar',
74461
- template: template$6,
74397
+ template: template$7,
74462
74398
  styles: styles$8
74463
74399
  });
74464
74400
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabsToolbar());
@@ -74632,7 +74568,7 @@ focus outline in that case.
74632
74568
  }
74633
74569
  `));
74634
74570
 
74635
- const template$5 = () => html `
74571
+ const template$6 = () => html `
74636
74572
  <label
74637
74573
  part="label"
74638
74574
  for="control"
@@ -74781,7 +74717,7 @@ focus outline in that case.
74781
74717
  const nimbleTextArea = TextArea.compose({
74782
74718
  baseName: 'text-area',
74783
74719
  baseClass: TextArea$1,
74784
- template: template$5,
74720
+ template: template$6,
74785
74721
  styles: styles$7,
74786
74722
  shadowOptions: {
74787
74723
  delegatesFocus: true
@@ -75038,6 +74974,77 @@ focus outline in that case.
75038
74974
  }
75039
74975
  `));
75040
74976
 
74977
+ /**
74978
+ * The template for the {@link @microsoft/fast-foundation#(TextField:class)} component.
74979
+ * @public
74980
+ */
74981
+ const template$5 = (context, definition) => html `
74982
+ <template
74983
+ class="
74984
+ ${x => (x.readOnly ? 'readonly' : '')}
74985
+ "
74986
+ >
74987
+ <label
74988
+ part="label"
74989
+ for="control"
74990
+ class="${x => (x.defaultSlottedNodes?.length
74991
+ ? 'label'
74992
+ : 'label label__hidden')}"
74993
+ >
74994
+ <slot
74995
+ ${slotted({
74996
+ property: 'defaultSlottedNodes',
74997
+ filter: whitespaceFilter
74998
+ })}
74999
+ ></slot>
75000
+ </label>
75001
+ <div class="root" part="root">
75002
+ ${startSlotTemplate(context, definition)}
75003
+ <input
75004
+ class="control"
75005
+ part="control"
75006
+ id="control"
75007
+ @input="${x => x.handleTextInput()}"
75008
+ @change="${x => x.handleChange()}"
75009
+ ?autofocus="${x => x.autofocus}"
75010
+ ?disabled="${x => x.disabled}"
75011
+ list="${x => x.list}"
75012
+ maxlength="${x => x.maxlength}"
75013
+ minlength="${x => x.minlength}"
75014
+ pattern="${x => x.pattern}"
75015
+ placeholder="${x => x.placeholder}"
75016
+ ?readonly="${x => x.readOnly}"
75017
+ ?required="${x => x.required}"
75018
+ size="${x => x.size}"
75019
+ ?spellcheck="${x => x.spellcheck}"
75020
+ :value="${x => x.value}"
75021
+ type="${x => x.type}"
75022
+ aria-atomic="${x => x.ariaAtomic}"
75023
+ aria-busy="${x => x.ariaBusy}"
75024
+ aria-controls="${x => x.ariaControls}"
75025
+ aria-current="${x => x.ariaCurrent}"
75026
+ aria-describedby="${x => x.ariaDescribedby}"
75027
+ aria-details="${x => x.ariaDetails}"
75028
+ aria-disabled="${x => x.ariaDisabled}"
75029
+ aria-errormessage="${x => x.ariaErrormessage}"
75030
+ aria-flowto="${x => x.ariaFlowto}"
75031
+ aria-haspopup="${x => x.ariaHaspopup}"
75032
+ aria-hidden="${x => x.ariaHidden}"
75033
+ aria-invalid="${x => x.ariaInvalid}"
75034
+ aria-keyshortcuts="${x => x.ariaKeyshortcuts}"
75035
+ aria-label="${x => x.ariaLabel}"
75036
+ aria-labelledby="${x => x.ariaLabelledby}"
75037
+ aria-live="${x => x.ariaLive}"
75038
+ aria-owns="${x => x.ariaOwns}"
75039
+ aria-relevant="${x => x.ariaRelevant}"
75040
+ aria-roledescription="${x => x.ariaRoledescription}"
75041
+ ${ref('control')}
75042
+ />
75043
+ ${endSlotTemplate(context, definition)}
75044
+ </div>
75045
+ </template>
75046
+ `;
75047
+
75041
75048
  /**
75042
75049
  * A nimble-styed HTML text input
75043
75050
  */
@@ -75064,7 +75071,7 @@ focus outline in that case.
75064
75071
  const nimbleTextField = TextField.compose({
75065
75072
  baseName: 'text-field',
75066
75073
  baseClass: TextField$1,
75067
- template: textFieldTemplate,
75074
+ template: template$5,
75068
75075
  styles: styles$6,
75069
75076
  shadowOptions: {
75070
75077
  delegatesFocus: true