@nova-design-system/nova-react 3.14.0-beta.0 → 3.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/dist/cjs/{collapse.animation-6e0b08df-AHWzNGm_.js → collapse.animation-acda1bf5-BuORVmQv.js} +1 -4
  2. package/dist/cjs/{constants-69bafca2-DpB_ghPF.js → constants-d0f19e7b-s0SCO_vi.js} +0 -9
  3. package/dist/cjs/{fade.animation-9b939939-DV--bM4S.js → fade.animation-eb454088-Bma0SpTf.js} +2 -2
  4. package/dist/cjs/{index-CJDePE8Z.js → index-CKAZvszR.js} +328 -584
  5. package/dist/cjs/index.js +1 -9
  6. package/dist/cjs/{nv-accordion-item.entry-Begcz9SZ.js → nv-accordion-item.entry-CjBcmF8t.js} +4 -5
  7. package/dist/cjs/{nv-accordion.entry-DQAkheHY.js → nv-accordion.entry-CRk2Wvt3.js} +1 -2
  8. package/dist/cjs/{nv-alert.entry-CEzR0iu0.js → nv-alert.entry-D5qB5xZg.js} +11 -12
  9. package/dist/cjs/{nv-avatar.entry-B-u7r30l.js → nv-avatar.entry-CuNYdZl_.js} +7 -8
  10. package/dist/cjs/{nv-badge_2.entry-0vhTS5D7.js → nv-badge_2.entry-BDuX1qOQ.js} +10 -11
  11. package/dist/cjs/{nv-breadcrumb.entry-BkWs1x-W.js → nv-breadcrumb.entry-BE9U6AF_.js} +1 -2
  12. package/dist/cjs/{nv-breadcrumbs.entry-DglL-1Ed.js → nv-breadcrumbs.entry-DJXqtmMR.js} +1 -2
  13. package/dist/cjs/{nv-button.entry-BbT0aeQI.js → nv-button.entry-CF5IDcG3.js} +7 -8
  14. package/dist/cjs/{nv-buttongroup.entry-wlJma4qm.js → nv-buttongroup.entry-C0Zc2lOi.js} +1 -2
  15. package/dist/cjs/{nv-calendar.entry-wIPDRk0B.js → nv-calendar.entry-NbVLStMN.js} +7 -8
  16. package/dist/cjs/{nv-col.entry-Btsenp2c.js → nv-col.entry-ahFf8a1Z.js} +1 -2
  17. package/dist/cjs/{nv-datagrid.entry-Dae8YlRu.js → nv-datagrid.entry-C-MJXEdi.js} +6 -7
  18. package/dist/cjs/{nv-datagridcolumn.entry-D918Vo_U.js → nv-datagridcolumn.entry-CxU7soW7.js} +1 -2
  19. package/dist/cjs/{nv-dialog.entry--cGTlgDZ.js → nv-dialog.entry-WlnaC-w2.js} +3 -4
  20. package/dist/cjs/{nv-dialogfooter_2.entry-CXYjGHc5.js → nv-dialogfooter_2.entry-CEWmTnJc.js} +4 -5
  21. package/dist/cjs/{nv-fieldcheckbox.entry-9b_kDQGz.js → nv-fieldcheckbox.entry-BYhFVrYb.js} +2 -3
  22. package/dist/cjs/{nv-fielddate.entry-CRRTthds.js → nv-fielddate.entry-DVVnRiOT.js} +1 -2
  23. package/dist/cjs/{nv-fielddaterange.entry-BAVePsLs.js → nv-fielddaterange.entry-Cb4X5Q-C.js} +1 -2
  24. package/dist/cjs/{nv-fielddropdown.entry-Dy8sZyze.js → nv-fielddropdown.entry-D2PKGkpx.js} +1 -2
  25. package/dist/cjs/{nv-fielddropdownitem.entry-CuPocgsF.js → nv-fielddropdownitem.entry-BqgMRnIc.js} +1 -2
  26. package/dist/cjs/{nv-fieldmultiselect.entry-HWSDowQH.js → nv-fieldmultiselect.entry-Dzw4c9wO.js} +1 -2
  27. package/dist/cjs/{nv-fieldnumber.entry-fObgOYJX.js → nv-fieldnumber.entry-Cm5g6tw7.js} +1 -2
  28. package/dist/cjs/{nv-fieldpassword.entry-BRhKH_Mb.js → nv-fieldpassword.entry-BMI5M4RR.js} +1 -2
  29. package/dist/cjs/{nv-fieldradio.entry-D74Mlgjc.js → nv-fieldradio.entry-BrCJvkMR.js} +1 -2
  30. package/dist/cjs/{nv-fieldselect.entry-BS81ItZs.js → nv-fieldselect.entry-Cz76Y4Fb.js} +1 -2
  31. package/dist/cjs/{nv-fieldslider.entry-xyqrZxYj.js → nv-fieldslider.entry-C2ynnMK8.js} +1 -2
  32. package/dist/cjs/{nv-fieldtext.entry-BVUKbv4b.js → nv-fieldtext.entry-B6ciu2fU.js} +1 -2
  33. package/dist/cjs/{nv-fieldtextarea.entry-B7hb1so-.js → nv-fieldtextarea.entry-BL_gMvTp.js} +1 -2
  34. package/dist/cjs/{nv-fieldtime.entry-DvCbKaOO.js → nv-fieldtime.entry-Be5fujXA.js} +60 -61
  35. package/dist/cjs/{nv-icon.entry-DP715dyH.js → nv-icon.entry-C-wbfOy3.js} +8 -9
  36. package/dist/cjs/{nv-iconbutton_2.entry-FpzwxZe_.js → nv-iconbutton_2.entry-Dlk96yHi.js} +1 -2
  37. package/dist/cjs/{nv-menu.entry-ryMNpTHW.js → nv-menu.entry-CDn1Tk9J.js} +1 -2
  38. package/dist/cjs/{nv-menuitem.entry-SQBrWIYf.js → nv-menuitem.entry-DIkQnha9.js} +1 -2
  39. package/dist/cjs/nv-notification.entry-BiwnZCkF.js +178 -0
  40. package/dist/cjs/{nv-popover.entry-DOu6rhco.js → nv-popover.entry-Bz9ZWGlN.js} +6 -7
  41. package/dist/cjs/{nv-row.entry-Tx_yvWTJ.js → nv-row.entry-iJGXINmZ.js} +2 -3
  42. package/dist/cjs/{nv-stack.entry-Cn0JrM2N.js → nv-stack.entry-CifEjR2g.js} +2 -3
  43. package/dist/cjs/{nv-table.entry-D-uKGKnp.js → nv-table.entry-Dxg0j3fe.js} +3 -4
  44. package/dist/cjs/{nv-tablecolumn.entry-BsJzXKCk.js → nv-tablecolumn.entry--29MFEe9.js} +1 -2
  45. package/dist/cjs/{nv-toggle.entry-DuDRh-Ww.js → nv-toggle.entry-D0eQoEqf.js} +4 -5
  46. package/dist/cjs/{nv-togglebutton.entry-DAlky3tO.js → nv-togglebutton.entry-X4eLeP-C.js} +2 -3
  47. package/dist/cjs/{nv-togglebuttongroup.entry-DTadjqMQ.js → nv-togglebuttongroup.entry-BYO58vql.js} +2 -3
  48. package/dist/cjs/{nv-tooltip.entry-BWzlP6gC.js → nv-tooltip.entry-DaxjQSt1.js} +2 -3
  49. package/dist/generated/components.js +0 -8
  50. package/dist/generated/components.server.js +1 -8
  51. package/dist/index.js +0 -1
  52. package/dist/types/generated/components.d.ts +0 -3
  53. package/dist/types/generated/components.server.d.ts +0 -3
  54. package/dist/types/index.d.ts +0 -1
  55. package/package.json +1 -4
  56. package/dist/cjs/nv-notification.entry-DnCew-lG.js +0 -262
  57. package/dist/cjs/nv-notificationcontainer.entry-Dwlv9s1v.js +0 -41
  58. package/dist/providers/NotificationProvider.js +0 -83
  59. package/dist/types/providers/NotificationProvider.d.ts +0 -36
@@ -162,13 +162,10 @@ const useCollapse = (node, { duration = 200, overflow = 'hidden' } = {}) => {
162
162
  * Expand: animate from 0 box to the element's natural box (height + margins),
163
163
  * then restore `height: auto` and computed margins.
164
164
  */
165
- async function expand() {
165
+ function expand() {
166
166
  stop();
167
- // Make sure any pending screen updates are done
168
- await new Promise(resolve => requestAnimationFrame(resolve));
169
167
  return new Promise(resolve => {
170
168
  // Let the element size naturally to measure the target box
171
- // await next animation frame
172
169
  setStyle({
173
170
  height: '',
174
171
  marginTop: '',
@@ -1,14 +1,5 @@
1
1
  'use strict';
2
2
 
3
- exports.NotificationPosition = void 0;
4
- (function (NotificationPosition) {
5
- NotificationPosition["TopRight"] = "top-right";
6
- NotificationPosition["TopLeft"] = "top-left";
7
- NotificationPosition["TopCenter"] = "top-center";
8
- NotificationPosition["BottomRight"] = "bottom-right";
9
- NotificationPosition["BottomLeft"] = "bottom-left";
10
- NotificationPosition["BottomCenter"] = "bottom-center";
11
- })(exports.NotificationPosition || (exports.NotificationPosition = {}));
12
3
  exports.FeedbackColors = void 0;
13
4
  (function (FeedbackColors) {
14
5
  FeedbackColors["Information"] = "information";
@@ -684,14 +684,14 @@ const useFade = (node, { duration } = { duration: 200 }) => {
684
684
  * is hidden.
685
685
  */
686
686
  function setFadeOut() {
687
- nodeStyler.set({ opacity: 0 });
687
+ node.style.opacity = '0';
688
688
  }
689
689
  /**
690
690
  * Applies the fadeIn styles without animating, useful when initial state
691
691
  * is visible.
692
692
  */
693
693
  function setFadeIn() {
694
- nodeStyler.set({ opacity: 1 });
694
+ node.style.opacity = '1';
695
695
  }
696
696
  /**
697
697
  * Will animate the opacity to 0, once complete, the opacity style attribute