@nova-design-system/nova-react 3.9.0 → 3.9.1

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.
Files changed (42) hide show
  1. package/dist/cjs/{index-BPZo04LR.js → index-BtjpbnUr.js} +165 -172
  2. package/dist/cjs/index.js +1 -1
  3. package/dist/cjs/{nv-accordion-item.entry-igHq6GcV.js → nv-accordion-item.entry-Dr_2iHhQ.js} +1 -1
  4. package/dist/cjs/{nv-accordion.entry-CjUtVUBZ.js → nv-accordion.entry-CYVpcwuY.js} +1 -1
  5. package/dist/cjs/{nv-alert.entry-NETR8Q1I.js → nv-alert.entry-C_H-R9wb.js} +1 -1
  6. package/dist/cjs/{nv-avatar.entry-B75vfd1u.js → nv-avatar.entry-BeSOqGvb.js} +1 -1
  7. package/dist/cjs/{nv-badge_2.entry-CAvYBnR-.js → nv-badge_2.entry-BGWUswPo.js} +1 -1
  8. package/dist/cjs/{nv-breadcrumb.entry-21ZDbr-x.js → nv-breadcrumb.entry-yQozUTFi.js} +1 -1
  9. package/dist/cjs/{nv-breadcrumbs.entry-CrqqjIzx.js → nv-breadcrumbs.entry-Qar1fOI7.js} +1 -1
  10. package/dist/cjs/{nv-button.entry-D-2Zt42f.js → nv-button.entry-M_c4r8PX.js} +1 -1
  11. package/dist/cjs/{nv-calendar.entry-BHT-inlG.js → nv-calendar.entry-DFE372aB.js} +10 -4
  12. package/dist/cjs/{nv-col.entry-AHfSMqc1.js → nv-col.entry-Bi8pH33J.js} +1 -1
  13. package/dist/cjs/{nv-datagrid.entry-BRT5wQGR.js → nv-datagrid.entry-B-blFDg-.js} +1 -1
  14. package/dist/cjs/{nv-datagridcolumn.entry-BMDydM-l.js → nv-datagridcolumn.entry-CAzB7NtB.js} +1 -1
  15. package/dist/cjs/{nv-dialog.entry-NPDVQdjH.js → nv-dialog.entry-Bdw3O22w.js} +1 -1
  16. package/dist/cjs/{nv-dialogfooter_2.entry-CyHKMRiZ.js → nv-dialogfooter_2.entry-BTUrxVzn.js} +1 -1
  17. package/dist/cjs/{nv-fieldcheckbox.entry-DyoNGs60.js → nv-fieldcheckbox.entry-DNzC8s-J.js} +1 -1
  18. package/dist/cjs/{nv-fielddate.entry-CgnVYTZx.js → nv-fielddate.entry-BI8REINj.js} +63 -95
  19. package/dist/cjs/{nv-fielddaterange.entry-DVcNJ2nO.js → nv-fielddaterange.entry-B7mtEV97.js} +53 -34
  20. package/dist/cjs/{nv-fielddropdown.entry-D1Gb5Lvr.js → nv-fielddropdown.entry-Cz7yuHTj.js} +1 -1
  21. package/dist/cjs/{nv-fielddropdownitem.entry-D1YDyF8i.js → nv-fielddropdownitem.entry-CH_C4Dr-.js} +1 -1
  22. package/dist/cjs/{nv-fieldmultiselect.entry-eOD0Tk6H.js → nv-fieldmultiselect.entry-BqEdEUR0.js} +1 -1
  23. package/dist/cjs/{nv-fieldnumber.entry-C0S5sB8-.js → nv-fieldnumber.entry-BhRb8v1L.js} +1 -1
  24. package/dist/cjs/{nv-fieldpassword.entry-BwK_EseD.js → nv-fieldpassword.entry-BL4T90zr.js} +1 -1
  25. package/dist/cjs/{nv-fieldradio.entry-DseYLmZY.js → nv-fieldradio.entry-D-x10Pri.js} +1 -1
  26. package/dist/cjs/{nv-fieldselect.entry-CO4wZVq5.js → nv-fieldselect.entry-B-kynHlw.js} +1 -1
  27. package/dist/cjs/{nv-fieldslider.entry-Bd_ntnN9.js → nv-fieldslider.entry-D6X0LJKJ.js} +1 -1
  28. package/dist/cjs/{nv-fieldtext.entry-BomXuhfy.js → nv-fieldtext.entry-xR41AQcM.js} +1 -1
  29. package/dist/cjs/{nv-fieldtextarea.entry-COUlp8L8.js → nv-fieldtextarea.entry-4mqhSSHM.js} +1 -1
  30. package/dist/cjs/{nv-fieldtime.entry-Ejb66NjT.js → nv-fieldtime.entry-S3r7RYwN.js} +1 -1
  31. package/dist/cjs/{nv-icon.entry-DZgf515j.js → nv-icon.entry-C2t6pj-B.js} +1 -1
  32. package/dist/cjs/{nv-iconbutton_2.entry-C7cXslTK.js → nv-iconbutton_2.entry-Cv1d6ktl.js} +1 -1
  33. package/dist/cjs/{nv-menu.entry-Bd2VP2mz.js → nv-menu.entry-J_Ytq1Kn.js} +1 -1
  34. package/dist/cjs/{nv-menuitem.entry-COtjh76S.js → nv-menuitem.entry-DpOO9tMo.js} +1 -1
  35. package/dist/cjs/{nv-popover.entry-BNDaFpW5.js → nv-popover.entry-BZJHJXSA.js} +1 -1
  36. package/dist/cjs/{nv-row.entry-Aae5W4O5.js → nv-row.entry-D4qBjtBv.js} +1 -1
  37. package/dist/cjs/{nv-stack.entry-sV1xr1W5.js → nv-stack.entry-DOc6ZvMZ.js} +1 -1
  38. package/dist/cjs/{nv-table.entry-Dwq9q1W7.js → nv-table.entry-7-TxQSlH.js} +1 -1
  39. package/dist/cjs/{nv-tablecolumn.entry-_lJgMLCe.js → nv-tablecolumn.entry-Bd4xWDYD.js} +1 -1
  40. package/dist/cjs/{nv-toggle.entry-COR80n7Q.js → nv-toggle.entry-DJmXXavz.js} +1 -1
  41. package/dist/cjs/{nv-tooltip.entry-BOB0Y-Wc.js → nv-tooltip.entry-D9nl_ejz.js} +1 -1
  42. package/package.json +1 -1
package/dist/cjs/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BPZo04LR.js');
3
+ var index = require('./index-BtjpbnUr.js');
4
4
  require('react');
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BPZo04LR.js');
3
+ var index = require('./index-BtjpbnUr.js');
4
4
  var collapse_animation16e3af45 = require('./collapse.animation-16e3af45-CChx_tQJ.js');
5
5
  require('./stylefire.es-74da334a-y0piPjlz.js');
6
6
  require('react');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BPZo04LR.js');
3
+ var index = require('./index-BtjpbnUr.js');
4
4
  require('react');
5
5
 
6
6
  const nvAccordionCss = "nv-accordion{display:block;border:var(--spacing-px) solid var(--color-content-low-border);border-radius:var(--radius-rounded-lg)}nv-accordion .nv-accordion__footer{padding:var(--spacing-3);background:var(--color-level-05-background);border-radius:0 0 var(--radius-rounded-lg) var(--radius-rounded-lg);margin-top:calc(var(--spacing-px) * -1);border-top:var(--spacing-px) solid var(--color-content-low-border)}nv-accordion .nv-accordion__footer:empty{display:none}";
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BPZo04LR.js');
3
+ var index = require('./index-BtjpbnUr.js');
4
4
  var clsx297c1ffe = require('./clsx-297c1ffe-BtxeOLZW.js');
5
5
  var constants4faa1fae = require('./constants-4faa1fae-BzFAKCkR.js');
6
6
  var collapse_animation16e3af45 = require('./collapse.animation-16e3af45-CChx_tQJ.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BPZo04LR.js');
3
+ var index = require('./index-BtjpbnUr.js');
4
4
  var clsx297c1ffe = require('./clsx-297c1ffe-BtxeOLZW.js');
5
5
  var constants4faa1fae = require('./constants-4faa1fae-BzFAKCkR.js');
6
6
  require('react');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BPZo04LR.js');
3
+ var index = require('./index-BtjpbnUr.js');
4
4
  var clsx297c1ffe = require('./clsx-297c1ffe-BtxeOLZW.js');
5
5
  var collapse_animation16e3af45 = require('./collapse.animation-16e3af45-CChx_tQJ.js');
6
6
  var fade_animation71e8e34c = require('./fade.animation-71e8e34c-BAw_TYsB.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BPZo04LR.js');
3
+ var index = require('./index-BtjpbnUr.js');
4
4
  var clsx297c1ffe = require('./clsx-297c1ffe-BtxeOLZW.js');
5
5
  require('react');
6
6
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BPZo04LR.js');
3
+ var index = require('./index-BtjpbnUr.js');
4
4
  require('react');
5
5
 
6
6
  const nvBreadcrumbsCss = "nv-breadcrumbs{display:block}nv-breadcrumbs>ol{display:flex;flex-wrap:wrap;align-items:center;gap:var(--breadcrumb-padding-y)}nv-breadcrumbs nv-breadcrumb:last-child [data-scope=separator],nv-breadcrumbs nv-breadcrumb:last-child [slot=separator]{display:none}";
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BPZo04LR.js');
3
+ var index = require('./index-BtjpbnUr.js');
4
4
  var constants4faa1fae = require('./constants-4faa1fae-BzFAKCkR.js');
5
5
  require('react');
6
6
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BPZo04LR.js');
3
+ var index = require('./index-BtjpbnUr.js');
4
4
  var constants4faa1fae = require('./constants-4faa1fae-BzFAKCkR.js');
5
5
  var _commonjsHelpers1789f0cf = require('./_commonjsHelpers-1789f0cf-BJu3ubxk.js');
6
6
  require('react');
@@ -498,6 +498,12 @@ const NvCalendar = class {
498
498
  .split(',')
499
499
  .map(v => v.trim())
500
500
  .filter(Boolean);
501
+ if (this.selectionType === 'range' && values.length < 2) {
502
+ console.warn(`Invalid date range format: ${value}`);
503
+ this.startDate = null;
504
+ this.endDate = null;
505
+ return;
506
+ }
501
507
  if (this.selectionType === 'single' && values.length >= 1) {
502
508
  const parsedDate = parseDate(values[0], this.dateFormat);
503
509
  if (parsedDate) {
@@ -542,7 +548,7 @@ const NvCalendar = class {
542
548
  }
543
549
  else {
544
550
  // Handle malformed dates gracefully - reset state
545
- console.warn(`Invalid date range format: ${values[0]}, ${values[1]}`);
551
+ console.warn(`Invalid date range format: ${values === null || values === void 0 ? void 0 : values[0]}, ${values === null || values === void 0 ? void 0 : values[1]}`);
546
552
  this.startDate = null;
547
553
  this.endDate = null;
548
554
  if (!this.showActions) {
@@ -1305,8 +1311,8 @@ const NvCalendar = class {
1305
1311
  * @slot default - Child content of the component.
1306
1312
  */
1307
1313
  render() {
1308
- return (index.h(index.Host, { key: '7abeb96312f2bcf26eed3a133ef59d5d3b5b528f' }, index.h("div", { key: 'e0b2db720853551e3b6445e92b39b418123cb83e', class: "datepicker-root" }, index.h("div", { key: '1a83c285278c440c4e33ae770a033974e4924830', class: `datepicker-container ${this.numberOfCalendars === 1 ? 'datepicker-container-single' : ''}` }, index.h("div", { key: '3481fe780a3e1d8f0c1e22ffc82c3b7830721055', class: `datepicker-wrapper ${this.numberOfCalendars === 1 ? 'single' : ''}` }, this.shortcutsPlacement === 'left' && this.renderShortcuts(), Array.from({ length: this.numberOfCalendars }, (_, index) => this.renderCalendar(index, index)), this.shortcutsPlacement === 'right' && this.renderShortcuts()), ((this.hasShortcuts && this.shortcutsPlacement === 'bottom') ||
1309
- this.hasActions) && (index.h("div", { key: '3a644bdc993142c181c45173756e362025d4a23a', class: "datepicker-controls" }, this.shortcutsPlacement === 'bottom' && this.renderShortcuts(), this.hasActions && this.renderActions())))), index.h("slot", { key: '4a4290ccf63429a9a88cfd95a33b4fdc34c8ef74' })));
1314
+ return (index.h(index.Host, { key: '492526a4a9ed114aba804db45f49847b1db58c9f' }, index.h("div", { key: '632759b4eb6c65c3b082b707fba75568ed351e49', class: "datepicker-root" }, index.h("div", { key: '8dc6160dec8ed46e2d2f70e3154cd73cbaeee586', class: `datepicker-container ${this.numberOfCalendars === 1 ? 'datepicker-container-single' : ''}` }, index.h("div", { key: '55b1c7f8bcda0785ca63a1572bfebc628a3971d5', class: `datepicker-wrapper ${this.numberOfCalendars === 1 ? 'single' : ''}` }, this.shortcutsPlacement === 'left' && this.renderShortcuts(), Array.from({ length: this.numberOfCalendars }, (_, index) => this.renderCalendar(index, index)), this.shortcutsPlacement === 'right' && this.renderShortcuts()), ((this.hasShortcuts && this.shortcutsPlacement === 'bottom') ||
1315
+ this.hasActions) && (index.h("div", { key: '7234a6d497fccdcab8923b5235f591f24061c92d', class: "datepicker-controls" }, this.shortcutsPlacement === 'bottom' && this.renderShortcuts(), this.hasActions && this.renderActions())))), index.h("slot", { key: '1a23c6e92ffbc8ca64b42ff41ed6d106a3697e7f' })));
1310
1316
  }
1311
1317
  get el() { return index.getElement(this); }
1312
1318
  static get watchers() { return {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BPZo04LR.js');
3
+ var index = require('./index-BtjpbnUr.js');
4
4
  var clsx297c1ffe = require('./clsx-297c1ffe-BtxeOLZW.js');
5
5
  require('react');
6
6
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BPZo04LR.js');
3
+ var index = require('./index-BtjpbnUr.js');
4
4
  var dom_utilsAc71e0ef = require('./dom.utils-ac71e0ef-CmIwRr6O.js');
5
5
  var constants4faa1fae = require('./constants-4faa1fae-BzFAKCkR.js');
6
6
  require('react');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BPZo04LR.js');
3
+ var index = require('./index-BtjpbnUr.js');
4
4
  require('react');
5
5
 
6
6
  const NvDatagridcolumn = class {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BPZo04LR.js');
3
+ var index = require('./index-BtjpbnUr.js');
4
4
  var events_utilsFe1d907f = require('./events.utils-fe1d907f-01N__3wY.js');
5
5
  var clsx297c1ffe = require('./clsx-297c1ffe-BtxeOLZW.js');
6
6
  var constants4faa1fae = require('./constants-4faa1fae-BzFAKCkR.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BPZo04LR.js');
3
+ var index = require('./index-BtjpbnUr.js');
4
4
  var constants4faa1fae = require('./constants-4faa1fae-BzFAKCkR.js');
5
5
  require('react');
6
6
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BPZo04LR.js');
3
+ var index = require('./index-BtjpbnUr.js');
4
4
  var clsx297c1ffe = require('./clsx-297c1ffe-BtxeOLZW.js');
5
5
  var v4A79185f4 = require('./v4-a79185f4-2n0dOd_Y.js');
6
6
  require('react');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BPZo04LR.js');
3
+ var index = require('./index-BtjpbnUr.js');
4
4
  var inputmaskEdcad3c1 = require('./inputmask-edcad3c1-B9Omti4z.js');
5
5
  var v4A79185f4 = require('./v4-a79185f4-2n0dOd_Y.js');
6
6
  require('react');
@@ -49,8 +49,6 @@ const NvFielddate = class {
49
49
  * The initial value of the input (date in string format).
50
50
  * @bind value
51
51
  */
52
- // eslint-disable-next-line @stencil-community/own-props-must-be-private
53
- // eslint-disable-next-line @stencil-community/strict-mutable
54
52
  this.value = '';
55
53
  /**
56
54
  * The current value of the input date in string format.
@@ -122,18 +120,10 @@ const NvFielddate = class {
122
120
  return;
123
121
  }
124
122
  this.inputElement.focus();
125
- // Select the first characters based on the date format
126
- const format = this.dateFormat;
127
- if (format.startsWith('DD') || format.startsWith('MM')) {
128
- this.inputElement.setSelectionRange(0, 2);
129
- }
130
- else if (format.startsWith('YYYY')) {
131
- this.inputElement.setSelectionRange(0, 4);
132
- }
133
123
  };
134
124
  /**
135
125
  * Handles the input event on the input element.
136
- * Updates the singleValue and emits the valueChanged event.
126
+ * Updates the singleValue and emits the valueChanged event if empty.
137
127
  * @param {Event} event - The input event.
138
128
  */
139
129
  this.handleInput = (event) => {
@@ -142,74 +132,10 @@ const NvFielddate = class {
142
132
  return;
143
133
  }
144
134
  const input = event.target;
145
- const previousValue = this.value;
146
135
  this.singleValue = input.value;
147
136
  this.value = input.value;
148
- // Only emit valueChanged if the value actually changed
149
- if (previousValue !== input.value) {
150
- this.valueChanged.emit(input.value);
151
- }
152
- };
153
- /**
154
- * Initializes the input mask.
155
- */
156
- this.initializeInputMask = () => {
157
- this.currentPlaceholder = '';
158
- if (this.inputElement.inputmask) {
159
- return;
160
- }
161
- const inputMask = new inputmaskEdcad3c1.Inputmask({
162
- alias: 'datetime',
163
- inputFormat: this.convertToInputmaskFormat(this.dateFormat),
164
- placeholder: ' ',
165
- prefillYear: false,
166
- clearIncomplete: false,
167
- showMaskOnHover: false,
168
- showMaskOnFocus: false,
169
- clearMaskOnLostFocus: false,
170
- insertMode: true,
171
- rightAlign: false,
172
- oncomplete: function (e) {
173
- const input = e.target;
174
- const event = new CustomEvent('input', { bubbles: true });
175
- input.dispatchEvent(event);
176
- },
177
- });
178
- inputMask.mask(this.inputElement);
179
- // Set the value after applying the mask
180
- if (this.inputElement.name === this.name && this.singleValue) {
181
- requestAnimationFrame(() => {
182
- this.inputElement.value = this.singleValue;
183
- const event = new CustomEvent('input', { bubbles: true });
184
- this.inputElement.dispatchEvent(event);
185
- });
186
- }
187
- };
188
- /**
189
- * Handles keydown events on the input before the mask is initialized.
190
- * Initializes the mask on the first number input.
191
- * @param {KeyboardEvent} event - The keyboard event.
192
- */
193
- this.handleKeydownBeforeMask = (event) => {
194
- const allowedKeys = [
195
- 'Backspace',
196
- 'Delete',
197
- 'Tab',
198
- 'ArrowLeft',
199
- 'ArrowRight',
200
- 'ArrowUp',
201
- 'ArrowDown',
202
- 'Home',
203
- 'End',
204
- ];
205
- if (/\d/.test(event.key)) {
206
- this.initializeInputMask();
207
- this.inputElement.removeEventListener('keydown', this.handleKeydownBeforeMask);
208
- }
209
- else if (!allowedKeys.includes(event.key) &&
210
- !event.metaKey &&
211
- !event.ctrlKey) {
212
- event.preventDefault();
137
+ if (this.value === '') {
138
+ this.valueChanged.emit('');
213
139
  }
214
140
  };
215
141
  /**
@@ -222,17 +148,8 @@ const NvFielddate = class {
222
148
  event.target.blur();
223
149
  return;
224
150
  }
225
- if (!this.inputElement.inputmask) {
226
- this.inputElement.addEventListener('keydown', this.handleKeydownBeforeMask);
227
- }
228
151
  this.open = true;
229
152
  };
230
- /**
231
- * Handles blur events on the input element.
232
- */
233
- this.handleBlur = () => {
234
- this.inputElement.removeEventListener('keydown', this.handleKeydownBeforeMask);
235
- };
236
153
  /**
237
154
  * Prevents the valueChanged event from the calendar from propagating up.
238
155
  * @param {CustomEvent} event - The valueChanged event from nv-calendar.
@@ -307,6 +224,27 @@ const NvFielddate = class {
307
224
  // Close the popover if open
308
225
  this.open = false;
309
226
  }
227
+ updateMask() {
228
+ var _a, _b;
229
+ if (!this.inputElement)
230
+ return;
231
+ (_b = (_a = this.inputElement.inputmask) === null || _a === void 0 ? void 0 : _a.remove) === null || _b === void 0 ? void 0 : _b.call(_a);
232
+ const inputMask = new inputmaskEdcad3c1.Inputmask({
233
+ alias: 'datetime',
234
+ inputFormat: this.convertToInputmaskFormat(this.dateFormat),
235
+ placeholder: this.convertToInputmaskFormat(this.dateFormat),
236
+ clearIncomplete: false,
237
+ showMaskOnHover: false,
238
+ showMaskOnFocus: true,
239
+ clearMaskOnLostFocus: !this.open,
240
+ postValidation: true,
241
+ oncomplete: (e) => {
242
+ var _a;
243
+ this.valueChanged.emit((_a = e.target) === null || _a === void 0 ? void 0 : _a.value);
244
+ },
245
+ });
246
+ inputMask.mask(this.inputElement);
247
+ }
310
248
  //#endregion METHODS
311
249
  /****************************************************************************/
312
250
  //#region LIFECYCLE
@@ -317,10 +255,26 @@ const NvFielddate = class {
317
255
  if (this.value) {
318
256
  this.singleValue = this.value;
319
257
  }
320
- this.currentPlaceholder = this.placeholder || this.dateFormat;
321
258
  }
322
259
  componentDidLoad() {
323
- // Inputmask is now initialized on the first keypress
260
+ this.updateMask();
261
+ // Set the initial value after applying the mask
262
+ if (this.inputElement.name === this.name && this.singleValue) {
263
+ requestAnimationFrame(() => {
264
+ this.inputElement.value = this.singleValue;
265
+ const event = new CustomEvent('input', { bubbles: true });
266
+ this.inputElement.dispatchEvent(event);
267
+ });
268
+ }
269
+ }
270
+ componentDidRender() {
271
+ // Only set value on initial render when there's no existing value in the input
272
+ if (this.singleValue && this.inputElement && !this.inputElement.value) {
273
+ requestAnimationFrame(() => {
274
+ this.inputElement.value = this.singleValue;
275
+ this.inputElement.setAttribute('value', this.singleValue);
276
+ });
277
+ }
324
278
  }
325
279
  disconnectedCallback() {
326
280
  document.removeEventListener('click', this.handleClickOutside);
@@ -339,6 +293,10 @@ const NvFielddate = class {
339
293
  const previousValue = this.value;
340
294
  this.singleValue = value;
341
295
  this.value = value;
296
+ // Set the input value directly when calendar is used
297
+ if (this.inputElement) {
298
+ this.inputElement.value = value;
299
+ }
342
300
  // Only emit valueChanged if the value actually changed
343
301
  if (previousValue !== value) {
344
302
  this.valueChanged.emit(value);
@@ -367,21 +325,31 @@ const NvFielddate = class {
367
325
  }
368
326
  handleValueChange(newValue) {
369
327
  this.singleValue = newValue;
328
+ // Only set input value if it's different from current input value
329
+ // This prevents interfering with user typing
330
+ if (this.inputElement && this.inputElement.value !== newValue) {
331
+ this.inputElement.value = newValue;
332
+ }
333
+ }
334
+ handleOpenChange() {
335
+ this.updateMask();
370
336
  }
371
337
  //#endregion EVENTS
372
338
  /****************************************************************************/
373
339
  //#region RENDER
374
340
  render() {
375
- return (index.h(index.Host, { key: '45af13d8290479c8ec171c0702d9d695c5047610' }, ((this.label && this.label.length > 0) ||
376
- this.el.querySelector('[slot="label"]')) && (index.h("label", { key: 'd30403c879f8ca0449d8d25d22bb401ece876758', htmlFor: this.inputId }, index.h("slot", { key: 'aec155a914cff6b7ea8170dbd1f0d9ee4f35172e', name: "label" }, this.label))), index.h("nv-popover", { key: '522969535f2b8340f1a9b425c4ea6291fc65cb7e', ref: this.setPopoverRef, id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, index.h("div", { key: 'eb1d5ab314fe654b3642afb22d9e3fbc340de969', slot: "trigger", class: "input-wrapper" }, index.h("slot", { key: '6c28354e914075c36db9bee659d140669a745cab', name: "before-input" }), index.h("div", { key: '68d3aa4a8afcec4042a8930678cea7046f3e31d7', class: "input-container", onClick: this.handleInputContainerClick }, index.h("slot", { key: 'ed7ada6913a6735af622369236b5f521f2e96aad', name: "leading-input" }), index.h("input", { key: '49607b25253233665544e8e85db3814734280fe0', id: this.inputId, ref: this.setInputRef, placeholder: this.currentPlaceholder, name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.autofocus, value: this.singleValue, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, "data-scope": "date" }), this.error && (index.h("nv-icon", { key: '35d06926d78f7c653fbf0424b59802fb4489004a', name: "alert-circle", class: "validation", size: "md" })), this.success && (index.h("nv-icon", { key: '17ca631dca201fb412c921619223c1abc8777d2b', name: "circle-check", class: "validation", size: "md" })), index.h("nv-iconbutton", { key: 'e08d735115cde3d22a657b986f4a7a5a0347d1af', class: "toggle-calendar-icon", name: "calendar" //{this.open ? 'chevron-top' : 'chevron-down'}
341
+ return (index.h(index.Host, { key: 'e72afd15f69aa6267cc9444e63fae12e4cfcf05b' }, ((this.label && this.label.length > 0) ||
342
+ this.el.querySelector('[slot="label"]')) && (index.h("label", { key: 'bc13c15f74ac4dbe4b326fe479dcd9a6fb20cf40', htmlFor: this.inputId }, index.h("slot", { key: '30ae9788e7768adc9da95e0b89a3f6f7027e625f', name: "label" }, this.label))), index.h("nv-popover", { key: 'e043d7b021d1d7ee206d231a1cfc7b4541091ae5', ref: this.setPopoverRef, id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, index.h("div", { key: '75682a712a8276bc24b285a48ef2312aae9f5097', slot: "trigger", class: "input-wrapper" }, index.h("slot", { key: '17593b316a870a5edbbc50eb4bb9441759309612', name: "before-input" }), index.h("div", { key: '0eb576fbe4a800ed7e1583810986e5f7f07e175a', class: "input-container", onClick: this.handleInputContainerClick }, index.h("slot", { key: 'c058ea07757486cf69621deba85ebbec3b075779', name: "leading-input" }), index.h("input", { key: '4c31a633358ff96f774a7862507c4c40301062cb', id: this.inputId, ref: this.setInputRef, placeholder: this.placeholder ||
343
+ this.convertToInputmaskFormat(this.dateFormat), name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.autofocus, onInput: this.handleInput, onFocus: this.handleFocus, "data-scope": "date" }), this.error && (index.h("nv-icon", { key: '036392f177a0c10f609e7b555c3e7f256cd63962', name: "alert-circle", class: "validation", size: "md" })), this.success && (index.h("nv-icon", { key: '5a74ecdd55177d8cda55e8afdb05978e23450346', name: "circle-check", class: "validation", size: "md" })), index.h("nv-iconbutton", { key: 'e07f8b69d1810430cffff071d39ca7c72a15ccaf', class: "toggle-calendar-icon", name: "calendar" //{this.open ? 'chevron-top' : 'chevron-down'}
377
344
  ,
378
- size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', "aria-pressed": this.open.toString(), onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), index.h("slot", { key: '75cf593c7b9f2078f055522d6e43440dbe0cc522', name: "after-input" })), index.h("div", { key: '0df8cd2360a17f5cc786e6b29c67ded308c18104', slot: "content" }, index.h("nv-calendar", { key: '045a02370ef9dfe31ae3d0b2f702fafb25c7da8f', dateFormat: this.dateFormat, singleValue: this.singleValue, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates, onValueChanged: this.handleCalendarValueChanged }))), ((this.description && this.description.length > 0) ||
379
- this.el.querySelector('[slot="description"]')) && (index.h("div", { key: 'ecedbfe16857d9976349f3f3875be13f9ffc4b53', class: "description" }, index.h("slot", { key: 'e848d9e03e169c9ac57ce2fb7cdb00466f658c61', name: "description" }, this.description))), (this.errorDescription ||
380
- this.el.querySelector('[slot="error-description"]')) && (index.h("div", { key: '028b4d496ba3ee5eefa0107da8a62c771709a3ed', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (index.h("slot", { name: "error-description" })) : (this.errorDescription))), index.h("slot", { key: 'd3b79a0ae56ec7eb444c28985b1ffcfd8a4e36a1' })));
345
+ size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', "aria-pressed": this.open.toString(), onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), index.h("slot", { key: 'a84e382a534735adb22741df1751d9c70c050b69', name: "after-input" })), index.h("div", { key: '29a3ca7ed69a772497590595fc82a78fddf0c32a', slot: "content" }, index.h("nv-calendar", { key: '6797dab38dba23f7396aadcbf5281aefdabd891f', dateFormat: this.dateFormat, singleValue: this.singleValue, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates, onValueChanged: this.handleCalendarValueChanged }))), ((this.description && this.description.length > 0) ||
346
+ this.el.querySelector('[slot="description"]')) && (index.h("div", { key: '1799cd4dc4f6ca4b520277c080574af089816a9b', class: "description" }, index.h("slot", { key: 'eb2d9ac73687786e589f5a90791763f4465d1d20', name: "description" }, this.description))), (this.errorDescription ||
347
+ this.el.querySelector('[slot="error-description"]')) && (index.h("div", { key: '7c25fc8369b6bc948d7b233eb5b58451b02cbc62', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (index.h("slot", { name: "error-description" })) : (this.errorDescription))), index.h("slot", { key: '1499ea51b0e2d283037bf71aae6da242839c0e49' })));
381
348
  }
382
349
  get el() { return index.getElement(this); }
383
350
  static get watchers() { return {
384
- "value": ["handleValueChange"]
351
+ "value": ["handleValueChange"],
352
+ "open": ["handleOpenChange"]
385
353
  }; }
386
354
  };
387
355
  NvFielddate.style = NvFielddateStyle0;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BPZo04LR.js');
3
+ var index = require('./index-BtjpbnUr.js');
4
4
  var inputmaskEdcad3c1 = require('./inputmask-edcad3c1-B9Omti4z.js');
5
5
  var v4A79185f4 = require('./v4-a79185f4-2n0dOd_Y.js');
6
6
  require('react');
@@ -130,12 +130,6 @@ const NvFielddaterange = class {
130
130
  this.startValue = values[0];
131
131
  this.endValue = values[1];
132
132
  }
133
- else {
134
- // Handle malformed value gracefully
135
- console.warn(`Invalid date range format: ${value}`);
136
- this.startValue = '';
137
- this.endValue = '';
138
- }
139
133
  };
140
134
  /**
141
135
  * Closes the popover when a click is detected outside the component.
@@ -159,9 +153,6 @@ const NvFielddaterange = class {
159
153
  this.startValue = input.value;
160
154
  // Update unified value prop
161
155
  this.value = `${input.value},${this.endValue}`;
162
- this.valueChanged.emit(this.value);
163
- // Legacy support (deprecated)
164
- this.dateRangeChange.emit({ start: input.value, end: this.endValue });
165
156
  // Temporarily enable navigation for keyboard input
166
157
  if (this.calendarElement) {
167
158
  this.calendarElement.removeAttribute('data-prevent-navigation');
@@ -187,9 +178,6 @@ const NvFielddaterange = class {
187
178
  this.endValue = input.value;
188
179
  // Update unified value prop
189
180
  this.value = `${this.startValue},${input.value}`;
190
- this.valueChanged.emit(this.value);
191
- // Legacy support (deprecated)
192
- this.dateRangeChange.emit({ start: this.startValue, end: input.value });
193
181
  // Temporarily enable navigation for keyboard input
194
182
  if (this.calendarElement) {
195
183
  this.calendarElement.removeAttribute('data-prevent-navigation');
@@ -286,6 +274,50 @@ const NvFielddaterange = class {
286
274
  this.calendarElement.clear();
287
275
  }
288
276
  }
277
+ updateMask() {
278
+ const inputs = this.el.querySelectorAll('.input-wrapper input');
279
+ inputs.forEach((input) => {
280
+ var _a, _b;
281
+ (_b = (_a = input.inputmask) === null || _a === void 0 ? void 0 : _a.remove) === null || _b === void 0 ? void 0 : _b.call(_a);
282
+ const inputMask = new inputmaskEdcad3c1.Inputmask({
283
+ alias: 'datetime',
284
+ inputFormat: this.convertToInputmaskFormat(this.dateFormat),
285
+ placeholder: this.convertToInputmaskFormat(this.dateFormat),
286
+ clearIncomplete: false,
287
+ showMaskOnHover: false,
288
+ showMaskOnFocus: true,
289
+ clearMaskOnLostFocus: !this.open,
290
+ postValidation: true,
291
+ oncleared: (e) => {
292
+ const input = e.target;
293
+ if (input.id === this.startInputId) {
294
+ this.startValue = '';
295
+ }
296
+ if (input.id === this.endInputId) {
297
+ this.endValue = '';
298
+ }
299
+ },
300
+ oncomplete: () => {
301
+ if (/[a-zA-Z]/g.test(this.value))
302
+ return;
303
+ const values = this.value
304
+ .split(',')
305
+ .map(v => v.trim())
306
+ .filter(Boolean);
307
+ if (values.length < 2)
308
+ return;
309
+ // If valid emit change event
310
+ this.valueChanged.emit(this.value);
311
+ // Legacy support (deprecated)
312
+ this.dateRangeChange.emit({
313
+ start: this.startValue,
314
+ end: input.value,
315
+ });
316
+ },
317
+ });
318
+ inputMask.mask(input);
319
+ });
320
+ }
289
321
  //#endregion METHODS
290
322
  /****************************************************************************/
291
323
  //#region LIFECYCLE
@@ -299,25 +331,9 @@ const NvFielddaterange = class {
299
331
  }
300
332
  }
301
333
  componentDidLoad() {
334
+ this.updateMask();
302
335
  const inputs = this.el.querySelectorAll('.input-wrapper input');
303
336
  inputs.forEach((input) => {
304
- const inputMask = new inputmaskEdcad3c1.Inputmask({
305
- alias: 'datetime',
306
- inputFormat: this.convertToInputmaskFormat(this.dateFormat),
307
- placeholder: this.convertToInputmaskFormat(this.dateFormat),
308
- clearIncomplete: false,
309
- showMaskOnHover: false,
310
- showMaskOnFocus: false,
311
- clearMaskOnLostFocus: false,
312
- insertMode: true,
313
- rightAlign: false,
314
- oncomplete: function (e) {
315
- const input = e.target;
316
- const event = new CustomEvent('input', { bubbles: true });
317
- input.dispatchEvent(event);
318
- },
319
- });
320
- inputMask.mask(input);
321
337
  // Set the value after applying the mask
322
338
  if (input.name === this.startName && this.startValue) {
323
339
  requestAnimationFrame(() => {
@@ -449,6 +465,7 @@ const NvFielddaterange = class {
449
465
  this.parseUnifiedValue(newValue);
450
466
  }
451
467
  onOpenChanged(newValue) {
468
+ this.updateMask();
452
469
  if (this.contentRef) {
453
470
  if (newValue) {
454
471
  this.contentRef.style.transition = 'none';
@@ -474,10 +491,12 @@ const NvFielddaterange = class {
474
491
  /****************************************************************************/
475
492
  //#region RENDER
476
493
  render() {
477
- return (index.h(index.Host, { key: 'e2d5ce2c864dbc8ba478a1ce1353aa8e51e13ec1' }, ((this.label && this.label.length > 0) ||
478
- this.el.querySelector('[slot="label"]')) && (index.h("label", { key: '6e171200b763f8e7a907d305475bb7d4faa27979', htmlFor: this.startInputId }, index.h("slot", { key: '9f8b94e7491d4cd73e17f41ba290acda1fe73f3b', name: "label" }, this.label))), index.h("nv-popover", { key: '9bf5539eeceadb960c3438ddc05fe986f800d33b', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, index.h("div", { key: '58f7625d27c2266429ddc4f653d61efefed5bc66', slot: "trigger", class: "input-wrapper" }, index.h("slot", { key: '206064a5c1be74082202849b96e46a8207377098', name: "before-input" }), index.h("div", { key: 'bd66fb676a5a749e17ede3f75c8a4404586c0c63', class: "input-container" }, index.h("slot", { key: '7c78a037f5189143ea32ca843e1c27b52d8f2d4b', name: "leading-input" }), index.h("div", { key: 'fbe89bc4502eca56e05029d65a45684484921433', class: "range-inputs" }, index.h("input", { key: '397e572e87dd7f01977008b44847469cabd06494', id: this.startInputId, type: "text", placeholder: this.startPlaceholder, name: this.startName, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.autofocus, value: this.startValue, onInput: this.handleStartInput, onFocus: this.handleFocus, "data-scope": "date-range" }), index.h("div", { key: '378d2755919eafc9f4edd8ee451c01e49dc70cfe', class: "range-separator" }), index.h("input", { key: '2de8dcda3161667a543c04ae529a0f617f6598c6', id: this.endInputId, type: "text", placeholder: this.endPlaceholder, name: this.endName, disabled: this.disabled, readOnly: this.readonly, required: this.required, value: this.endValue, onInput: this.handleEndInput, onFocus: this.handleFocus, "data-scope": "date-range" })), this.error && (index.h("nv-icon", { key: '5880e135764a7f9f87d92a4f7a84eba9f56b7d46', name: "alert-circle", class: "validation", size: "md" })), this.success && (index.h("nv-icon", { key: '5d764360d3dbfc306962cb9e4b67d7d3c4bc09ed', name: "circle-check", class: "validation", size: "md" })), index.h("nv-iconbutton", { key: '1b09d57633f8e115cc3d92a82d35399c53be265b', class: "toggle-calendar-icon", name: "calendar", size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', "aria-pressed": this.open.toString(), onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), index.h("slot", { key: '7ec41f782b0343eeb427bee4d7f2ab1b549978b3', name: "after-input" })), index.h("div", { key: 'ea714333fe596af8a10c6f8a1e6c72935f8e5c91', slot: "content" }, index.h("nv-calendar", { key: 'ffaa70c5bc76c422396b233d3dc46fdeb2d06b10', ref: el => (this.calendarElement = el), dateFormat: this.dateFormat, value: this.value, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates, selectionType: "range", "data-prevent-navigation": "true" }))), ((this.description && this.description.length > 0) ||
479
- this.el.querySelector('[slot="description"]')) && (index.h("div", { key: '7f4aa271c896234907d95cfe7660e1c41ab8ddf7', class: "description" }, index.h("slot", { key: 'fce93594f7af4d054f886ce3caf48cfffb6809aa', name: "description" }, this.description))), (this.errorDescription ||
480
- this.el.querySelector('[slot="error-description"]')) && (index.h("div", { key: 'f5a19b5d4c90c4319dc4eb09d1067f202ab229c9', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (index.h("slot", { name: "error-description" })) : (this.errorDescription))), index.h("slot", { key: '1d494e4c192b38c26e8cfe5482516382cacc13c6' })));
494
+ return (index.h(index.Host, { key: '2f100d067fa3ca5917252ac2ce921eecac98791e' }, ((this.label && this.label.length > 0) ||
495
+ this.el.querySelector('[slot="label"]')) && (index.h("label", { key: 'd427e5fd307896971a798a61461a5545af107d95', htmlFor: this.startInputId }, index.h("slot", { key: 'b6735f19e0fa53528e0c088ee81eb54f7076a8b5', name: "label" }, this.label))), index.h("nv-popover", { key: '069225a1606c105b9370f6eb0b5268fbf3fc5d96', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, index.h("div", { key: 'ec43cbd1c063f2e8c4de3e765b776982da607fbe', slot: "trigger", class: "input-wrapper" }, index.h("slot", { key: '6d6dc2263764bdd53674d9b62eb04904ceecf428', name: "before-input" }), index.h("div", { key: 'd465d4a360baf008977e9f9c23058980c7357668', class: "input-container" }, index.h("slot", { key: '52463fb16a84025f910ab5d34ad5f95e575a3999', name: "leading-input" }), index.h("div", { key: 'a432151dabdf6976f463d794b24b85cb7c784d3f', class: "range-inputs" }, index.h("input", { key: '98e48271dce40353ba577aedc1daca8398f9526a', id: this.startInputId, type: "text", placeholder: this.startPlaceholder ||
496
+ this.convertToInputmaskFormat(this.dateFormat), name: this.startName, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.autofocus, value: this.startValue, onInput: this.handleStartInput, onFocus: this.handleFocus, "data-scope": "date-range" }), index.h("div", { key: 'daddef3bb169bcdf4baf4d5dd7c727d7fa66dd0f', class: "range-separator" }), index.h("input", { key: 'c498d3b8a82372606d315a3102ada5763bc4791e', id: this.endInputId, type: "text", placeholder: this.endPlaceholder ||
497
+ this.convertToInputmaskFormat(this.dateFormat), name: this.endName, disabled: this.disabled, readOnly: this.readonly, required: this.required, value: this.endValue, onInput: this.handleEndInput, onFocus: this.handleFocus, "data-scope": "date-range" })), this.error && (index.h("nv-icon", { key: 'c83a0f241b7eb2407117a5eb52caa1bee955c764', name: "alert-circle", class: "validation", size: "md" })), this.success && (index.h("nv-icon", { key: 'a96c7cd55a903e38f10453fe6bbea0f828573367', name: "circle-check", class: "validation", size: "md" })), index.h("nv-iconbutton", { key: '39b92aa357457f0be9264335173f8335fdd84b26', class: "toggle-calendar-icon", name: "calendar", size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', "aria-pressed": this.open.toString(), onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), index.h("slot", { key: 'b739f98ecb80e73fd84b557a0165438beb3f16bd', name: "after-input" })), index.h("div", { key: '503406610a224a2b0173fcf6117b1b3a45d3d44d', slot: "content" }, index.h("nv-calendar", { key: 'ac97339bef8aa214da1317601a31af2c2555acaa', ref: el => (this.calendarElement = el), dateFormat: this.dateFormat, value: this.value, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates, selectionType: "range", "data-prevent-navigation": "true" }))), ((this.description && this.description.length > 0) ||
498
+ this.el.querySelector('[slot="description"]')) && (index.h("div", { key: '302bf932d36f484db34d7c94206697fb469faadc', class: "description" }, index.h("slot", { key: '133e4c69264dbb856f42dee40fbdfe2286caf87d', name: "description" }, this.description))), (this.errorDescription ||
499
+ this.el.querySelector('[slot="error-description"]')) && (index.h("div", { key: '2cc57d57cb18cc7ac89135f5e128ffa9ee5487bc', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (index.h("slot", { name: "error-description" })) : (this.errorDescription))), index.h("slot", { key: '3ef1b28e2bd3879c33faefd20af8cf33360af56c' })));
481
500
  }
482
501
  get el() { return index.getElement(this); }
483
502
  static get watchers() { return {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BPZo04LR.js');
3
+ var index = require('./index-BtjpbnUr.js');
4
4
  var v4A79185f4 = require('./v4-a79185f4-2n0dOd_Y.js');
5
5
  require('react');
6
6
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BPZo04LR.js');
3
+ var index = require('./index-BtjpbnUr.js');
4
4
  require('react');
5
5
 
6
6
  const nvFielddropdownitemCss = "nv-fielddropdownitem{display:flex;gap:var(--spacing-2);flex-wrap:wrap;align-items:center;width:100%;padding:var(--list-dropdown-item-padding-y) var(--list-dropdown-item-padding-x);font-weight:var(--menu-contextual-item-font-weight);font-size:var(--list-dropdown-font-size);line-height:var(--list-dropdown-line-height);color:var(--components-list-dropdown-item-label-default);border-radius:var(--list-dropdown-item-radius);transition:background-color 150ms ease-out, color 150ms ease-out;cursor:pointer}nv-fielddropdownitem:hover,nv-fielddropdownitem:focus,nv-fielddropdownitem:focus-within{background-color:var(--components-list-dropdown-item-background-hover);color:var(--components-menu-contextual-item-content-hover)}nv-fielddropdownitem[disabled]:not([disabled=false]){cursor:not-allowed;background-color:unset;color:var(--components-menu-contextual-item-content-disabled)}nv-fielddropdownitem .text-wrapper{display:flex;flex-grow:1;align-items:center;justify-content:space-between}nv-fielddropdownitem [data-scope=text]{flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}nv-fielddropdownitem nv-icon[data-scope=selected]{color:var(--components-list-dropdown-item-label-default);align-self:center;margin-left:auto}";
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BPZo04LR.js');
3
+ var index = require('./index-BtjpbnUr.js');
4
4
  var v4A79185f4 = require('./v4-a79185f4-2n0dOd_Y.js');
5
5
  require('react');
6
6
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BPZo04LR.js');
3
+ var index = require('./index-BtjpbnUr.js');
4
4
  var v4A79185f4 = require('./v4-a79185f4-2n0dOd_Y.js');
5
5
  require('react');
6
6
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BPZo04LR.js');
3
+ var index = require('./index-BtjpbnUr.js');
4
4
  var v4A79185f4 = require('./v4-a79185f4-2n0dOd_Y.js');
5
5
  require('react');
6
6