@nulogy/components 10.2.5 → 10.2.7

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/dist/main.js CHANGED
@@ -25860,7 +25860,6 @@
25860
25860
  px: "x1",
25861
25861
  py: "half",
25862
25862
  alignItems: "center",
25863
- // boxShadow="small"
25864
25863
  justifyContent: "center",
25865
25864
  flexDirection: subText ? "column" : "row",
25866
25865
  height: height,
@@ -26160,6 +26159,7 @@
26160
26159
  to: brandingLinkTo,
26161
26160
  as: brandingLinkComponent,
26162
26161
  underline: false,
26162
+ size: "medium",
26163
26163
  style: {
26164
26164
  display: "block"
26165
26165
  }
@@ -25843,7 +25843,6 @@ var NulogyLogoContainer = function NulogyLogoContainer(_ref) {
25843
25843
  px: "x1",
25844
25844
  py: "half",
25845
25845
  alignItems: "center",
25846
- // boxShadow="small"
25847
25846
  justifyContent: "center",
25848
25847
  flexDirection: subText ? "column" : "row",
25849
25848
  height: height,
@@ -26143,6 +26142,7 @@ var BrandLogoContainer = function BrandLogoContainer(_ref) {
26143
26142
  to: brandingLinkTo,
26144
26143
  as: brandingLinkComponent,
26145
26144
  underline: false,
26145
+ size: "medium",
26146
26146
  style: {
26147
26147
  display: "block"
26148
26148
  }
@@ -1,20 +1,21 @@
1
1
  import React, { ReactNode, RefObject } from "react";
2
2
  import PropTypes from "prop-types";
3
3
  import { FlexProps } from "../Flex/Flex";
4
- export declare const getPageItemsToDisplay: (totalPages: number, currentPage: number) => (string | number)[];
5
- type PaginationProps = FlexProps & {
4
+ declare const SEPARATOR: "...";
5
+ export declare const getPageItemsToDisplay: (totalPages: number, currentPage: number) => Array<typeof SEPARATOR | number>;
6
+ interface PaginationProps extends FlexProps {
6
7
  currentPage: number;
7
8
  totalPages: number;
8
9
  onNext?: () => void;
9
10
  onPrevious?: () => void;
10
- onSelectPage?: (page: string | number) => void;
11
+ onSelectPage?: (page: number) => void;
11
12
  nextLabel?: ReactNode;
12
13
  nextAriaLabel?: string;
13
14
  previousLabel?: ReactNode;
14
15
  previousAriaLabel?: string;
15
16
  scrollToTopAfterPagination?: boolean;
16
17
  scrollTargetRef?: RefObject<HTMLElement>;
17
- };
18
+ }
18
19
  declare function Pagination({ currentPage, totalPages, onNext, onPrevious, onSelectPage, nextAriaLabel, nextLabel, previousAriaLabel, previousLabel, scrollToTopAfterPagination, scrollTargetRef, "aria-label": ariaLabel, ...restProps }: PaginationProps): React.JSX.Element;
19
20
  declare namespace Pagination {
20
21
  var propTypes: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nulogy/components",
3
- "version": "10.2.5",
3
+ "version": "10.2.7",
4
4
  "description": "Component library for the Nulogy Design System - http://nulogy.design",
5
5
  "private": false,
6
6
  "publishConfig": {