@algolia/satellite 1.0.0-beta.115 → 1.0.0-beta.119
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.
- package/cjs/AnnouncementBadge/AnnouncementBadge.d.ts +1 -1
- package/cjs/AutoComplete/AutoComplete.tailwind.js +1 -1
- package/cjs/AutoComplete/components/AutoCompleteEmptyState.d.ts +1 -1
- package/cjs/Avatars/ApplicationAvatar.d.ts +13 -0
- package/cjs/Avatars/ApplicationAvatar.js +43 -0
- package/cjs/Avatars/UserAvatar.d.ts +13 -0
- package/cjs/Avatars/UserAvatar.js +64 -0
- package/cjs/Avatars/index.d.ts +3 -0
- package/cjs/Avatars/index.js +46 -0
- package/cjs/Avatars/types.d.ts +17 -0
- package/cjs/Avatars/types.js +5 -0
- package/cjs/Avatars/utils.d.ts +6 -0
- package/cjs/Avatars/utils.js +82 -0
- package/cjs/Card/Card.tailwind.js +2 -1
- package/cjs/Dropdown/Dropdown.d.ts +2 -2
- package/cjs/Dropdown/Dropdown.js +1 -1
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.js +1 -1
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.d.ts +1 -1
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.d.ts +1 -1
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.d.ts +1 -1
- package/cjs/Dropdown/useDropdownItemProps.js +1 -1
- package/cjs/Modal/Modal.d.ts +1 -1
- package/cjs/Modal/Modal.js +10 -7
- package/cjs/Modal/Modal.tailwind.js +0 -5
- package/cjs/Modal/components/ModalSection.d.ts +10 -0
- package/cjs/Modal/components/ModalSection.js +32 -0
- package/cjs/Modal/index.d.ts +2 -0
- package/cjs/Modal/index.js +28 -0
- package/cjs/Pagination/CompactPagination/CompactPagination.d.ts +21 -0
- package/cjs/Pagination/CompactPagination/CompactPagination.js +78 -0
- package/cjs/Pagination/CompactPagination/index.d.ts +2 -0
- package/cjs/Pagination/CompactPagination/index.js +32 -0
- package/cjs/Pagination/DotPagination/DotPagination.d.ts +9 -0
- package/cjs/Pagination/DotPagination/DotPagination.js +40 -0
- package/cjs/Pagination/DotPagination/index.d.ts +2 -0
- package/cjs/Pagination/DotPagination/index.js +32 -0
- package/cjs/Pagination/{Pagination.d.ts → Pagination/Pagination.d.ts} +1 -1
- package/cjs/Pagination/{Pagination.js → Pagination/Pagination.js} +3 -3
- package/cjs/Pagination/Pagination/index.d.ts +2 -0
- package/cjs/Pagination/Pagination/index.js +32 -0
- package/cjs/Pagination/index.d.ts +2 -0
- package/cjs/Pagination/index.js +28 -0
- package/cjs/index.d.ts +1 -0
- package/cjs/index.js +14 -0
- package/cjs/utils/hashCode.d.ts +2 -0
- package/cjs/utils/hashCode.js +28 -0
- package/esm/AnnouncementBadge/AnnouncementBadge.d.ts +1 -1
- package/esm/AutoComplete/AutoComplete.tailwind.js +1 -1
- package/esm/AutoComplete/components/AutoCompleteEmptyState.d.ts +1 -1
- package/esm/Avatars/ApplicationAvatar.d.ts +13 -0
- package/esm/Avatars/ApplicationAvatar.js +27 -0
- package/esm/Avatars/UserAvatar.d.ts +13 -0
- package/esm/Avatars/UserAvatar.js +42 -0
- package/esm/Avatars/index.d.ts +3 -0
- package/esm/Avatars/index.js +3 -0
- package/esm/Avatars/types.d.ts +17 -0
- package/esm/Avatars/types.js +1 -0
- package/esm/Avatars/utils.d.ts +6 -0
- package/esm/Avatars/utils.js +56 -0
- package/esm/Card/Card.tailwind.js +2 -1
- package/esm/Dropdown/Dropdown.d.ts +2 -2
- package/esm/Dropdown/Dropdown.js +1 -1
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.js +1 -1
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.d.ts +1 -1
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.d.ts +1 -1
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.d.ts +1 -1
- package/esm/Dropdown/useDropdownItemProps.js +1 -1
- package/esm/Modal/Modal.d.ts +1 -1
- package/esm/Modal/Modal.js +10 -7
- package/esm/Modal/Modal.tailwind.js +0 -5
- package/esm/Modal/components/ModalSection.d.ts +10 -0
- package/esm/Modal/components/ModalSection.js +17 -0
- package/esm/Modal/index.d.ts +2 -0
- package/esm/Modal/index.js +2 -0
- package/esm/Pagination/CompactPagination/CompactPagination.d.ts +21 -0
- package/esm/Pagination/CompactPagination/CompactPagination.js +56 -0
- package/esm/Pagination/CompactPagination/index.d.ts +2 -0
- package/esm/Pagination/CompactPagination/index.js +2 -0
- package/esm/Pagination/DotPagination/DotPagination.d.ts +9 -0
- package/esm/Pagination/DotPagination/DotPagination.js +26 -0
- package/esm/Pagination/DotPagination/index.d.ts +2 -0
- package/esm/Pagination/DotPagination/index.js +2 -0
- package/esm/Pagination/{Pagination.d.ts → Pagination/Pagination.d.ts} +1 -1
- package/esm/Pagination/{Pagination.js → Pagination/Pagination.js} +3 -3
- package/esm/Pagination/Pagination/index.d.ts +2 -0
- package/esm/Pagination/Pagination/index.js +2 -0
- package/esm/Pagination/index.d.ts +2 -0
- package/esm/Pagination/index.js +2 -0
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/esm/utils/hashCode.d.ts +2 -0
- package/esm/utils/hashCode.js +18 -0
- package/package.json +2 -1
- package/satellite.css +2 -5
- package/satellite.min.css +1 -1
@@ -2,7 +2,7 @@ import React, { FunctionComponent } from "react";
|
|
2
2
|
export declare type AnnouncementBadgeSizes = "default" | "small";
|
3
3
|
export interface AnnouncementBadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
|
4
4
|
size?: AnnouncementBadgeSizes;
|
5
|
-
text?: "new" | "beta" | "internal";
|
5
|
+
text?: "new" | "beta" | "internal" | "pilot";
|
6
6
|
variant?: "accent" | "red";
|
7
7
|
children?: never;
|
8
8
|
}
|
@@ -7,5 +7,5 @@ export interface AutoCompleteEmptyStateProps {
|
|
7
7
|
title: React.ReactNode;
|
8
8
|
description?: React.ReactNode;
|
9
9
|
}
|
10
|
-
export declare const AutoCompleteEmptyState: ({ icon, variant, title, description }: AutoCompleteEmptyStateProps) => JSX.Element;
|
10
|
+
export declare const AutoCompleteEmptyState: ({ icon, variant, title, description, }: AutoCompleteEmptyStateProps) => JSX.Element;
|
11
11
|
export default AutoCompleteEmptyState;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { ApplicationAvatarSize, MinimalApplication } from "./types";
|
3
|
+
interface ApplicationAvatarProps {
|
4
|
+
/** A minimal application object containing `applicationID` and `name`. */
|
5
|
+
application: MinimalApplication;
|
6
|
+
/** @default "medium" */
|
7
|
+
size?: ApplicationAvatarSize;
|
8
|
+
/** @ignore */
|
9
|
+
className?: string;
|
10
|
+
}
|
11
|
+
/** The `ApplicationAvatar` is used as a visual representation of an application. */
|
12
|
+
export declare const ApplicationAvatar: ({ className, application, size }: ApplicationAvatarProps) => JSX.Element;
|
13
|
+
export default ApplicationAvatar;
|
@@ -0,0 +1,43 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
6
|
+
value: true
|
7
|
+
});
|
8
|
+
exports["default"] = exports.ApplicationAvatar = void 0;
|
9
|
+
|
10
|
+
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
11
|
+
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
13
|
+
|
14
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
15
|
+
|
16
|
+
var _satellitePrefixer = _interopRequireDefault(require("../styles/helpers/satellitePrefixer"));
|
17
|
+
|
18
|
+
var _utils = require("./utils");
|
19
|
+
|
20
|
+
var _templateObject, _templateObject2, _templateObject3;
|
21
|
+
|
22
|
+
var SIZE_CLASSNAMES = {
|
23
|
+
small: (0, _satellitePrefixer["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["w-4 h-4"]))),
|
24
|
+
medium: (0, _satellitePrefixer["default"])(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])(["w-8 h-8"])))
|
25
|
+
};
|
26
|
+
|
27
|
+
/** The `ApplicationAvatar` is used as a visual representation of an application. */
|
28
|
+
var ApplicationAvatar = function ApplicationAvatar(_ref) {
|
29
|
+
var className = _ref.className,
|
30
|
+
application = _ref.application,
|
31
|
+
_ref$size = _ref.size,
|
32
|
+
size = _ref$size === void 0 ? "medium" : _ref$size;
|
33
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
34
|
+
className: (0, _classnames["default"])((0, _satellitePrefixer["default"])(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["rounded inline-flex flex-shrink-0 items-center justify-center uppercase"]))), (0, _utils.pickApplicationColors)(application.applicationId), SIZE_CLASSNAMES[size], className),
|
35
|
+
style: size === "small" ? {
|
36
|
+
fontSize: "8px"
|
37
|
+
} : {}
|
38
|
+
}, (0, _utils.getApplicationInitials)(application));
|
39
|
+
};
|
40
|
+
|
41
|
+
exports.ApplicationAvatar = ApplicationAvatar;
|
42
|
+
var _default = ApplicationAvatar;
|
43
|
+
exports["default"] = _default;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { MinimalUser } from "./types";
|
3
|
+
export declare type UserAvatarProps = {
|
4
|
+
/** A minimal user object containing `name`, `email` and `avatar`. */
|
5
|
+
user: MinimalUser;
|
6
|
+
/** @default 32 */
|
7
|
+
size?: number;
|
8
|
+
/** @ignore */
|
9
|
+
className?: string;
|
10
|
+
};
|
11
|
+
/** The `UserAvatar` is used as a visual representation of a user. */
|
12
|
+
export declare const UserAvatar: ({ className, user, size }: UserAvatarProps) => JSX.Element;
|
13
|
+
export default UserAvatar;
|
@@ -0,0 +1,64 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
6
|
+
|
7
|
+
Object.defineProperty(exports, "__esModule", {
|
8
|
+
value: true
|
9
|
+
});
|
10
|
+
exports["default"] = exports.UserAvatar = void 0;
|
11
|
+
|
12
|
+
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
13
|
+
|
14
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
15
|
+
|
16
|
+
var _react = _interopRequireWildcard(require("react"));
|
17
|
+
|
18
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
19
|
+
|
20
|
+
var _satellitePrefixer = _interopRequireDefault(require("../styles/helpers/satellitePrefixer"));
|
21
|
+
|
22
|
+
var _utils = require("./utils");
|
23
|
+
|
24
|
+
var _templateObject, _templateObject2;
|
25
|
+
|
26
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
27
|
+
|
28
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
29
|
+
|
30
|
+
/** The `UserAvatar` is used as a visual representation of a user. */
|
31
|
+
var UserAvatar = function UserAvatar(_ref) {
|
32
|
+
var _user$email;
|
33
|
+
|
34
|
+
var className = _ref.className,
|
35
|
+
user = _ref.user,
|
36
|
+
_ref$size = _ref.size,
|
37
|
+
size = _ref$size === void 0 ? 32 : _ref$size;
|
38
|
+
|
39
|
+
var _useState = (0, _react.useState)(false),
|
40
|
+
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
41
|
+
failedToLoadAvatar = _useState2[0],
|
42
|
+
setFailedToLoadAvatar = _useState2[1];
|
43
|
+
|
44
|
+
var initials = (0, _utils.getUserInitials)(user);
|
45
|
+
var hasValidAvatar = user.avatar && !failedToLoadAvatar;
|
46
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
47
|
+
className: (0, _classnames["default"])((0, _satellitePrefixer["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["relative overflow-hidden flex justify-center items-center rounded-full text-white uppercase"]))), !hasValidAvatar && (0, _utils.getUserBackgroundClassName)((_user$email = user.email) !== null && _user$email !== void 0 ? _user$email : "no-email"), className),
|
48
|
+
style: {
|
49
|
+
width: size,
|
50
|
+
height: size
|
51
|
+
}
|
52
|
+
}, /*#__PURE__*/_react["default"].createElement("span", null, initials), hasValidAvatar && /*#__PURE__*/_react["default"].createElement("img", {
|
53
|
+
className: (0, _satellitePrefixer["default"])(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])(["w-full absolute top-0 left-0"]))),
|
54
|
+
src: user.avatar,
|
55
|
+
alt: "".concat(user.name || user.email, "'s avatar"),
|
56
|
+
onError: function onError() {
|
57
|
+
return setFailedToLoadAvatar(true);
|
58
|
+
}
|
59
|
+
}));
|
60
|
+
};
|
61
|
+
|
62
|
+
exports.UserAvatar = UserAvatar;
|
63
|
+
var _default = UserAvatar;
|
64
|
+
exports["default"] = _default;
|
@@ -0,0 +1,46 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
4
|
+
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
6
|
+
value: true
|
7
|
+
});
|
8
|
+
var _exportNames = {};
|
9
|
+
Object.defineProperty(exports, "default", {
|
10
|
+
enumerable: true,
|
11
|
+
get: function get() {
|
12
|
+
return _UserAvatar["default"];
|
13
|
+
}
|
14
|
+
});
|
15
|
+
|
16
|
+
var _ApplicationAvatar = require("./ApplicationAvatar");
|
17
|
+
|
18
|
+
Object.keys(_ApplicationAvatar).forEach(function (key) {
|
19
|
+
if (key === "default" || key === "__esModule") return;
|
20
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
21
|
+
if (key in exports && exports[key] === _ApplicationAvatar[key]) return;
|
22
|
+
Object.defineProperty(exports, key, {
|
23
|
+
enumerable: true,
|
24
|
+
get: function get() {
|
25
|
+
return _ApplicationAvatar[key];
|
26
|
+
}
|
27
|
+
});
|
28
|
+
});
|
29
|
+
|
30
|
+
var _UserAvatar = _interopRequireWildcard(require("./UserAvatar"));
|
31
|
+
|
32
|
+
Object.keys(_UserAvatar).forEach(function (key) {
|
33
|
+
if (key === "default" || key === "__esModule") return;
|
34
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
35
|
+
if (key in exports && exports[key] === _UserAvatar[key]) return;
|
36
|
+
Object.defineProperty(exports, key, {
|
37
|
+
enumerable: true,
|
38
|
+
get: function get() {
|
39
|
+
return _UserAvatar[key];
|
40
|
+
}
|
41
|
+
});
|
42
|
+
});
|
43
|
+
|
44
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
45
|
+
|
46
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare type ApplicationAvatarSize = "small" | "medium";
|
2
|
+
export declare type MinimalApplication = {
|
3
|
+
applicationId: string;
|
4
|
+
name?: string;
|
5
|
+
};
|
6
|
+
declare type UserAvatarWithName = {
|
7
|
+
name: string;
|
8
|
+
email?: string;
|
9
|
+
};
|
10
|
+
declare type UserAvatarWithEmail = {
|
11
|
+
email: string;
|
12
|
+
name?: string;
|
13
|
+
};
|
14
|
+
export declare type MinimalUser = (UserAvatarWithName | UserAvatarWithEmail) & {
|
15
|
+
avatar?: string;
|
16
|
+
};
|
17
|
+
export {};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { MinimalApplication, MinimalUser } from "./types";
|
2
|
+
export declare const pickApplicationColors: (applicationId: string) => string;
|
3
|
+
export declare const getApplicationIdInitial: (applicationId: string) => string;
|
4
|
+
export declare const getApplicationInitials: ({ name, applicationId }: MinimalApplication) => string;
|
5
|
+
export declare const getUserBackgroundClassName: (email: string) => string;
|
6
|
+
export declare const getUserInitials: (user: MinimalUser) => string;
|
@@ -0,0 +1,82 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
6
|
+
value: true
|
7
|
+
});
|
8
|
+
exports.getUserInitials = exports.getUserBackgroundClassName = exports.getApplicationInitials = exports.getApplicationIdInitial = exports.pickApplicationColors = void 0;
|
9
|
+
|
10
|
+
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
11
|
+
|
12
|
+
var _diacritics = require("diacritics");
|
13
|
+
|
14
|
+
var _satellitePrefixer = _interopRequireDefault(require("../styles/helpers/satellitePrefixer"));
|
15
|
+
|
16
|
+
var _hashCode = _interopRequireDefault(require("../utils/hashCode"));
|
17
|
+
|
18
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28;
|
19
|
+
|
20
|
+
/** APPLICATION */
|
21
|
+
var APPLICATION_COLORS_CLASSNAMES = [(0, _satellitePrefixer["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["bg-grey-200 text-grey-800"]))), (0, _satellitePrefixer["default"])(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])(["bg-nebula-200 text-nebula-800"]))), (0, _satellitePrefixer["default"])(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["bg-blue-200 text-blue-800"]))), (0, _satellitePrefixer["default"])(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2["default"])(["bg-green-200 text-green-800"]))), (0, _satellitePrefixer["default"])(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2["default"])(["bg-pink-200 text-pink-800"]))), (0, _satellitePrefixer["default"])(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2["default"])(["bg-red-200 text-red-800"]))), (0, _satellitePrefixer["default"])(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2["default"])(["bg-orange-200 text-orange-800"]))), // Darker variants
|
22
|
+
(0, _satellitePrefixer["default"])(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2["default"])(["bg-grey-300 text-grey-900"]))), (0, _satellitePrefixer["default"])(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2["default"])(["bg-nebula-300 text-nebula-900"]))), (0, _satellitePrefixer["default"])(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2["default"])(["bg-blue-300 text-blue-900"]))), (0, _satellitePrefixer["default"])(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteral2["default"])(["bg-green-300 text-green-900"]))), (0, _satellitePrefixer["default"])(_templateObject12 || (_templateObject12 = (0, _taggedTemplateLiteral2["default"])(["bg-pink-300 text-pink-900"]))), (0, _satellitePrefixer["default"])(_templateObject13 || (_templateObject13 = (0, _taggedTemplateLiteral2["default"])(["bg-red-300 text-red-900"]))), (0, _satellitePrefixer["default"])(_templateObject14 || (_templateObject14 = (0, _taggedTemplateLiteral2["default"])(["bg-orange-300 text-orange-900"])))];
|
23
|
+
|
24
|
+
var pickApplicationColors = function pickApplicationColors(applicationId) {
|
25
|
+
var _APPLICATION_COLORS_C;
|
26
|
+
|
27
|
+
return (_APPLICATION_COLORS_C = APPLICATION_COLORS_CLASSNAMES[Math.abs((0, _hashCode["default"])(applicationId)) % APPLICATION_COLORS_CLASSNAMES.length]) !== null && _APPLICATION_COLORS_C !== void 0 ? _APPLICATION_COLORS_C : APPLICATION_COLORS_CLASSNAMES[0];
|
28
|
+
};
|
29
|
+
|
30
|
+
exports.pickApplicationColors = pickApplicationColors;
|
31
|
+
|
32
|
+
var getApplicationIdInitial = function getApplicationIdInitial(applicationId) {
|
33
|
+
return applicationId.startsWith("beta") ? applicationId.slice(4, 6) : applicationId.slice(0, 2);
|
34
|
+
};
|
35
|
+
|
36
|
+
exports.getApplicationIdInitial = getApplicationIdInitial;
|
37
|
+
|
38
|
+
var getApplicationInitials = function getApplicationInitials(_ref) {
|
39
|
+
var name = _ref.name,
|
40
|
+
applicationId = _ref.applicationId;
|
41
|
+
|
42
|
+
if (!name) {
|
43
|
+
return getApplicationIdInitial(applicationId);
|
44
|
+
}
|
45
|
+
|
46
|
+
var words = (0, _diacritics.remove)(name.trim()).toLocaleUpperCase().split(/\W+/).filter(function (word) {
|
47
|
+
return word.length >= 1;
|
48
|
+
});
|
49
|
+
|
50
|
+
if (words.length === 0 || words.length === 1 && words[0].length < 2) {
|
51
|
+
return getApplicationIdInitial(applicationId);
|
52
|
+
} else if (words.length === 1) {
|
53
|
+
return words[0].slice(0, 2);
|
54
|
+
}
|
55
|
+
|
56
|
+
return "".concat(words[0][0]).concat(words[1][0]);
|
57
|
+
};
|
58
|
+
/** USER */
|
59
|
+
|
60
|
+
|
61
|
+
exports.getApplicationInitials = getApplicationInitials;
|
62
|
+
var USER_COLORS_CLASSNAMES = [(0, _satellitePrefixer["default"])(_templateObject15 || (_templateObject15 = (0, _taggedTemplateLiteral2["default"])(["bg-grey-400"]))), (0, _satellitePrefixer["default"])(_templateObject16 || (_templateObject16 = (0, _taggedTemplateLiteral2["default"])(["bg-nebula-400"]))), (0, _satellitePrefixer["default"])(_templateObject17 || (_templateObject17 = (0, _taggedTemplateLiteral2["default"])(["bg-blue-400"]))), (0, _satellitePrefixer["default"])(_templateObject18 || (_templateObject18 = (0, _taggedTemplateLiteral2["default"])(["bg-green-400"]))), (0, _satellitePrefixer["default"])(_templateObject19 || (_templateObject19 = (0, _taggedTemplateLiteral2["default"])(["bg-pink-400"]))), (0, _satellitePrefixer["default"])(_templateObject20 || (_templateObject20 = (0, _taggedTemplateLiteral2["default"])(["bg-red-400"]))), (0, _satellitePrefixer["default"])(_templateObject21 || (_templateObject21 = (0, _taggedTemplateLiteral2["default"])(["bg-orange-400"]))), // Darker variants
|
63
|
+
(0, _satellitePrefixer["default"])(_templateObject22 || (_templateObject22 = (0, _taggedTemplateLiteral2["default"])(["bg-grey-700"]))), (0, _satellitePrefixer["default"])(_templateObject23 || (_templateObject23 = (0, _taggedTemplateLiteral2["default"])(["bg-nebula-700"]))), (0, _satellitePrefixer["default"])(_templateObject24 || (_templateObject24 = (0, _taggedTemplateLiteral2["default"])(["bg-blue-700"]))), (0, _satellitePrefixer["default"])(_templateObject25 || (_templateObject25 = (0, _taggedTemplateLiteral2["default"])(["bg-green-700"]))), (0, _satellitePrefixer["default"])(_templateObject26 || (_templateObject26 = (0, _taggedTemplateLiteral2["default"])(["bg-pink-700"]))), (0, _satellitePrefixer["default"])(_templateObject27 || (_templateObject27 = (0, _taggedTemplateLiteral2["default"])(["bg-red-700"]))), (0, _satellitePrefixer["default"])(_templateObject28 || (_templateObject28 = (0, _taggedTemplateLiteral2["default"])(["bg-orange-700"])))];
|
64
|
+
|
65
|
+
var getUserBackgroundClassName = function getUserBackgroundClassName(email) {
|
66
|
+
var _USER_COLORS_CLASSNAM;
|
67
|
+
|
68
|
+
return (_USER_COLORS_CLASSNAM = USER_COLORS_CLASSNAMES[Math.abs((0, _hashCode["default"])(email)) % USER_COLORS_CLASSNAMES.length]) !== null && _USER_COLORS_CLASSNAM !== void 0 ? _USER_COLORS_CLASSNAM : USER_COLORS_CLASSNAMES[0];
|
69
|
+
};
|
70
|
+
|
71
|
+
exports.getUserBackgroundClassName = getUserBackgroundClassName;
|
72
|
+
|
73
|
+
var getUserInitials = function getUserInitials(user) {
|
74
|
+
var _user$email, _user$email$match;
|
75
|
+
|
76
|
+
var words = user.name ? user.name.trim().split(/\s+/) : (_user$email = user.email) === null || _user$email === void 0 ? void 0 : (_user$email$match = _user$email.match(/^(.+)(?:\+.+?)?@.+$/)) === null || _user$email$match === void 0 ? void 0 : _user$email$match[1].split(".");
|
77
|
+
return words ? words.slice(0, 2).map(function (w) {
|
78
|
+
return w.toLocaleLowerCase()[0];
|
79
|
+
}).join("") : "??";
|
80
|
+
};
|
81
|
+
|
82
|
+
exports.getUserInitials = getUserInitials;
|
@@ -28,7 +28,7 @@ export declare const DEFAULT_DROPDOWN_POPPER_MODIFIERS: StrictModifier[];
|
|
28
28
|
* - Make sure the most common options are listed. These can be grouped into sub-categories under headings
|
29
29
|
*/
|
30
30
|
export declare const Dropdown: {
|
31
|
-
({ placement, menuClassName, modifiers, renderTarget, renderFooter, children }: DropdownProps): JSX.Element;
|
31
|
+
({ placement, menuClassName, modifiers, renderTarget, renderFooter, children, }: DropdownProps): JSX.Element;
|
32
32
|
ButtonItem: {
|
33
33
|
(props: import("./components/DropdownButtonItem").DropdownButtonItemProps): JSX.Element;
|
34
34
|
defaultProps: {
|
@@ -39,7 +39,7 @@ export declare const Dropdown: {
|
|
39
39
|
(props: import("./components/DropdownLinkItem").DropdownLinkItemProps): JSX.Element;
|
40
40
|
defaultProps: {
|
41
41
|
toggle: boolean;
|
42
|
-
};
|
42
|
+
};
|
43
43
|
};
|
44
44
|
RadioItem: {
|
45
45
|
(props: import("./components/DropdownRadioItem").DropdownRadioItemProps): JSX.Element;
|
package/cjs/Dropdown/Dropdown.js
CHANGED
@@ -144,7 +144,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
144
144
|
}), /*#__PURE__*/_react["default"].createElement(_Card["default"], {
|
145
145
|
fullBleed: true,
|
146
146
|
elevation: "300",
|
147
|
-
className: (0, _satellitePrefixer["default"])(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["flex flex-col py-1"])))
|
147
|
+
className: (0, _satellitePrefixer["default"])(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["flex flex-col py-1 text-grey-900"])))
|
148
148
|
}, children, footer ? /*#__PURE__*/_react["default"].createElement(_DropdownFooterItem["default"], null, footer) : null))), document.body)));
|
149
149
|
};
|
150
150
|
|
@@ -66,7 +66,7 @@ var DropdownCollapsibleItem = function DropdownCollapsibleItem(_ref) {
|
|
66
66
|
className: (0, _satellitePrefixer["default"])(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2["default"])(["text-grey-500"]))),
|
67
67
|
size: "1.25em"
|
68
68
|
})), isExpanded && /*#__PURE__*/_react["default"].createElement("div", {
|
69
|
-
className: (0, _satellitePrefixer["default"])(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2["default"])(["bg-grey-50 border-l-2 border-grey-300"])))
|
69
|
+
className: (0, _satellitePrefixer["default"])(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2["default"])(["bg-grey-50 border-l-2 border-grey-300 typo-subdued"])))
|
70
70
|
}, children));
|
71
71
|
};
|
72
72
|
|
@@ -4,4 +4,4 @@ export declare type DropdownCollapsibleItemsGroupProps = {
|
|
4
4
|
onItemClick(name: string): void;
|
5
5
|
children: ReactNode;
|
6
6
|
};
|
7
|
-
export declare const DropdownCollapsibleItemsGroup: ({ expandedItems, onItemClick, children }: DropdownCollapsibleItemsGroupProps) => JSX.Element;
|
7
|
+
export declare const DropdownCollapsibleItemsGroup: ({ expandedItems, onItemClick, children, }: DropdownCollapsibleItemsGroupProps) => JSX.Element;
|
package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.d.ts
CHANGED
@@ -6,4 +6,4 @@ export declare type DropdownCollapsibleItemsMultiGroupProps = {
|
|
6
6
|
/**
|
7
7
|
* Multiple collapsible item can be open at a given time
|
8
8
|
*/
|
9
|
-
export declare const DropdownCollapsibleItemsMultiGroup: ({ initialExpandedItems, children }: DropdownCollapsibleItemsMultiGroupProps) => JSX.Element;
|
9
|
+
export declare const DropdownCollapsibleItemsMultiGroup: ({ initialExpandedItems, children, }: DropdownCollapsibleItemsMultiGroupProps) => JSX.Element;
|
package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.d.ts
CHANGED
@@ -6,4 +6,4 @@ export declare type DropdownCollapsibleItemsExclusiveGroupProps = {
|
|
6
6
|
/**
|
7
7
|
* Only one collapsible item can be open at a given time (unless you manually override)
|
8
8
|
*/
|
9
|
-
export declare const DropdownCollapsibleItemsSingleGroup: ({ initialExpandedItem, children }: DropdownCollapsibleItemsExclusiveGroupProps) => JSX.Element;
|
9
|
+
export declare const DropdownCollapsibleItemsSingleGroup: ({ initialExpandedItem, children, }: DropdownCollapsibleItemsExclusiveGroupProps) => JSX.Element;
|
@@ -21,7 +21,7 @@ var useDropdownItemProps = function useDropdownItemProps(props) {
|
|
21
21
|
var _useDropdownContext = (0, _DropdownContext.useDropdownContext)(),
|
22
22
|
showMenu = _useDropdownContext.showMenu;
|
23
23
|
|
24
|
-
var className = (0, _classnames["default"])((0, _satellitePrefixer["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["\n flex items-center\n min-h-10 px-4 text-left\n focus:no-underline hover:no-underline\n ", "\n "])), props.disabled ? "text-grey-300 cursor-not-allowed" : "text-
|
24
|
+
var className = (0, _classnames["default"])((0, _satellitePrefixer["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["\n flex items-center\n min-h-10 px-4 text-left\n focus:no-underline hover:no-underline\n ", "\n "])), props.disabled ? "text-grey-300 cursor-not-allowed" : "text-inherit hover:bg-grey-100 focus:bg-grey-100 focus:outline-none cursor-pointer"), props.className);
|
25
25
|
return {
|
26
26
|
className: className,
|
27
27
|
onClick: props.disabled ? function (evt) {
|
package/cjs/Modal/Modal.d.ts
CHANGED
@@ -14,7 +14,7 @@ export interface ModalProps {
|
|
14
14
|
closeIconText?: string;
|
15
15
|
}
|
16
16
|
export declare const Modal: {
|
17
|
-
({ title, className, children, open, fullBleed, onDismiss, animate, hideCloseIcon, size, centerY, closeIconText }: ModalProps): React.ReactPortal;
|
17
|
+
({ title, className, children, open, fullBleed, onDismiss, animate, hideCloseIcon, size, centerY, closeIconText, }: ModalProps): React.ReactPortal;
|
18
18
|
Footer: React.FunctionComponent<import("./components/ModalFooter").ModalFooterProps>;
|
19
19
|
};
|
20
20
|
export default Modal;
|
package/cjs/Modal/Modal.js
CHANGED
@@ -136,19 +136,22 @@ var Modal = function Modal(_ref) {
|
|
136
136
|
role: "dialog"
|
137
137
|
}, /*#__PURE__*/_react["default"].createElement(_Card["default"], {
|
138
138
|
ref: dialogRef,
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
139
|
+
elevation: "500",
|
140
|
+
className: (0, _classnames["default"])((0, _satellitePrefixer["default"])(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2["default"])(["my-6 mx-auto"]))), SIZE_CLASSNAMES[size], className),
|
141
|
+
fullBleed: true
|
142
|
+
}, /*#__PURE__*/_react["default"].createElement("header", {
|
143
|
+
className: (0, _satellitePrefixer["default"])(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2["default"])(["\n px-8 min-h-14\n flex items-center justify-between space-x-2\n ", "\n ", "\n "])), title ? "border-b border-grey-100" : "justify-end", !title && hideCloseIcon && "hidden")
|
143
144
|
}, title && /*#__PURE__*/_react["default"].createElement("h2", {
|
144
|
-
className: (0, _satellitePrefixer["default"])(
|
145
|
+
className: (0, _satellitePrefixer["default"])(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2["default"])(["flex-1 display-heading truncate"])))
|
145
146
|
}, title), !hideCloseIcon && /*#__PURE__*/_react["default"].createElement(_Button.IconButton, {
|
146
147
|
icon: _reactFeather.X,
|
147
148
|
title: closeIconText,
|
148
149
|
variant: "subtle",
|
149
150
|
onClick: onDismiss,
|
150
|
-
className: (0,
|
151
|
-
})),
|
151
|
+
className: (0, _satellitePrefixer["default"])(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2["default"])(["flex-shrink-0 -mr-2"])))
|
152
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
153
|
+
className: fullBleed ? undefined : (0, _satellitePrefixer["default"])(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteral2["default"])(["p-10"])))
|
154
|
+
}, children))))), document.body);
|
152
155
|
};
|
153
156
|
|
154
157
|
exports.Modal = Modal;
|
@@ -26,11 +26,6 @@ var modalPlugin = function modalPlugin(_ref) {
|
|
26
26
|
},
|
27
27
|
".modal-dialog-large": {
|
28
28
|
maxWidth: 920
|
29
|
-
},
|
30
|
-
// Components
|
31
|
-
".modal-header > span:first-child": {
|
32
|
-
/* CSSTransitionGroup is adding an additional span in the header, so this is neccessary */
|
33
|
-
width: "100%"
|
34
29
|
}
|
35
30
|
}); // Animation
|
36
31
|
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { ReactNode } from "react";
|
2
|
+
export declare type ModalSectionProps = {
|
3
|
+
children: ReactNode;
|
4
|
+
/** @ignore */
|
5
|
+
className?: string;
|
6
|
+
/** Negates the modal default horizontal padding when true */
|
7
|
+
fullBleed?: boolean;
|
8
|
+
};
|
9
|
+
export declare const ModalSection: ({ children, className, fullBleed }: ModalSectionProps) => JSX.Element;
|
10
|
+
export default ModalSection;
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
6
|
+
value: true
|
7
|
+
});
|
8
|
+
exports["default"] = exports.ModalSection = void 0;
|
9
|
+
|
10
|
+
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
11
|
+
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
13
|
+
|
14
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
15
|
+
|
16
|
+
var _satellitePrefixer = _interopRequireDefault(require("../../styles/helpers/satellitePrefixer"));
|
17
|
+
|
18
|
+
var _templateObject;
|
19
|
+
|
20
|
+
var ModalSection = function ModalSection(_ref) {
|
21
|
+
var children = _ref.children,
|
22
|
+
className = _ref.className,
|
23
|
+
_ref$fullBleed = _ref.fullBleed,
|
24
|
+
fullBleed = _ref$fullBleed === void 0 ? false : _ref$fullBleed;
|
25
|
+
return /*#__PURE__*/_react["default"].createElement("section", {
|
26
|
+
className: (0, _classnames["default"])(fullBleed && (0, _satellitePrefixer["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["-mx-10"]))), className)
|
27
|
+
}, children);
|
28
|
+
};
|
29
|
+
|
30
|
+
exports.ModalSection = ModalSection;
|
31
|
+
var _default = ModalSection;
|
32
|
+
exports["default"] = _default;
|
package/cjs/Modal/index.d.ts
CHANGED
package/cjs/Modal/index.js
CHANGED
@@ -27,6 +27,34 @@ Object.keys(_Modal).forEach(function (key) {
|
|
27
27
|
});
|
28
28
|
});
|
29
29
|
|
30
|
+
var _ModalFooter = require("./components/ModalFooter");
|
31
|
+
|
32
|
+
Object.keys(_ModalFooter).forEach(function (key) {
|
33
|
+
if (key === "default" || key === "__esModule") return;
|
34
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
35
|
+
if (key in exports && exports[key] === _ModalFooter[key]) return;
|
36
|
+
Object.defineProperty(exports, key, {
|
37
|
+
enumerable: true,
|
38
|
+
get: function get() {
|
39
|
+
return _ModalFooter[key];
|
40
|
+
}
|
41
|
+
});
|
42
|
+
});
|
43
|
+
|
44
|
+
var _ModalSection = require("./components/ModalSection");
|
45
|
+
|
46
|
+
Object.keys(_ModalSection).forEach(function (key) {
|
47
|
+
if (key === "default" || key === "__esModule") return;
|
48
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
49
|
+
if (key in exports && exports[key] === _ModalSection[key]) return;
|
50
|
+
Object.defineProperty(exports, key, {
|
51
|
+
enumerable: true,
|
52
|
+
get: function get() {
|
53
|
+
return _ModalSection[key];
|
54
|
+
}
|
55
|
+
});
|
56
|
+
});
|
57
|
+
|
30
58
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
31
59
|
|
32
60
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare type CompactPaginationLabel = "complete" | "compact" | "none";
|
3
|
+
declare type BaseCompactPaginationProps = {
|
4
|
+
/** Currently selected page (1 based index) */
|
5
|
+
currentPage: number;
|
6
|
+
onChange: (page: number) => void;
|
7
|
+
showGoToFirstPage?: boolean;
|
8
|
+
label?: CompactPaginationLabel;
|
9
|
+
};
|
10
|
+
export declare type DeterminateCompactPaginationProps = BaseCompactPaginationProps & {
|
11
|
+
nbPages: number;
|
12
|
+
showGoToLastPage?: boolean;
|
13
|
+
};
|
14
|
+
export declare type IndeterminateCompactPaginationProps = BaseCompactPaginationProps & {
|
15
|
+
nextDisabled?: boolean;
|
16
|
+
};
|
17
|
+
export declare type CompactPaginationProps = DeterminateCompactPaginationProps | IndeterminateCompactPaginationProps;
|
18
|
+
export declare const isDeterminateCompactPaginationProps: (props: CompactPaginationProps) => props is DeterminateCompactPaginationProps;
|
19
|
+
export declare const isIndeterminateCompactPaginationProps: (props: CompactPaginationProps) => props is IndeterminateCompactPaginationProps;
|
20
|
+
export declare const CompactPagination: (props: CompactPaginationProps) => JSX.Element;
|
21
|
+
export default CompactPagination;
|