@codeleap/web 2.0.1 → 2.3.12

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 (97) hide show
  1. package/dist/components/ActivityIndicator/index.d.ts +12 -12
  2. package/dist/components/ActivityIndicator/index.js +60 -60
  3. package/dist/components/ActivityIndicator/styles.d.ts +53 -53
  4. package/dist/components/ActivityIndicator/styles.js +21 -21
  5. package/dist/components/Button.d.ts +18 -18
  6. package/dist/components/Button.js +66 -66
  7. package/dist/components/CenterWrapper.d.ts +7 -7
  8. package/dist/components/CenterWrapper.js +27 -27
  9. package/dist/components/Checkbox/index.d.ts +12 -12
  10. package/dist/components/Checkbox/index.js +61 -61
  11. package/dist/components/Checkbox/styles.d.ts +53 -53
  12. package/dist/components/Checkbox/styles.js +63 -63
  13. package/dist/components/Collapse.d.ts +20 -20
  14. package/dist/components/Collapse.js +67 -67
  15. package/dist/components/ContentView.d.ts +10 -10
  16. package/dist/components/ContentView.js +51 -51
  17. package/dist/components/Drawer.d.ts +23 -23
  18. package/dist/components/Drawer.js +72 -72
  19. package/dist/components/FileInput.d.ts +8 -8
  20. package/dist/components/FileInput.js +72 -72
  21. package/dist/components/HorizontalScroll.d.ts +3 -3
  22. package/dist/components/HorizontalScroll.js +41 -41
  23. package/dist/components/Icon.d.ts +8 -8
  24. package/dist/components/Icon.js +54 -54
  25. package/dist/components/Link.d.ts +7 -7
  26. package/dist/components/Link.js +62 -62
  27. package/dist/components/List.d.ts +18 -18
  28. package/dist/components/List.js +51 -51
  29. package/dist/components/Modal/index.d.ts +21 -21
  30. package/dist/components/Modal/index.js +119 -119
  31. package/dist/components/Modal/styles.d.ts +56 -56
  32. package/dist/components/Modal/styles.js +35 -35
  33. package/dist/components/Overlay.d.ts +10 -10
  34. package/dist/components/Overlay.js +40 -40
  35. package/dist/components/RadioInput/index.d.ts +21 -21
  36. package/dist/components/RadioInput/index.js +54 -54
  37. package/dist/components/RadioInput/styles.d.ts +54 -54
  38. package/dist/components/RadioInput/styles.js +43 -43
  39. package/dist/components/RouterPage/Menu.d.ts +10 -10
  40. package/dist/components/RouterPage/Menu.js +35 -35
  41. package/dist/components/RouterPage/MenuItem.d.ts +12 -12
  42. package/dist/components/RouterPage/MenuItem.js +41 -41
  43. package/dist/components/RouterPage/Router.d.ts +8 -8
  44. package/dist/components/RouterPage/Router.js +26 -26
  45. package/dist/components/RouterPage/index.d.ts +29 -29
  46. package/dist/components/RouterPage/index.js +88 -88
  47. package/dist/components/RouterPage/styles.d.ts +54 -54
  48. package/dist/components/RouterPage/styles.js +86 -86
  49. package/dist/components/Scroll.d.ts +5 -5
  50. package/dist/components/Scroll.js +23 -23
  51. package/dist/components/Select/Custom.d.ts +8 -8
  52. package/dist/components/Select/Custom.js +103 -103
  53. package/dist/components/Select/Multi.d.ts +3 -3
  54. package/dist/components/Select/Multi.js +104 -104
  55. package/dist/components/Select/Native.d.ts +17 -17
  56. package/dist/components/Select/Native.js +43 -43
  57. package/dist/components/Select/index.d.ts +12 -12
  58. package/dist/components/Select/index.js +43 -43
  59. package/dist/components/Select/styles.d.ts +5 -5
  60. package/dist/components/Select/styles.js +56 -56
  61. package/dist/components/Select/types.d.ts +49 -49
  62. package/dist/components/Select/types.js +2 -2
  63. package/dist/components/Slider.d.ts +5 -5
  64. package/dist/components/Slider.js +35 -35
  65. package/dist/components/Text.d.ts +9 -9
  66. package/dist/components/Text.js +40 -40
  67. package/dist/components/TextInput.d.ts +150 -150
  68. package/dist/components/TextInput.js +124 -124
  69. package/dist/components/Tooltip.d.ts +12 -12
  70. package/dist/components/Tooltip.js +121 -121
  71. package/dist/components/Touchable.d.ts +15 -15
  72. package/dist/components/Touchable.js +51 -51
  73. package/dist/components/View.d.ts +10 -10
  74. package/dist/components/View.js +61 -61
  75. package/dist/components/index.d.ts +24 -24
  76. package/dist/components/index.js +40 -40
  77. package/dist/index.d.ts +6 -6
  78. package/dist/index.js +28 -28
  79. package/dist/lib/OSAlert.d.ts +21 -21
  80. package/dist/lib/OSAlert.js +139 -139
  81. package/dist/lib/Toast.d.ts +13 -13
  82. package/dist/lib/Toast.js +31 -31
  83. package/dist/lib/hooks.d.ts +28 -28
  84. package/dist/lib/hooks.js +182 -182
  85. package/dist/lib/logger.d.ts +2 -2
  86. package/dist/lib/logger.js +15 -15
  87. package/dist/lib/utils/cookies.d.ts +6 -6
  88. package/dist/lib/utils/cookies.js +14 -14
  89. package/dist/lib/utils/index.d.ts +4 -4
  90. package/dist/lib/utils/index.js +26 -26
  91. package/dist/lib/utils/pollyfils/scroll.d.ts +1 -1
  92. package/dist/lib/utils/pollyfils/scroll.js +65 -65
  93. package/dist/lib/utils/stopPropagation.d.ts +1 -1
  94. package/dist/lib/utils/stopPropagation.js +19 -19
  95. package/dist/types/utility.d.ts +2 -2
  96. package/dist/types/utility.js +2 -2
  97. package/package.json +47 -47
@@ -1,29 +1,29 @@
1
- import React from 'react';
2
- import { ComponentVariants, IconPlaceholder } from '@codeleap/common';
3
- import { StylesOf } from '../../types/utility';
4
- import { RouterPageComposition, RouterPageStyles } from './styles';
5
- export * from './styles';
6
- export declare type RouteProps = {
7
- title?: string;
8
- path?: string;
9
- menuIcon?: IconPlaceholder;
10
- };
11
- declare type ContentProps = {
12
- styles: StylesOf<RouterPageComposition>;
13
- menuItems: {
14
- icon: string;
15
- title: string;
16
- path: string;
17
- }[];
18
- showMenu?: boolean;
19
- };
20
- export * from './Router';
21
- export * from './Menu';
22
- export * from './MenuItem';
23
- declare type RouterPageProps = {
24
- basePath: string;
25
- styles?: StylesOf<RouterPageComposition>;
26
- title?: string;
27
- renderContentWrapper?: React.FC<ContentProps>;
28
- } & ComponentVariants<typeof RouterPageStyles>;
29
- export declare const RouterPage: React.FC<RouterPageProps>;
1
+ import React from 'react';
2
+ import { ComponentVariants, IconPlaceholder } from '@codeleap/common';
3
+ import { StylesOf } from '../../types/utility';
4
+ import { RouterPageComposition, RouterPageStyles } from './styles';
5
+ export * from './styles';
6
+ export declare type RouteProps = {
7
+ title?: string;
8
+ path?: string;
9
+ menuIcon?: IconPlaceholder;
10
+ };
11
+ declare type ContentProps = {
12
+ styles: StylesOf<RouterPageComposition>;
13
+ menuItems: {
14
+ icon: string;
15
+ title: string;
16
+ path: string;
17
+ }[];
18
+ showMenu?: boolean;
19
+ };
20
+ export * from './Router';
21
+ export * from './Menu';
22
+ export * from './MenuItem';
23
+ declare type RouterPageProps = {
24
+ basePath: string;
25
+ styles?: StylesOf<RouterPageComposition>;
26
+ title?: string;
27
+ renderContentWrapper?: React.FC<ContentProps>;
28
+ } & ComponentVariants<typeof RouterPageStyles>;
29
+ export declare const RouterPage: React.FC<RouterPageProps>;
@@ -1,89 +1,89 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- var desc = Object.getOwnPropertyDescriptor(m, k);
16
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
- desc = { enumerable: true, get: function() { return m[k]; } };
18
- }
19
- Object.defineProperty(o, k2, desc);
20
- }) : (function(o, m, k, k2) {
21
- if (k2 === undefined) k2 = k;
22
- o[k2] = m[k];
23
- }));
24
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
- Object.defineProperty(o, "default", { enumerable: true, value: v });
26
- }) : function(o, v) {
27
- o["default"] = v;
28
- });
29
- var __importStar = (this && this.__importStar) || function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
36
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
37
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
38
- };
39
- Object.defineProperty(exports, "__esModule", { value: true });
40
- exports.RouterPage = void 0;
41
- var jsx_runtime_1 = require("@emotion/react/jsx-runtime");
42
- var View_1 = require("../View");
43
- var react_1 = __importStar(require("react"));
44
- var Menu_1 = require("./Menu");
45
- var Router_1 = require("./Router");
46
- var common_1 = require("@codeleap/common");
47
- var react_helmet_1 = require("react-helmet");
48
- var utils_1 = require("../../lib/utils");
49
- __exportStar(require("./styles"), exports);
50
- __exportStar(require("./Router"), exports);
51
- __exportStar(require("./Menu"), exports);
52
- __exportStar(require("./MenuItem"), exports);
53
- var RouterPage = function (props) {
54
- var children = props.children, basePath = props.basePath, variants = props.variants, pageGroupTitle = props.title, responsiveVariants = props.responsiveVariants, styles = props.styles, renderContentWrapper = props.renderContentWrapper;
55
- var pathName = (0, utils_1.url)().pathname;
56
- var _a = (0, react_1.useMemo)(function () {
57
- var items = [];
58
- var defaultPath = '';
59
- react_1.default.Children.forEach(children, function (c) {
60
- if (react_1.default.isValidElement(c) && c.props) {
61
- var _a = c.props, title = _a.title, path = _a.path, menuIcon = _a.menuIcon;
62
- if ([title, path, menuIcon].some(function (i) { return !i; })) {
63
- return;
64
- }
65
- if (c.props.default)
66
- defaultPath = path;
67
- items.push(__assign(__assign({}, c.props), { title: title, path: "".concat(basePath).concat(path), icon: menuIcon }));
68
- }
69
- });
70
- return {
71
- menuItems: items,
72
- defaultPath: defaultPath,
73
- };
74
- }, [children]), menuItems = _a.menuItems, defaultPath = _a.defaultPath;
75
- var variantStyles = (0, common_1.useDefaultComponentStyle)('u:RouterPage', {
76
- variants: variants,
77
- responsiveVariants: responsiveVariants,
78
- styles: styles,
79
- });
80
- var currentPage = menuItems.find(function (_a) {
81
- var path = _a.path;
82
- return pathName.includes(path);
83
- });
84
- var Content = renderContentWrapper;
85
- return ((0, jsx_runtime_1.jsxs)(View_1.View, __assign({ css: variantStyles.wrapper }, { children: [(0, jsx_runtime_1.jsx)(react_helmet_1.Helmet, { children: (0, jsx_runtime_1.jsx)("title", { children: (pageGroupTitle ? "".concat(pageGroupTitle, " | ") : '') +
86
- (currentPage ? currentPage === null || currentPage === void 0 ? void 0 : currentPage.title : '') }) }), renderContentWrapper ? ((0, jsx_runtime_1.jsx)(Content, __assign({ styles: variantStyles, menuItems: menuItems, showMenu: currentPage === null || currentPage === void 0 ? void 0 : currentPage.showMenu }, { children: (0, jsx_runtime_1.jsx)(Router_1.Router, __assign({ defaultPath: defaultPath, basePath: basePath, style: variantStyles.router }, { children: children })) }))) : ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(currentPage === null || currentPage === void 0 ? void 0 : currentPage.showMenu) ? (0, jsx_runtime_1.jsx)(Menu_1.Menu, { items: menuItems, styles: variantStyles }) : null, (0, jsx_runtime_1.jsx)(View_1.View, __assign({ css: variantStyles.content }, { children: (0, jsx_runtime_1.jsx)(Router_1.Router, __assign({ defaultPath: defaultPath, basePath: basePath, style: variantStyles.router }, { children: children })) }))] }))] })));
87
- };
88
- exports.RouterPage = RouterPage;
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
37
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.RouterPage = void 0;
41
+ var jsx_runtime_1 = require("@emotion/react/jsx-runtime");
42
+ var View_1 = require("../View");
43
+ var react_1 = __importStar(require("react"));
44
+ var Menu_1 = require("./Menu");
45
+ var Router_1 = require("./Router");
46
+ var common_1 = require("@codeleap/common");
47
+ var react_helmet_1 = require("react-helmet");
48
+ var utils_1 = require("../../lib/utils");
49
+ __exportStar(require("./styles"), exports);
50
+ __exportStar(require("./Router"), exports);
51
+ __exportStar(require("./Menu"), exports);
52
+ __exportStar(require("./MenuItem"), exports);
53
+ var RouterPage = function (props) {
54
+ var children = props.children, basePath = props.basePath, variants = props.variants, pageGroupTitle = props.title, responsiveVariants = props.responsiveVariants, styles = props.styles, renderContentWrapper = props.renderContentWrapper;
55
+ var pathName = (0, utils_1.url)().pathname;
56
+ var _a = (0, react_1.useMemo)(function () {
57
+ var items = [];
58
+ var defaultPath = '';
59
+ react_1.default.Children.forEach(children, function (c) {
60
+ if (react_1.default.isValidElement(c) && c.props) {
61
+ var _a = c.props, title = _a.title, path = _a.path, menuIcon = _a.menuIcon;
62
+ if ([title, path, menuIcon].some(function (i) { return !i; })) {
63
+ return;
64
+ }
65
+ if (c.props.default)
66
+ defaultPath = path;
67
+ items.push(__assign(__assign({}, c.props), { title: title, path: "".concat(basePath).concat(path), icon: menuIcon }));
68
+ }
69
+ });
70
+ return {
71
+ menuItems: items,
72
+ defaultPath: defaultPath,
73
+ };
74
+ }, [children]), menuItems = _a.menuItems, defaultPath = _a.defaultPath;
75
+ var variantStyles = (0, common_1.useDefaultComponentStyle)('u:RouterPage', {
76
+ variants: variants,
77
+ responsiveVariants: responsiveVariants,
78
+ styles: styles,
79
+ });
80
+ var currentPage = menuItems.find(function (_a) {
81
+ var path = _a.path;
82
+ return pathName.includes(path);
83
+ });
84
+ var Content = renderContentWrapper;
85
+ return ((0, jsx_runtime_1.jsxs)(View_1.View, __assign({ css: variantStyles.wrapper }, { children: [(0, jsx_runtime_1.jsx)(react_helmet_1.Helmet, { children: (0, jsx_runtime_1.jsx)("title", { children: (pageGroupTitle ? "".concat(pageGroupTitle, " | ") : '') +
86
+ (currentPage ? currentPage === null || currentPage === void 0 ? void 0 : currentPage.title : '') }) }), renderContentWrapper ? ((0, jsx_runtime_1.jsx)(Content, __assign({ styles: variantStyles, menuItems: menuItems, showMenu: currentPage === null || currentPage === void 0 ? void 0 : currentPage.showMenu }, { children: (0, jsx_runtime_1.jsx)(Router_1.Router, __assign({ defaultPath: defaultPath, basePath: basePath, style: variantStyles.router }, { children: children })) }))) : ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(currentPage === null || currentPage === void 0 ? void 0 : currentPage.showMenu) ? (0, jsx_runtime_1.jsx)(Menu_1.Menu, { items: menuItems, styles: variantStyles }) : null, (0, jsx_runtime_1.jsx)(View_1.View, __assign({ css: variantStyles.content }, { children: (0, jsx_runtime_1.jsx)(Router_1.Router, __assign({ defaultPath: defaultPath, basePath: basePath, style: variantStyles.router }, { children: children })) }))] }))] })));
87
+ };
88
+ exports.RouterPage = RouterPage;
89
89
  //# sourceMappingURL=index.js.map
@@ -1,54 +1,54 @@
1
- export declare type MenuComposition = 'wrapper' | 'menuItem' | 'menuItem:mobile' | 'menuItem:icon' | 'menuItem:icon:selected' | 'menuItem:text' | 'menuItem:text:mobile' | 'menuItem:icon:mobile' | 'menuItem:icon:mobile:selected' | 'menuItem:text:selected' | 'sideMenu' | 'topMenu' | 'horizontalScroll' | 'router';
2
- export declare type RouterPageComposition = 'content' | 'router' | MenuComposition;
3
- export declare const RouterPageStyles: {
4
- default: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
5
- block: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
6
- flex: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
7
- absolute: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
8
- relative: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
9
- fixed: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
10
- sticky: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
11
- row: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
12
- center: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
13
- column: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
14
- wrap: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
15
- inline: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
16
- inlineFlex: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
17
- hidden: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
18
- full: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
19
- noWrap: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
20
- fullWidth: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
21
- fullHeight: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
22
- fullView: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
23
- fullViewWidth: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
24
- fullViewHeight: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
25
- whole: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
26
- centerRow: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
27
- listStyles: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
28
- alignStart: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
29
- alignEnd: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
30
- alignCenter: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
31
- alignStretch: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
32
- alignSelfCenter: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
33
- alignSelfStart: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
34
- alignSelfStretch: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
35
- alignSelfEnd: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
36
- justifyStart: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
37
- justifyEnd: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
38
- justifyCenter: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
39
- justifySpaceBetween: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
40
- justifySpaceAround: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
41
- textRight: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
42
- textLeft: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
43
- textCenter: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
44
- blur: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
45
- elevated: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
46
- neumorphism: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
47
- scrollX: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
48
- scrollY: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
49
- scrollXY: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
50
- debRed: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
51
- debGreen: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
52
- debBlue: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
53
- debYellow: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
54
- };
1
+ export declare type MenuComposition = 'wrapper' | 'menuItem' | 'menuItem:mobile' | 'menuItem:icon' | 'menuItem:icon:selected' | 'menuItem:text' | 'menuItem:text:mobile' | 'menuItem:icon:mobile' | 'menuItem:icon:mobile:selected' | 'menuItem:text:selected' | 'sideMenu' | 'topMenu' | 'horizontalScroll' | 'router';
2
+ export declare type RouterPageComposition = 'content' | 'router' | MenuComposition;
3
+ export declare const RouterPageStyles: {
4
+ default: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
5
+ block: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
6
+ flex: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
7
+ absolute: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
8
+ relative: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
9
+ fixed: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
10
+ sticky: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
11
+ row: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
12
+ center: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
13
+ column: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
14
+ wrap: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
15
+ inline: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
16
+ inlineFlex: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
17
+ hidden: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
18
+ full: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
19
+ noWrap: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
20
+ fullWidth: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
21
+ fullHeight: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
22
+ fullView: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
23
+ fullViewWidth: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
24
+ fullViewHeight: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
25
+ whole: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
26
+ centerRow: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
27
+ listStyles: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
28
+ alignStart: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
29
+ alignEnd: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
30
+ alignCenter: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
31
+ alignStretch: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
32
+ alignSelfCenter: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
33
+ alignSelfStart: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
34
+ alignSelfStretch: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
35
+ alignSelfEnd: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
36
+ justifyStart: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
37
+ justifyEnd: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
38
+ justifyCenter: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
39
+ justifySpaceBetween: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
40
+ justifySpaceAround: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
41
+ textRight: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
42
+ textLeft: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
43
+ textCenter: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
44
+ blur: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
45
+ elevated: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
46
+ neumorphism: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
47
+ scrollX: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
48
+ scrollY: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
49
+ scrollXY: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
50
+ debRed: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
51
+ debGreen: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
52
+ debBlue: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
53
+ debYellow: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RouterPageComposition, any>>;
54
+ };
@@ -1,87 +1,87 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.RouterPageStyles = void 0;
15
- var common_1 = require("@codeleap/common");
16
- var createRouterPageStyle = (0, common_1.createDefaultVariantFactory)();
17
- var presets = (0, common_1.includePresets)(function (styles) { return createRouterPageStyle(function () { return ({ topMenu: styles, sideMenu: styles }); }); });
18
- exports.RouterPageStyles = __assign(__assign({}, presets), { default: createRouterPageStyle(function (Theme) {
19
- var _a;
20
- return ({
21
- menuItem: {
22
- alignItems: 'center',
23
- padding: Theme.spacing.value(2.5),
24
- flexDirection: 'column',
25
- borderRadius: Theme.borderRadius.medium,
26
- borderWidth: 1,
27
- borderStyle: 'solid',
28
- // ...Theme.debug('red'),
29
- borderColor: 'transparent',
30
- width: Theme.spacing.value(5),
31
- height: Theme.spacing.value(5),
32
- margin: 2,
33
- '&:hover': {
34
- background: Theme.colors.gray,
35
- },
36
- },
37
- 'menuItem:mobile': __assign(__assign({ display: 'flex' }, Theme.presets.center), { flexDirection: 'column-reverse', justifyContent: 'space-between' }),
38
- 'menuItem:mobile:text': {
39
- color: Theme.colors.black,
40
- padding: Theme.spacing.value(1),
41
- textTransform: 'uppercase',
42
- },
43
- 'menuItem:text': {
44
- fontWeight: '500',
45
- color: Theme.colors.primary,
46
- textTransform: 'uppercase',
47
- textAlign: 'center',
48
- },
49
- 'menuItem:text:selected': {
50
- fontWeight: 'bold',
51
- color: Theme.colors.gray,
52
- },
53
- sideMenu: (_a = {
54
- borderRadius: Theme.borderRadius.medium,
55
- boxShadow: '0px 0px 20px rgba(0, 0, 0, 0.16)',
56
- marginRight: Theme.spacing.value(6),
57
- display: 'flex',
58
- flexDirection: 'column',
59
- alignItems: 'center',
60
- height: '100%',
61
- width: Theme.spacing.value(11),
62
- flexShrink: 0,
63
- flexGrow: 0
64
- },
65
- _a[Theme.media.down('xlarge')] = {
66
- marginRight: Theme.spacing.value(4),
67
- },
68
- _a[Theme.media.down('large')] = {
69
- marginRight: Theme.spacing.value(3),
70
- width: 90,
71
- },
72
- _a),
73
- router: {
74
- width: '100%',
75
- },
76
- topMenu: {
77
- width: '100%',
78
- backgroundColor: Theme.colors.white,
79
- height: 80,
80
- },
81
- horizontalScroll: {
82
- display: 'flex',
83
- justifyContent: 'space-between',
84
- },
85
- });
86
- }) });
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.RouterPageStyles = void 0;
15
+ var common_1 = require("@codeleap/common");
16
+ var createRouterPageStyle = (0, common_1.createDefaultVariantFactory)();
17
+ var presets = (0, common_1.includePresets)(function (styles) { return createRouterPageStyle(function () { return ({ topMenu: styles, sideMenu: styles }); }); });
18
+ exports.RouterPageStyles = __assign(__assign({}, presets), { default: createRouterPageStyle(function (Theme) {
19
+ var _a;
20
+ return ({
21
+ menuItem: {
22
+ alignItems: 'center',
23
+ padding: Theme.spacing.value(2.5),
24
+ flexDirection: 'column',
25
+ borderRadius: Theme.borderRadius.medium,
26
+ borderWidth: 1,
27
+ borderStyle: 'solid',
28
+ // ...Theme.debug('red'),
29
+ borderColor: 'transparent',
30
+ width: Theme.spacing.value(5),
31
+ height: Theme.spacing.value(5),
32
+ margin: 2,
33
+ '&:hover': {
34
+ background: Theme.colors.gray,
35
+ },
36
+ },
37
+ 'menuItem:mobile': __assign(__assign({ display: 'flex' }, Theme.presets.center), { flexDirection: 'column-reverse', justifyContent: 'space-between' }),
38
+ 'menuItem:mobile:text': {
39
+ color: Theme.colors.black,
40
+ padding: Theme.spacing.value(1),
41
+ textTransform: 'uppercase',
42
+ },
43
+ 'menuItem:text': {
44
+ fontWeight: '500',
45
+ color: Theme.colors.primary,
46
+ textTransform: 'uppercase',
47
+ textAlign: 'center',
48
+ },
49
+ 'menuItem:text:selected': {
50
+ fontWeight: 'bold',
51
+ color: Theme.colors.gray,
52
+ },
53
+ sideMenu: (_a = {
54
+ borderRadius: Theme.borderRadius.medium,
55
+ boxShadow: '0px 0px 20px rgba(0, 0, 0, 0.16)',
56
+ marginRight: Theme.spacing.value(6),
57
+ display: 'flex',
58
+ flexDirection: 'column',
59
+ alignItems: 'center',
60
+ height: '100%',
61
+ width: Theme.spacing.value(11),
62
+ flexShrink: 0,
63
+ flexGrow: 0
64
+ },
65
+ _a[Theme.media.down('xlarge')] = {
66
+ marginRight: Theme.spacing.value(4),
67
+ },
68
+ _a[Theme.media.down('large')] = {
69
+ marginRight: Theme.spacing.value(3),
70
+ width: 90,
71
+ },
72
+ _a),
73
+ router: {
74
+ width: '100%',
75
+ },
76
+ topMenu: {
77
+ width: '100%',
78
+ backgroundColor: Theme.colors.white,
79
+ height: 80,
80
+ },
81
+ horizontalScroll: {
82
+ display: 'flex',
83
+ justifyContent: 'space-between',
84
+ },
85
+ });
86
+ }) });
87
87
  //# sourceMappingURL=styles.js.map
@@ -1,5 +1,5 @@
1
- /** @jsx jsx */
2
- import { ElementType, ReactElement, Ref } from 'react';
3
- import { ViewProps } from './View';
4
- export declare const ScrollCP: <T extends ElementType<any> = "div">(props: ViewProps<T>, ref: Ref<any>) => import("@emotion/react/jsx-runtime").JSX.Element;
5
- export declare const Scroll: <T extends ElementType<any> = "div">(props: ViewProps<T>) => ReactElement;
1
+ /** @jsx jsx */
2
+ import { ElementType, ReactElement, Ref } from 'react';
3
+ import { ViewProps } from './View';
4
+ export declare const ScrollCP: <T extends ElementType<any> = "div">(props: ViewProps<T>, ref: Ref<any>) => import("@emotion/react/jsx-runtime").JSX.Element;
5
+ export declare const Scroll: <T extends ElementType<any> = "div">(props: ViewProps<T>) => ReactElement;
@@ -1,24 +1,24 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.Scroll = exports.ScrollCP = void 0;
15
- var jsx_runtime_1 = require("@emotion/react/jsx-runtime");
16
- /** @jsx jsx */
17
- var react_1 = require("react");
18
- var View_1 = require("./View");
19
- var ScrollCP = function (props, ref) {
20
- return ((0, jsx_runtime_1.jsx)(View_1.View, __assign({}, props, { ref: ref, scroll: true })));
21
- };
22
- exports.ScrollCP = ScrollCP;
23
- exports.Scroll = (0, react_1.forwardRef)(exports.ScrollCP);
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.Scroll = exports.ScrollCP = void 0;
15
+ var jsx_runtime_1 = require("@emotion/react/jsx-runtime");
16
+ /** @jsx jsx */
17
+ var react_1 = require("react");
18
+ var View_1 = require("./View");
19
+ var ScrollCP = function (props, ref) {
20
+ return ((0, jsx_runtime_1.jsx)(View_1.View, __assign({}, props, { ref: ref, scroll: true })));
21
+ };
22
+ exports.ScrollCP = ScrollCP;
23
+ exports.Scroll = (0, react_1.forwardRef)(exports.ScrollCP);
24
24
  //# sourceMappingURL=Scroll.js.map
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
2
- import { CustomSelectProps } from './types';
3
- import { SelectRenderFNProps } from '.';
4
- export declare const SelectItem: React.FC<SelectRenderFNProps<any> & {
5
- iconName?: string;
6
- }>;
7
- export declare const InputWrapper: import("react").ForwardRefExoticComponent<Pick<any, string | number | symbol> & import("react").RefAttributes<any>>;
8
- export declare const CustomSelect: React.FC<CustomSelectProps<any>>;
1
+ /// <reference types="react" />
2
+ import { CustomSelectProps } from './types';
3
+ import { SelectRenderFNProps } from '.';
4
+ export declare const SelectItem: React.FC<SelectRenderFNProps<any> & {
5
+ iconName?: string;
6
+ }>;
7
+ export declare const InputWrapper: import("react").ForwardRefExoticComponent<Pick<any, string | number | symbol> & import("react").RefAttributes<any>>;
8
+ export declare const CustomSelect: React.FC<CustomSelectProps<any>>;