@devtron-labs/devtron-fe-common-lib 1.16.0-pre-9 → 1.16.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 (149) hide show
  1. package/dist/{@code-editor-fA2ygLkD.js → @code-editor-CEmGYRXP.js} +9029 -9453
  2. package/dist/{@common-rjsf-Dg7AJefB.js → @common-rjsf-qWtqbYmP.js} +6 -6
  3. package/dist/{@framer-motion-j6RIjEIR.js → @framer-motion-DAmKhMSi.js} +20 -20
  4. package/dist/{@moment-CGWt8tF2.js → @moment-C_WeV3Af.js} +1 -12
  5. package/dist/{@react-dates-BVyHiOGU.js → @react-dates-D5kydtW-.js} +2140 -2065
  6. package/dist/{@react-select-BQNFZu0Y.js → @react-select-Cmser7OI.js} +6 -6
  7. package/dist/{@react-virtualized-sticky-tree-CuElh0mS.js → @react-virtualized-sticky-tree-DMnFy9PE.js} +1 -1
  8. package/dist/{@vendor-DbxoIktR.js → @vendor-STJ9h0oI.js} +30333 -30600
  9. package/dist/Common/Checkbox/Checkbox.d.ts +1 -1
  10. package/dist/Common/Constants.d.ts +0 -2
  11. package/dist/Common/GenericDescription/GenericDescription.d.ts +1 -1
  12. package/dist/Common/GenericDescription/types.d.ts +1 -4
  13. package/dist/Common/GenericDescription/utils.d.ts +0 -1
  14. package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutProvider.d.ts +1 -1
  15. package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +0 -21
  16. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  17. package/dist/Common/Hooks/useStateFilters/types.d.ts +2 -2
  18. package/dist/Common/Hooks/useStateFilters/useStateFilters.d.ts +1 -1
  19. package/dist/Common/Hooks/useUrlFilters/index.d.ts +0 -1
  20. package/dist/Common/Hooks/useUrlFilters/types.d.ts +1 -2
  21. package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +1 -1
  22. package/dist/Common/Modals/VisibleModal.d.ts +0 -1
  23. package/dist/Common/Modals/VisibleModal2.d.ts +0 -1
  24. package/dist/Common/Pagination/constants.d.ts +0 -4
  25. package/dist/Common/Pagination/index.d.ts +0 -1
  26. package/dist/Common/Tooltip/types.d.ts +1 -1
  27. package/dist/Common/Types.d.ts +2 -2
  28. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +0 -1
  29. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/constants.d.ts +0 -8
  30. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +1 -1
  31. package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +2 -35
  32. package/dist/Pages/ResourceBrowser/constants.d.ts +0 -13
  33. package/dist/Pages/ResourceBrowser/service.d.ts +1 -1
  34. package/dist/Pages/ResourceBrowser/types.d.ts +0 -17
  35. package/dist/Shared/Components/AboutDevtron/AboutDevtronBody.d.ts +3 -1
  36. package/dist/Shared/Components/AboutDevtron/AboutDevtronDialog.d.ts +2 -1
  37. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +1 -1
  38. package/dist/Shared/Components/AnimatedDeployButton/AnimatedDeployButton.d.ts +1 -1
  39. package/dist/Shared/Components/AnimatedDeployButton/types.d.ts +9 -5
  40. package/dist/Shared/Components/AppStatusModal/service.d.ts +1 -1
  41. package/dist/Shared/Components/AppStatusModal/types.d.ts +1 -2
  42. package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
  43. package/dist/Shared/Components/Backdrop/index.d.ts +0 -1
  44. package/dist/Shared/Components/Backdrop/types.d.ts +2 -28
  45. package/dist/Shared/Components/BulkOperations/types.d.ts +1 -1
  46. package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +1 -1
  47. package/dist/Shared/Components/BulkSelection/BulkSelectionDropdownItems.d.ts +3 -0
  48. package/dist/Shared/Components/BulkSelection/types.d.ts +9 -4
  49. package/dist/Shared/Components/Button/Button.component.d.ts +2 -376
  50. package/dist/Shared/Components/Button/types.d.ts +3 -6
  51. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/helpers.d.ts +1 -1
  52. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +1 -1
  53. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/utils.d.ts +1 -1
  54. package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +1 -1
  55. package/dist/Shared/Components/CICDHistory/types.d.ts +1 -2
  56. package/dist/Shared/Components/CodeEditor/CodeEditor.constants.d.ts +1 -1
  57. package/dist/Shared/Components/DeploymentStatusBreakdown/constants.d.ts +1 -2
  58. package/dist/Shared/Components/DeploymentStatusBreakdown/utils.d.ts +2 -7
  59. package/dist/Shared/Components/DynamicDataTable/types.d.ts +1 -1
  60. package/dist/Shared/Components/GenericInfoCard/types.d.ts +1 -1
  61. package/dist/Shared/Components/GettingStartedCard/GettingStarted.d.ts +1 -1
  62. package/dist/Shared/Components/GettingStartedCard/types.d.ts +3 -0
  63. package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +1 -1
  64. package/dist/Shared/Components/Header/HelpButton.d.ts +1 -1
  65. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  66. package/dist/Shared/Components/Header/types.d.ts +3 -1
  67. package/dist/Shared/Components/Icon/Icon.d.ts +1 -18
  68. package/dist/Shared/Components/InfoBlock/constants.d.ts +1 -2
  69. package/dist/Shared/Components/InvalidYAMLTippy/types.d.ts +1 -1
  70. package/dist/Shared/Components/Popover/types.d.ts +2 -3
  71. package/dist/Shared/Components/Popover/utils.d.ts +1 -1
  72. package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +7 -7
  73. package/dist/Shared/Components/Security/SecurityModal/types.d.ts +1 -1
  74. package/dist/Shared/Components/Security/Vulnerabilities/types.d.ts +1 -1
  75. package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
  76. package/dist/Shared/Components/SelectPicker/type.d.ts +2 -2
  77. package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +1 -1
  78. package/dist/Shared/Components/Table/BulkSelectionActionWidget.d.ts +1 -1
  79. package/dist/Shared/Components/Table/InternalTable.d.ts +1 -1
  80. package/dist/Shared/Components/Table/constants.d.ts +0 -1
  81. package/dist/Shared/Components/Table/index.d.ts +1 -1
  82. package/dist/Shared/Components/Table/types.d.ts +21 -48
  83. package/dist/Shared/Components/Table/useTableWithKeyboardShortcuts.d.ts +1 -6
  84. package/dist/Shared/Components/Table/utils.d.ts +0 -5
  85. package/dist/Shared/Components/TargetPlatforms/types.d.ts +1 -1
  86. package/dist/Shared/Components/WorkflowOptionsModal/SourceTypeCard.d.ts +1 -1
  87. package/dist/Shared/Components/WorkflowOptionsModal/WorkflowOptionsModal.d.ts +1 -1
  88. package/dist/Shared/Components/WorkflowOptionsModal/constants.d.ts +41 -75
  89. package/dist/Shared/Components/WorkflowOptionsModal/index.d.ts +0 -1
  90. package/dist/Shared/Components/WorkflowOptionsModal/types.d.ts +12 -10
  91. package/dist/Shared/Components/WorkflowOptionsModal/utils.d.ts +2 -13
  92. package/dist/Shared/Components/index.d.ts +0 -3
  93. package/dist/Shared/Helpers.d.ts +2 -3
  94. package/dist/Shared/Hooks/useStickyEvent/constants.d.ts +2 -3
  95. package/dist/Shared/Hooks/useUserPreferences/types.d.ts +2 -2
  96. package/dist/Shared/Providers/index.d.ts +2 -0
  97. package/dist/Shared/Providers/{MainContextProvider/types.d.ts → types.d.ts} +4 -4
  98. package/dist/Shared/Services/types.d.ts +0 -1
  99. package/dist/Shared/constants.d.ts +0 -1
  100. package/dist/Shared/types.d.ts +2 -15
  101. package/dist/assets/@code-editor.css +1 -1
  102. package/dist/assets/@common-rjsf.css +1 -1
  103. package/dist/assets/change-source.abc9d12f.png +0 -0
  104. package/dist/assets/ic-check-all.0376437d.svg +21 -0
  105. package/dist/assets/ic-check-square.2a3d3fb9.svg +20 -0
  106. package/dist/assets/ic-ci-webhook.a2ab6db6.svg +42 -0
  107. package/dist/assets/{ic-minus.aac464f7.svg → ic-minus.416da21b.svg} +1 -1
  108. package/dist/assets/ic-source-build.7d776b10.svg +22 -0
  109. package/dist/assets/ic-source-job.a40f06cf.svg +26 -0
  110. package/dist/assets/ic-source-linked-build.f24ecbed.svg +24 -0
  111. package/dist/assets/ic-source-webhook.ee64a29a.svg +22 -0
  112. package/dist/assets/select-image-source.fb911f42.png +0 -0
  113. package/dist/index.d.ts +1 -6
  114. package/dist/index.js +838 -854
  115. package/package.json +7 -7
  116. package/dist/Shared/Components/Backdrop/utils.d.ts +0 -1
  117. package/dist/Shared/Components/Badge/Badge.d.ts +0 -3
  118. package/dist/Shared/Components/Badge/index.d.ts +0 -2
  119. package/dist/Shared/Components/Badge/types.d.ts +0 -18
  120. package/dist/Shared/Components/Badge/utils.d.ts +0 -7
  121. package/dist/Shared/Components/GenericModal/GenericModal.component.d.ts +0 -9
  122. package/dist/Shared/Components/GenericModal/GenericModal.context.d.ts +0 -6
  123. package/dist/Shared/Components/GenericModal/constants.d.ts +0 -2
  124. package/dist/Shared/Components/GenericModal/index.d.ts +0 -2
  125. package/dist/Shared/Components/GenericModal/types.d.ts +0 -37
  126. package/dist/Shared/Components/Security/SeverityChip.d.ts +0 -6
  127. package/dist/Shared/Components/Table/TableContent.d.ts +0 -3
  128. package/dist/Shared/Providers/MainContextProvider/index.d.ts +0 -3
  129. package/dist/assets/ic-bug.8a8dc1fc.svg +0 -3
  130. package/dist/assets/ic-check-all.fdea6b38.svg +0 -5
  131. package/dist/assets/ic-check-square.e355731d.svg +0 -4
  132. package/dist/assets/ic-clean-brush.c21cbe1e.svg +0 -3
  133. package/dist/assets/ic-container.92a4c33a.svg +0 -3
  134. package/dist/assets/ic-deploy-color.73a8df48.svg +0 -14
  135. package/dist/assets/ic-deploy-sync.6b1cf1b1.svg +0 -16
  136. package/dist/assets/ic-download.468a0cb7.svg +0 -3
  137. package/dist/assets/ic-file-code.0926d194.svg +0 -3
  138. package/dist/assets/ic-gavel.a3b064b5.svg +0 -3
  139. package/dist/assets/ic-git-branch.d6b3d950.svg +0 -3
  140. package/dist/assets/ic-info-filled-color.47953fcf.svg +0 -8
  141. package/dist/assets/ic-linked-build-color.d1df5ce1.svg +0 -7
  142. package/dist/assets/ic-logs.d310db72.svg +0 -3
  143. package/dist/assets/ic-pause-circle.f9405070.svg +0 -3
  144. package/dist/assets/ic-speedometer.3ecaae3b.svg +0 -3
  145. package/dist/assets/ic-two-cubes.056d1333.svg +0 -3
  146. package/dist/assets/ic-webhook.ffd8ded6.svg +0 -21
  147. package/dist/assets/workflow-options-modal-header.0444485e.svg +0 -38
  148. /package/dist/Shared/Providers/{MainContextProvider/MainContextProvider.d.ts → MainContextProvider.d.ts} +0 -0
  149. /package/dist/assets/{ic-container-registry.4e1e6455.svg → ic-container.4e1e6455.svg} +0 -0
@@ -1,13 +1,13 @@
1
- import { j as n, at as b, av as k, au as W } from "./@vendor-DbxoIktR.js";
1
+ import { j as n, as as b, au as k, at as W } from "./@vendor-STJ9h0oI.js";
2
2
  import V, { forwardRef as J, useMemo as P } from "react";
3
3
  import K, { getDefaultRegistry as q } from "@rjsf/core";
4
- import { T as F, j as N, c as v, b as S, S as Y, i as z, a as w, d as A, e as G } from "./@code-editor-fA2ygLkD.js";
4
+ import { T as F, j as N, c as v, b as S, S as Y, i as z, a as w, d as A, e as G } from "./@code-editor-CEmGYRXP.js";
5
5
  import Q, { components as D } from "react-select";
6
6
  import { ReactComponent as X } from "./assets/ic-chevron-down.fc70d7a7.svg";
7
7
  import { getUiOptions as $, getTemplate as B, getSubmitButtonOptions as Z, ADDITIONAL_PROPERTY_FLAG as L, errorId as ee, englishStringTranslator as te, TranslatableString as ne, titleId as re, canExpand as ae, deepEquals as se } from "@rjsf/utils";
8
8
  import { ReactComponent as oe } from "./assets/ic-add.cfaa779b.svg";
9
- import { ReactComponent as ie } from "./assets/ic-warning.ecf7ff97.svg";
10
- import { ReactComponent as le } from "./assets/ic-cross.01e03666.svg";
9
+ import { ReactComponent as ie } from "./assets/ic-cross.01e03666.svg";
10
+ import { ReactComponent as le } from "./assets/ic-warning.ecf7ff97.svg";
11
11
  import './assets/@common-rjsf.css';const C = {
12
12
  SELECT: "Please select an option",
13
13
  INPUT: "Please enter an input",
@@ -153,7 +153,7 @@ import './assets/@common-rjsf.css';const C = {
153
153
  ]
154
154
  }
155
155
  ) });
156
- }, fe = ({ icon: e, iconType: t, registry: a, uiSchema: r, ...s }) => /* @__PURE__ */ n.jsx("button", { ...s, type: "button", className: "dc__outline-none-imp p-0 dc__transparent flex cursor", title: "Remove", children: /* @__PURE__ */ n.jsx(le, { className: "icon-dim-16 fcn-6" }) }), he = ({ uiSchema: e }) => {
156
+ }, fe = ({ icon: e, iconType: t, registry: a, uiSchema: r, ...s }) => /* @__PURE__ */ n.jsx("button", { ...s, type: "button", className: "dc__outline-none-imp p-0 dc__transparent flex cursor", title: "Remove", children: /* @__PURE__ */ n.jsx(ie, { className: "icon-dim-16 fcn-6" }) }), he = ({ uiSchema: e }) => {
157
157
  const { submitText: t, norender: a, props: r = {} } = Z(e);
158
158
  return a ? null : /* @__PURE__ */ n.jsx("div", { className: "flexbox flex-justify-end", children: /* @__PURE__ */ n.jsx("button", { type: "submit", ...r, className: `cta ${r.className || ""}`, children: t }) });
159
159
  }, O = ({
@@ -217,7 +217,7 @@ import './assets/@common-rjsf.css';const C = {
217
217
  return e.length > 0 && /* @__PURE__ */ n.jsx("span", { className: "display-grid rjsf-form-template__field--error dc__gap-12", id: a, children: e.filter((r) => !!r).map((r, s) => /* @__PURE__ */ n.jsxs(V.Fragment, { children: [
218
218
  /* @__PURE__ */ n.jsx("span", {}),
219
219
  /* @__PURE__ */ n.jsxs("span", { className: "form__error", children: [
220
- /* @__PURE__ */ n.jsx(ie, { className: "form__icon form__icon--error" }),
220
+ /* @__PURE__ */ n.jsx(le, { className: "form__icon form__icon--error" }),
221
221
  r
222
222
  ] })
223
223
  ] }, s)) });
@@ -1,4 +1,4 @@
1
- import { ay as m, az as lt, aA as R, aB as Zr, aC as Le, aD as oe, aE as T, aF as $e, aG as at, aH as Gt, aI as Q, aJ as $r, aK as oi, aL as si, aM as ui, aN as li, aO as fi, aP as ci, aQ as vi, aR as di, aS as qr, aT as pi, aU as hi, aV as mi, aW as gi, aX as yi, aY as Jr, aZ as Pt, a_ as he, a$ as X, b0 as bi, b1 as Qr, b2 as z, b3 as tn, b4 as me, b5 as Z, b6 as Pi, b7 as Ot, b8 as Vi, b9 as Ti, ba as en, bb as Ft, bc as O, bd as ge, be as Si, bf as se, bg as xi, bh as Ci } from "./@vendor-DbxoIktR.js";
1
+ import { ax as lt, ay as m, az as R, aA as Zr, aB as Le, aC as T, aD as at, aE as Gt, aF as oe, aG as $e, aH as Q, aI as $r, aJ as oi, aK as qr, aL as si, aM as ui, aN as li, aO as fi, aP as ci, aQ as Jr, aR as vi, aS as di, aT as pi, aU as hi, aV as mi, aW as gi, aX as yi, aY as Pt, aZ as X, a_ as he, a$ as Qr, b0 as bi, b1 as tn, b2 as z, b3 as Z, b4 as Pi, b5 as me, b6 as Ot, b7 as Vi, b8 as Ti, b9 as en, ba as Ft, bb as O, bc as ge, bd as Si, be as se, bf as xi, bg as Ci } from "./@vendor-STJ9h0oI.js";
2
2
  import * as Y from "react";
3
3
  import Re, { createContext as St, useContext as F, useLayoutEffect as Ai, useEffect as N, useState as Me, useRef as $, useCallback as ye, useMemo as Vt, forwardRef as wi, createElement as Ei, cloneElement as Li, Children as Ri, isValidElement as Mi } from "react";
4
4
  var qe = "production", De = typeof process > "u" || process.env === void 0 ? qe : process.env.NODE_ENV || qe, tt = function(t) {
@@ -1030,20 +1030,20 @@ function Fn(t, e) {
1030
1030
  var Qt = function(t) {
1031
1031
  return t * 1e3;
1032
1032
  }, or = {
1033
- linear: Jr,
1034
- easeIn: yi,
1035
- easeInOut: gi,
1036
- easeOut: mi,
1037
- circIn: hi,
1038
- circInOut: pi,
1039
- circOut: qr,
1040
- backIn: di,
1041
- backInOut: vi,
1042
- backOut: ci,
1043
- anticipate: fi,
1044
- bounceIn: li,
1045
- bounceInOut: ui,
1046
- bounceOut: si
1033
+ linear: qr,
1034
+ easeIn: si,
1035
+ easeInOut: ui,
1036
+ easeOut: li,
1037
+ circIn: fi,
1038
+ circInOut: ci,
1039
+ circOut: Jr,
1040
+ backIn: vi,
1041
+ backInOut: di,
1042
+ backOut: pi,
1043
+ anticipate: hi,
1044
+ bounceIn: mi,
1045
+ bounceInOut: gi,
1046
+ bounceOut: yi
1047
1047
  }, sr = function(t) {
1048
1048
  if (Array.isArray(t)) {
1049
1049
  lt(t.length === 4, "Cubic bezier arrays must contain four numerical values.");
@@ -1132,7 +1132,7 @@ function Qa(t) {
1132
1132
  var fr = !1;
1133
1133
  function to(t) {
1134
1134
  var e = t.ease, r = t.times, n = t.yoyo, i = t.flip, s = t.loop, o = Q(t, ["ease", "times", "yoyo", "flip", "loop"]), a = m({}, o);
1135
- return r && (a.offset = r), o.duration && (a.duration = Qt(o.duration)), o.repeatDelay && (a.repeatDelay = Qt(o.repeatDelay)), e && (a.ease = Za(e) ? e.map(sr) : sr(e)), o.type === "tween" && (a.type = "keyframes"), (n || s || i) && (tn(!fr, "yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."), fr = !0, n ? a.repeatType = "reverse" : s ? a.repeatType = "loop" : i && (a.repeatType = "mirror"), a.repeat = s || n || i || o.repeat), o.type !== "spring" && (a.type = "keyframes"), a;
1135
+ return r && (a.offset = r), o.duration && (a.duration = Qt(o.duration)), o.repeatDelay && (a.repeatDelay = Qt(o.repeatDelay)), e && (a.ease = Za(e) ? e.map(sr) : sr(e)), o.type === "tween" && (a.type = "keyframes"), (n || s || i) && (Qr(!fr, "yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."), fr = !0, n ? a.repeatType = "reverse" : s ? a.repeatType = "loop" : i && (a.repeatType = "mirror"), a.repeat = s || n || i || o.repeat), o.type !== "spring" && (a.type = "keyframes"), a;
1136
1136
  }
1137
1137
  function eo(t, e) {
1138
1138
  var r, n, i = Ge(t, e) || {};
@@ -1149,7 +1149,7 @@ function io(t, e, r, n, i) {
1149
1149
  var s, o = Ge(n, t), a = (s = o.from) !== null && s !== void 0 ? s : e.get(), u = ur(t, r);
1150
1150
  a === "none" && u && typeof r == "string" ? a = Ke(t, r) : cr(a) && typeof r == "string" ? a = vr(r) : !Array.isArray(r) && cr(r) && typeof a == "string" && (r = vr(a));
1151
1151
  var l = ur(t, a);
1152
- tn(l === u, "You are trying to animate ".concat(t, ' from "').concat(a, '" to "').concat(r, '". ').concat(a, " is not an animatable value - to enable this animation set ").concat(a, " to a value animatable to ").concat(r, " via the `style` property."));
1152
+ Qr(l === u, "You are trying to animate ".concat(t, ' from "').concat(a, '" to "').concat(r, '". ').concat(a, " is not an animatable value - to enable this animation set ").concat(a, " to a value animatable to ").concat(r, " via the `style` property."));
1153
1153
  function f() {
1154
1154
  var c = {
1155
1155
  from: a,
@@ -1160,7 +1160,7 @@ function io(t, e, r, n, i) {
1160
1160
  return e.set(d);
1161
1161
  }
1162
1162
  };
1163
- return o.type === "inertia" || o.type === "decay" ? bi(m(m({}, c), o)) : Qr(m(m({}, no(o, c, t)), { onUpdate: function(d) {
1163
+ return o.type === "inertia" || o.type === "decay" ? bi(m(m({}, c), o)) : tn(m(m({}, no(o, c, t)), { onUpdate: function(d) {
1164
1164
  var p;
1165
1165
  c.onUpdate(d), (p = o.onUpdate) === null || p === void 0 || p.call(o, d);
1166
1166
  }, onComplete: function() {
@@ -2747,7 +2747,7 @@ function Fr(t, e) {
2747
2747
  var r;
2748
2748
  return (r = t[e]) !== null && r !== void 0 ? r : t.borderRadius;
2749
2749
  }
2750
- var Ss = Qn(0, 0.5, qr), xs = Qn(0.5, 0.95, Jr);
2750
+ var Ss = Qn(0, 0.5, Jr), xs = Qn(0.5, 0.95, qr);
2751
2751
  function Qn(t, e, r) {
2752
2752
  return function(n) {
2753
2753
  return n < t ? 0 : n > e ? 1 : r(ge(t, e, n));
@@ -3538,7 +3538,7 @@ function fu(t, e) {
3538
3538
  var r = F(_t).isStatic, n = $(null), i = ii(q(t) ? t.get() : t);
3539
3539
  return Vt(function() {
3540
3540
  return i.attach(function(s, o) {
3541
- return r ? o(s) : (n.current && n.current.stop(), n.current = Qr(m(m({ from: i.get(), to: s, velocity: i.getVelocity() }, e), { onUpdate: o })), i.get());
3541
+ return r ? o(s) : (n.current && n.current.stop(), n.current = tn(m(m({ from: i.get(), to: s, velocity: i.getVelocity() }, e), { onUpdate: o })), i.get());
3542
3542
  });
3543
3543
  }, [JSON.stringify(e)]), eu(t, function(s) {
3544
3544
  return i.set(parseFloat(s));
@@ -3,7 +3,7 @@ function Yi(e) {
3
3
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
4
  }
5
5
  function Ss(e) {
6
- if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
6
+ if (e.__esModule) return e;
7
7
  var t = e.default;
8
8
  if (typeof t == "function") {
9
9
  var s = function r() {
@@ -517,13 +517,8 @@ function Et(e, t, s) {
517
517
  return void (a ? r.setUTCHours(s) : r.setHours(s));
518
518
  case "Date":
519
519
  return void (a ? r.setUTCDate(s) : r.setDate(s));
520
- // case 'Day': // Not real
521
- // return void (isUTC ? d.setUTCDay(value) : d.setDay(value));
522
- // case 'Month': // Not used because we need to pass two variables
523
- // return void (isUTC ? d.setUTCMonth(value) : d.setMonth(value));
524
520
  case "FullYear":
525
521
  break;
526
- // See below ...
527
522
  default:
528
523
  return;
529
524
  }
@@ -1632,23 +1627,18 @@ function Za(e, t, s) {
1632
1627
  case "second":
1633
1628
  n = (this - r) / 1e3;
1634
1629
  break;
1635
- // 1000
1636
1630
  case "minute":
1637
1631
  n = (this - r) / 6e4;
1638
1632
  break;
1639
- // 1000 * 60
1640
1633
  case "hour":
1641
1634
  n = (this - r) / 36e5;
1642
1635
  break;
1643
- // 1000 * 60 * 60
1644
1636
  case "day":
1645
1637
  n = (this - r - a) / 864e5;
1646
1638
  break;
1647
- // 1000 * 60 * 60 * 24, negate dst
1648
1639
  case "week":
1649
1640
  n = (this - r - a) / 6048e5;
1650
1641
  break;
1651
- // 1000 * 60 * 60 * 24 * 7, negate dst
1652
1642
  default:
1653
1643
  n = this - r;
1654
1644
  }
@@ -2436,7 +2426,6 @@ function Xn(e) {
2436
2426
  return t * 1440 + r / 6e4;
2437
2427
  case "second":
2438
2428
  return t * 86400 + r / 1e3;
2439
- // Math.floor prevents floating point math errors here
2440
2429
  case "millisecond":
2441
2430
  return Math.floor(t * 864e5) + r;
2442
2431
  default: