@midas-ds/table-styles 2.2.0 → 2.2.1

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,13 @@
1
+ ## 2.2.1 (2026-10-09)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **components,layout,table-styles:** declare public type packages ([#1406](https://github.com/migrationsverket/midas/pull/1406))
6
+
7
+ ### 🧱 Updated Dependencies
8
+
9
+ - Updated components to 17.30.1
10
+
1
11
  ## 2.2.0 (2026-10-09)
2
12
 
3
13
  ### 🚀 Features
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.2.0",
17
+ "version": "2.2.1",
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.30.0",
34
+ "@midas-ds/components": "17.30.1",
35
35
  "@midas-ds/theme": "3.17.7",
36
36
  "lucide-react": ">=0.563.0 <2.0.0",
37
37
  "react-aria-components": "1.21.1",
@@ -1,9 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
2
- import { BasicTable } from './BasicTable';
3
- declare const _default: {
4
- title: string;
5
- component: () => import('react').JSX.Element;
6
- };
7
- export default _default;
8
- type Story = StoryObj<typeof BasicTable>;
9
- export declare const Default: Story;
@@ -1,28 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
2
- import { Pagination } from './Pagination';
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('./Pagination').PaginationProps<T>) => import('react').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.Element;
25
- };
26
- export default _default;
27
- export declare const Primary: Story;
28
- export declare const ServerSide: Story;
@@ -1,19 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
2
- import { Pagination } from './Pagination';
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('./Pagination').PaginationProps<T>) => import('react').JSX.Element;
11
- tags: string[];
12
- args: {
13
- pageSizeOptions: number[];
14
- rows: number;
15
- };
16
- render: ({ rows, ...args }: StoryProps) => import('react').JSX.Element;
17
- };
18
- export default _default;
19
- export declare const Primary: Story;