@lanaco/lnc-react-ui 3.11.35 → 4.0.2

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 (218) hide show
  1. package/README.md +0 -3
  2. package/dist/Accordion.cjs +6 -0
  3. package/dist/Accordion.js +65 -0
  4. package/dist/AccordionDetails.cjs +7 -0
  5. package/dist/AccordionDetails.js +32 -0
  6. package/dist/AccordionSummary.cjs +12 -0
  7. package/dist/AccordionSummary.js +78 -0
  8. package/dist/ActionsToolbar.cjs +19 -0
  9. package/dist/ActionsToolbar.js +225 -0
  10. package/dist/Alert.cjs +40 -0
  11. package/dist/Alert.js +138 -0
  12. package/dist/Avatar.cjs +16 -0
  13. package/dist/Avatar.js +114 -0
  14. package/dist/Badge.cjs +17 -0
  15. package/dist/Badge.js +70 -0
  16. package/dist/Breadcrumbs.cjs +8 -0
  17. package/dist/Breadcrumbs.js +131 -0
  18. package/dist/Button.cjs +127 -0
  19. package/dist/Button.js +542 -0
  20. package/dist/ButtonGroup.cjs +44 -0
  21. package/dist/ButtonGroup.js +112 -0
  22. package/dist/CheckBoxInput.cjs +118 -0
  23. package/dist/CheckBoxInput.js +348 -0
  24. package/dist/Chip.cjs +27 -0
  25. package/dist/Chip.js +189 -0
  26. package/dist/ColorInput.cjs +60 -0
  27. package/dist/ColorInput.js +256 -0
  28. package/dist/ConfirmationForm.cjs +22 -0
  29. package/dist/ConfirmationForm.js +169 -0
  30. package/dist/Content.cjs +1 -0
  31. package/dist/Content.js +18 -0
  32. package/dist/CustomStyles-CqlCjTgU.cjs +8 -0
  33. package/dist/CustomStyles-nfD3J1mi.js +2881 -0
  34. package/dist/DataView.cjs +1 -0
  35. package/dist/DataView.js +62 -0
  36. package/dist/DateInput.cjs +296 -0
  37. package/dist/DateInput.js +7042 -0
  38. package/dist/DecimalInput.cjs +54 -0
  39. package/dist/DecimalInput.js +697 -0
  40. package/dist/DetailsView.cjs +18 -0
  41. package/dist/DetailsView.js +243 -0
  42. package/dist/DoubleRangeSlider.cjs +114 -0
  43. package/dist/DoubleRangeSlider.js +289 -0
  44. package/dist/DragAndDropFile.cjs +31 -0
  45. package/dist/DragAndDropFile.js +2331 -0
  46. package/dist/DragDropFiles.cjs +14 -0
  47. package/dist/DragDropFiles.js +175 -0
  48. package/dist/Drawer.cjs +6 -0
  49. package/dist/Drawer.js +206 -0
  50. package/dist/Dropdown.cjs +1 -0
  51. package/dist/Dropdown.js +266 -0
  52. package/dist/DropdownItem.cjs +36 -0
  53. package/dist/DropdownItem.js +241 -0
  54. package/dist/DropdownLookup.cjs +1 -0
  55. package/dist/DropdownLookup.js +325 -0
  56. package/dist/DropdownMenu-B6qr13ik.cjs +19 -0
  57. package/dist/DropdownMenu-DZi3TJ8Q.js +1547 -0
  58. package/dist/DropdownMenu.cjs +1 -0
  59. package/dist/DropdownMenu.js +12 -0
  60. package/dist/EditableTable.cjs +21 -0
  61. package/dist/EditableTable.js +462 -0
  62. package/dist/FileInput.cjs +47 -0
  63. package/dist/FileInput.js +206 -0
  64. package/dist/FlexBox.cjs +9 -0
  65. package/dist/FlexBox.js +97 -0
  66. package/dist/FlexGrid.cjs +1 -0
  67. package/dist/FlexGrid.js +78 -0
  68. package/dist/FlexGridItem.cjs +7 -0
  69. package/dist/FlexGridItem.js +97 -0
  70. package/dist/Footer.cjs +1 -0
  71. package/dist/Footer.js +18 -0
  72. package/dist/FormField.cjs +11 -0
  73. package/dist/FormField.js +65 -0
  74. package/dist/FormView.cjs +13 -0
  75. package/dist/FormView.js +354 -0
  76. package/dist/Grid.cjs +13 -0
  77. package/dist/Grid.js +62 -0
  78. package/dist/GridItem.cjs +15 -0
  79. package/dist/GridItem.js +72 -0
  80. package/dist/Header.cjs +1 -0
  81. package/dist/Header.js +18 -0
  82. package/dist/Icon.cjs +8 -0
  83. package/dist/Icon.js +59 -0
  84. package/dist/IconButton.cjs +122 -0
  85. package/dist/IconButton.js +481 -0
  86. package/dist/Kanban.cjs +85 -0
  87. package/dist/Kanban.js +4793 -0
  88. package/dist/KanbanActionsToolbar.cjs +19 -0
  89. package/dist/KanbanActionsToolbar.js +152 -0
  90. package/dist/KanbanCard-ConTmu3w.cjs +30 -0
  91. package/dist/KanbanCard-D9OhU8C6.js +175 -0
  92. package/dist/KanbanCard.cjs +1 -0
  93. package/dist/KanbanCard.js +12 -0
  94. package/dist/KanbanFooter.cjs +5 -0
  95. package/dist/KanbanFooter.js +84 -0
  96. package/dist/KanbanHeader.cjs +15 -0
  97. package/dist/KanbanHeader.js +127 -0
  98. package/dist/KanbanView.cjs +8 -0
  99. package/dist/KanbanView.js +255 -0
  100. package/dist/Link.cjs +15 -0
  101. package/dist/Link.js +62 -0
  102. package/dist/MenuItem.cjs +36 -0
  103. package/dist/MenuItem.js +230 -0
  104. package/dist/Modal.cjs +84 -0
  105. package/dist/Modal.js +372 -0
  106. package/dist/MultiSelectDropdown.cjs +1 -0
  107. package/dist/MultiSelectDropdown.js +261 -0
  108. package/dist/MultiSelectDropdownLookup.cjs +1 -0
  109. package/dist/MultiSelectDropdownLookup.js +274 -0
  110. package/dist/NestedDropdownItem.cjs +6 -0
  111. package/dist/NestedDropdownItem.js +102 -0
  112. package/dist/NestedMenuItem.cjs +6 -0
  113. package/dist/NestedMenuItem.js +115 -0
  114. package/dist/Notification.cjs +83 -0
  115. package/dist/Notification.js +1079 -0
  116. package/dist/NumberInput.cjs +45 -0
  117. package/dist/NumberInput.js +241 -0
  118. package/dist/PageLayout.cjs +26 -0
  119. package/dist/PageLayout.js +92 -0
  120. package/dist/PasswordInput.cjs +47 -0
  121. package/dist/PasswordInput.js +230 -0
  122. package/dist/ProgressBar.cjs +22 -0
  123. package/dist/ProgressBar.js +92 -0
  124. package/dist/RadioGroup.cjs +7 -0
  125. package/dist/RadioGroup.js +104 -0
  126. package/dist/RadioInput.cjs +117 -0
  127. package/dist/RadioInput.js +362 -0
  128. package/dist/RangeSlider.cjs +72 -0
  129. package/dist/RangeSlider.js +253 -0
  130. package/dist/SearchBar.cjs +100 -0
  131. package/dist/SearchBar.js +994 -0
  132. package/dist/Separator.cjs +6 -0
  133. package/dist/Separator.js +37 -0
  134. package/dist/Sidebar.cjs +39 -0
  135. package/dist/Sidebar.js +123 -0
  136. package/dist/Spinner.cjs +38 -0
  137. package/dist/Spinner.js +114 -0
  138. package/dist/Surface.cjs +7 -0
  139. package/dist/Surface.js +60 -0
  140. package/dist/SwipeableDrawer.cjs +33 -0
  141. package/dist/SwipeableDrawer.js +213 -0
  142. package/dist/Table.cjs +170 -0
  143. package/dist/Table.js +1408 -0
  144. package/dist/TableView-Cj5_fbSR.js +481 -0
  145. package/dist/TableView-D8ex512p.cjs +19 -0
  146. package/dist/TableView.cjs +1 -0
  147. package/dist/TableView.js +11 -0
  148. package/dist/Tabs.cjs +7 -0
  149. package/dist/Tabs.js +72 -0
  150. package/dist/TextAreaInput.cjs +33 -0
  151. package/dist/TextAreaInput.js +320 -0
  152. package/dist/TextInput.cjs +45 -0
  153. package/dist/TextInput.js +227 -0
  154. package/dist/ThemeProvider.cjs +113 -0
  155. package/dist/ThemeProvider.js +1340 -0
  156. package/dist/TimeInput.cjs +31 -0
  157. package/dist/TimeInput.js +133 -0
  158. package/dist/Toggle.cjs +151 -0
  159. package/dist/Toggle.js +421 -0
  160. package/dist/TreeMenu.cjs +15 -0
  161. package/dist/TreeMenu.js +108 -0
  162. package/dist/TreeMenuSeparator.cjs +6 -0
  163. package/dist/TreeMenuSeparator.js +40 -0
  164. package/dist/UploadedFile.cjs +39 -0
  165. package/dist/UploadedFile.js +192 -0
  166. package/dist/defineProperty-BHpTtkhC.js +110 -0
  167. package/dist/defineProperty-DHvxLH8G.cjs +1 -0
  168. package/dist/emotion-element-5486c51c.browser.esm-CSejtOeT.js +886 -0
  169. package/dist/emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs +1 -0
  170. package/dist/emotion-is-prop-valid.esm-BzFBwmJz.js +10 -0
  171. package/dist/emotion-is-prop-valid.esm-CMrshNb7.cjs +1 -0
  172. package/dist/emotion-react.browser.esm-DQBL7Wls.cjs +1 -0
  173. package/dist/emotion-react.browser.esm-OWM-uG8Q.js +94 -0
  174. package/dist/emotion-styled.browser.esm-BZSYYThs.js +210 -0
  175. package/dist/emotion-styled.browser.esm-Cbp_XsK4.cjs +1 -0
  176. package/dist/floating-ui.dom-1F2mTXOe.cjs +1 -0
  177. package/dist/floating-ui.dom-BdUovkEr.js +938 -0
  178. package/dist/hoist-non-react-statics.cjs-B8r9S_ak.cjs +15 -0
  179. package/dist/hoist-non-react-statics.cjs-Drf1aBlk.js +235 -0
  180. package/dist/index-BLQWNy78.js +109 -0
  181. package/dist/index-BP5r5zGN.cjs +1 -0
  182. package/dist/index-B_da1uvD.js +451 -0
  183. package/dist/index-BjdOz5Ok.cjs +1 -0
  184. package/dist/index-BklgDeu4.js +42 -0
  185. package/dist/index-C29T0m2a.cjs +174 -0
  186. package/dist/index-CZJEA84h.js +19069 -0
  187. package/dist/index-Cdkz-XH-.js +127 -0
  188. package/dist/index-D5vEbKUT.js +81 -0
  189. package/dist/index-DXnSjbfJ.cjs +20 -0
  190. package/dist/index-Ds9PUTwb.js +667 -0
  191. package/dist/index-Dzkd2i4n.cjs +1 -0
  192. package/dist/index-IO9v6o0I.cjs +5 -0
  193. package/dist/index-P-naJISQ.cjs +1 -0
  194. package/dist/index.cjs +26 -0
  195. package/dist/index.js +378 -0
  196. package/dist/motion-CtkUpWEn.js +3785 -0
  197. package/dist/motion-Oud-wpUz.cjs +1 -0
  198. package/dist/objectWithoutPropertiesLoose-Bz3hwpmU.cjs +1 -0
  199. package/dist/objectWithoutPropertiesLoose-DwEN6RBQ.js +12 -0
  200. package/dist/setPrototypeOf-4aSEnBDm.cjs +1 -0
  201. package/dist/setPrototypeOf-a891FLQJ.js +13 -0
  202. package/dist/style.css +5 -0
  203. package/dist/tslib.es6-ZNVz5r_T.js +90 -0
  204. package/dist/tslib.es6-fPwcSa2V.cjs +1 -0
  205. package/dist/use-isomorphic-layout-effect.browser.esm-CkGv31zs.cjs +1 -0
  206. package/dist/use-isomorphic-layout-effect.browser.esm-DERp5kr6.js +5 -0
  207. package/dist/useUpdateEffect-BtMgpgIV.cjs +1 -0
  208. package/dist/useUpdateEffect-CuYWz7EA.js +15 -0
  209. package/dist/utils-DEke8iwo.js +10196 -0
  210. package/dist/utils-hdRGTsQ7.cjs +13 -0
  211. package/eslint.config.js +38 -0
  212. package/package.json +137 -58
  213. package/vite.config.js +135 -0
  214. package/jest.config.js +0 -7
  215. package/lib/index.esm.js +0 -84028
  216. package/lib/index.js +0 -84165
  217. package/rc1 +0 -0
  218. package/test/jest/__mocks__/styleMock.js +0 -1
@@ -0,0 +1,15 @@
1
+ "use strict";const ue=require("./index-DXnSjbfJ.cjs");var M={exports:{}},o={};/** @license React v16.13.1
2
+ * react-is.production.min.js
3
+ *
4
+ * Copyright (c) Facebook, Inc. and its affiliates.
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */var I;function le(){if(I)return o;I=1;var t=typeof Symbol=="function"&&Symbol.for,s=t?Symbol.for("react.element"):60103,d=t?Symbol.for("react.portal"):60106,u=t?Symbol.for("react.fragment"):60107,f=t?Symbol.for("react.strict_mode"):60108,y=t?Symbol.for("react.profiler"):60114,m=t?Symbol.for("react.provider"):60109,l=t?Symbol.for("react.context"):60110,i=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,v=t?Symbol.for("react.forward_ref"):60112,S=t?Symbol.for("react.suspense"):60113,b=t?Symbol.for("react.suspense_list"):60120,E=t?Symbol.for("react.memo"):60115,_=t?Symbol.for("react.lazy"):60116,R=t?Symbol.for("react.block"):60121,$=t?Symbol.for("react.fundamental"):60117,C=t?Symbol.for("react.responder"):60118,x=t?Symbol.for("react.scope"):60119;function c(e){if(typeof e=="object"&&e!==null){var T=e.$$typeof;switch(T){case s:switch(e=e.type,e){case i:case p:case u:case y:case f:case S:return e;default:switch(e=e&&e.$$typeof,e){case l:case v:case _:case E:case m:return e;default:return T}}case d:return T}}}function a(e){return c(e)===p}return o.AsyncMode=i,o.ConcurrentMode=p,o.ContextConsumer=l,o.ContextProvider=m,o.Element=s,o.ForwardRef=v,o.Fragment=u,o.Lazy=_,o.Memo=E,o.Portal=d,o.Profiler=y,o.StrictMode=f,o.Suspense=S,o.isAsyncMode=function(e){return a(e)||c(e)===i},o.isConcurrentMode=a,o.isContextConsumer=function(e){return c(e)===l},o.isContextProvider=function(e){return c(e)===m},o.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===s},o.isForwardRef=function(e){return c(e)===v},o.isFragment=function(e){return c(e)===u},o.isLazy=function(e){return c(e)===_},o.isMemo=function(e){return c(e)===E},o.isPortal=function(e){return c(e)===d},o.isProfiler=function(e){return c(e)===y},o.isStrictMode=function(e){return c(e)===f},o.isSuspense=function(e){return c(e)===S},o.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===u||e===p||e===y||e===f||e===S||e===b||typeof e=="object"&&e!==null&&(e.$$typeof===_||e.$$typeof===E||e.$$typeof===m||e.$$typeof===l||e.$$typeof===v||e.$$typeof===$||e.$$typeof===C||e.$$typeof===x||e.$$typeof===R)},o.typeOf=c,o}var n={};/** @license React v16.13.1
9
+ * react-is.development.js
10
+ *
11
+ * Copyright (c) Facebook, Inc. and its affiliates.
12
+ *
13
+ * This source code is licensed under the MIT license found in the
14
+ * LICENSE file in the root directory of this source tree.
15
+ */var Y;function ye(){return Y||(Y=1,process.env.NODE_ENV!=="production"&&function(){var t=typeof Symbol=="function"&&Symbol.for,s=t?Symbol.for("react.element"):60103,d=t?Symbol.for("react.portal"):60106,u=t?Symbol.for("react.fragment"):60107,f=t?Symbol.for("react.strict_mode"):60108,y=t?Symbol.for("react.profiler"):60114,m=t?Symbol.for("react.provider"):60109,l=t?Symbol.for("react.context"):60110,i=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,v=t?Symbol.for("react.forward_ref"):60112,S=t?Symbol.for("react.suspense"):60113,b=t?Symbol.for("react.suspense_list"):60120,E=t?Symbol.for("react.memo"):60115,_=t?Symbol.for("react.lazy"):60116,R=t?Symbol.for("react.block"):60121,$=t?Symbol.for("react.fundamental"):60117,C=t?Symbol.for("react.responder"):60118,x=t?Symbol.for("react.scope"):60119;function c(r){return typeof r=="string"||typeof r=="function"||r===u||r===p||r===y||r===f||r===S||r===b||typeof r=="object"&&r!==null&&(r.$$typeof===_||r.$$typeof===E||r.$$typeof===m||r.$$typeof===l||r.$$typeof===v||r.$$typeof===$||r.$$typeof===C||r.$$typeof===x||r.$$typeof===R)}function a(r){if(typeof r=="object"&&r!==null){var A=r.$$typeof;switch(A){case s:var P=r.type;switch(P){case i:case p:case u:case y:case f:case S:return P;default:var F=P&&P.$$typeof;switch(F){case l:case v:case _:case E:case m:return F;default:return A}}case d:return A}}}var e=i,T=p,q=l,V=m,U=s,W=v,K=u,B=_,G=E,X=d,Z=y,H=f,J=S,w=!1;function Q(r){return w||(w=!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.")),N(r)||a(r)===i}function N(r){return a(r)===p}function k(r){return a(r)===l}function ee(r){return a(r)===m}function re(r){return typeof r=="object"&&r!==null&&r.$$typeof===s}function te(r){return a(r)===v}function oe(r){return a(r)===u}function ne(r){return a(r)===_}function ae(r){return a(r)===E}function ce(r){return a(r)===d}function se(r){return a(r)===y}function fe(r){return a(r)===f}function ie(r){return a(r)===S}n.AsyncMode=e,n.ConcurrentMode=T,n.ContextConsumer=q,n.ContextProvider=V,n.Element=U,n.ForwardRef=W,n.Fragment=K,n.Lazy=B,n.Memo=G,n.Portal=X,n.Profiler=Z,n.StrictMode=H,n.Suspense=J,n.isAsyncMode=Q,n.isConcurrentMode=N,n.isContextConsumer=k,n.isContextProvider=ee,n.isElement=re,n.isForwardRef=te,n.isFragment=oe,n.isLazy=ne,n.isMemo=ae,n.isPortal=ce,n.isProfiler=se,n.isStrictMode=fe,n.isSuspense=ie,n.isValidElementType=c,n.typeOf=a}()),n}process.env.NODE_ENV==="production"?M.exports=le():M.exports=ye();var me=M.exports,O=me,de={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},pe={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ve={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},j={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},g={};g[O.ForwardRef]=ve;g[O.Memo]=j;function h(t){return O.isMemo(t)?j:g[t.$$typeof]||de}var Se=Object.defineProperty,Ee=Object.getOwnPropertyNames,D=Object.getOwnPropertySymbols,_e=Object.getOwnPropertyDescriptor,Te=Object.getPrototypeOf,L=Object.prototype;function z(t,s,d){if(typeof s!="string"){if(L){var u=Te(s);u&&u!==L&&z(t,u,d)}var f=Ee(s);D&&(f=f.concat(D(s)));for(var y=h(t),m=h(s),l=0;l<f.length;++l){var i=f[l];if(!pe[i]&&!(d&&d[i])&&!(m&&m[i])&&!(y&&y[i])){var p=_e(s,i);try{Se(t,i,p)}catch{}}}}return t}var Pe=z;const be=ue.getDefaultExportFromCjs(Pe);exports.m=be;
@@ -0,0 +1,235 @@
1
+ import { g as ue } from "./index-Ds9PUTwb.js";
2
+ var M = { exports: {} }, o = {};
3
+ /** @license React v16.13.1
4
+ * react-is.production.min.js
5
+ *
6
+ * Copyright (c) Facebook, Inc. and its affiliates.
7
+ *
8
+ * This source code is licensed under the MIT license found in the
9
+ * LICENSE file in the root directory of this source tree.
10
+ */
11
+ var I;
12
+ function le() {
13
+ if (I) return o;
14
+ I = 1;
15
+ var t = typeof Symbol == "function" && Symbol.for, s = t ? Symbol.for("react.element") : 60103, d = t ? Symbol.for("react.portal") : 60106, u = t ? Symbol.for("react.fragment") : 60107, f = t ? Symbol.for("react.strict_mode") : 60108, y = t ? Symbol.for("react.profiler") : 60114, m = t ? Symbol.for("react.provider") : 60109, l = t ? Symbol.for("react.context") : 60110, i = t ? Symbol.for("react.async_mode") : 60111, p = t ? Symbol.for("react.concurrent_mode") : 60111, v = t ? Symbol.for("react.forward_ref") : 60112, S = t ? Symbol.for("react.suspense") : 60113, b = t ? Symbol.for("react.suspense_list") : 60120, E = t ? Symbol.for("react.memo") : 60115, _ = t ? Symbol.for("react.lazy") : 60116, R = t ? Symbol.for("react.block") : 60121, $ = t ? Symbol.for("react.fundamental") : 60117, C = t ? Symbol.for("react.responder") : 60118, x = t ? Symbol.for("react.scope") : 60119;
16
+ function c(e) {
17
+ if (typeof e == "object" && e !== null) {
18
+ var T = e.$$typeof;
19
+ switch (T) {
20
+ case s:
21
+ switch (e = e.type, e) {
22
+ case i:
23
+ case p:
24
+ case u:
25
+ case y:
26
+ case f:
27
+ case S:
28
+ return e;
29
+ default:
30
+ switch (e = e && e.$$typeof, e) {
31
+ case l:
32
+ case v:
33
+ case _:
34
+ case E:
35
+ case m:
36
+ return e;
37
+ default:
38
+ return T;
39
+ }
40
+ }
41
+ case d:
42
+ return T;
43
+ }
44
+ }
45
+ }
46
+ function a(e) {
47
+ return c(e) === p;
48
+ }
49
+ return o.AsyncMode = i, o.ConcurrentMode = p, o.ContextConsumer = l, o.ContextProvider = m, o.Element = s, o.ForwardRef = v, o.Fragment = u, o.Lazy = _, o.Memo = E, o.Portal = d, o.Profiler = y, o.StrictMode = f, o.Suspense = S, o.isAsyncMode = function(e) {
50
+ return a(e) || c(e) === i;
51
+ }, o.isConcurrentMode = a, o.isContextConsumer = function(e) {
52
+ return c(e) === l;
53
+ }, o.isContextProvider = function(e) {
54
+ return c(e) === m;
55
+ }, o.isElement = function(e) {
56
+ return typeof e == "object" && e !== null && e.$$typeof === s;
57
+ }, o.isForwardRef = function(e) {
58
+ return c(e) === v;
59
+ }, o.isFragment = function(e) {
60
+ return c(e) === u;
61
+ }, o.isLazy = function(e) {
62
+ return c(e) === _;
63
+ }, o.isMemo = function(e) {
64
+ return c(e) === E;
65
+ }, o.isPortal = function(e) {
66
+ return c(e) === d;
67
+ }, o.isProfiler = function(e) {
68
+ return c(e) === y;
69
+ }, o.isStrictMode = function(e) {
70
+ return c(e) === f;
71
+ }, o.isSuspense = function(e) {
72
+ return c(e) === S;
73
+ }, o.isValidElementType = function(e) {
74
+ return typeof e == "string" || typeof e == "function" || e === u || e === p || e === y || e === f || e === S || e === b || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === E || e.$$typeof === m || e.$$typeof === l || e.$$typeof === v || e.$$typeof === $ || e.$$typeof === C || e.$$typeof === x || e.$$typeof === R);
75
+ }, o.typeOf = c, o;
76
+ }
77
+ var n = {};
78
+ /** @license React v16.13.1
79
+ * react-is.development.js
80
+ *
81
+ * Copyright (c) Facebook, Inc. and its affiliates.
82
+ *
83
+ * This source code is licensed under the MIT license found in the
84
+ * LICENSE file in the root directory of this source tree.
85
+ */
86
+ var Y;
87
+ function ye() {
88
+ return Y || (Y = 1, process.env.NODE_ENV !== "production" && function() {
89
+ var t = typeof Symbol == "function" && Symbol.for, s = t ? Symbol.for("react.element") : 60103, d = t ? Symbol.for("react.portal") : 60106, u = t ? Symbol.for("react.fragment") : 60107, f = t ? Symbol.for("react.strict_mode") : 60108, y = t ? Symbol.for("react.profiler") : 60114, m = t ? Symbol.for("react.provider") : 60109, l = t ? Symbol.for("react.context") : 60110, i = t ? Symbol.for("react.async_mode") : 60111, p = t ? Symbol.for("react.concurrent_mode") : 60111, v = t ? Symbol.for("react.forward_ref") : 60112, S = t ? Symbol.for("react.suspense") : 60113, b = t ? Symbol.for("react.suspense_list") : 60120, E = t ? Symbol.for("react.memo") : 60115, _ = t ? Symbol.for("react.lazy") : 60116, R = t ? Symbol.for("react.block") : 60121, $ = t ? Symbol.for("react.fundamental") : 60117, C = t ? Symbol.for("react.responder") : 60118, x = t ? Symbol.for("react.scope") : 60119;
90
+ function c(r) {
91
+ return typeof r == "string" || typeof r == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
92
+ r === u || r === p || r === y || r === f || r === S || r === b || typeof r == "object" && r !== null && (r.$$typeof === _ || r.$$typeof === E || r.$$typeof === m || r.$$typeof === l || r.$$typeof === v || r.$$typeof === $ || r.$$typeof === C || r.$$typeof === x || r.$$typeof === R);
93
+ }
94
+ function a(r) {
95
+ if (typeof r == "object" && r !== null) {
96
+ var A = r.$$typeof;
97
+ switch (A) {
98
+ case s:
99
+ var P = r.type;
100
+ switch (P) {
101
+ case i:
102
+ case p:
103
+ case u:
104
+ case y:
105
+ case f:
106
+ case S:
107
+ return P;
108
+ default:
109
+ var F = P && P.$$typeof;
110
+ switch (F) {
111
+ case l:
112
+ case v:
113
+ case _:
114
+ case E:
115
+ case m:
116
+ return F;
117
+ default:
118
+ return A;
119
+ }
120
+ }
121
+ case d:
122
+ return A;
123
+ }
124
+ }
125
+ }
126
+ var e = i, T = p, V = l, q = m, U = s, W = v, K = u, B = _, G = E, X = d, Z = y, H = f, J = S, w = !1;
127
+ function Q(r) {
128
+ return w || (w = !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.")), N(r) || a(r) === i;
129
+ }
130
+ function N(r) {
131
+ return a(r) === p;
132
+ }
133
+ function k(r) {
134
+ return a(r) === l;
135
+ }
136
+ function ee(r) {
137
+ return a(r) === m;
138
+ }
139
+ function re(r) {
140
+ return typeof r == "object" && r !== null && r.$$typeof === s;
141
+ }
142
+ function te(r) {
143
+ return a(r) === v;
144
+ }
145
+ function oe(r) {
146
+ return a(r) === u;
147
+ }
148
+ function ne(r) {
149
+ return a(r) === _;
150
+ }
151
+ function ae(r) {
152
+ return a(r) === E;
153
+ }
154
+ function ce(r) {
155
+ return a(r) === d;
156
+ }
157
+ function se(r) {
158
+ return a(r) === y;
159
+ }
160
+ function fe(r) {
161
+ return a(r) === f;
162
+ }
163
+ function ie(r) {
164
+ return a(r) === S;
165
+ }
166
+ n.AsyncMode = e, n.ConcurrentMode = T, n.ContextConsumer = V, n.ContextProvider = q, n.Element = U, n.ForwardRef = W, n.Fragment = K, n.Lazy = B, n.Memo = G, n.Portal = X, n.Profiler = Z, n.StrictMode = H, n.Suspense = J, n.isAsyncMode = Q, n.isConcurrentMode = N, n.isContextConsumer = k, n.isContextProvider = ee, n.isElement = re, n.isForwardRef = te, n.isFragment = oe, n.isLazy = ne, n.isMemo = ae, n.isPortal = ce, n.isProfiler = se, n.isStrictMode = fe, n.isSuspense = ie, n.isValidElementType = c, n.typeOf = a;
167
+ }()), n;
168
+ }
169
+ process.env.NODE_ENV === "production" ? M.exports = le() : M.exports = ye();
170
+ var me = M.exports, O = me, de = {
171
+ childContextTypes: !0,
172
+ contextType: !0,
173
+ contextTypes: !0,
174
+ defaultProps: !0,
175
+ displayName: !0,
176
+ getDefaultProps: !0,
177
+ getDerivedStateFromError: !0,
178
+ getDerivedStateFromProps: !0,
179
+ mixins: !0,
180
+ propTypes: !0,
181
+ type: !0
182
+ }, pe = {
183
+ name: !0,
184
+ length: !0,
185
+ prototype: !0,
186
+ caller: !0,
187
+ callee: !0,
188
+ arguments: !0,
189
+ arity: !0
190
+ }, ve = {
191
+ $$typeof: !0,
192
+ render: !0,
193
+ defaultProps: !0,
194
+ displayName: !0,
195
+ propTypes: !0
196
+ }, j = {
197
+ $$typeof: !0,
198
+ compare: !0,
199
+ defaultProps: !0,
200
+ displayName: !0,
201
+ propTypes: !0,
202
+ type: !0
203
+ }, g = {};
204
+ g[O.ForwardRef] = ve;
205
+ g[O.Memo] = j;
206
+ function h(t) {
207
+ return O.isMemo(t) ? j : g[t.$$typeof] || de;
208
+ }
209
+ var Se = Object.defineProperty, Ee = Object.getOwnPropertyNames, D = Object.getOwnPropertySymbols, _e = Object.getOwnPropertyDescriptor, Te = Object.getPrototypeOf, L = Object.prototype;
210
+ function z(t, s, d) {
211
+ if (typeof s != "string") {
212
+ if (L) {
213
+ var u = Te(s);
214
+ u && u !== L && z(t, u, d);
215
+ }
216
+ var f = Ee(s);
217
+ D && (f = f.concat(D(s)));
218
+ for (var y = h(t), m = h(s), l = 0; l < f.length; ++l) {
219
+ var i = f[l];
220
+ if (!pe[i] && !(d && d[i]) && !(m && m[i]) && !(y && y[i])) {
221
+ var p = _e(s, i);
222
+ try {
223
+ Se(t, i, p);
224
+ } catch {
225
+ }
226
+ }
227
+ }
228
+ }
229
+ return t;
230
+ }
231
+ var Pe = z;
232
+ const Re = /* @__PURE__ */ ue(Pe);
233
+ export {
234
+ Re as m
235
+ };
@@ -0,0 +1,109 @@
1
+ import { d as I, c as V } from "./tslib.es6-ZNVz5r_T.js";
2
+ import * as a from "react";
3
+ import { useRef as h, useState as B, useCallback as D, useMemo as N, useContext as K, cloneElement as U, Children as q, isValidElement as T } from "react";
4
+ import { u as Y, a as O, P as _, S as j, i as G } from "./motion-CtkUpWEn.js";
5
+ function H() {
6
+ var e = h(!1), o = I(B(0), 2), t = o[0], r = o[1];
7
+ return Y(function() {
8
+ return e.current = !0;
9
+ }), D(function() {
10
+ !e.current && r(t + 1);
11
+ }, [t]);
12
+ }
13
+ var S = 0;
14
+ function J() {
15
+ var e = S;
16
+ return S++, e;
17
+ }
18
+ var w = function(e) {
19
+ var o = e.children, t = e.initial, r = e.isPresent, i = e.onExitComplete, C = e.custom, x = e.presenceAffectsLayout, u = O(Q), m = O(J), y = N(
20
+ function() {
21
+ return {
22
+ id: m,
23
+ initial: t,
24
+ isPresent: r,
25
+ custom: C,
26
+ onExitComplete: function(s) {
27
+ u.set(s, !0);
28
+ var d = !0;
29
+ u.forEach(function(c) {
30
+ c || (d = !1);
31
+ }), d && (i == null || i());
32
+ },
33
+ register: function(s) {
34
+ return u.set(s, !1), function() {
35
+ return u.delete(s);
36
+ };
37
+ }
38
+ };
39
+ },
40
+ /**
41
+ * If the presence of a child affects the layout of the components around it,
42
+ * we want to make a new context value to ensure they get re-rendered
43
+ * so they can detect that layout change.
44
+ */
45
+ x ? void 0 : [r]
46
+ );
47
+ return N(function() {
48
+ u.forEach(function(s, d) {
49
+ return u.set(d, !1);
50
+ });
51
+ }, [r]), a.useEffect(function() {
52
+ !r && !u.size && (i == null || i());
53
+ }, [r]), a.createElement(_.Provider, { value: y }, o);
54
+ };
55
+ function Q() {
56
+ return /* @__PURE__ */ new Map();
57
+ }
58
+ function p(e) {
59
+ return e.key || "";
60
+ }
61
+ function W(e, o) {
62
+ var t = process.env.NODE_ENV !== "production" ? /* @__PURE__ */ new Set() : null;
63
+ e.forEach(function(r) {
64
+ var i = p(r);
65
+ process.env.NODE_ENV !== "production" && t && (t.has(i) && console.warn('Children of AnimatePresence require unique keys. "' + i + '" is a duplicate.'), t.add(i)), o.set(i, r);
66
+ });
67
+ }
68
+ function X(e) {
69
+ var o = [];
70
+ return q.forEach(e, function(t) {
71
+ T(t) && o.push(t);
72
+ }), o;
73
+ }
74
+ var ne = function(e) {
75
+ var o = e.children, t = e.custom, r = e.initial, i = r === void 0 ? !0 : r, C = e.onExitComplete, x = e.exitBeforeEnter, u = e.presenceAffectsLayout, m = u === void 0 ? !0 : u, y = H(), s = K(j);
76
+ G(s) && (y = s.forceUpdate);
77
+ var d = h(!0), c = X(o), v = h(c), P = h(/* @__PURE__ */ new Map()).current, f = h(/* @__PURE__ */ new Set()).current;
78
+ if (W(c, P), d.current)
79
+ return d.current = !1, a.createElement(a.Fragment, null, c.map(function(n) {
80
+ return a.createElement(w, { key: p(n), isPresent: !0, initial: i ? void 0 : !1, presenceAffectsLayout: m }, n);
81
+ }));
82
+ for (var l = V([], I(c)), g = v.current.map(p), R = c.map(p), b = g.length, A = 0; A < b; A++) {
83
+ var L = g[A];
84
+ R.indexOf(L) === -1 ? f.add(L) : f.delete(L);
85
+ }
86
+ return x && f.size && (l = []), f.forEach(function(n) {
87
+ if (R.indexOf(n) === -1) {
88
+ var E = P.get(n);
89
+ if (E) {
90
+ var k = g.indexOf(n), z = function() {
91
+ P.delete(n), f.delete(n);
92
+ var F = v.current.findIndex(function(M) {
93
+ return M.key === n;
94
+ });
95
+ v.current.splice(F, 1), f.size || (v.current = c, y(), C && C());
96
+ };
97
+ l.splice(k, 0, a.createElement(w, { key: p(E), isPresent: !1, onExitComplete: z, custom: t, presenceAffectsLayout: m }, E));
98
+ }
99
+ }
100
+ }), l = l.map(function(n) {
101
+ var E = n.key;
102
+ return f.has(E) ? n : a.createElement(w, { key: p(n), isPresent: !0, presenceAffectsLayout: m }, n);
103
+ }), v.current = l, process.env.NODE_ENV !== "production" && x && l.length > 1 && console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."), a.createElement(a.Fragment, null, f.size ? l : l.map(function(n) {
104
+ return U(n);
105
+ }));
106
+ };
107
+ export {
108
+ ne as A
109
+ };
@@ -0,0 +1 @@
1
+ "use strict";const w=require("./tslib.es6-fPwcSa2V.cjs"),u=require("react"),m=require("./motion-Oud-wpUz.cjs");function z(e){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(i,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return i.default=e,Object.freeze(i)}const a=z(u);function D(){var e=u.useRef(!1),i=w.__read(u.useState(0),2),t=i[0],n=i[1];return m.useUnmountEffect(function(){return e.current=!0}),u.useCallback(function(){!e.current&&n(t+1)},[t])}var N=0;function I(){var e=N;return N++,e}var O=function(e){var i=e.children,t=e.initial,n=e.isPresent,o=e.onExitComplete,x=e.custom,y=e.presenceAffectsLayout,s=m.useConstant(j),E=m.useConstant(I),g=u.useMemo(function(){return{id:E,initial:t,isPresent:n,custom:x,onExitComplete:function(c){s.set(c,!0);var p=!0;s.forEach(function(f){f||(p=!1)}),p&&(o==null||o())},register:function(c){return s.set(c,!1),function(){return s.delete(c)}}}},y?void 0:[n]);return u.useMemo(function(){s.forEach(function(c,p){return s.set(p,!1)})},[n]),a.useEffect(function(){!n&&!s.size&&(o==null||o())},[n]),a.createElement(m.PresenceContext.Provider,{value:g},i)};function j(){return new Map}function v(e){return e.key||""}function F(e,i){var t=process.env.NODE_ENV!=="production"?new Set:null;e.forEach(function(n){var o=v(n);process.env.NODE_ENV!=="production"&&t&&(t.has(o)&&console.warn('Children of AnimatePresence require unique keys. "'+o+'" is a duplicate.'),t.add(o)),i.set(o,n)})}function V(e){var i=[];return u.Children.forEach(e,function(t){u.isValidElement(t)&&i.push(t)}),i}var B=function(e){var i=e.children,t=e.custom,n=e.initial,o=n===void 0?!0:n,x=e.onExitComplete,y=e.exitBeforeEnter,s=e.presenceAffectsLayout,E=s===void 0?!0:s,g=D(),c=u.useContext(m.SharedLayoutContext);m.isSharedLayout(c)&&(g=c.forceUpdate);var p=u.useRef(!0),f=V(i),C=u.useRef(f),P=u.useRef(new Map).current,l=u.useRef(new Set).current;if(F(f,P),p.current)return p.current=!1,a.createElement(a.Fragment,null,f.map(function(r){return a.createElement(O,{key:v(r),isPresent:!0,initial:o?void 0:!1,presenceAffectsLayout:E},r)}));for(var d=w.__spreadArray([],w.__read(f)),R=C.current.map(v),L=f.map(v),S=R.length,A=0;A<S;A++){var b=R[A];L.indexOf(b)===-1?l.add(b):l.delete(b)}return y&&l.size&&(d=[]),l.forEach(function(r){if(L.indexOf(r)===-1){var h=P.get(r);if(h){var _=R.indexOf(r),M=function(){P.delete(r),l.delete(r);var k=C.current.findIndex(function(q){return q.key===r});C.current.splice(k,1),l.size||(C.current=f,g(),x&&x())};d.splice(_,0,a.createElement(O,{key:v(h),isPresent:!1,onExitComplete:M,custom:t,presenceAffectsLayout:E},h))}}}),d=d.map(function(r){var h=r.key;return l.has(h)?r:a.createElement(O,{key:v(r),isPresent:!0,presenceAffectsLayout:E},r)}),C.current=d,process.env.NODE_ENV!=="production"&&y&&d.length>1&&console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."),a.createElement(a.Fragment,null,l.size?d:d.map(function(r){return u.cloneElement(r)}))};exports.AnimatePresence=B;