demio-ui 2.5.8 → 2.5.10

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.
@@ -2,8 +2,9 @@ import React from 'react';
2
2
  type Props = {
3
3
  children: React.ReactNode;
4
4
  position?: 'horizontal' | 'vertical';
5
- justify?: 'between' | 'start';
6
- alignItems?: 'start' | 'stretch';
5
+ justify?: 'between' | 'start' | 'center';
6
+ alignItems?: 'start' | 'stretch' | 'center';
7
+ className?: string;
7
8
  };
8
- declare function FormGroup({ children, position, justify, alignItems, }: Props): React.JSX.Element;
9
+ declare function FormGroup({ children, position, justify, alignItems, className, }: Props): React.JSX.Element;
9
10
  export default FormGroup;
@@ -0,0 +1,7 @@
1
+ export declare const getPagesData: ({ currentPage, pageCount, }: {
2
+ currentPage: number;
3
+ pageCount: number;
4
+ }) => {
5
+ pages: number[];
6
+ latestPage: number;
7
+ };
@@ -0,0 +1,4 @@
1
+ import { Area } from 'react-easy-crop';
2
+ export declare const useCroppedImage: (image: string, croppedArea: Area | null) => {
3
+ croppedImageURL: string;
4
+ };
package/dist/types.d.ts CHANGED
@@ -177,10 +177,11 @@ declare const DropdownItem: FC<Props$d>;
177
177
  type Props$c = {
178
178
  children: React__default.ReactNode;
179
179
  position?: 'horizontal' | 'vertical';
180
- justify?: 'between' | 'start';
181
- alignItems?: 'start' | 'stretch';
180
+ justify?: 'between' | 'start' | 'center';
181
+ alignItems?: 'start' | 'stretch' | 'center';
182
+ className?: string;
182
183
  };
183
- declare function FormGroup({ children, position, justify, alignItems, }: Props$c): React__default.JSX.Element;
184
+ declare function FormGroup({ children, position, justify, alignItems, className, }: Props$c): React__default.JSX.Element;
184
185
 
185
186
  type Props$b = {
186
187
  children?: ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "demio-ui",
3
- "version": "2.5.8",
3
+ "version": "2.5.10",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};