@koine/react 2.0.0-beta.16 → 2.0.0-beta.18

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 (401) hide show
  1. package/Alert/Alert.d.ts +0 -0
  2. package/Alert/Alert.js +0 -0
  3. package/Alert/index.d.ts +0 -0
  4. package/Alert/index.js +0 -0
  5. package/Animations/Reveal.d.ts +0 -0
  6. package/Animations/Reveal.js +0 -0
  7. package/Animations/Underline.d.ts +0 -0
  8. package/Animations/Underline.js +0 -0
  9. package/Animations/index.d.ts +0 -0
  10. package/Animations/index.js +0 -0
  11. package/Animations/useReveal.d.ts +0 -0
  12. package/Animations/useReveal.js +4 -3
  13. package/Autocomplete/AutocompleteDownshift.d.ts +0 -0
  14. package/Autocomplete/AutocompleteDownshift.js +0 -0
  15. package/Autocomplete/AutocompleteDownshiftMultiselect.d.ts +0 -0
  16. package/Autocomplete/AutocompleteDownshiftMultiselect.js +0 -0
  17. package/Autocomplete/AutocompleteMui.d.ts +0 -0
  18. package/Autocomplete/AutocompleteMui.js +3 -3
  19. package/Autocomplete/AutocompleteReach.d.ts +0 -0
  20. package/Autocomplete/AutocompleteReach.js +0 -0
  21. package/Autocomplete/components.d.ts +0 -0
  22. package/Autocomplete/components.js +0 -0
  23. package/Autocomplete/helpers.d.ts +0 -0
  24. package/Autocomplete/helpers.js +0 -0
  25. package/Autocomplete/index.d.ts +0 -0
  26. package/Autocomplete/index.js +0 -0
  27. package/Bg/BgColor.d.ts +0 -0
  28. package/Bg/BgColor.js +0 -0
  29. package/Bg/BgPhoto.d.ts +0 -0
  30. package/Bg/BgPhoto.js +0 -0
  31. package/Bg/BgSvg.d.ts +0 -0
  32. package/Bg/BgSvg.js +0 -0
  33. package/Bg/index.d.ts +0 -0
  34. package/Bg/index.js +0 -0
  35. package/Breadcrumbs/Breadcrumbs.d.ts +0 -0
  36. package/Breadcrumbs/Breadcrumbs.js +0 -0
  37. package/Breadcrumbs/index.d.ts +0 -0
  38. package/Breadcrumbs/index.js +0 -0
  39. package/Buttons/Button.d.ts +0 -0
  40. package/Buttons/Button.js +0 -0
  41. package/Buttons/ButtonComposite.d.ts +0 -0
  42. package/Buttons/ButtonComposite.js +0 -0
  43. package/Buttons/ButtonFab.d.ts +0 -0
  44. package/Buttons/ButtonFab.js +0 -0
  45. package/Buttons/ButtonLink.d.ts +0 -0
  46. package/Buttons/ButtonLink.js +0 -0
  47. package/Buttons/IconButton.d.ts +0 -0
  48. package/Buttons/IconButton.js +0 -0
  49. package/Buttons/index.d.ts +0 -0
  50. package/Buttons/index.js +0 -0
  51. package/Calendar/CalendarDaygridCell.d.ts +0 -0
  52. package/Calendar/CalendarDaygridCell.js +2 -2
  53. package/Calendar/CalendarDaygridNav.d.ts +0 -0
  54. package/Calendar/CalendarDaygridNav.js +2 -1
  55. package/Calendar/CalendarDaygridTable.d.ts +0 -0
  56. package/Calendar/CalendarDaygridTable.js +4 -4
  57. package/Calendar/CalendarLegend.d.ts +0 -0
  58. package/Calendar/CalendarLegend.js +2 -1
  59. package/Calendar/calendar-api-google.d.ts +0 -0
  60. package/Calendar/calendar-api-google.js +0 -0
  61. package/Calendar/index.d.ts +0 -0
  62. package/Calendar/index.js +0 -0
  63. package/Calendar/types.d.ts +0 -0
  64. package/Calendar/types.js +0 -0
  65. package/Calendar/useCalendar.d.ts +0 -0
  66. package/Calendar/useCalendar.js +15 -15
  67. package/Calendar/utils.d.ts +0 -0
  68. package/Calendar/utils.js +0 -0
  69. package/Carousel/Carousel.d.ts +0 -0
  70. package/Carousel/Carousel.js +0 -0
  71. package/Carousel/CarouselCss.d.ts +0 -0
  72. package/Carousel/CarouselCss.js +0 -0
  73. package/Carousel/index.d.ts +0 -0
  74. package/Carousel/index.js +0 -0
  75. package/Collapsable/Collapsable.d.ts +0 -0
  76. package/Collapsable/Collapsable.js +0 -0
  77. package/Collapsable/CollapsableReach.d.ts +0 -0
  78. package/Collapsable/CollapsableReach.js +0 -0
  79. package/Collapsable/index.d.ts +0 -0
  80. package/Collapsable/index.js +0 -0
  81. package/Debug/Debug.d.ts +0 -0
  82. package/Debug/Debug.js +0 -0
  83. package/Debug/index.d.ts +0 -0
  84. package/Debug/index.js +0 -0
  85. package/Details/Details.d.ts +0 -0
  86. package/Details/Details.js +4 -4
  87. package/Details/index.d.ts +0 -0
  88. package/Details/index.js +0 -0
  89. package/Dialog/DialogMui.d.ts +0 -0
  90. package/Dialog/DialogMui.js +0 -0
  91. package/Dialog/css/bare.d.ts +0 -0
  92. package/Dialog/css/bare.js +0 -0
  93. package/Dialog/index.d.ts +0 -0
  94. package/Dialog/index.js +0 -0
  95. package/Dialog/m/bare.d.ts +0 -0
  96. package/Dialog/m/bare.js +0 -0
  97. package/Dialog/m/basic.d.ts +0 -0
  98. package/Dialog/m/basic.js +0 -0
  99. package/Dialog/m/index.d.ts +0 -0
  100. package/Dialog/m/index.js +0 -0
  101. package/Dialog/sc/bare.d.ts +0 -0
  102. package/Dialog/sc/bare.js +0 -0
  103. package/Dialog/sc/framer.d.ts +0 -0
  104. package/Dialog/sc/framer.js +0 -0
  105. package/Dialog/sc/framerMaterial.d.ts +0 -0
  106. package/Dialog/sc/framerMaterial.js +0 -0
  107. package/Dialog/sc/material.d.ts +0 -0
  108. package/Dialog/sc/material.js +0 -0
  109. package/Dialog/tw/bare.d.ts +0 -0
  110. package/Dialog/tw/bare.js +0 -0
  111. package/Dialog/tw/elegant.d.ts +0 -0
  112. package/Dialog/tw/elegant.js +0 -0
  113. package/Dialog/tw/framer.d.ts +0 -0
  114. package/Dialog/tw/framer.js +0 -0
  115. package/Dialog/tw/framerMaterial.d.ts +0 -0
  116. package/Dialog/tw/framerMaterial.js +0 -0
  117. package/Dialog/tw/material.d.ts +0 -0
  118. package/Dialog/tw/material.js +0 -0
  119. package/Editor/Editor--tiptap.d.ts +0 -0
  120. package/Editor/Editor--tiptap.js +0 -0
  121. package/Editor/components.d.ts +0 -0
  122. package/Editor/components.js +0 -0
  123. package/Editor/index.d.ts +0 -0
  124. package/Editor/index.js +0 -0
  125. package/FaviconTags.d.ts +0 -0
  126. package/FaviconTags.js +0 -0
  127. package/Form/Form.d.ts +0 -0
  128. package/Form/Form.js +2 -2
  129. package/Form/index.d.ts +0 -0
  130. package/Form/index.js +0 -0
  131. package/Form/sc/bare.d.ts +0 -0
  132. package/Form/sc/bare.js +0 -0
  133. package/Forms/Checkbox/Checkbox.d.ts +0 -0
  134. package/Forms/Checkbox/Checkbox.js +0 -0
  135. package/Forms/Checkbox/index.d.ts +0 -0
  136. package/Forms/Checkbox/index.js +0 -0
  137. package/Forms/Feedback/Feedback.d.ts +0 -0
  138. package/Forms/Feedback/Feedback.js +0 -0
  139. package/Forms/Feedback/index.d.ts +0 -0
  140. package/Forms/Feedback/index.js +0 -0
  141. package/Forms/Field/Field.d.ts +0 -0
  142. package/Forms/Field/Field.js +0 -0
  143. package/Forms/Field/FieldControl.d.ts +0 -0
  144. package/Forms/Field/FieldControl.js +0 -0
  145. package/Forms/Field/FieldHint.d.ts +0 -0
  146. package/Forms/Field/FieldHint.js +0 -0
  147. package/Forms/Field/index.d.ts +0 -0
  148. package/Forms/Field/index.js +0 -0
  149. package/Forms/Input/Input.d.ts +0 -0
  150. package/Forms/Input/Input.js +0 -0
  151. package/Forms/Input/index.d.ts +0 -0
  152. package/Forms/Input/index.js +0 -0
  153. package/Forms/InputGroup/InputGroup.d.ts +0 -0
  154. package/Forms/InputGroup/InputGroup.js +0 -0
  155. package/Forms/InputGroup/index.d.ts +0 -0
  156. package/Forms/InputGroup/index.js +0 -0
  157. package/Forms/Label/Label.d.ts +0 -0
  158. package/Forms/Label/Label.js +0 -0
  159. package/Forms/Label/index.d.ts +0 -0
  160. package/Forms/Label/index.js +0 -0
  161. package/Forms/Password/Password.d.ts +0 -0
  162. package/Forms/Password/Password.js +2 -2
  163. package/Forms/Password/index.d.ts +0 -0
  164. package/Forms/Password/index.js +0 -0
  165. package/Forms/Radio/Radio.d.ts +0 -0
  166. package/Forms/Radio/Radio.js +0 -0
  167. package/Forms/Radio/index.d.ts +0 -0
  168. package/Forms/Radio/index.js +0 -0
  169. package/Forms/Switch/Switch.d.ts +0 -0
  170. package/Forms/Switch/Switch.js +0 -0
  171. package/Forms/Switch/index.d.ts +0 -0
  172. package/Forms/Switch/index.js +0 -0
  173. package/Forms/Textarea/Textarea.d.ts +0 -0
  174. package/Forms/Textarea/Textarea.js +0 -0
  175. package/Forms/Textarea/TextareaRich.d.ts +0 -0
  176. package/Forms/Textarea/TextareaRich.js +0 -0
  177. package/Forms/Textarea/index.d.ts +0 -0
  178. package/Forms/Textarea/index.js +0 -0
  179. package/Forms/Toggle/Toggle-tailwind.d.ts +0 -0
  180. package/Forms/Toggle/Toggle-tailwind.js +0 -0
  181. package/Forms/Toggle/Toggle.d.ts +0 -0
  182. package/Forms/Toggle/Toggle.js +0 -0
  183. package/Forms/Toggle/index.d.ts +0 -0
  184. package/Forms/Toggle/index.js +0 -0
  185. package/Forms/Toggle/useToggle-tailwind.d.ts +0 -0
  186. package/Forms/Toggle/useToggle-tailwind.js +0 -0
  187. package/Forms/Toggle/useToggle.d.ts +0 -0
  188. package/Forms/Toggle/useToggle.js +0 -0
  189. package/Forms/antispam.d.ts +0 -0
  190. package/Forms/antispam.js +0 -0
  191. package/Forms/helpers.d.ts +0 -0
  192. package/Forms/helpers.js +0 -0
  193. package/Forms/index.d.ts +0 -0
  194. package/Forms/index.js +0 -0
  195. package/Forms/styles.d.ts +0 -0
  196. package/Forms/styles.js +0 -0
  197. package/Gauge/Gauge.d.ts +0 -0
  198. package/Gauge/Gauge.js +0 -0
  199. package/Grid/Grid.d.ts +0 -0
  200. package/Grid/Grid.js +2 -2
  201. package/Grid/index.d.ts +0 -0
  202. package/Grid/index.js +0 -0
  203. package/Hamburger/Hamburger.d.ts +0 -0
  204. package/Hamburger/Hamburger.js +0 -0
  205. package/Hamburger/index.d.ts +0 -0
  206. package/Hamburger/index.js +0 -0
  207. package/Header/index.d.ts +0 -0
  208. package/Header/index.js +0 -0
  209. package/Header/useHeader.d.ts +0 -0
  210. package/Header/useHeader.js +5 -4
  211. package/Hidden/Hidden.d.ts +0 -0
  212. package/Hidden/Hidden.js +0 -0
  213. package/Hidden/index.d.ts +0 -0
  214. package/Hidden/index.js +0 -0
  215. package/Img/index.d.ts +0 -0
  216. package/Img/index.js +0 -0
  217. package/Img/sc/bare.d.ts +0 -0
  218. package/Img/sc/bare.js +0 -0
  219. package/Img/types.d.ts +0 -0
  220. package/Img/types.js +0 -0
  221. package/Link/Link.d.ts +0 -0
  222. package/Link/Link.js +0 -0
  223. package/Link/LinkBlank.d.ts +0 -0
  224. package/Link/LinkBlank.js +0 -0
  225. package/Link/index.d.ts +0 -0
  226. package/Link/index.js +0 -0
  227. package/Menu/Menu.d.ts +0 -0
  228. package/Menu/Menu.js +0 -0
  229. package/Menu/MenuMui.d.ts +0 -0
  230. package/Menu/MenuMui.js +0 -0
  231. package/Menu/index.d.ts +0 -0
  232. package/Menu/index.js +0 -0
  233. package/MenuItem/MenuItem.d.ts +0 -0
  234. package/MenuItem/MenuItem.js +0 -0
  235. package/MenuItem/MenuItemMui.d.ts +0 -0
  236. package/MenuItem/MenuItemMui.js +0 -0
  237. package/MenuItem/index.d.ts +0 -0
  238. package/MenuItem/index.js +0 -0
  239. package/MenuItem/useMenuItem.d.ts +0 -0
  240. package/MenuItem/useMenuItem.js +2 -2
  241. package/Meta.d.ts +0 -0
  242. package/Meta.js +0 -0
  243. package/NoJs.d.ts +0 -0
  244. package/NoJs.js +0 -0
  245. package/Pagination/PaginationNav.d.ts +0 -0
  246. package/Pagination/PaginationNav.js +0 -0
  247. package/Pagination/PaginationResults.d.ts +0 -0
  248. package/Pagination/PaginationResults.js +0 -0
  249. package/Pagination/index.d.ts +0 -0
  250. package/Pagination/index.js +0 -0
  251. package/Pill/Pill.d.ts +0 -0
  252. package/Pill/Pill.js +0 -0
  253. package/Pill/index.d.ts +0 -0
  254. package/Pill/index.js +0 -0
  255. package/Progress/ProgressCircular.d.ts +0 -0
  256. package/Progress/ProgressCircular.js +0 -0
  257. package/Progress/ProgressLinear.d.ts +0 -0
  258. package/Progress/ProgressLinear.js +0 -0
  259. package/Progress/ProgressOverlay.d.ts +0 -0
  260. package/Progress/ProgressOverlay.js +2 -2
  261. package/Progress/index.d.ts +0 -0
  262. package/Progress/index.js +0 -0
  263. package/Rating/Rating.d.ts +0 -0
  264. package/Rating/Rating.js +3 -3
  265. package/Rating/index.d.ts +0 -0
  266. package/Rating/index.js +0 -0
  267. package/Select/SelectDownshift.d.ts +0 -0
  268. package/Select/SelectDownshift.js +0 -0
  269. package/Select/components.d.ts +0 -0
  270. package/Select/components.js +0 -0
  271. package/Select/index.d.ts +0 -0
  272. package/Select/index.js +0 -0
  273. package/Sidebar/Sidebar.d.ts +0 -0
  274. package/Sidebar/Sidebar.js +3 -3
  275. package/Sidebar/index.d.ts +0 -0
  276. package/Sidebar/index.js +0 -0
  277. package/Spacing/Spacing.d.ts +0 -0
  278. package/Spacing/Spacing.js +3 -3
  279. package/Spacing/index.d.ts +0 -0
  280. package/Spacing/index.js +0 -0
  281. package/Sticky/Sticky.d.ts +0 -0
  282. package/Sticky/Sticky.js +0 -0
  283. package/Sticky/StickyCss.d.ts +0 -0
  284. package/Sticky/StickyCss.js +0 -0
  285. package/Sticky/index.d.ts +0 -0
  286. package/Sticky/index.js +0 -0
  287. package/Tabs/TabsMui.d.ts +0 -0
  288. package/Tabs/TabsMui.js +0 -0
  289. package/Tabs/index.d.ts +0 -0
  290. package/Tabs/index.js +0 -0
  291. package/Tabs/sc/bare.d.ts +0 -0
  292. package/Tabs/sc/bare.js +0 -0
  293. package/Tabs/tw/bare.d.ts +0 -0
  294. package/Tabs/tw/bare.js +0 -0
  295. package/Tabs/tw/material.d.ts +0 -0
  296. package/Tabs/tw/material.js +0 -0
  297. package/Tabs/useTabs.d.ts +0 -0
  298. package/Tabs/useTabs.js +3 -2
  299. package/Typography/CopyPasteVisible.d.ts +0 -0
  300. package/Typography/CopyPasteVisible.js +0 -0
  301. package/Typography/Native.d.ts +0 -0
  302. package/Typography/Native.js +0 -0
  303. package/Typography/ReadMore.d.ts +0 -0
  304. package/Typography/ReadMore.js +5 -5
  305. package/Typography/TextLoop.d.ts +0 -0
  306. package/Typography/TextLoop.js +4 -4
  307. package/Typography/TypeStairs.d.ts +0 -0
  308. package/Typography/TypeStairs.js +0 -0
  309. package/Typography/index.d.ts +0 -0
  310. package/Typography/index.js +0 -0
  311. package/classed.d.ts +0 -0
  312. package/classed.js +0 -0
  313. package/createUseMediaQueryWidth.d.ts +0 -0
  314. package/createUseMediaQueryWidth.js +4 -3
  315. package/css/index.d.ts +0 -0
  316. package/css/index.js +0 -0
  317. package/extendComponent.d.ts +0 -0
  318. package/extendComponent.js +0 -0
  319. package/index.d.ts +0 -0
  320. package/index.js +0 -0
  321. package/m/MotionProvider.d.ts +0 -0
  322. package/m/MotionProvider.js +0 -0
  323. package/m/index.d.ts +0 -0
  324. package/m/index.js +0 -0
  325. package/m/lite.d.ts +0 -0
  326. package/m/lite.js +0 -0
  327. package/m/max.d.ts +0 -0
  328. package/m/max.js +0 -0
  329. package/mergeRefs.d.ts +0 -0
  330. package/mergeRefs.js +0 -0
  331. package/package.json +3 -3
  332. package/sc/index.d.ts +0 -0
  333. package/sc/index.js +0 -0
  334. package/scm/index.d.ts +0 -0
  335. package/scm/index.js +0 -0
  336. package/shared/index.d.ts +0 -0
  337. package/shared/index.js +0 -0
  338. package/styles/Body.d.ts +0 -0
  339. package/styles/Body.js +0 -0
  340. package/styles/Global.d.ts +0 -0
  341. package/styles/Global.js +0 -0
  342. package/styles/index.d.ts +0 -0
  343. package/styles/index.js +0 -0
  344. package/styles/media.d.ts +0 -0
  345. package/styles/media.js +3 -2
  346. package/styles/spacing.d.ts +0 -0
  347. package/styles/spacing.js +0 -0
  348. package/styles/styled.d.ts +0 -0
  349. package/styles/styled.js +0 -0
  350. package/styles/theme--vanilla.d.ts +0 -0
  351. package/styles/theme--vanilla.js +2 -1
  352. package/styles/theme.d.ts +0 -0
  353. package/styles/theme.js +2 -2
  354. package/tw/index.d.ts +0 -0
  355. package/tw/index.js +0 -0
  356. package/twm/index.d.ts +0 -0
  357. package/twm/index.js +0 -0
  358. package/types.d.ts +0 -0
  359. package/types.js +0 -0
  360. package/useAsyncFn.d.ts +0 -0
  361. package/useAsyncFn.js +3 -3
  362. package/useDateLocale.d.ts +0 -0
  363. package/useDateLocale.js +3 -3
  364. package/useFirstMountState.d.ts +0 -0
  365. package/useFirstMountState.js +0 -0
  366. package/useFixedOffset.d.ts +0 -0
  367. package/useFixedOffset.js +0 -0
  368. package/useFocus.d.ts +0 -0
  369. package/useFocus.js +0 -0
  370. package/useInterval.d.ts +0 -0
  371. package/useInterval.js +2 -2
  372. package/useIsomorphicLayoutEffect.d.ts +0 -0
  373. package/useIsomorphicLayoutEffect.js +0 -0
  374. package/useKeyUp.d.ts +0 -0
  375. package/useKeyUp.js +2 -2
  376. package/useMeasure.d.ts +0 -0
  377. package/useMeasure.js +9 -9
  378. package/useMountedState.d.ts +0 -0
  379. package/useMountedState.js +0 -0
  380. package/useNavigateAway.d.ts +0 -0
  381. package/useNavigateAway.js +0 -0
  382. package/usePrevious.d.ts +0 -0
  383. package/usePrevious.js +2 -1
  384. package/usePreviousRef.d.ts +0 -0
  385. package/usePreviousRef.js +0 -0
  386. package/useScrollPosition.d.ts +0 -0
  387. package/useScrollPosition.js +0 -0
  388. package/useScrollThreshold.d.ts +0 -0
  389. package/useScrollThreshold.js +2 -1
  390. package/useScrollTo.d.ts +0 -0
  391. package/useScrollTo.js +2 -1
  392. package/useSmoothScroll.d.ts +0 -0
  393. package/useSmoothScroll.js +0 -0
  394. package/useSpinDelay.d.ts +0 -0
  395. package/useSpinDelay.js +2 -1
  396. package/useTraceUpdate.d.ts +0 -0
  397. package/useTraceUpdate.js +2 -1
  398. package/useUpdateEffect.d.ts +0 -0
  399. package/useUpdateEffect.js +0 -0
  400. package/useWindowSize.d.ts +0 -0
  401. package/useWindowSize.js +3 -2
package/Alert/Alert.d.ts CHANGED
File without changes
package/Alert/Alert.js CHANGED
File without changes
package/Alert/index.d.ts CHANGED
File without changes
package/Alert/index.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,10 +1,11 @@
1
+ import { __read } from "tslib";
1
2
  import { useEffect, useRef, useState } from "react";
2
3
  export function useReveal(_a) {
3
4
  var _b = _a.direction, direction = _b === void 0 ? "left" : _b, _c = _a.offsetStartY, offsetStartY = _c === void 0 ? -2 : _c, _d = _a.offsetEndY, offsetEndY = _d === void 0 ? 0 : _d, _e = _a.offsetStartX, offsetStartX = _e === void 0 ? "all" : _e;
4
5
  var ref = useRef(null);
5
- var _f = useState(0), startY = _f[0], setStartY = _f[1];
6
- var _g = useState(0), endY = _g[0], setEndY = _g[1];
7
- var _h = useState(0), startX = _h[0], setStartX = _h[1];
6
+ var _f = __read(useState(0), 2), startY = _f[0], setStartY = _f[1];
7
+ var _g = __read(useState(0), 2), endY = _g[0], setEndY = _g[1];
8
+ var _h = __read(useState(0), 2), startX = _h[0], setStartX = _h[1];
8
9
  useEffect(function () {
9
10
  if (!ref.current) {
10
11
  return;
File without changes
File without changes
File without changes
File without changes
@@ -1,4 +1,4 @@
1
- import { __assign, __awaiter, __generator, __rest } from "tslib";
1
+ import { __assign, __awaiter, __generator, __read, __rest } from "tslib";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import useAutocomplete from "@mui/base/useAutocomplete";
4
4
  import { useCallback, useMemo, useState } from "react";
@@ -10,8 +10,8 @@ import { normaliseAutocompleteValue } from "./helpers.js";
10
10
  export var Autocomplete = function (_a) {
11
11
  var creatable = _a.creatable, multiple = _a.multiple, autoComplete = _a.autoComplete, loadOptions = _a.loadOptions, _b = _a.options, defaultOptions = _b === void 0 ? [] : _b, defaultValue = _a.defaultValue, controlledValue = _a.value, defaultInputValue = _a.defaultInputValue, label = _a.label, placeholder = _a.placeholder, register = _a.register, setValue = _a.setValue, name = _a.name, onChange = _a.onChange, $ref = _a.$ref, children = _a.children, props = __rest(_a, ["creatable", "multiple", "autoComplete", "loadOptions", "options", "defaultValue", "value", "defaultInputValue", "label", "placeholder", "register", "setValue", "name", "onChange", "$ref", "children"]);
12
12
  var defaultOptionsMemo = useMemo(function () { return normaliseOptions(defaultOptions); }, [defaultOptions]);
13
- var _c = useState(defaultOptionsMemo), options = _c[0], setOptions = _c[1];
14
- var _d = useState(false), loading = _d[0], setLoading = _d[1];
13
+ var _c = __read(useState(defaultOptionsMemo), 2), options = _c[0], setOptions = _c[1];
14
+ var _d = __read(useState(false), 2), loading = _d[0], setLoading = _d[1];
15
15
  var _e = useAutocomplete({
16
16
  id: "Autocomplete",
17
17
  multiple: multiple ? true : undefined,
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/Bg/BgColor.d.ts CHANGED
File without changes
package/Bg/BgColor.js CHANGED
File without changes
package/Bg/BgPhoto.d.ts CHANGED
File without changes
package/Bg/BgPhoto.js CHANGED
File without changes
package/Bg/BgSvg.d.ts CHANGED
File without changes
package/Bg/BgSvg.js CHANGED
File without changes
package/Bg/index.d.ts CHANGED
File without changes
package/Bg/index.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/Buttons/Button.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/Buttons/index.js CHANGED
File without changes
File without changes
@@ -1,4 +1,4 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __read } from "tslib";
2
2
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
3
  import { Fragment, useState } from "react";
4
4
  import { MdAdd as IconExpand, } from "react-icons/md";
@@ -10,7 +10,7 @@ var styleBtn = {
10
10
  };
11
11
  export var CalendarDaygridCell = function (_a) {
12
12
  var eventClicked = _a.eventClicked, setEventClicked = _a.setEventClicked, setEventHovered = _a.setEventHovered, view = _a.view, maxEvents = _a.maxEvents, events = _a.events, calendarsMap = _a.calendarsMap, _b = _a.Cell, Cell = _b === void 0 ? "div" : _b, _c = _a.CellOverflow, CellOverflow = _c === void 0 ? "div" : _c, _d = _a.CellEvent, CellEvent = _d === void 0 ? "div" : _d, _e = _a.CellEventBtn, CellEventBtn = _e === void 0 ? "div" : _e, _f = _a.CellEventTitle, CellEventTitle = _f === void 0 ? "span" : _f, _g = _a.CellEventStart, CellEventStart = _g === void 0 ? "span" : _g;
13
- var _h = useState(false), isExpanded = _h[0], expand = _h[1];
13
+ var _h = __read(useState(false), 2), isExpanded = _h[0], expand = _h[1];
14
14
  var eventsWithoutPlaceholders = events.filter(function (event) { return !event.placeholder; });
15
15
  return (_jsx(Cell, { children: events.map(function (event, i) {
16
16
  if (i === maxEvents && !isExpanded) {
File without changes
@@ -1,9 +1,10 @@
1
+ import { __read } from "tslib";
1
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
3
  import format from "date-fns/format";
3
4
  import { useDateLocale } from "../useDateLocale.js";
4
5
  export var KoineCalendarDaygridNav = function (_a) {
5
6
  var range = _a.range, view = _a.view, todayInView = _a.todayInView, handlePrev = _a.handlePrev, handleNext = _a.handleNext, handleToday = _a.handleToday, handleView = _a.handleView, localeCode = _a.locale, _b = _a.NavRoot, NavRoot = _b === void 0 ? "nav" : _b, _c = _a.NavTitle, NavTitle = _c === void 0 ? "div" : _c, _d = _a.NavBtns, NavBtns = _d === void 0 ? "div" : _d, _e = _a.NavBtnPrev, NavBtnPrev = _e === void 0 ? "button" : _e, _f = _a.NavBtnNext, NavBtnNext = _f === void 0 ? "button" : _f, _g = _a.NavBtnToday, NavBtnToday = _g === void 0 ? "button" : _g, _h = _a.NavBtnViewMonth, NavBtnViewMonth = _h === void 0 ? "button" : _h, _j = _a.NavBtnViewWeek, NavBtnViewWeek = _j === void 0 ? "button" : _j;
6
- var start = range[0], end = range[1];
7
+ var _k = __read(range, 2), start = _k[0], end = _k[1];
7
8
  var locale = useDateLocale(localeCode);
8
9
  var opts = { locale: locale };
9
10
  var formatted = "";
File without changes
@@ -1,4 +1,4 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __read } from "tslib";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import eachWeekOfInterval from "date-fns/eachWeekOfInterval";
4
4
  import { useEffect, useMemo, useState } from "react";
@@ -7,7 +7,7 @@ import { useDateLocale } from "../useDateLocale.js";
7
7
  import { CalendarDaygridCell, } from "./CalendarDaygridCell.js";
8
8
  import { processEventsInView } from "./utils.js";
9
9
  function getView(range) {
10
- var start = range[0], end = range[1];
10
+ var _a = __read(range, 2), start = _a[0], end = _a[1];
11
11
  var weeks = eachWeekOfInterval({ start: start, end: end }, { weekStartsOn: 1 });
12
12
  return {
13
13
  month: start.getMonth(),
@@ -24,8 +24,8 @@ export var KoineCalendarDaygridTable = function (_a) {
24
24
  CellEventTitle: CellEventTitle,
25
25
  CellEventStart: CellEventStart,
26
26
  };
27
- var _l = useState(dayLabels || [0, 1, 2, 3, 4, 5, 6]), days = _l[0], setDays = _l[1];
28
- var _m = useState([]), weeksEvents = _m[0], setWeeksEvents = _m[1];
27
+ var _l = __read(useState(dayLabels || [0, 1, 2, 3, 4, 5, 6]), 2), days = _l[0], setDays = _l[1];
28
+ var _m = __read(useState([]), 2), weeksEvents = _m[0], setWeeksEvents = _m[1];
29
29
  var locale = useDateLocale(localeCode);
30
30
  var _o = useMemo(function () { return getView(range); }, [range]), month = _o.month, weeks = _o.weeks;
31
31
  var swipeableHandlers = useSwipeable({
File without changes
@@ -1,8 +1,9 @@
1
+ import { __read } from "tslib";
1
2
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
3
  export var KoineCalendarLegend = function (_a) {
3
4
  var _b = _a.calendarsMap, calendarsMap = _b === void 0 ? {} : _b, toggleCalendarVisibility = _a.toggleCalendarVisibility, _c = _a.LegendItem, LegendItem = _c === void 0 ? "div" : _c, _d = _a.LegendItemStatus, LegendItemStatus = _d === void 0 ? "span" : _d, _e = _a.LegendItemLabel, LegendItemLabel = _e === void 0 ? "span" : _e, _f = _a.LegendItemEvents, LegendItemEvents = _f === void 0 ? "span" : _f;
4
5
  return (_jsx(_Fragment, { children: Object.entries(calendarsMap).map(function (_a) {
5
- var id = _a[0], calendar = _a[1];
6
+ var _b = __read(_a, 2), id = _b[0], calendar = _b[1];
6
7
  return (_jsxs(LegendItem, { onClick: function () { return toggleCalendarVisibility(id); }, "$color": calendar.color, "$empty": calendar.events === 0, disabled: calendar.events === 0, children: [_jsx(LegendItemStatus, { children: calendar.on ? "\u2b24" : "\u2b58" }), _jsx(LegendItemLabel, { children: calendar.name }), _jsx(LegendItemEvents, { children: calendar.events })] }, "CalendarLegend." + id));
7
8
  }) }));
8
9
  };
File without changes
File without changes
File without changes
package/Calendar/index.js CHANGED
File without changes
File without changes
package/Calendar/types.js CHANGED
File without changes
File without changes
@@ -1,26 +1,26 @@
1
- import { __assign, __awaiter, __generator } from "tslib";
1
+ import { __assign, __awaiter, __generator, __read } from "tslib";
2
2
  import { useCallback, useEffect, useReducer, useState } from "react";
3
3
  import { getCalendarsEventsFromGoogle } from "./calendar-api-google.js";
4
4
  import { getEndDate, getNextDate, getPrevDate, getStartDate, isTodayInView, } from "./utils.js";
5
5
  export function useCalendar(_a) {
6
6
  var _this = this;
7
7
  var locale = _a.locale, apiKey = _a.apiKey, calendars = _a.calendars, initialEvents = _a.events, initialStart = _a.start, initialEnd = _a.end, _b = _a.view, initialView = _b === void 0 ? "month" : _b, _c = _a.timeZone, timeZone = _c === void 0 ? "" : _c, onError = _a.onError;
8
- var _d = useState(initialView), view = _d[0], setView = _d[1];
8
+ var _d = __read(useState(initialView), 2), view = _d[0], setView = _d[1];
9
9
  var start = initialStart || getStartDate(new Date(), view);
10
10
  var end = initialEnd || getEndDate(start, view);
11
- var _e = useState([start, end]), range = _e[0], setRange = _e[1];
12
- var _f = useState(isTodayInView(start, end)), todayInView = _f[0], setTodayInView = _f[1];
13
- var _g = useState(initialEvents || {}), events = _g[0], setEvents = _g[1];
14
- var _h = useState(null), eventHovered = _h[0], setEventHovered = _h[1];
15
- var _j = useState(null), eventClicked = _j[0], setEventClicked = _j[1];
16
- var _k = useReducer(function (state, action) {
11
+ var _e = __read(useState([start, end]), 2), range = _e[0], setRange = _e[1];
12
+ var _f = __read(useState(isTodayInView(start, end)), 2), todayInView = _f[0], setTodayInView = _f[1];
13
+ var _g = __read(useState(initialEvents || {}), 2), events = _g[0], setEvents = _g[1];
14
+ var _h = __read(useState(null), 2), eventHovered = _h[0], setEventHovered = _h[1];
15
+ var _j = __read(useState(null), 2), eventClicked = _j[0], setEventClicked = _j[1];
16
+ var _k = __read(useReducer(function (state, action) {
17
17
  var _a;
18
18
  var type = action.type;
19
19
  switch (type) {
20
20
  case "events": {
21
21
  var events_1 = action.payload;
22
22
  return Object.entries(state).reduce(function (map, _a) {
23
- var id = _a[0], calendar = _a[1];
23
+ var _b = __read(_a, 2), id = _b[0], calendar = _b[1];
24
24
  map[id] = __assign(__assign({}, calendar), { events: events_1[id] || 0 });
25
25
  return map;
26
26
  }, {});
@@ -32,7 +32,7 @@ export function useCalendar(_a) {
32
32
  }
33
33
  else {
34
34
  return Object.entries(state).reduce(function (map, _a) {
35
- var id = _a[0], calendar = _a[1];
35
+ var _b = __read(_a, 2), id = _b[0], calendar = _b[1];
36
36
  map[id] = __assign(__assign({}, calendar), { on: visible_1.indexOf(id) > -1 });
37
37
  return map;
38
38
  }, {});
@@ -44,7 +44,7 @@ export function useCalendar(_a) {
44
44
  }, calendars.reduce(function (map, calendar) {
45
45
  map[calendar.id] = __assign(__assign({}, calendar), { name: calendar.name || "", on: true, events: 0 });
46
46
  return map;
47
- }, {})), calendarsMap = _k[0], updateCalendars = _k[1];
47
+ }, {})), 2), calendarsMap = _k[0], updateCalendars = _k[1];
48
48
  var toggleCalendarVisibility = useCallback(function (idOrIds) {
49
49
  updateCalendars({ type: "visibility", payload: idOrIds });
50
50
  }, [updateCalendars]);
@@ -84,7 +84,7 @@ export function useCalendar(_a) {
84
84
  });
85
85
  }); }, [setEvents, apiKey, timeZone, onError]);
86
86
  var handleToday = useCallback(function () {
87
- var start = range[0], end = range[1];
87
+ var _a = __read(range, 2), start = _a[0], end = _a[1];
88
88
  var newStart = getStartDate(new Date(), view);
89
89
  var newEnd = getEndDate(newStart, view);
90
90
  setRange([newStart, newEnd]);
@@ -96,7 +96,7 @@ export function useCalendar(_a) {
96
96
  }, [view, range]);
97
97
  var handlePrev = useCallback(function () {
98
98
  setRange(function (_a) {
99
- var start = _a[0];
99
+ var _b = __read(_a, 1), start = _b[0];
100
100
  var newStart = getPrevDate(start, view);
101
101
  var newEnd = getEndDate(newStart, view);
102
102
  return [newStart, newEnd];
@@ -106,7 +106,7 @@ export function useCalendar(_a) {
106
106
  }, [view]);
107
107
  var handleNext = useCallback(function () {
108
108
  setRange(function (_a) {
109
- var start = _a[0];
109
+ var _b = __read(_a, 1), start = _b[0];
110
110
  var newStart = getNextDate(start, view);
111
111
  var newEnd = getEndDate(newStart, view);
112
112
  return [newStart, newEnd];
@@ -123,7 +123,7 @@ export function useCalendar(_a) {
123
123
  setEventHovered(null);
124
124
  }, [start]);
125
125
  useEffect(function () {
126
- var start = range[0], end = range[1];
126
+ var _a = __read(range, 2), start = _a[0], end = _a[1];
127
127
  loadCalendars(calendars, start, end);
128
128
  setTodayInView(isTodayInView(start, end));
129
129
  }, [range]);
File without changes
package/Calendar/utils.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/Carousel/index.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/Debug/Debug.d.ts CHANGED
File without changes
package/Debug/Debug.js CHANGED
File without changes
package/Debug/index.d.ts CHANGED
File without changes
package/Debug/index.js CHANGED
File without changes
File without changes
@@ -1,4 +1,4 @@
1
- import { __assign, __rest } from "tslib";
1
+ import { __assign, __read, __rest } from "tslib";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { forwardRef, useCallback, useEffect, useId, useRef, useState, } from "react";
4
4
  import { extendComponent, } from "../extendComponent.js";
@@ -10,12 +10,12 @@ export var Content = "div";
10
10
  var DetailsWithRef = forwardRef(function Details(_a, ref) {
11
11
  var id = _a.id, propOpen = _a.open, recalc = _a.recalc, summary = _a.summary, children = _a.children, _Root = _a.Root, _Summary = _a.Summary, _Body = _a.Body, _Content = _a.Content, onChange = _a.onChange, props = __rest(_a, ["id", "open", "recalc", "summary", "children", "Root", "Summary", "Body", "Content", "onChange"]);
12
12
  var isControlled = typeof propOpen !== "undefined";
13
- var _b = useState(propOpen), stateOpen = _b[0], setStateOpen = _b[1];
14
- var _c = useState(0), setHeight = _c[1];
13
+ var _b = __read(useState(propOpen), 2), stateOpen = _b[0], setStateOpen = _b[1];
14
+ var _c = __read(useState(0), 2), setHeight = _c[1];
15
15
  var hash = id ? "#".concat(id) : "";
16
16
  var winSize = useWindowSize();
17
17
  var open = isControlled ? propOpen : stateOpen;
18
- var overflow = useState(open ? "unset" : "hidden")[0];
18
+ var _d = __read(useState(open ? "unset" : "hidden"), 1), overflow = _d[0];
19
19
  var content = useRef(null);
20
20
  var defaultId = useId();
21
21
  id = id || defaultId;
File without changes
package/Details/index.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
package/Dialog/index.d.ts CHANGED
File without changes
package/Dialog/index.js CHANGED
File without changes
File without changes
package/Dialog/m/bare.js CHANGED
File without changes
File without changes
package/Dialog/m/basic.js CHANGED
File without changes
File without changes
package/Dialog/m/index.js CHANGED
File without changes
File without changes
package/Dialog/sc/bare.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/Dialog/tw/bare.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/Editor/index.d.ts CHANGED
File without changes
package/Editor/index.js CHANGED
File without changes
package/FaviconTags.d.ts CHANGED
File without changes
package/FaviconTags.js CHANGED
File without changes
package/Form/Form.d.ts CHANGED
File without changes
package/Form/Form.js CHANGED
@@ -1,4 +1,4 @@
1
- import { __assign, __rest } from "tslib";
1
+ import { __assign, __read, __rest } from "tslib";
2
2
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { useEffect, useState } from "react";
4
4
  import { extendComponent, } from "../extendComponent.js";
@@ -14,7 +14,7 @@ export var Form = function (_a) {
14
14
  } : _b, _Fail = _a.Fail, _c = _a.failProps, failProps = _c === void 0 ? {
15
15
  children: "Failed.",
16
16
  } : _c, collapseOnOk = _a.collapseOnOk, collapseOnFail = _a.collapseOnFail, _d = _a.okTimeout, okTimeout = _d === void 0 ? 3000 : _d, _e = _a.failTimeout, failTimeout = _e === void 0 ? 3000 : _e, children = _a.children, props = __rest(_a, ["Root", "Overlay", "Progress", "Collapsable", "ok", "fail", "loading", "Ok", "okProps", "Fail", "failProps", "collapseOnOk", "collapseOnFail", "okTimeout", "failTimeout", "children"]);
17
- var _f = useState(""), open = _f[0], setOpen = _f[1];
17
+ var _f = __read(useState(""), 2), open = _f[0], setOpen = _f[1];
18
18
  var commonProps = {
19
19
  head: null,
20
20
  components: {
package/Form/index.d.ts CHANGED
File without changes
package/Form/index.js CHANGED
File without changes
package/Form/sc/bare.d.ts CHANGED
File without changes
package/Form/sc/bare.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes