@servicetitan/anvil2 1.2.6 → 1.2.8

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 (199) hide show
  1. package/Alert-2e4d9ed5.js +89 -0
  2. package/Alert-2e4d9ed5.js.map +1 -0
  3. package/Alert-94c37437.cjs +2 -0
  4. package/Alert-94c37437.cjs.map +1 -0
  5. package/Alert.cjs +1 -1
  6. package/Alert.css +1 -1
  7. package/Alert.js +1 -1
  8. package/{Announcement-115eb041.js → Announcement-1db4ac33.js} +11 -11
  9. package/{Announcement-115eb041.js.map → Announcement-1db4ac33.js.map} +1 -1
  10. package/{Announcement-4c075fdb.cjs → Announcement-2058bd02.cjs} +2 -2
  11. package/{Announcement-4c075fdb.cjs.map → Announcement-2058bd02.cjs.map} +1 -1
  12. package/Announcement.cjs +1 -1
  13. package/Announcement.js +1 -1
  14. package/Button-30b35802.cjs +2 -0
  15. package/Button-30b35802.cjs.map +1 -0
  16. package/Button-3b93bd5d.js +289 -0
  17. package/Button-3b93bd5d.js.map +1 -0
  18. package/Button.cjs +1 -1
  19. package/Button.cjs.map +1 -1
  20. package/Button.css +1 -1
  21. package/Button.js +16 -15
  22. package/Button.js.map +1 -1
  23. package/ButtonCompound.cjs +1 -1
  24. package/ButtonCompound.cjs.map +1 -1
  25. package/ButtonCompound.js +16 -15
  26. package/ButtonCompound.js.map +1 -1
  27. package/ButtonLink.cjs +1 -1
  28. package/ButtonLink.cjs.map +1 -1
  29. package/ButtonLink.js +16 -15
  30. package/ButtonLink.js.map +1 -1
  31. package/ButtonToggle.cjs +1 -1
  32. package/ButtonToggle.cjs.map +1 -1
  33. package/ButtonToggle.js +16 -15
  34. package/ButtonToggle.js.map +1 -1
  35. package/{Calendar-c8bc215f.js → Calendar-cbfe3c06.js} +326 -310
  36. package/{Calendar-c8bc215f.js.map → Calendar-cbfe3c06.js.map} +1 -1
  37. package/{Calendar-06ced77e.cjs → Calendar-ec151b3b.cjs} +2 -2
  38. package/{Calendar-06ced77e.cjs.map → Calendar-ec151b3b.cjs.map} +1 -1
  39. package/Calendar.cjs +1 -1
  40. package/Calendar.js +1 -1
  41. package/Combobox.cjs +1 -1
  42. package/Combobox.cjs.map +1 -1
  43. package/Combobox.js +16 -15
  44. package/Combobox.js.map +1 -1
  45. package/Details.cjs +1 -1
  46. package/Details.cjs.map +1 -1
  47. package/Details.js +16 -15
  48. package/Details.js.map +1 -1
  49. package/Dialog.cjs +1 -1
  50. package/Dialog.cjs.map +1 -1
  51. package/Dialog.js +24 -23
  52. package/Dialog.js.map +1 -1
  53. package/Divider-6646eeb8.cjs +2 -0
  54. package/Divider-6646eeb8.cjs.map +1 -0
  55. package/Divider-b3bff73a.js +74 -0
  56. package/Divider-b3bff73a.js.map +1 -0
  57. package/Divider.cjs +1 -1
  58. package/Divider.css +1 -1
  59. package/Divider.js +1 -1
  60. package/Drawer-21c36b46.js +209 -0
  61. package/Drawer-21c36b46.js.map +1 -0
  62. package/Drawer-d332b2da.cjs +2 -0
  63. package/Drawer-d332b2da.cjs.map +1 -0
  64. package/Drawer.cjs +1 -1
  65. package/Drawer.js +1 -1
  66. package/Link.cjs +1 -1
  67. package/Link.cjs.map +1 -1
  68. package/Link.js +16 -15
  69. package/Link.js.map +1 -1
  70. package/Menu.cjs +1 -1
  71. package/Menu.js +1 -1
  72. package/Overflow.cjs +1 -1
  73. package/Overflow.cjs.map +1 -1
  74. package/Overflow.js +18 -17
  75. package/Overflow.js.map +1 -1
  76. package/Popover.cjs +1 -1
  77. package/Popover.cjs.map +1 -1
  78. package/Popover.d.ts +1 -22
  79. package/Popover.js +37 -36
  80. package/Popover.js.map +1 -1
  81. package/{ProgressBar-91240dab.js → ProgressBar-33e4f5d9.js} +46 -46
  82. package/{ProgressBar-91240dab.js.map → ProgressBar-33e4f5d9.js.map} +1 -1
  83. package/{ProgressBar-b25b2493.cjs → ProgressBar-9632fe6e.cjs} +2 -2
  84. package/ProgressBar-9632fe6e.cjs.map +1 -0
  85. package/ProgressBar.cjs +1 -1
  86. package/ProgressBar.css +1 -1
  87. package/ProgressBar.js +1 -1
  88. package/SegmentedControl-384bd212.js +108 -0
  89. package/SegmentedControl-384bd212.js.map +1 -0
  90. package/SegmentedControl-5d284f09.cjs +2 -0
  91. package/SegmentedControl-5d284f09.cjs.map +1 -0
  92. package/SegmentedControl.cjs +2 -0
  93. package/SegmentedControl.cjs.map +1 -0
  94. package/SegmentedControl.css +1 -0
  95. package/SegmentedControl.d.ts +36 -0
  96. package/SegmentedControl.js +16 -0
  97. package/SegmentedControl.js.map +1 -0
  98. package/{SideNav-dbcdf7cb.cjs → SideNav-2a75e772.cjs} +2 -2
  99. package/{SideNav-dbcdf7cb.cjs.map → SideNav-2a75e772.cjs.map} +1 -1
  100. package/{SideNav-b5ef91d4.js → SideNav-693494e5.js} +67 -67
  101. package/{SideNav-b5ef91d4.js.map → SideNav-693494e5.js.map} +1 -1
  102. package/SideNav.cjs +1 -1
  103. package/SideNav.js +1 -1
  104. package/SrOnly-864bd4cb.js.map +1 -1
  105. package/SrOnly-88e8fca6.cjs.map +1 -1
  106. package/Stepper-7c787b24.js +391 -0
  107. package/Stepper-7c787b24.js.map +1 -0
  108. package/Stepper-e08b9998.cjs +2 -0
  109. package/Stepper-e08b9998.cjs.map +1 -0
  110. package/Stepper.cjs +1 -1
  111. package/Stepper.d.ts +2 -2
  112. package/Stepper.js +4 -4
  113. package/Switch-39010760.js.map +1 -1
  114. package/Switch-c0bea091.cjs.map +1 -1
  115. package/Tab-0bcbe9c7.cjs.map +1 -1
  116. package/Tab-f636d6c5.js.map +1 -1
  117. package/Text-465104f6.js.map +1 -1
  118. package/Text-631c229a.cjs.map +1 -1
  119. package/TextField.cjs +1 -1
  120. package/TextField.cjs.map +1 -1
  121. package/TextField.js +16 -15
  122. package/TextField.js.map +1 -1
  123. package/Textarea.cjs +1 -1
  124. package/Textarea.cjs.map +1 -1
  125. package/Textarea.js +16 -15
  126. package/Textarea.js.map +1 -1
  127. package/{Toast-70eeeb27.js → Toast-36679136.js} +22 -22
  128. package/{Toast-70eeeb27.js.map → Toast-36679136.js.map} +1 -1
  129. package/{Toast-f681677a.cjs → Toast-44e3ff94.cjs} +5 -5
  130. package/{Toast-f681677a.cjs.map → Toast-44e3ff94.cjs.map} +1 -1
  131. package/Toast.cjs +1 -1
  132. package/Toast.js +1 -1
  133. package/Tooltip.cjs +1 -1
  134. package/Tooltip.cjs.map +1 -1
  135. package/Tooltip.js +16 -15
  136. package/Tooltip.js.map +1 -1
  137. package/anvil2.cjs +1 -1
  138. package/anvil2.d.ts +41 -35
  139. package/anvil2.js +168 -164
  140. package/anvil2.js.map +1 -1
  141. package/getKeyboardFocusableElements-ea0e208d-58a00025.js +14 -0
  142. package/getKeyboardFocusableElements-ea0e208d-58a00025.js.map +1 -0
  143. package/getKeyboardFocusableElements-ea0e208d-aba1bd01.cjs +2 -0
  144. package/getKeyboardFocusableElements-ea0e208d-aba1bd01.cjs.map +1 -0
  145. package/index-845dea53-710c1e0d.cjs +2 -0
  146. package/index-845dea53-710c1e0d.cjs.map +1 -0
  147. package/index-845dea53-dce876ab.js +521 -0
  148. package/index-845dea53-dce876ab.js.map +1 -0
  149. package/index-845dea53.css +1 -0
  150. package/{index-d1828774.js → index-cfd364c0.js} +1589 -1794
  151. package/index-cfd364c0.js.map +1 -0
  152. package/index-f3c3ec15.cjs +23 -0
  153. package/index-f3c3ec15.cjs.map +1 -0
  154. package/index3.css +1 -1
  155. package/package.json +2 -2
  156. package/useAccessibleColor.cjs +1 -1
  157. package/useAccessibleColor.js +16 -15
  158. package/useAccessibleColor.js.map +1 -1
  159. package/useLinkStyles.cjs +1 -1
  160. package/useLinkStyles.js +15 -14
  161. package/useLinkStyles.js.map +1 -1
  162. package/useMergeRefs.cjs +1 -1
  163. package/useMergeRefs.js +16 -15
  164. package/useMergeRefs.js.map +1 -1
  165. package/usePrefersColorScheme.cjs +1 -1
  166. package/usePrefersColorScheme.js +16 -15
  167. package/usePrefersColorScheme.js.map +1 -1
  168. package/useSwipe.cjs +1 -1
  169. package/useSwipe.js +16 -15
  170. package/useSwipe.js.map +1 -1
  171. package/Alert-9a5ff517.js +0 -89
  172. package/Alert-9a5ff517.js.map +0 -1
  173. package/Alert-df710e2c.cjs +0 -2
  174. package/Alert-df710e2c.cjs.map +0 -1
  175. package/Button-04337e26.cjs +0 -2
  176. package/Button-04337e26.cjs.map +0 -1
  177. package/Button-45864cc0.js +0 -289
  178. package/Button-45864cc0.js.map +0 -1
  179. package/Divider-cdc54ec4.cjs +0 -2
  180. package/Divider-cdc54ec4.cjs.map +0 -1
  181. package/Divider-e5d4cede.js +0 -74
  182. package/Divider-e5d4cede.js.map +0 -1
  183. package/Drawer-d34989aa.js +0 -219
  184. package/Drawer-d34989aa.js.map +0 -1
  185. package/Drawer-ec654d43.cjs +0 -2
  186. package/Drawer-ec654d43.cjs.map +0 -1
  187. package/ProgressBar-b25b2493.cjs.map +0 -1
  188. package/Stepper-24609fae.cjs +0 -2
  189. package/Stepper-24609fae.cjs.map +0 -1
  190. package/Stepper-af4bf5a4.js +0 -390
  191. package/Stepper-af4bf5a4.js.map +0 -1
  192. package/index-96006246.cjs +0 -23
  193. package/index-96006246.cjs.map +0 -1
  194. package/index-afacb017-461bfee6.cjs +0 -2
  195. package/index-afacb017-461bfee6.cjs.map +0 -1
  196. package/index-afacb017-9c38f9e0.js +0 -310
  197. package/index-afacb017-9c38f9e0.js.map +0 -1
  198. package/index-afacb017.css +0 -1
  199. package/index-d1828774.js.map +0 -1
@@ -37,7 +37,7 @@ function pe(r, i) {
37
37
  function mr(r, i) {
38
38
  r.prototype = Object.create(i.prototype), r.prototype.constructor = r, pe(r, i);
39
39
  }
40
- var ye = { exports: {} }, Q = { exports: {} }, O = {};
40
+ var ve = { exports: {} }, Q = { exports: {} }, O = {};
41
41
  /** @license React v16.13.1
42
42
  * react-is.production.min.js
43
43
  *
@@ -51,7 +51,7 @@ function Ve() {
51
51
  if (ge)
52
52
  return O;
53
53
  ge = 1;
54
- var r = typeof Symbol == "function" && Symbol.for, i = r ? Symbol.for("react.element") : 60103, c = r ? Symbol.for("react.portal") : 60106, a = r ? Symbol.for("react.fragment") : 60107, g = r ? Symbol.for("react.strict_mode") : 60108, s = r ? Symbol.for("react.profiler") : 60114, y = r ? Symbol.for("react.provider") : 60109, u = r ? Symbol.for("react.context") : 60110, _ = r ? Symbol.for("react.async_mode") : 60111, l = r ? Symbol.for("react.concurrent_mode") : 60111, v = r ? Symbol.for("react.forward_ref") : 60112, d = r ? Symbol.for("react.suspense") : 60113, w = r ? Symbol.for("react.suspense_list") : 60120, C = r ? Symbol.for("react.memo") : 60115, k = r ? Symbol.for("react.lazy") : 60116, S = r ? Symbol.for("react.block") : 60121, I = r ? Symbol.for("react.fundamental") : 60117, D = r ? Symbol.for("react.responder") : 60118, M = r ? Symbol.for("react.scope") : 60119;
54
+ var r = typeof Symbol == "function" && Symbol.for, i = r ? Symbol.for("react.element") : 60103, c = r ? Symbol.for("react.portal") : 60106, a = r ? Symbol.for("react.fragment") : 60107, g = r ? Symbol.for("react.strict_mode") : 60108, s = r ? Symbol.for("react.profiler") : 60114, v = r ? Symbol.for("react.provider") : 60109, u = r ? Symbol.for("react.context") : 60110, _ = r ? Symbol.for("react.async_mode") : 60111, l = r ? Symbol.for("react.concurrent_mode") : 60111, y = r ? Symbol.for("react.forward_ref") : 60112, d = r ? Symbol.for("react.suspense") : 60113, w = r ? Symbol.for("react.suspense_list") : 60120, C = r ? Symbol.for("react.memo") : 60115, k = r ? Symbol.for("react.lazy") : 60116, S = r ? Symbol.for("react.block") : 60121, I = r ? Symbol.for("react.fundamental") : 60117, D = r ? Symbol.for("react.responder") : 60118, M = r ? Symbol.for("react.scope") : 60119;
55
55
  function A(t) {
56
56
  if (typeof t == "object" && t !== null) {
57
57
  var L = t.$$typeof;
@@ -68,10 +68,10 @@ function Ve() {
68
68
  default:
69
69
  switch (t = t && t.$$typeof, t) {
70
70
  case u:
71
- case v:
71
+ case y:
72
72
  case k:
73
73
  case C:
74
- case y:
74
+ case v:
75
75
  return t;
76
76
  default:
77
77
  return L;
@@ -85,16 +85,16 @@ function Ve() {
85
85
  function j(t) {
86
86
  return A(t) === l;
87
87
  }
88
- return O.AsyncMode = _, O.ConcurrentMode = l, O.ContextConsumer = u, O.ContextProvider = y, O.Element = i, O.ForwardRef = v, O.Fragment = a, O.Lazy = k, O.Memo = C, O.Portal = c, O.Profiler = s, O.StrictMode = g, O.Suspense = d, O.isAsyncMode = function(t) {
88
+ return O.AsyncMode = _, O.ConcurrentMode = l, O.ContextConsumer = u, O.ContextProvider = v, O.Element = i, O.ForwardRef = y, O.Fragment = a, O.Lazy = k, O.Memo = C, O.Portal = c, O.Profiler = s, O.StrictMode = g, O.Suspense = d, O.isAsyncMode = function(t) {
89
89
  return j(t) || A(t) === _;
90
90
  }, O.isConcurrentMode = j, O.isContextConsumer = function(t) {
91
91
  return A(t) === u;
92
92
  }, O.isContextProvider = function(t) {
93
- return A(t) === y;
93
+ return A(t) === v;
94
94
  }, O.isElement = function(t) {
95
95
  return typeof t == "object" && t !== null && t.$$typeof === i;
96
96
  }, O.isForwardRef = function(t) {
97
- return A(t) === v;
97
+ return A(t) === y;
98
98
  }, O.isFragment = function(t) {
99
99
  return A(t) === a;
100
100
  }, O.isLazy = function(t) {
@@ -110,7 +110,7 @@ function Ve() {
110
110
  }, O.isSuspense = function(t) {
111
111
  return A(t) === d;
112
112
  }, O.isValidElementType = function(t) {
113
- return typeof t == "string" || typeof t == "function" || t === a || t === l || t === s || t === g || t === d || t === w || typeof t == "object" && t !== null && (t.$$typeof === k || t.$$typeof === C || t.$$typeof === y || t.$$typeof === u || t.$$typeof === v || t.$$typeof === I || t.$$typeof === D || t.$$typeof === M || t.$$typeof === S);
113
+ return typeof t == "string" || typeof t == "function" || t === a || t === l || t === s || t === g || t === d || t === w || typeof t == "object" && t !== null && (t.$$typeof === k || t.$$typeof === C || t.$$typeof === v || t.$$typeof === u || t.$$typeof === y || t.$$typeof === I || t.$$typeof === D || t.$$typeof === M || t.$$typeof === S);
114
114
  }, O.typeOf = A, O;
115
115
  }
116
116
  var P = {};
@@ -125,10 +125,10 @@ var P = {};
125
125
  var _e;
126
126
  function Ge() {
127
127
  return _e || (_e = 1, process.env.NODE_ENV !== "production" && function() {
128
- var r = typeof Symbol == "function" && Symbol.for, i = r ? Symbol.for("react.element") : 60103, c = r ? Symbol.for("react.portal") : 60106, a = r ? Symbol.for("react.fragment") : 60107, g = r ? Symbol.for("react.strict_mode") : 60108, s = r ? Symbol.for("react.profiler") : 60114, y = r ? Symbol.for("react.provider") : 60109, u = r ? Symbol.for("react.context") : 60110, _ = r ? Symbol.for("react.async_mode") : 60111, l = r ? Symbol.for("react.concurrent_mode") : 60111, v = r ? Symbol.for("react.forward_ref") : 60112, d = r ? Symbol.for("react.suspense") : 60113, w = r ? Symbol.for("react.suspense_list") : 60120, C = r ? Symbol.for("react.memo") : 60115, k = r ? Symbol.for("react.lazy") : 60116, S = r ? Symbol.for("react.block") : 60121, I = r ? Symbol.for("react.fundamental") : 60117, D = r ? Symbol.for("react.responder") : 60118, M = r ? Symbol.for("react.scope") : 60119;
128
+ var r = typeof Symbol == "function" && Symbol.for, i = r ? Symbol.for("react.element") : 60103, c = r ? Symbol.for("react.portal") : 60106, a = r ? Symbol.for("react.fragment") : 60107, g = r ? Symbol.for("react.strict_mode") : 60108, s = r ? Symbol.for("react.profiler") : 60114, v = r ? Symbol.for("react.provider") : 60109, u = r ? Symbol.for("react.context") : 60110, _ = r ? Symbol.for("react.async_mode") : 60111, l = r ? Symbol.for("react.concurrent_mode") : 60111, y = r ? Symbol.for("react.forward_ref") : 60112, d = r ? Symbol.for("react.suspense") : 60113, w = r ? Symbol.for("react.suspense_list") : 60120, C = r ? Symbol.for("react.memo") : 60115, k = r ? Symbol.for("react.lazy") : 60116, S = r ? Symbol.for("react.block") : 60121, I = r ? Symbol.for("react.fundamental") : 60117, D = r ? Symbol.for("react.responder") : 60118, M = r ? Symbol.for("react.scope") : 60119;
129
129
  function A(n) {
130
130
  return typeof n == "string" || typeof n == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
131
- n === a || n === l || n === s || n === g || n === d || n === w || typeof n == "object" && n !== null && (n.$$typeof === k || n.$$typeof === C || n.$$typeof === y || n.$$typeof === u || n.$$typeof === v || n.$$typeof === I || n.$$typeof === D || n.$$typeof === M || n.$$typeof === S);
131
+ n === a || n === l || n === s || n === g || n === d || n === w || typeof n == "object" && n !== null && (n.$$typeof === k || n.$$typeof === C || n.$$typeof === v || n.$$typeof === u || n.$$typeof === y || n.$$typeof === I || n.$$typeof === D || n.$$typeof === M || n.$$typeof === S);
132
132
  }
133
133
  function j(n) {
134
134
  if (typeof n == "object" && n !== null) {
@@ -148,10 +148,10 @@ function Ge() {
148
148
  var be = Z && Z.$$typeof;
149
149
  switch (be) {
150
150
  case u:
151
- case v:
151
+ case y:
152
152
  case k:
153
153
  case C:
154
- case y:
154
+ case v:
155
155
  return be;
156
156
  default:
157
157
  return U;
@@ -162,7 +162,7 @@ function Ge() {
162
162
  }
163
163
  }
164
164
  }
165
- var t = _, L = l, J = u, z = y, $ = i, Y = v, K = a, V = k, H = C, G = c, ne = s, W = g, B = d, X = !1;
165
+ var t = _, L = l, J = u, z = v, $ = i, Y = y, K = a, V = k, H = C, G = c, ne = s, W = g, B = d, X = !1;
166
166
  function oe(n) {
167
167
  return X || (X = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), e(n) || j(n) === _;
168
168
  }
@@ -173,13 +173,13 @@ function Ge() {
173
173
  return j(n) === u;
174
174
  }
175
175
  function h(n) {
176
- return j(n) === y;
176
+ return j(n) === v;
177
177
  }
178
178
  function b(n) {
179
179
  return typeof n == "object" && n !== null && n.$$typeof === i;
180
180
  }
181
181
  function f(n) {
182
- return j(n) === v;
182
+ return j(n) === y;
183
183
  }
184
184
  function E(n) {
185
185
  return j(n) === a;
@@ -232,24 +232,24 @@ function Je() {
232
232
  var s = new String("abc");
233
233
  if (s[5] = "de", Object.getOwnPropertyNames(s)[0] === "5")
234
234
  return !1;
235
- for (var y = {}, u = 0; u < 10; u++)
236
- y["_" + String.fromCharCode(u)] = u;
237
- var _ = Object.getOwnPropertyNames(y).map(function(v) {
238
- return y[v];
235
+ for (var v = {}, u = 0; u < 10; u++)
236
+ v["_" + String.fromCharCode(u)] = u;
237
+ var _ = Object.getOwnPropertyNames(v).map(function(y) {
238
+ return v[y];
239
239
  });
240
240
  if (_.join("") !== "0123456789")
241
241
  return !1;
242
242
  var l = {};
243
- return "abcdefghijklmnopqrst".split("").forEach(function(v) {
244
- l[v] = v;
243
+ return "abcdefghijklmnopqrst".split("").forEach(function(y) {
244
+ l[y] = y;
245
245
  }), Object.keys(Object.assign({}, l)).join("") === "abcdefghijklmnopqrst";
246
246
  } catch {
247
247
  return !1;
248
248
  }
249
249
  }
250
- return ae = g() ? Object.assign : function(s, y) {
251
- for (var u, _ = a(s), l, v = 1; v < arguments.length; v++) {
252
- u = Object(arguments[v]);
250
+ return ae = g() ? Object.assign : function(s, v) {
251
+ for (var u, _ = a(s), l, y = 1; y < arguments.length; y++) {
252
+ u = Object(arguments[y]);
253
253
  for (var d in u)
254
254
  i.call(u, d) && (_[d] = u[d]);
255
255
  if (r) {
@@ -262,7 +262,7 @@ function Je() {
262
262
  }, ae;
263
263
  }
264
264
  var ie, xe;
265
- function ve() {
265
+ function ye() {
266
266
  if (xe)
267
267
  return ie;
268
268
  xe = 1;
@@ -281,34 +281,34 @@ function He() {
281
281
  var r = function() {
282
282
  };
283
283
  if (process.env.NODE_ENV !== "production") {
284
- var i = ve(), c = {}, a = Ae();
284
+ var i = ye(), c = {}, a = Ae();
285
285
  r = function(s) {
286
- var y = "Warning: " + s;
287
- typeof console < "u" && console.error(y);
286
+ var v = "Warning: " + s;
287
+ typeof console < "u" && console.error(v);
288
288
  try {
289
- throw new Error(y);
289
+ throw new Error(v);
290
290
  } catch {
291
291
  }
292
292
  };
293
293
  }
294
- function g(s, y, u, _, l) {
294
+ function g(s, v, u, _, l) {
295
295
  if (process.env.NODE_ENV !== "production") {
296
- for (var v in s)
297
- if (a(s, v)) {
296
+ for (var y in s)
297
+ if (a(s, y)) {
298
298
  var d;
299
299
  try {
300
- if (typeof s[v] != "function") {
300
+ if (typeof s[y] != "function") {
301
301
  var w = Error(
302
- (_ || "React class") + ": " + u + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
302
+ (_ || "React class") + ": " + u + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
303
303
  );
304
304
  throw w.name = "Invariant Violation", w;
305
305
  }
306
- d = s[v](y, v, _, u, null, i);
306
+ d = s[y](v, y, _, u, null, i);
307
307
  } catch (k) {
308
308
  d = k;
309
309
  }
310
310
  if (d && !(d instanceof Error) && r(
311
- (_ || "React class") + ": type specification of " + u + " `" + v + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof d + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
311
+ (_ || "React class") + ": type specification of " + u + " `" + y + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof d + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
312
312
  ), d instanceof Error && !(d.message in c)) {
313
313
  c[d.message] = !0;
314
314
  var C = l ? l() : "";
@@ -328,7 +328,7 @@ function Xe() {
328
328
  if (Pe)
329
329
  return ue;
330
330
  Pe = 1;
331
- var r = Ce(), i = Je(), c = ve(), a = Ae(), g = He(), s = function() {
331
+ var r = Ce(), i = Je(), c = ye(), a = Ae(), g = He(), s = function() {
332
332
  };
333
333
  process.env.NODE_ENV !== "production" && (s = function(u) {
334
334
  var _ = "Warning: " + u;
@@ -338,13 +338,13 @@ function Xe() {
338
338
  } catch {
339
339
  }
340
340
  });
341
- function y() {
341
+ function v() {
342
342
  return null;
343
343
  }
344
344
  return ue = function(u, _) {
345
- var l = typeof Symbol == "function" && Symbol.iterator, v = "@@iterator";
345
+ var l = typeof Symbol == "function" && Symbol.iterator, y = "@@iterator";
346
346
  function d(e) {
347
- var o = e && (l && e[l] || e[v]);
347
+ var o = e && (l && e[l] || e[y]);
348
348
  if (typeof o == "function")
349
349
  return o;
350
350
  }
@@ -414,7 +414,7 @@ function Xe() {
414
414
  return I(o);
415
415
  }
416
416
  function M() {
417
- return I(y);
417
+ return I(v);
418
418
  }
419
419
  function A(e) {
420
420
  function o(h, b, f, E, p) {
@@ -470,7 +470,7 @@ function Xe() {
470
470
  if (!Array.isArray(e))
471
471
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
472
472
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
473
- ) : s("Invalid argument supplied to oneOf, expected an array.")), y;
473
+ ) : s("Invalid argument supplied to oneOf, expected an array.")), v;
474
474
  function o(h, b, f, E, p) {
475
475
  for (var m = h[b], T = 0; T < e.length; T++)
476
476
  if (k(m, e[T]))
@@ -502,13 +502,13 @@ function Xe() {
502
502
  }
503
503
  function $(e) {
504
504
  if (!Array.isArray(e))
505
- return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), y;
505
+ return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), v;
506
506
  for (var o = 0; o < e.length; o++) {
507
507
  var h = e[o];
508
508
  if (typeof h != "function")
509
509
  return s(
510
510
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + X(h) + " at index " + o + "."
511
- ), y;
511
+ ), v;
512
512
  }
513
513
  function b(f, E, p, m, T) {
514
514
  for (var R = [], x = 0; x < e.length; x++) {
@@ -650,13 +650,13 @@ function Ze() {
650
650
  if (we)
651
651
  return fe;
652
652
  we = 1;
653
- var r = ve();
653
+ var r = ye();
654
654
  function i() {
655
655
  }
656
656
  function c() {
657
657
  }
658
658
  return c.resetWarningCache = i, fe = function() {
659
- function a(y, u, _, l, v, d) {
659
+ function a(v, u, _, l, y, d) {
660
660
  if (d !== r) {
661
661
  var w = new Error(
662
662
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
@@ -696,10 +696,10 @@ function Ze() {
696
696
  }
697
697
  if (process.env.NODE_ENV !== "production") {
698
698
  var Qe = Ce(), er = !0;
699
- ye.exports = Xe()(Qe.isElement, er);
699
+ ve.exports = Xe()(Qe.isElement, er);
700
700
  } else
701
- ye.exports = Ze()();
702
- var rr = ye.exports;
701
+ ve.exports = Ze()();
702
+ var rr = ve.exports;
703
703
  const hr = /* @__PURE__ */ Ne(rr);
704
704
  const tr = "_sidenav_12xoe_4", nr = "_root_12xoe_5", or = "_group_12xoe_9", ar = "_arrow_12xoe_58", ir = "_disabled_12xoe_88", F = {
705
705
  sidenav: tr,
@@ -719,14 +719,14 @@ const tr = "_sidenav_12xoe_4", nr = "_root_12xoe_5", or = "_group_12xoe_9", ar =
719
719
  case "ArrowDown":
720
720
  if (!i)
721
721
  return;
722
- if (i[a].setAttribute("tabindex", "-1"), a === i.length - 1) {
722
+ if (r.preventDefault(), i[a].setAttribute("tabindex", "-1"), a === i.length - 1) {
723
723
  i[0].setAttribute("tabindex", "0"), i[0].focus();
724
724
  break;
725
725
  }
726
726
  i[a + 1].setAttribute("tabindex", "0"), i[a + 1].focus();
727
727
  break;
728
728
  case "ArrowUp":
729
- if (!i)
729
+ if (r.preventDefault(), !i)
730
730
  return;
731
731
  if (i[a].setAttribute("tabindex", "-1"), a === 0) {
732
732
  i[i.length - 1].setAttribute("tabindex", "0"), i[i.length - 1].focus();
@@ -742,11 +742,11 @@ const tr = "_sidenav_12xoe_4", nr = "_root_12xoe_5", or = "_group_12xoe_9", ar =
742
742
  children: a,
743
743
  href: g,
744
744
  id: s,
745
- active: y,
745
+ active: v,
746
746
  onClick: u,
747
747
  onKeyDown: _,
748
748
  onKeyUp: l,
749
- style: v,
749
+ style: y,
750
750
  disabled: d,
751
751
  ...w
752
752
  } = r, { links: C } = qe(), k = ee(null);
@@ -763,11 +763,11 @@ const tr = "_sidenav_12xoe_4", nr = "_root_12xoe_5", or = "_group_12xoe_9", ar =
763
763
  const t = Array.prototype.slice.call(C).filter((L) => L.tabIndex === 0)[0];
764
764
  t && t.setAttribute("tabindex", "-1"), (A = k.current) == null || A.setAttribute("tabindex", "0"), (j = k.current) == null || j.focus(), u == null || u(M, s);
765
765
  }
766
- return /* @__PURE__ */ N.jsx("li", { className: c, "data-anv": "sidenav-link", style: v, ref: i, children: /* @__PURE__ */ N.jsx(
766
+ return /* @__PURE__ */ N.jsx("li", { className: c, "data-anv": "sidenav-link", style: y, ref: i, children: /* @__PURE__ */ N.jsx(
767
767
  "a",
768
768
  {
769
769
  className: F["sidenav-link"],
770
- "aria-current": y ? "page" : void 0,
770
+ "aria-current": v ? "page" : void 0,
771
771
  href: g,
772
772
  ref: k,
773
773
  onClick: D,
@@ -775,7 +775,7 @@ const tr = "_sidenav_12xoe_4", nr = "_root_12xoe_5", or = "_group_12xoe_9", ar =
775
775
  onKeyUp: I,
776
776
  id: s,
777
777
  "aria-disabled": d,
778
- tabIndex: y ? 0 : -1,
778
+ tabIndex: v ? 0 : -1,
779
779
  ...w,
780
780
  children: a
781
781
  }
@@ -789,11 +789,11 @@ const sr = (r) => /* @__PURE__ */ me.createElement("svg", { xmlns: "http://www.w
789
789
  className: a,
790
790
  children: g,
791
791
  label: s,
792
- onClick: y,
792
+ onClick: v,
793
793
  onKeyDown: u,
794
794
  defaultExpanded: _ = !1,
795
795
  expanded: l,
796
- ...v
796
+ ...y
797
797
  } = r, [d, w] = le(_), [C, k] = le(!1), S = ee(null), I = ee(null), D = re(F["sidenav-collapsible"], a), { links: M, reCalculateLinks: A } = qe(), j = Re(), t = ($) => {
798
798
  l === void 0 && w((Y) => $ !== void 0 ? $ : !Y);
799
799
  };
@@ -804,7 +804,7 @@ const sr = (r) => /* @__PURE__ */ me.createElement("svg", { xmlns: "http://www.w
804
804
  var Y, K;
805
805
  t(), setTimeout(() => A(), 0);
806
806
  const V = Array.prototype.slice.call(M).filter((H) => H.tabIndex === 0)[0];
807
- V && V.setAttribute("tabindex", "-1"), (Y = S.current) == null || Y.setAttribute("tabindex", "0"), (K = S.current) == null || K.focus(), y == null || y($);
807
+ V && V.setAttribute("tabindex", "-1"), (Y = S.current) == null || Y.setAttribute("tabindex", "0"), (K = S.current) == null || K.focus(), v == null || v($);
808
808
  }
809
809
  function J($) {
810
810
  switch (je($, M, S), $.key) {
@@ -838,7 +838,7 @@ const sr = (r) => /* @__PURE__ */ me.createElement("svg", { xmlns: "http://www.w
838
838
  {
839
839
  ref: i,
840
840
  "data-anv": "sidenav-collapsible",
841
- ...v,
841
+ ...y,
842
842
  className: D,
843
843
  children: [
844
844
  /* @__PURE__ */ N.jsxs(
@@ -868,17 +868,17 @@ const sr = (r) => /* @__PURE__ */ me.createElement("svg", { xmlns: "http://www.w
868
868
  Ie.displayName = "SideNavCollapsible";
869
869
  const Me = te(
870
870
  (r, i) => {
871
- const { children: c, label: a, ...g } = r, s = re(F["sidenav-group"]), y = Re();
871
+ const { children: c, label: a, ...g } = r, s = re(F["sidenav-group"]), v = Re();
872
872
  return /* @__PURE__ */ N.jsxs("li", { ref: i, "data-anv": "sidenav-group", ...g, children: [
873
- /* @__PURE__ */ N.jsx("label", { id: y, className: F["group-label"], children: a }),
874
- /* @__PURE__ */ N.jsx("ul", { "aria-labelledby": y, className: s, children: c })
873
+ /* @__PURE__ */ N.jsx("label", { id: v, className: F["group-label"], children: a }),
874
+ /* @__PURE__ */ N.jsx("ul", { "aria-labelledby": v, className: s, children: c })
875
875
  ] });
876
876
  }
877
877
  );
878
878
  Me.displayName = "SideNavGroup";
879
879
  const $e = We(null), De = te((r, i) => {
880
- const { layoutStyles: c, componentProps: a } = ze(r), { className: g, children: s, style: y, ...u } = a, _ = ee(null), [l, v] = le(), d = {
881
- ...y,
880
+ const { layoutStyles: c, componentProps: a } = ze(r), { className: g, children: s, style: v, ...u } = a, _ = ee(null), [l, y] = le(), d = {
881
+ ...v,
882
882
  ...c
883
883
  };
884
884
  function w() {
@@ -886,7 +886,7 @@ const $e = We(null), De = te((r, i) => {
886
886
  const S = _.current.querySelectorAll(
887
887
  "li[data-anv='sidenav-link'] a:not([aria-disabled='true']), li[data-anv='sidenav-collapsible'] button[aria-expanded]:not([aria-disabled='true'])"
888
888
  );
889
- v(S);
889
+ y(S);
890
890
  }
891
891
  }
892
892
  de(() => {
@@ -932,4 +932,4 @@ export {
932
932
  Me as c,
933
933
  gr as f
934
934
  };
935
- //# sourceMappingURL=SideNav-b5ef91d4.js.map
935
+ //# sourceMappingURL=SideNav-693494e5.js.map