@midas-ds/table-styles 1.2.3 → 1.2.5
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/CHANGELOG.md +17 -0
- package/lib/pagination/Pagination.stories.d.ts +28 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
## 1.2.5 (2026-01-19)
|
|
2
|
+
|
|
3
|
+
### 🧱 Updated Dependencies
|
|
4
|
+
|
|
5
|
+
- Updated components to 16.4.2
|
|
6
|
+
|
|
7
|
+
## 1.2.4 (2026-01-16)
|
|
8
|
+
|
|
9
|
+
### 🧪 Tests updated
|
|
10
|
+
|
|
11
|
+
- replace jest with vitest ([6d8ca7deb3](https://github.com/migrationsverket/midas/commit/6d8ca7deb3))
|
|
12
|
+
- move tests and stories to component folders ([967763f723](https://github.com/migrationsverket/midas/commit/967763f723))
|
|
13
|
+
|
|
14
|
+
### 🧱 Updated Dependencies
|
|
15
|
+
|
|
16
|
+
- Updated components to 16.4.1
|
|
17
|
+
|
|
1
18
|
## 1.2.3 (2026-01-15)
|
|
2
19
|
|
|
3
20
|
### 🧱 Updated Dependencies
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Pagination } from '@midas-ds/table-styles';
|
|
3
|
+
interface CustomProps {
|
|
4
|
+
rows?: number;
|
|
5
|
+
}
|
|
6
|
+
type StoryProps = React.ComponentProps<typeof Pagination> & CustomProps;
|
|
7
|
+
type Story = StoryObj<StoryProps>;
|
|
8
|
+
declare const _default: {
|
|
9
|
+
title: string;
|
|
10
|
+
component: <T extends import('@tanstack/table-core').RowData>(props: import('@midas-ds/table-styles').PaginationProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
args: {
|
|
12
|
+
pageSizeOptions: number[];
|
|
13
|
+
rows: number;
|
|
14
|
+
};
|
|
15
|
+
argTypes: {
|
|
16
|
+
rows: {
|
|
17
|
+
type: "number";
|
|
18
|
+
control: {
|
|
19
|
+
max: number;
|
|
20
|
+
min: number;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
render: ({ rows, ...args }: StoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
};
|
|
26
|
+
export default _default;
|
|
27
|
+
export declare const Primary: Story;
|
|
28
|
+
export declare const ServerSide: Story;
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"description": "Midas table components and styles for TanStack Table",
|
|
15
15
|
"homepage": "https://designsystem.migrationsverket.se/",
|
|
16
16
|
"license": "CC0-1.0",
|
|
17
|
-
"version": "1.2.
|
|
17
|
+
"version": "1.2.5",
|
|
18
18
|
"main": "./index.mjs",
|
|
19
19
|
"types": "./index.d.ts",
|
|
20
20
|
"files": [
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@midas-ds/components": "16.4.
|
|
34
|
+
"@midas-ds/components": "16.4.2",
|
|
35
35
|
"@midas-ds/theme": "3.9.4",
|
|
36
36
|
"lucide-react": "^0.562.0",
|
|
37
37
|
"react-aria-components": "1.14.0",
|