@pimcore/studio-ui-bundle 1.0.0-canary.20251205-110910-ef81d5b → 1.0.0-canary.20251208-143207-d206df6
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/build/types/src/core/components/pagination/pagination.d.ts +3 -11
- package/dist/build/types/src/core/components/pagination/pagination.stories.d.ts +26 -13
- package/dist/build/types/src/core/components/pagination/pagination.styles.d.ts +1 -1
- package/package.json +1 -1
- package/dist/build/types/src/core/components/pagination/inline-textfield/inline-textfield.d.ts +0 -20
- package/dist/build/types/src/core/components/pagination/inline-textfield/inline-textfield.stories.d.ts +0 -19
- package/dist/build/types/src/core/components/pagination/inline-textfield/inline-textfield.styles.d.ts +0 -12
- package/dist/build/types/src/core/components/pagination/size-changer/size-changer.d.ts +0 -19
- package/dist/build/types/src/core/components/pagination/size-changer/size-changer.stories.d.ts +0 -20
- package/dist/build/types/src/core/components/pagination/size-changer/size-changer.styles.d.ts +0 -12
|
@@ -8,15 +8,7 @@
|
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
current?: number;
|
|
14
|
-
defaultPageSize?: number;
|
|
15
|
-
pageSizeOptions?: number[];
|
|
16
|
-
showSizeChanger?: boolean;
|
|
17
|
-
amountOfVisiblePages?: number;
|
|
18
|
-
hideOnSinglePage?: boolean;
|
|
19
|
-
showTotal?: (total: number) => string;
|
|
20
|
-
onChange?: (page: number, pageSize: number) => void;
|
|
11
|
+
import { type PaginationProps as BasePaginationProps } from 'antd';
|
|
12
|
+
export interface PaginationProps extends Omit<BasePaginationProps, 'pageSize' | 'defaultCurrent' | 'onShowSizeChange' | 'responsive' | 'totalBoundaryShowSizeChanger'> {
|
|
21
13
|
}
|
|
22
|
-
export declare const Pagination: (
|
|
14
|
+
export declare const Pagination: (props: PaginationProps) => React.JSX.Element;
|
|
@@ -7,19 +7,32 @@
|
|
|
7
7
|
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
|
-
import {
|
|
11
|
-
declare const
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
import type { StoryObj } from '@storybook/react';
|
|
11
|
+
declare const meta: {
|
|
12
|
+
title: string;
|
|
13
|
+
component: (props: import("./pagination").PaginationProps) => React.JSX.Element;
|
|
14
|
+
parameters: {
|
|
15
|
+
layout: string;
|
|
16
|
+
};
|
|
17
|
+
tags: string[];
|
|
18
|
+
argTypes: {
|
|
19
|
+
size: {
|
|
20
|
+
control: "select";
|
|
21
|
+
options: string[];
|
|
22
|
+
};
|
|
23
|
+
simple: {
|
|
24
|
+
control: "boolean";
|
|
25
|
+
};
|
|
26
|
+
};
|
|
14
27
|
args: {
|
|
15
|
-
|
|
16
|
-
current: number;
|
|
17
|
-
pageSizeOptions: number[];
|
|
18
|
-
defaultPageSize: number;
|
|
19
|
-
showSizeChanger: boolean;
|
|
20
|
-
hideOnSinglePage: boolean;
|
|
21
|
-
amountOfVisiblePages: number;
|
|
22
|
-
showTotal: (total: number) => string;
|
|
23
|
-
onChange: (currentPage: number, pageSize: number) => void;
|
|
28
|
+
onChange: import("@vitest/spy").Mock<(...args: any[]) => any>;
|
|
24
29
|
};
|
|
25
30
|
};
|
|
31
|
+
export default meta;
|
|
32
|
+
type Story = StoryObj<typeof meta>;
|
|
33
|
+
export declare const Default: Story;
|
|
34
|
+
export declare const WithTotalAndSizeChanger: Story;
|
|
35
|
+
export declare const Disabled: Story;
|
|
36
|
+
export declare const WithSizeChanger: Story;
|
|
37
|
+
export declare const WithTotal: Story;
|
|
38
|
+
export declare const CustomPageSizeOptions: Story;
|
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
|
-
export declare const
|
|
10
|
+
export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
|
|
11
11
|
pagination: import("antd-style").SerializedStyles;
|
|
12
12
|
}>;
|
package/package.json
CHANGED
package/dist/build/types/src/core/components/pagination/inline-textfield/inline-textfield.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This source file is available under the terms of the
|
|
3
|
-
* Pimcore Open Core License (POCL)
|
|
4
|
-
* Full copyright and license information is available in
|
|
5
|
-
* LICENSE.md which is distributed with this source code.
|
|
6
|
-
*
|
|
7
|
-
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
-
* @license Pimcore Open Core License (POCL)
|
|
9
|
-
*/
|
|
10
|
-
import React from 'react';
|
|
11
|
-
interface InlineTextfieldProps {
|
|
12
|
-
value: string;
|
|
13
|
-
onKeyDown: (e: any) => void;
|
|
14
|
-
showDotsValues?: string[];
|
|
15
|
-
defaultClassNameInput?: string;
|
|
16
|
-
defaultClassNameLabel?: string;
|
|
17
|
-
defaultClassNameLabelDots?: string;
|
|
18
|
-
}
|
|
19
|
-
export declare const InlineTextfield: ({ value, onKeyDown, showDotsValues, defaultClassNameInput, defaultClassNameLabel, defaultClassNameLabelDots }: InlineTextfieldProps) => React.JSX.Element;
|
|
20
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This source file is available under the terms of the
|
|
3
|
-
* Pimcore Open Core License (POCL)
|
|
4
|
-
* Full copyright and license information is available in
|
|
5
|
-
* LICENSE.md which is distributed with this source code.
|
|
6
|
-
*
|
|
7
|
-
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
-
* @license Pimcore Open Core License (POCL)
|
|
9
|
-
*/
|
|
10
|
-
import { type Meta } from '@storybook/react';
|
|
11
|
-
declare const config: Meta;
|
|
12
|
-
export default config;
|
|
13
|
-
export declare const _default: {
|
|
14
|
-
args: {
|
|
15
|
-
value: string;
|
|
16
|
-
showDotsValues: string[];
|
|
17
|
-
onKeyDown: (e: any) => void;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This source file is available under the terms of the
|
|
3
|
-
* Pimcore Open Core License (POCL)
|
|
4
|
-
* Full copyright and license information is available in
|
|
5
|
-
* LICENSE.md which is distributed with this source code.
|
|
6
|
-
*
|
|
7
|
-
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
-
* @license Pimcore Open Core License (POCL)
|
|
9
|
-
*/
|
|
10
|
-
export declare const useStyle: (props?: unknown) => import("antd-style").ReturnStyles<{
|
|
11
|
-
'editable-container': import("antd-style").SerializedStyles;
|
|
12
|
-
}>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This source file is available under the terms of the
|
|
3
|
-
* Pimcore Open Core License (POCL)
|
|
4
|
-
* Full copyright and license information is available in
|
|
5
|
-
* LICENSE.md which is distributed with this source code.
|
|
6
|
-
*
|
|
7
|
-
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
-
* @license Pimcore Open Core License (POCL)
|
|
9
|
-
*/
|
|
10
|
-
import React from 'react';
|
|
11
|
-
interface SizeChangerProps {
|
|
12
|
-
sizeOptions: Array<number | string>;
|
|
13
|
-
defaultSize: number;
|
|
14
|
-
handleChange: (pageSize: number) => void;
|
|
15
|
-
label: string;
|
|
16
|
-
width?: number;
|
|
17
|
-
}
|
|
18
|
-
export declare const SizeChanger: ({ sizeOptions, defaultSize, handleChange, label, width }: SizeChangerProps) => React.JSX.Element;
|
|
19
|
-
export {};
|
package/dist/build/types/src/core/components/pagination/size-changer/size-changer.stories.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This source file is available under the terms of the
|
|
3
|
-
* Pimcore Open Core License (POCL)
|
|
4
|
-
* Full copyright and license information is available in
|
|
5
|
-
* LICENSE.md which is distributed with this source code.
|
|
6
|
-
*
|
|
7
|
-
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
-
* @license Pimcore Open Core License (POCL)
|
|
9
|
-
*/
|
|
10
|
-
import { type Meta } from '@storybook/react';
|
|
11
|
-
declare const config: Meta;
|
|
12
|
-
export default config;
|
|
13
|
-
export declare const _default: {
|
|
14
|
-
args: {
|
|
15
|
-
sizeOptions: number[];
|
|
16
|
-
defaultSize: number;
|
|
17
|
-
handleChange: (size: number) => void;
|
|
18
|
-
label: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
package/dist/build/types/src/core/components/pagination/size-changer/size-changer.styles.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This source file is available under the terms of the
|
|
3
|
-
* Pimcore Open Core License (POCL)
|
|
4
|
-
* Full copyright and license information is available in
|
|
5
|
-
* LICENSE.md which is distributed with this source code.
|
|
6
|
-
*
|
|
7
|
-
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
-
* @license Pimcore Open Core License (POCL)
|
|
9
|
-
*/
|
|
10
|
-
export declare const useStyle: (props?: unknown) => import("antd-style").ReturnStyles<{
|
|
11
|
-
example: import("antd-style").SerializedStyles;
|
|
12
|
-
}>;
|