@midas-ds/table-styles 2.0.10 → 2.0.12

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 CHANGED
@@ -1,3 +1,15 @@
1
+ ## 2.0.12 (2026-02-24)
2
+
3
+ ### 📖 Documentation changes
4
+
5
+ - **components, pagination:** add page for pagination ([6f6246c130](https://github.com/migrationsverket/midas/commit/6f6246c130))
6
+
7
+ ## 2.0.11 (2026-02-23)
8
+
9
+ ### 🧱 Updated Dependencies
10
+
11
+ - Updated components to 17.2.6
12
+
1
13
  ## 2.0.10 (2026-02-23)
2
14
 
3
15
  ### 🧱 Updated Dependencies
@@ -1,5 +1,5 @@
1
1
  import { StoryObj } from '@storybook/react-vite';
2
- import { Pagination } from '@midas-ds/table-styles';
2
+ import { Pagination } from './Pagination';
3
3
  interface CustomProps {
4
4
  rows?: number;
5
5
  }
@@ -7,7 +7,7 @@ type StoryProps = React.ComponentProps<typeof Pagination> & CustomProps;
7
7
  type Story = StoryObj<StoryProps>;
8
8
  declare const _default: {
9
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;
10
+ component: <T extends import('@tanstack/table-core').RowData>(props: import('./Pagination').PaginationProps<T>) => import("react/jsx-runtime").JSX.Element;
11
11
  args: {
12
12
  pageSizeOptions: number[];
13
13
  rows: number;
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": "2.0.10",
17
+ "version": "2.0.12",
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": "17.2.5",
34
+ "@midas-ds/components": "17.2.6",
35
35
  "@midas-ds/theme": "3.11.2",
36
36
  "lucide-react": "^0.563.0",
37
37
  "react-aria-components": "1.14.0",