@koine/react 2.0.0-alpha.1 → 2.0.0-alpha.3

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 (150) hide show
  1. package/Alert/Alert.d.ts +1 -1
  2. package/Animations/Reveal.d.ts +1 -1
  3. package/Animations/Reveal.js +1 -1
  4. package/Animations/Reveal.mjs +1 -1
  5. package/Animations/useReveal.d.ts +1 -0
  6. package/Autocomplete/AutocompleteMui.d.ts +3 -3
  7. package/Autocomplete/AutocompleteMui.js +7 -7
  8. package/Autocomplete/AutocompleteMui.mjs +6 -6
  9. package/Bg/BgColor.d.ts +1 -1
  10. package/Bg/BgColor.js +1 -1
  11. package/Bg/BgColor.mjs +1 -1
  12. package/Bg/BgPhoto.d.ts +1 -1
  13. package/Bg/BgPhoto.js +1 -1
  14. package/Bg/BgPhoto.mjs +1 -1
  15. package/Bg/BgSvg.d.ts +1 -1
  16. package/Bg/BgSvg.js +1 -1
  17. package/Bg/BgSvg.mjs +2 -2
  18. package/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  19. package/Breadcrumbs/Breadcrumbs.js +2 -2
  20. package/Breadcrumbs/Breadcrumbs.mjs +2 -2
  21. package/Buttons/ButtonComposite.d.ts +1 -1
  22. package/Buttons/ButtonComposite.js +1 -1
  23. package/Buttons/ButtonComposite.mjs +1 -1
  24. package/Buttons/ButtonLink.d.ts +1 -1
  25. package/Calendar/CalendarDaygridCell.d.ts +1 -1
  26. package/Calendar/CalendarDaygridCell.js +3 -3
  27. package/Calendar/CalendarDaygridCell.mjs +3 -3
  28. package/Calendar/CalendarDaygridNav.d.ts +1 -1
  29. package/Calendar/CalendarDaygridTable.d.ts +1 -1
  30. package/Calendar/CalendarDaygridTable.js +2 -11
  31. package/Calendar/CalendarDaygridTable.mjs +2 -11
  32. package/Calendar/CalendarLegend.d.ts +1 -1
  33. package/Calendar/CalendarLegend.js +1 -2
  34. package/Calendar/CalendarLegend.mjs +1 -2
  35. package/Calendar/useCalendar.d.ts +1 -0
  36. package/Carousel/CarouselCss.d.ts +1 -1
  37. package/Carousel/CarouselCss.js +1 -1
  38. package/Carousel/CarouselCss.mjs +1 -1
  39. package/Debug/Debug.d.ts +1 -1
  40. package/Details/Details.d.ts +11 -1
  41. package/Details/Details.js +3 -3
  42. package/Details/Details.mjs +3 -3
  43. package/Dialog/DialogMui.d.ts +54 -13
  44. package/Dialog/DialogMui.js +3 -3
  45. package/Dialog/DialogMui.mjs +2 -2
  46. package/Dialog/css/bare.d.ts +54 -12
  47. package/Dialog/m/bare.d.ts +54 -11
  48. package/Dialog/m/bare.js +2 -2
  49. package/Dialog/m/bare.mjs +2 -2
  50. package/Dialog/m/index.d.ts +1 -0
  51. package/Dialog/sc/bare.d.ts +54 -12
  52. package/Dialog/sc/framer.d.ts +54 -11
  53. package/Dialog/sc/framerMaterial.d.ts +54 -11
  54. package/Dialog/sc/material.d.ts +54 -12
  55. package/Dialog/tw/bare.d.ts +54 -12
  56. package/Dialog/tw/elegant.d.ts +54 -12
  57. package/Dialog/tw/framer.d.ts +54 -11
  58. package/Dialog/tw/framerMaterial.d.ts +54 -11
  59. package/Dialog/tw/material.d.ts +54 -12
  60. package/Editor/Editor--tiptap.d.ts +2 -2
  61. package/Editor/Editor--tiptap.js +3 -3
  62. package/Editor/Editor--tiptap.mjs +3 -3
  63. package/FaviconTags/FaviconTags.d.ts +1 -1
  64. package/FaviconTags/index.d.ts +1 -1
  65. package/FaviconTags/index.js +4 -4
  66. package/FaviconTags/index.mjs +1 -1
  67. package/Form/Form.d.ts +1 -1
  68. package/Form/sc/bare.d.ts +7 -7
  69. package/Forms/Checkbox/Checkbox.d.ts +1 -1
  70. package/Forms/Feedback/Feedback.d.ts +1 -1
  71. package/Forms/Feedback/Feedback.js +1 -1
  72. package/Forms/Feedback/Feedback.mjs +2 -2
  73. package/Forms/Field/Field.d.ts +1 -1
  74. package/Forms/Field/Field.js +1 -1
  75. package/Forms/Field/Field.mjs +1 -1
  76. package/Forms/Field/FieldControl.d.ts +1 -1
  77. package/Forms/InputGroup/InputGroup.d.ts +1 -1
  78. package/Forms/Password/Password.js +1 -1
  79. package/Forms/Password/Password.mjs +1 -1
  80. package/Forms/Toggle/Toggle.d.ts +2 -2
  81. package/Forms/Toggle/Toggle.js +2 -2
  82. package/Forms/Toggle/Toggle.mjs +3 -3
  83. package/Forms/Toggle/useToggle.d.ts +1 -1
  84. package/Forms/antispam.d.ts +4 -4
  85. package/Forms/styles.d.ts +1 -1
  86. package/Hamburger/Hamburger.d.ts +1 -1
  87. package/Hamburger/Hamburger.js +1 -1
  88. package/Hamburger/Hamburger.mjs +1 -1
  89. package/Link/LinkBlank.d.ts +2 -2
  90. package/MenuItem/useMenuItem.d.ts +2 -4
  91. package/MenuItem/useMenuItem.js +16 -14
  92. package/MenuItem/useMenuItem.mjs +17 -15
  93. package/Meta/Meta.d.ts +1 -1
  94. package/NoJs/NoJs.d.ts +1 -1
  95. package/Pagination/PaginationNav.d.ts +1 -1
  96. package/Pagination/PaginationNav.js +5 -5
  97. package/Pagination/PaginationNav.mjs +6 -6
  98. package/Pagination/PaginationResults.d.ts +1 -1
  99. package/Pagination/PaginationResults.js +1 -1
  100. package/Pagination/PaginationResults.mjs +2 -2
  101. package/Progress/ProgressCircular.d.ts +1 -1
  102. package/Progress/ProgressLinear.d.ts +1 -1
  103. package/Progress/ProgressOverlay.d.ts +1 -1
  104. package/Progress/ProgressOverlay.js +3 -3
  105. package/Progress/ProgressOverlay.mjs +4 -4
  106. package/Rating/Rating.d.ts +2 -2
  107. package/Rating/Rating.js +1 -1
  108. package/Rating/Rating.mjs +1 -1
  109. package/Sidebar/Sidebar.d.ts +1 -1
  110. package/Sidebar/Sidebar.js +1 -1
  111. package/Sidebar/Sidebar.mjs +2 -2
  112. package/Spacing/Spacing.d.ts +1 -1
  113. package/Sticky/StickyCss.d.ts +1 -1
  114. package/Sticky/index.d.ts +1 -1
  115. package/Sticky/index.js +3 -2
  116. package/Sticky/index.mjs +1 -1
  117. package/Tabs/TabsMui.d.ts +46 -41
  118. package/Tabs/TabsMui.js +14 -11
  119. package/Tabs/TabsMui.mjs +10 -7
  120. package/Tabs/tw/bare.d.ts +40 -36
  121. package/Tabs/tw/material.d.ts +52 -54
  122. package/Typography/ReadMore.d.ts +1 -1
  123. package/Typography/ReadMore.js +1 -1
  124. package/Typography/ReadMore.mjs +1 -1
  125. package/Typography/TextLoop.d.ts +2 -2
  126. package/Typography/TextLoop.js +3 -3
  127. package/Typography/TextLoop.mjs +3 -3
  128. package/Typography/TypeStairs.js +1 -2
  129. package/Typography/TypeStairs.mjs +1 -2
  130. package/hooks/useFocus.d.ts +1 -0
  131. package/m/MotionProvider.d.ts +1 -1
  132. package/m/MotionProvider.js +1 -2
  133. package/m/MotionProvider.mjs +1 -2
  134. package/package.json +14 -18
  135. package/styles/index.d.ts +7 -7
  136. package/styles/index.js +39 -8
  137. package/styles/index.mjs +7 -7
  138. package/styles/styled.d.ts +1 -1
  139. package/styles/styled.js +2 -2
  140. package/styles/styled.mjs +2 -2
  141. package/styles/theme--vanilla.d.ts +1 -1
  142. package/styles/theme--vanilla.js +1 -1
  143. package/styles/theme--vanilla.mjs +1 -2
  144. package/typings.d.ts +6 -6
  145. package/hooks/useEffectOnce.d.ts +0 -6
  146. package/hooks/useEffectOnce.js +0 -13
  147. package/hooks/useEffectOnce.mjs +0 -9
  148. package/hooks/useMount.d.ts +0 -5
  149. package/hooks/useMount.js +0 -14
  150. package/hooks/useMount.mjs +0 -10
@@ -4,30 +4,31 @@ exports.useMenuItem = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  var react_1 = require("react");
6
6
  var utils_1 = require("@mui/utils");
7
- var MenuUnstyled_1 = require("@mui/base/MenuUnstyled");
7
+ var useMenu_1 = tslib_1.__importDefault(require("@mui/base/useMenu"));
8
8
  // import { unstable_useIsFocusVisible as useIsFocusVisible } from "@mui/utils";
9
9
  function useMenuItem(props) {
10
10
  var _a;
11
- var _b = props.disabled, disabled = _b === void 0 ? false : _b, ref = props.ref, label = props.label;
11
+ var _b = props.disabled, disabled = _b === void 0 ? false : _b, ref = props.rootRef, label = props.label;
12
12
  var id = (0, react_1.useId)();
13
- var menuContext = (0, react_1.useContext)(MenuUnstyled_1.MenuUnstyledContext);
13
+ var _c = (0, useMenu_1.default)(), contextValue = _c.contextValue, open = _c.open;
14
+ // const { getRootProps } = useMenuItemUnstyled(props);
14
15
  var itemRef = (0, react_1.useRef)(null);
15
16
  var handleRef = (0, utils_1.unstable_useForkRef)(itemRef, ref);
16
- if (menuContext === null) {
17
+ if (contextValue === null) {
17
18
  throw new Error("MenuItemUnstyled must be used within a MenuUnstyled");
18
19
  }
19
- var registerItem = menuContext.registerItem, unregisterItem = menuContext.unregisterItem, open = menuContext.open;
20
+ var registerItem = contextValue.registerItem, getItemState = contextValue.getItemState;
20
21
  (0, react_1.useEffect)(function () {
21
22
  registerItem(id, { disabled: disabled, id: id, ref: itemRef, label: label });
22
- return function () { return unregisterItem(id); };
23
- }, [id, registerItem, unregisterItem, disabled, ref, label]);
23
+ // return () => unregisterItem(id);
24
+ }, [id, registerItem, /* unregisterItem, */ disabled, ref, label]);
24
25
  // const { getRootProps: getButtonProps, focusVisible } = useButton({
25
26
  // disabled,
26
27
  // focusableWhenDisabled: true,
27
28
  // ref: handleRef,
28
29
  // });
29
30
  // Ensure the menu item is focused when highlighted
30
- var _c = (0, react_1.useState)(false), focusRequested = _c[0], requestFocus = _c[1];
31
+ var _d = (0, react_1.useState)(false), focusRequested = _d[0], requestFocus = _d[1];
31
32
  var focusIfRequested = (0, react_1.useCallback)(function () {
32
33
  if (focusRequested && itemRef.current != null) {
33
34
  itemRef.current.focus();
@@ -38,20 +39,21 @@ function useMenuItem(props) {
38
39
  focusIfRequested();
39
40
  });
40
41
  // useDebugValue({ id, disabled, label });
41
- var itemState = menuContext.getItemState(id !== null && id !== void 0 ? id : "");
42
+ var itemState = getItemState(id !== null && id !== void 0 ? id : "");
42
43
  var highlighted = (itemState !== null && itemState !== void 0 ? itemState : { highlighted: false }).highlighted;
43
44
  (0, react_1.useEffect)(function () {
44
45
  requestFocus(highlighted && open);
45
46
  }, [highlighted, open]);
46
47
  return {
47
48
  getRootProps: function (other) {
48
- var optionProps = menuContext.getItemProps(id, other);
49
+ // const optionProps = menuContext.getItemProps(id, other);
49
50
  return tslib_1.__assign(tslib_1.__assign({}, other), {
50
51
  // ...getButtonProps(other),
51
- // @ts-expect-error type from @mui/base is not specific
52
- tabIndex: optionProps.tabIndex,
53
- // @ts-expect-error type from @mui/base is not specific
54
- id: optionProps.id, role: "menuitem" });
52
+ // @ ts-expect-error type from @mui/base is not specific
53
+ // tabIndex: optionProps.tabIndex,
54
+ // @ ts-expect-error type from @mui/base is not specific
55
+ // id: optionProps.id,
56
+ role: "menuitem" });
55
57
  },
56
58
  disabled: (_a = itemState === null || itemState === void 0 ? void 0 : itemState.disabled) !== null && _a !== void 0 ? _a : false,
57
59
  // focusVisible,
@@ -1,30 +1,31 @@
1
1
  import { __assign } from "tslib";
2
- import { useCallback, useContext, useEffect, useId, useRef, useState, } from "react";
2
+ import { useCallback, useEffect, useId, useRef, useState } from "react";
3
3
  import { unstable_useForkRef as useForkRef } from "@mui/utils";
4
- import { MenuUnstyledContext } from "@mui/base/MenuUnstyled";
4
+ import useMenu from "@mui/base/useMenu";
5
5
  // import { unstable_useIsFocusVisible as useIsFocusVisible } from "@mui/utils";
6
6
  export function useMenuItem(props) {
7
7
  var _a;
8
- var _b = props.disabled, disabled = _b === void 0 ? false : _b, ref = props.ref, label = props.label;
8
+ var _b = props.disabled, disabled = _b === void 0 ? false : _b, ref = props.rootRef, label = props.label;
9
9
  var id = useId();
10
- var menuContext = useContext(MenuUnstyledContext);
10
+ var _c = useMenu(), contextValue = _c.contextValue, open = _c.open;
11
+ // const { getRootProps } = useMenuItemUnstyled(props);
11
12
  var itemRef = useRef(null);
12
13
  var handleRef = useForkRef(itemRef, ref);
13
- if (menuContext === null) {
14
+ if (contextValue === null) {
14
15
  throw new Error("MenuItemUnstyled must be used within a MenuUnstyled");
15
16
  }
16
- var registerItem = menuContext.registerItem, unregisterItem = menuContext.unregisterItem, open = menuContext.open;
17
+ var registerItem = contextValue.registerItem, getItemState = contextValue.getItemState;
17
18
  useEffect(function () {
18
19
  registerItem(id, { disabled: disabled, id: id, ref: itemRef, label: label });
19
- return function () { return unregisterItem(id); };
20
- }, [id, registerItem, unregisterItem, disabled, ref, label]);
20
+ // return () => unregisterItem(id);
21
+ }, [id, registerItem, /* unregisterItem, */ disabled, ref, label]);
21
22
  // const { getRootProps: getButtonProps, focusVisible } = useButton({
22
23
  // disabled,
23
24
  // focusableWhenDisabled: true,
24
25
  // ref: handleRef,
25
26
  // });
26
27
  // Ensure the menu item is focused when highlighted
27
- var _c = useState(false), focusRequested = _c[0], requestFocus = _c[1];
28
+ var _d = useState(false), focusRequested = _d[0], requestFocus = _d[1];
28
29
  var focusIfRequested = useCallback(function () {
29
30
  if (focusRequested && itemRef.current != null) {
30
31
  itemRef.current.focus();
@@ -35,20 +36,21 @@ export function useMenuItem(props) {
35
36
  focusIfRequested();
36
37
  });
37
38
  // useDebugValue({ id, disabled, label });
38
- var itemState = menuContext.getItemState(id !== null && id !== void 0 ? id : "");
39
+ var itemState = getItemState(id !== null && id !== void 0 ? id : "");
39
40
  var highlighted = (itemState !== null && itemState !== void 0 ? itemState : { highlighted: false }).highlighted;
40
41
  useEffect(function () {
41
42
  requestFocus(highlighted && open);
42
43
  }, [highlighted, open]);
43
44
  return {
44
45
  getRootProps: function (other) {
45
- var optionProps = menuContext.getItemProps(id, other);
46
+ // const optionProps = menuContext.getItemProps(id, other);
46
47
  return __assign(__assign({}, other), {
47
48
  // ...getButtonProps(other),
48
- // @ts-expect-error type from @mui/base is not specific
49
- tabIndex: optionProps.tabIndex,
50
- // @ts-expect-error type from @mui/base is not specific
51
- id: optionProps.id, role: "menuitem" });
49
+ // @ ts-expect-error type from @mui/base is not specific
50
+ // tabIndex: optionProps.tabIndex,
51
+ // @ ts-expect-error type from @mui/base is not specific
52
+ // id: optionProps.id,
53
+ role: "menuitem" });
52
54
  },
53
55
  disabled: (_a = itemState === null || itemState === void 0 ? void 0 : itemState.disabled) !== null && _a !== void 0 ? _a : false,
54
56
  // focusVisible,
package/Meta/Meta.d.ts CHANGED
@@ -11,5 +11,5 @@ export type MetaProps = {
11
11
  */
12
12
  zoom?: boolean;
13
13
  };
14
- export declare const Meta: ({ zoom }: MetaProps) => JSX.Element;
14
+ export declare const Meta: ({ zoom }: MetaProps) => import("react/jsx-runtime").JSX.Element;
15
15
  export default Meta;
package/NoJs/NoJs.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export type NoJsProps = object;
2
- export declare const NoJs: (_props: NoJsProps) => JSX.Element;
2
+ export declare const NoJs: (_props: NoJsProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default NoJs;
@@ -18,5 +18,5 @@ type PaginationNavProps = KoineComponentProps<KoinePaginationNavProps, {
18
18
  currentUrl?: string;
19
19
  Link?: KoineComponent;
20
20
  }>;
21
- export declare const KoinePaginationNav: ({ total, perPage, currentPage, baseUrl, showOffset, currentUrl, Link, }: PaginationNavProps) => JSX.Element | null;
21
+ export declare const KoinePaginationNav: ({ total, perPage, currentPage: _currentPage, baseUrl, showOffset, currentUrl, Link, }: PaginationNavProps) => import("react/jsx-runtime").JSX.Element | null;
22
22
  export {};
@@ -23,9 +23,9 @@ var ItemNext = styled_components_1.default.a(templateObject_6 || (templateObject
23
23
  * < 1 ... 76 77 [78]
24
24
  */
25
25
  var KoinePaginationNav = function (_a) {
26
- var total = _a.total, perPage = _a.perPage, currentPage = _a.currentPage, baseUrl = _a.baseUrl, _b = _a.showOffset, showOffset = _b === void 0 ? 2 : _b, _c = _a.currentUrl, currentUrl = _c === void 0 ? "/" : _c, _d = _a.Link, Link = _d === void 0 ? "a" : _d;
26
+ var total = _a.total, perPage = _a.perPage, _currentPage = _a.currentPage, baseUrl = _a.baseUrl, _b = _a.showOffset, showOffset = _b === void 0 ? 2 : _b, _c = _a.currentUrl, currentUrl = _c === void 0 ? "/" : _c, _d = _a.Link, Link = _d === void 0 ? "a" : _d;
27
+ var currentPage = (0, ensureInt_1.default)(_currentPage);
27
28
  total = (0, ensureInt_1.default)(total);
28
- currentPage = (0, ensureInt_1.default)(currentPage);
29
29
  perPage = (0, ensureInt_1.default)(perPage);
30
30
  // page 0 means 1
31
31
  currentPage = currentPage || 1;
@@ -57,9 +57,9 @@ var KoinePaginationNav = function (_a) {
57
57
  }
58
58
  var prevDots = pages[0] > firstPage + 1;
59
59
  var nextDots = pages[pages.length - 1] < lastPage - 1;
60
- return ((0, jsx_runtime_1.jsxs)(Root, { children: [prevArrow && ((0, jsx_runtime_1.jsx)(ItemPrev, tslib_1.__assign({ as: Link, href: "".concat(baseUrl, "/").concat(prevPage) }, { children: (0, jsx_runtime_1.jsx)(cg_1.CgArrowLeftR, {}) }))), firstPage !== currentPage && ((0, jsx_runtime_1.jsx)(ItemLink, tslib_1.__assign({ as: Link, href: "".concat(baseUrl), prev: true }, { children: firstPage }))), prevDots && (0, jsx_runtime_1.jsx)(DotsSeparator, { children: "..." }), pages.map(function (page) {
61
- return page === currentPage ? ((0, jsx_runtime_1.jsx)(ItemCurrent, { children: page }, page)) : ((0, jsx_runtime_1.jsx)(ItemLink, tslib_1.__assign({ as: Link, href: "".concat(baseUrl, "/").concat(page), prev: page < currentPage, next: page > currentPage }, { children: page }), "pagination-".concat(page)));
62
- }), nextDots && (0, jsx_runtime_1.jsx)(DotsSeparator, { children: "..." }), lastPage !== currentPage && ((0, jsx_runtime_1.jsx)(ItemLink, tslib_1.__assign({ as: Link, href: "".concat(baseUrl, "/").concat(lastPage), next: true }, { children: lastPage }))), nextArrow && ((0, jsx_runtime_1.jsx)(ItemNext, tslib_1.__assign({ as: Link, href: "".concat(baseUrl, "/").concat(nextPage) }, { children: (0, jsx_runtime_1.jsx)(cg_1.CgArrowRightR, {}) })))] }));
60
+ return ((0, jsx_runtime_1.jsxs)(Root, { children: [prevArrow && ((0, jsx_runtime_1.jsx)(ItemPrev, { as: Link, href: "".concat(baseUrl, "/").concat(prevPage), children: (0, jsx_runtime_1.jsx)(cg_1.CgArrowLeftR, {}) })), firstPage !== currentPage && ((0, jsx_runtime_1.jsx)(ItemLink, { as: Link, href: "".concat(baseUrl), prev: true, children: firstPage })), prevDots && (0, jsx_runtime_1.jsx)(DotsSeparator, { children: "..." }), pages.map(function (page) {
61
+ return page === currentPage ? ((0, jsx_runtime_1.jsx)(ItemCurrent, { children: page }, page)) : ((0, jsx_runtime_1.jsx)(ItemLink, { as: Link, href: "".concat(baseUrl, "/").concat(page), prev: page < currentPage, next: page > currentPage, children: page }, "pagination-".concat(page)));
62
+ }), nextDots && (0, jsx_runtime_1.jsx)(DotsSeparator, { children: "..." }), lastPage !== currentPage && ((0, jsx_runtime_1.jsx)(ItemLink, { as: Link, href: "".concat(baseUrl, "/").concat(lastPage), next: true, children: lastPage })), nextArrow && ((0, jsx_runtime_1.jsx)(ItemNext, { as: Link, href: "".concat(baseUrl, "/").concat(nextPage), children: (0, jsx_runtime_1.jsx)(cg_1.CgArrowRightR, {}) }))] }));
63
63
  };
64
64
  exports.KoinePaginationNav = KoinePaginationNav;
65
65
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
@@ -1,4 +1,4 @@
1
- import { __assign, __makeTemplateObject } from "tslib";
1
+ import { __makeTemplateObject } from "tslib";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import styled from "styled-components";
4
4
  import { CgArrowRightR as IconArrowRight, CgArrowLeftR as IconArrowLeft, } from "react-icons/cg";
@@ -20,9 +20,9 @@ var ItemNext = styled.a(templateObject_6 || (templateObject_6 = __makeTemplateOb
20
20
  * < 1 ... 76 77 [78]
21
21
  */
22
22
  export var KoinePaginationNav = function (_a) {
23
- var total = _a.total, perPage = _a.perPage, currentPage = _a.currentPage, baseUrl = _a.baseUrl, _b = _a.showOffset, showOffset = _b === void 0 ? 2 : _b, _c = _a.currentUrl, currentUrl = _c === void 0 ? "/" : _c, _d = _a.Link, Link = _d === void 0 ? "a" : _d;
23
+ var total = _a.total, perPage = _a.perPage, _currentPage = _a.currentPage, baseUrl = _a.baseUrl, _b = _a.showOffset, showOffset = _b === void 0 ? 2 : _b, _c = _a.currentUrl, currentUrl = _c === void 0 ? "/" : _c, _d = _a.Link, Link = _d === void 0 ? "a" : _d;
24
+ var currentPage = ensureInt(_currentPage);
24
25
  total = ensureInt(total);
25
- currentPage = ensureInt(currentPage);
26
26
  perPage = ensureInt(perPage);
27
27
  // page 0 means 1
28
28
  currentPage = currentPage || 1;
@@ -54,8 +54,8 @@ export var KoinePaginationNav = function (_a) {
54
54
  }
55
55
  var prevDots = pages[0] > firstPage + 1;
56
56
  var nextDots = pages[pages.length - 1] < lastPage - 1;
57
- return (_jsxs(Root, { children: [prevArrow && (_jsx(ItemPrev, __assign({ as: Link, href: "".concat(baseUrl, "/").concat(prevPage) }, { children: _jsx(IconArrowLeft, {}) }))), firstPage !== currentPage && (_jsx(ItemLink, __assign({ as: Link, href: "".concat(baseUrl), prev: true }, { children: firstPage }))), prevDots && _jsx(DotsSeparator, { children: "..." }), pages.map(function (page) {
58
- return page === currentPage ? (_jsx(ItemCurrent, { children: page }, page)) : (_jsx(ItemLink, __assign({ as: Link, href: "".concat(baseUrl, "/").concat(page), prev: page < currentPage, next: page > currentPage }, { children: page }), "pagination-".concat(page)));
59
- }), nextDots && _jsx(DotsSeparator, { children: "..." }), lastPage !== currentPage && (_jsx(ItemLink, __assign({ as: Link, href: "".concat(baseUrl, "/").concat(lastPage), next: true }, { children: lastPage }))), nextArrow && (_jsx(ItemNext, __assign({ as: Link, href: "".concat(baseUrl, "/").concat(nextPage) }, { children: _jsx(IconArrowRight, {}) })))] }));
57
+ return (_jsxs(Root, { children: [prevArrow && (_jsx(ItemPrev, { as: Link, href: "".concat(baseUrl, "/").concat(prevPage), children: _jsx(IconArrowLeft, {}) })), firstPage !== currentPage && (_jsx(ItemLink, { as: Link, href: "".concat(baseUrl), prev: true, children: firstPage })), prevDots && _jsx(DotsSeparator, { children: "..." }), pages.map(function (page) {
58
+ return page === currentPage ? (_jsx(ItemCurrent, { children: page }, page)) : (_jsx(ItemLink, { as: Link, href: "".concat(baseUrl, "/").concat(page), prev: page < currentPage, next: page > currentPage, children: page }, "pagination-".concat(page)));
59
+ }), nextDots && _jsx(DotsSeparator, { children: "..." }), lastPage !== currentPage && (_jsx(ItemLink, { as: Link, href: "".concat(baseUrl, "/").concat(lastPage), next: true, children: lastPage })), nextArrow && (_jsx(ItemNext, { as: Link, href: "".concat(baseUrl, "/").concat(nextPage), children: _jsx(IconArrowRight, {}) }))] }));
60
60
  };
61
61
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  export type PaginationResultsProps = React.PropsWithChildren<unknown>;
3
- export declare const PaginationResults: ({ children }: PaginationResultsProps) => JSX.Element;
3
+ export declare const PaginationResults: ({ children }: PaginationResultsProps) => import("react/jsx-runtime").JSX.Element;
@@ -9,7 +9,7 @@ var Root = styled_components_1.default.div(templateObject_1 || (templateObject_1
9
9
  var Inner = (0, styled_components_1.default)(framer_motion_1.m.div)(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject([""], [""])));
10
10
  var PaginationResults = function (_a) {
11
11
  var children = _a.children;
12
- return ((0, jsx_runtime_1.jsx)(framer_motion_1.AnimatePresence, tslib_1.__assign({ exitBeforeEnter: true, initial: true }, { children: (0, jsx_runtime_1.jsx)(Root, { children: (0, jsx_runtime_1.jsx)(Inner, tslib_1.__assign({ initial: { opacity: 0, x: -100 }, animate: { opacity: 1, x: 0 }, exit: { opacity: 0, x: 100 }, transition: { type: "linear", staggerChildren: 0.3 } }, { children: children })) }) })));
12
+ return ((0, jsx_runtime_1.jsx)(framer_motion_1.AnimatePresence, { exitBeforeEnter: true, initial: true, children: (0, jsx_runtime_1.jsx)(Root, { children: (0, jsx_runtime_1.jsx)(Inner, { initial: { opacity: 0, x: -100 }, animate: { opacity: 1, x: 0 }, exit: { opacity: 0, x: 100 }, transition: { type: "linear", staggerChildren: 0.3 }, children: children }) }) }));
13
13
  };
14
14
  exports.PaginationResults = PaginationResults;
15
15
  var templateObject_1, templateObject_2;
@@ -1,4 +1,4 @@
1
- import { __assign, __makeTemplateObject } from "tslib";
1
+ import { __makeTemplateObject } from "tslib";
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import styled from "styled-components";
4
4
  import { AnimatePresence, m } from "framer-motion";
@@ -6,6 +6,6 @@ var Root = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObje
6
6
  var Inner = styled(m.div)(templateObject_2 || (templateObject_2 = __makeTemplateObject([""], [""])));
7
7
  export var PaginationResults = function (_a) {
8
8
  var children = _a.children;
9
- return (_jsx(AnimatePresence, __assign({ exitBeforeEnter: true, initial: true }, { children: _jsx(Root, { children: _jsx(Inner, __assign({ initial: { opacity: 0, x: -100 }, animate: { opacity: 1, x: 0 }, exit: { opacity: 0, x: 100 }, transition: { type: "linear", staggerChildren: 0.3 } }, { children: children })) }) })));
9
+ return (_jsx(AnimatePresence, { exitBeforeEnter: true, initial: true, children: _jsx(Root, { children: _jsx(Inner, { initial: { opacity: 0, x: -100 }, animate: { opacity: 1, x: 0 }, exit: { opacity: 0, x: 100 }, transition: { type: "linear", staggerChildren: 0.3 }, children: children }) }) }));
10
10
  };
11
11
  var templateObject_1, templateObject_2;
@@ -16,4 +16,4 @@ export declare const ProgressCircular: ({ size, thickness, color, ...props }: {
16
16
  size?: string | undefined;
17
17
  thickness?: number | undefined;
18
18
  color?: string | undefined;
19
- }) => JSX.Element;
19
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -19,4 +19,4 @@ export declare const ProgressLinear: ({ done, height, bg, fg, ...props }: {
19
19
  height?: string | undefined;
20
20
  bg?: string | undefined;
21
21
  fg?: string | undefined;
22
- }) => JSX.Element;
22
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  export type ProgressOverlayProps = {
2
2
  running?: boolean;
3
3
  };
4
- export declare const ProgressOverlay: ({ running }: ProgressOverlayProps) => JSX.Element;
4
+ export declare const ProgressOverlay: ({ running }: ProgressOverlayProps) => import("react/jsx-runtime").JSX.Element;
@@ -18,11 +18,11 @@ var ProgressOverlay = function (_a) {
18
18
  (0, react_1.useEffect)(function () {
19
19
  document.body.style.cursor = running ? "wait" : "";
20
20
  }, [running]);
21
- return ((0, jsx_runtime_1.jsxs)(ProgressOverlayWrap, tslib_1.__assign({ animate: {
21
+ return ((0, jsx_runtime_1.jsxs)(ProgressOverlayWrap, { animate: {
22
22
  opacity: running ? 1 : 0,
23
- }, initial: { opacity: 0 }, transition: { type: "easeInOut" } }, { children: [(0, jsx_runtime_1.jsx)(ProgressLinear_1.ProgressLinear, { bg: "var(--accent400)", fg: "var(--accent300)", done: !running }), (0, jsx_runtime_1.jsx)(ProgressOverlayCenterer, tslib_1.__assign({ style: {
23
+ }, initial: { opacity: 0 }, transition: { type: "easeInOut" }, children: [(0, jsx_runtime_1.jsx)(ProgressLinear_1.ProgressLinear, { bg: "var(--accent400)", fg: "var(--accent300)", done: !running }), (0, jsx_runtime_1.jsx)(ProgressOverlayCenterer, { style: {
24
24
  top: headerHeight + "px",
25
- } }, { children: (0, jsx_runtime_1.jsx)(ProgressCircular_1.ProgressCircular, { size: "50px", color: "var(--accent300)" }) }))] })));
25
+ }, children: (0, jsx_runtime_1.jsx)(ProgressCircular_1.ProgressCircular, { size: "50px", color: "var(--accent300)" }) })] }));
26
26
  };
27
27
  exports.ProgressOverlay = ProgressOverlay;
28
28
  var templateObject_1, templateObject_2;
@@ -1,4 +1,4 @@
1
- import { __assign, __makeTemplateObject } from "tslib";
1
+ import { __makeTemplateObject } from "tslib";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { useEffect } from "react";
4
4
  import styled from "styled-components";
@@ -15,10 +15,10 @@ export var ProgressOverlay = function (_a) {
15
15
  useEffect(function () {
16
16
  document.body.style.cursor = running ? "wait" : "";
17
17
  }, [running]);
18
- return (_jsxs(ProgressOverlayWrap, __assign({ animate: {
18
+ return (_jsxs(ProgressOverlayWrap, { animate: {
19
19
  opacity: running ? 1 : 0,
20
- }, initial: { opacity: 0 }, transition: { type: "easeInOut" } }, { children: [_jsx(ProgressLinear, { bg: "var(--accent400)", fg: "var(--accent300)", done: !running }), _jsx(ProgressOverlayCenterer, __assign({ style: {
20
+ }, initial: { opacity: 0 }, transition: { type: "easeInOut" }, children: [_jsx(ProgressLinear, { bg: "var(--accent400)", fg: "var(--accent300)", done: !running }), _jsx(ProgressOverlayCenterer, { style: {
21
21
  top: headerHeight + "px",
22
- } }, { children: _jsx(ProgressCircular, { size: "50px", color: "var(--accent300)" }) }))] })));
22
+ }, children: _jsx(ProgressCircular, { size: "50px", color: "var(--accent300)" }) })] }));
23
23
  };
24
24
  var templateObject_1, templateObject_2;
@@ -10,7 +10,7 @@ export type RatingStarProps = React.ComponentPropsWithoutRef<"svg"> & RatingStar
10
10
  colorStroke?: React.CSSProperties["color"];
11
11
  };
12
12
  export declare const RatingStarRoot: import("styled-components").StyledComponent<"svg", import("styled-components").DefaultTheme, {}, never>;
13
- export declare const RatingStar: ({ value, colorBg, colorStroke, size, ...props }: RatingStarProps) => JSX.Element;
13
+ export declare const RatingStar: ({ value, colorBg, colorStroke, size, ...props }: RatingStarProps) => import("react/jsx-runtime").JSX.Element;
14
14
  export declare const RatingDetails: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
15
15
  export declare const RatingCount: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
16
16
  export declare const RatingValue: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
@@ -32,4 +32,4 @@ export type RatingProps = {
32
32
  showDetails?: boolean;
33
33
  starSize?: RatingStarProps["size"];
34
34
  } & Pick<RatingStarProps, "colorBg" | "colorStroke">;
35
- export declare const Rating: ({ value, count, min, max, showDetails, colorBg, colorStroke, starSize, }: RatingProps) => JSX.Element;
35
+ export declare const Rating: ({ value, count, min, max, showDetails, colorBg, colorStroke, starSize, }: RatingProps) => import("react/jsx-runtime").JSX.Element;
package/Rating/Rating.js CHANGED
@@ -9,7 +9,7 @@ exports.RatingStarRoot = styled_components_1.default.svg(templateObject_1 || (te
9
9
  var RatingStar = function (_a) {
10
10
  var value = _a.value, _b = _a.colorBg, colorBg = _b === void 0 ? "#FFD84C" : _b, _c = _a.colorStroke, colorStroke = _c === void 0 ? "#947813" : _c, size = _a.size, props = tslib_1.__rest(_a, ["value", "colorBg", "colorStroke", "size"]);
11
11
  var id = (0, react_1.useId)();
12
- return ((0, jsx_runtime_1.jsxs)(exports.RatingStarRoot, tslib_1.__assign({ viewBox: "0 0 16 16", "data-value": value, width: size + "px", height: size + "px" }, props, { children: [(0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsxs)("linearGradient", tslib_1.__assign({ id: id, x1: "0", y1: "0", x2: "1", y2: "0" }, { children: [(0, jsx_runtime_1.jsx)("stop", { offset: "0", stopColor: colorBg }), (0, jsx_runtime_1.jsx)("stop", { offset: value, stopColor: colorBg }), (0, jsx_runtime_1.jsx)("stop", { offset: value, stopColor: "rgba(255, 255, 255, 0)" })] })) }), (0, jsx_runtime_1.jsx)("path", { stroke: colorStroke, strokeWidth: "0.5", fill: "url(#".concat(id, ")"), d: "M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.283.95l-3.523 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z" })] })));
12
+ return ((0, jsx_runtime_1.jsxs)(exports.RatingStarRoot, tslib_1.__assign({ viewBox: "0 0 16 16", "data-value": value, width: size + "px", height: size + "px" }, props, { children: [(0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsxs)("linearGradient", { id: id, x1: "0", y1: "0", x2: "1", y2: "0", children: [(0, jsx_runtime_1.jsx)("stop", { offset: "0", stopColor: colorBg }), (0, jsx_runtime_1.jsx)("stop", { offset: value, stopColor: colorBg }), (0, jsx_runtime_1.jsx)("stop", { offset: value, stopColor: "rgba(255, 255, 255, 0)" })] }) }), (0, jsx_runtime_1.jsx)("path", { stroke: colorStroke, strokeWidth: "0.5", fill: "url(#".concat(id, ")"), d: "M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.283.95l-3.523 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z" })] })));
13
13
  };
14
14
  exports.RatingStar = RatingStar;
15
15
  exports.RatingDetails = styled_components_1.default.span(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n padding-left: 0.5em;\n font-size: 12px;\n color: var(--grey100);\n\n &:before {\n content: \"(\";\n }\n &:after {\n content: \")\";\n }\n"], ["\n padding-left: 0.5em;\n font-size: 12px;\n color: var(--grey100);\n\n &:before {\n content: \"(\";\n }\n &:after {\n content: \")\";\n }\n"])));
package/Rating/Rating.mjs CHANGED
@@ -6,7 +6,7 @@ export var RatingStarRoot = styled.svg(templateObject_1 || (templateObject_1 = _
6
6
  export var RatingStar = function (_a) {
7
7
  var value = _a.value, _b = _a.colorBg, colorBg = _b === void 0 ? "#FFD84C" : _b, _c = _a.colorStroke, colorStroke = _c === void 0 ? "#947813" : _c, size = _a.size, props = __rest(_a, ["value", "colorBg", "colorStroke", "size"]);
8
8
  var id = useId();
9
- return (_jsxs(RatingStarRoot, __assign({ viewBox: "0 0 16 16", "data-value": value, width: size + "px", height: size + "px" }, props, { children: [_jsx("defs", { children: _jsxs("linearGradient", __assign({ id: id, x1: "0", y1: "0", x2: "1", y2: "0" }, { children: [_jsx("stop", { offset: "0", stopColor: colorBg }), _jsx("stop", { offset: value, stopColor: colorBg }), _jsx("stop", { offset: value, stopColor: "rgba(255, 255, 255, 0)" })] })) }), _jsx("path", { stroke: colorStroke, strokeWidth: "0.5", fill: "url(#".concat(id, ")"), d: "M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.283.95l-3.523 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z" })] })));
9
+ return (_jsxs(RatingStarRoot, __assign({ viewBox: "0 0 16 16", "data-value": value, width: size + "px", height: size + "px" }, props, { children: [_jsx("defs", { children: _jsxs("linearGradient", { id: id, x1: "0", y1: "0", x2: "1", y2: "0", children: [_jsx("stop", { offset: "0", stopColor: colorBg }), _jsx("stop", { offset: value, stopColor: colorBg }), _jsx("stop", { offset: value, stopColor: "rgba(255, 255, 255, 0)" })] }) }), _jsx("path", { stroke: colorStroke, strokeWidth: "0.5", fill: "url(#".concat(id, ")"), d: "M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.283.95l-3.523 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z" })] })));
10
10
  };
11
11
  export var RatingDetails = styled.span(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n padding-left: 0.5em;\n font-size: 12px;\n color: var(--grey100);\n\n &:before {\n content: \"(\";\n }\n &:after {\n content: \")\";\n }\n"], ["\n padding-left: 0.5em;\n font-size: 12px;\n color: var(--grey100);\n\n &:before {\n content: \"(\";\n }\n &:after {\n content: \")\";\n }\n"])));
12
12
  export var RatingCount = styled.span(templateObject_3 || (templateObject_3 = __makeTemplateObject([""], [""])));
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  export type SidebarProps = React.PropsWithChildren<unknown>;
3
- export declare const Sidebar: ({ children }: SidebarProps) => JSX.Element;
3
+ export declare const Sidebar: ({ children }: SidebarProps) => import("react/jsx-runtime").JSX.Element;
@@ -21,7 +21,7 @@ var Sidebar = function (_a) {
21
21
  var handleClickToggle = (0, react_1.useCallback)(function () {
22
22
  setOpen(function (prevOpen) { return !prevOpen; });
23
23
  }, []);
24
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(SidebarToggle, tslib_1.__assign({ onClick: handleClickToggle }, { children: (0, jsx_runtime_1.jsx)(Buttons_1.IconButtonFab, tslib_1.__assign({ "$variant": "contained" }, { children: open ? (0, jsx_runtime_1.jsx)(cg_1.CgCloseR, {}) : (0, jsx_runtime_1.jsx)(gr_1.GrFolderOpen, {}) })) })), (0, jsx_runtime_1.jsx)(SidebarWrapper, tslib_1.__assign({ "$open": open, "$top": headerHeight }, { children: children }))] }));
24
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(SidebarToggle, { onClick: handleClickToggle, children: (0, jsx_runtime_1.jsx)(Buttons_1.IconButtonFab, { "$variant": "contained", children: open ? (0, jsx_runtime_1.jsx)(cg_1.CgCloseR, {}) : (0, jsx_runtime_1.jsx)(gr_1.GrFolderOpen, {}) }) }), (0, jsx_runtime_1.jsx)(SidebarWrapper, { "$open": open, "$top": headerHeight, children: children })] }));
25
25
  };
26
26
  exports.Sidebar = Sidebar;
27
27
  var templateObject_1, templateObject_2;
@@ -1,4 +1,4 @@
1
- import { __assign, __makeTemplateObject } from "tslib";
1
+ import { __makeTemplateObject } from "tslib";
2
2
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { useCallback, useState } from "react";
4
4
  import styled from "styled-components";
@@ -18,6 +18,6 @@ export var Sidebar = function (_a) {
18
18
  var handleClickToggle = useCallback(function () {
19
19
  setOpen(function (prevOpen) { return !prevOpen; });
20
20
  }, []);
21
- return (_jsxs(_Fragment, { children: [_jsx(SidebarToggle, __assign({ onClick: handleClickToggle }, { children: _jsx(IconButtonFab, __assign({ "$variant": "contained" }, { children: open ? _jsx(IconClose, {}) : _jsx(IconOpen, {}) })) })), _jsx(SidebarWrapper, __assign({ "$open": open, "$top": headerHeight }, { children: children }))] }));
21
+ return (_jsxs(_Fragment, { children: [_jsx(SidebarToggle, { onClick: handleClickToggle, children: _jsx(IconButtonFab, { "$variant": "contained", children: open ? _jsx(IconClose, {}) : _jsx(IconOpen, {}) }) }), _jsx(SidebarWrapper, { "$open": open, "$top": headerHeight, children: children })] }));
22
22
  };
23
23
  var templateObject_1, templateObject_2;
@@ -26,5 +26,5 @@ export type SpacingProps = React.ComponentPropsWithoutRef<"div"> & Partial<Recor
26
26
  * <Spacing top="sm:2:padding:tablet,desktop" />
27
27
  * ```
28
28
  */
29
- export declare const Spacing: ({ top, bottom, vertical, ...props }: SpacingProps) => JSX.Element;
29
+ export declare const Spacing: ({ top, bottom, vertical, ...props }: SpacingProps) => import("react/jsx-runtime").JSX.Element;
30
30
  export {};
@@ -2,4 +2,4 @@
2
2
  export type StickyCssProps = React.ComponentProps<"div"> & {
3
3
  top: number;
4
4
  };
5
- export declare const StickyCss: ({ top, ...props }: StickyCssProps) => JSX.Element;
5
+ export declare const StickyCss: ({ top, ...props }: StickyCssProps) => import("react/jsx-runtime").JSX.Element;
package/Sticky/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./StickyCss";
1
+ export { StickyCss, StickyCssProps } from "./StickyCss";
package/Sticky/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- var tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./StickyCss"), exports);
3
+ exports.StickyCss = void 0;
4
+ var StickyCss_1 = require("./StickyCss");
5
+ Object.defineProperty(exports, "StickyCss", { enumerable: true, get: function () { return StickyCss_1.StickyCss; } });
package/Sticky/index.mjs CHANGED
@@ -1 +1 @@
1
- export * from "./StickyCss";
1
+ export { StickyCss } from "./StickyCss";