@midas-ds/table-styles 2.0.122 → 2.0.124

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,25 @@
1
+ ## 2.0.124 (2026-09-28)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **components,layout,table-styles:** update adobe dependencies ([bb54f8b7f4d](https://github.com/migrationsverket/midas/commit/bb54f8b7f4d))
6
+
7
+ ### 🔧 Maintenance
8
+
9
+ - **deps:** run npm update ([c349591751e](https://github.com/migrationsverket/midas/commit/c349591751e))
10
+ - **deps:** update vite related dependencies ([b484d858e76](https://github.com/migrationsverket/midas/commit/b484d858e76))
11
+
12
+ ### 🧱 Updated Dependencies
13
+
14
+ - Updated components to 17.27.1
15
+ - Updated theme to 3.17.2
16
+
17
+ ## 2.0.123 (2026-09-28)
18
+
19
+ ### 🧱 Updated Dependencies
20
+
21
+ - Updated components to 17.27.0
22
+
1
23
  ## 2.0.122 (2026-09-23)
2
24
 
3
25
  ### 🧪 Tests updated
package/index.mjs CHANGED
@@ -84,9 +84,7 @@ var f = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) =
84
84
  case "ArrowRight":
85
85
  a?.focusNext({ wrap: !0 });
86
86
  break;
87
- case "ArrowLeft":
88
- a?.focusPrevious({ wrap: !0 });
89
- break;
87
+ case "ArrowLeft": a?.focusPrevious({ wrap: !0 });
90
88
  }
91
89
  };
92
90
  return /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u(n, {
@@ -125,7 +123,8 @@ var f = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) =
125
123
  })),
126
124
  label: h.format("rowsPerPage"),
127
125
  onChange: (e) => {
128
- m(e === null ? l : Number(e));
126
+ let t = e === null ? l : Number(e);
127
+ m(t);
129
128
  },
130
129
  value: l.toString(),
131
130
  children: (e) => /* @__PURE__ */ u(r, {
@@ -6,4 +6,4 @@ export interface PaginationProps<T extends RowData> extends Pick<Table<T>, 'getC
6
6
  */
7
7
  pageSizeOptions?: number[];
8
8
  }
9
- export declare const Pagination: <T extends RowData>(props: PaginationProps<T>) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const Pagination: <T extends RowData>(props: PaginationProps<T>) => import('react').JSX.Element;
@@ -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('./Pagination').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.Element;
11
11
  args: {
12
12
  pageSizeOptions: number[];
13
13
  rows: number;
@@ -21,7 +21,7 @@ declare const _default: {
21
21
  };
22
22
  };
23
23
  };
24
- render: ({ rows, ...args }: StoryProps) => import("react/jsx-runtime").JSX.Element;
24
+ render: ({ rows, ...args }: StoryProps) => import('react').JSX.Element;
25
25
  };
26
26
  export default _default;
27
27
  export declare const Primary: 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": "2.0.122",
17
+ "version": "2.0.124",
18
18
  "main": "./index.mjs",
19
19
  "types": "./index.d.ts",
20
20
  "files": [
@@ -31,10 +31,10 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@midas-ds/components": "17.26.0",
35
- "@midas-ds/theme": "3.17.1",
36
- "react-aria-components": "1.20.0",
37
- "react-aria": "^3.51.0"
34
+ "@midas-ds/components": "17.27.1",
35
+ "@midas-ds/theme": "3.17.2",
36
+ "react-aria-components": "1.21.1",
37
+ "react-aria": "3.52.1"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "@tanstack/react-table": "^8.21.3"