@iabbb/bds-react 0.42.0 → 0.43.0

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.
@@ -7,7 +7,7 @@ declare global {
7
7
  }
8
8
  }
9
9
  export declare const FormErrorKey = "_form";
10
- export declare type ErrorSummaryProps = {
10
+ export type ErrorSummaryProps = {
11
11
  errors: Record<string, Array<string> | string> | null;
12
12
  mapNameToId?: (name: string) => string;
13
13
  };
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export declare type FieldTextInputProps<C> = {
2
+ export type FieldTextInputProps<C> = {
3
3
  as?: C;
4
4
  error?: string;
5
5
  hint?: string;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export declare type PaginationProps = {
2
+ export type PaginationProps = {
3
3
  buildPageUrl: (page: number) => string;
4
4
  currentPage: number;
5
5
  onPageClick?: (page: number) => void;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export declare type TypographyProps = {
2
+ export type TypographyProps = {
3
3
  component?: React.ElementType;
4
4
  variant?: 'body' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5';
5
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iabbb/bds-react",
3
- "version": "0.42.0",
3
+ "version": "0.43.0",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build": "cross-env NODE_ENV=production rollup -c",
@@ -16,19 +16,19 @@
16
16
  "@rollup/plugin-node-resolve": "15.2.3",
17
17
  "@rollup/plugin-terser": "0.4.4",
18
18
  "@rollup/plugin-typescript": "11.1.5",
19
- "@types/react": "18.2.31",
19
+ "@types/react": "18.2.34",
20
20
  "cross-env": "7.0.3",
21
21
  "glob": "10.3.10",
22
22
  "react": "18.2.0",
23
- "rollup": "4.1.4",
23
+ "rollup": "4.3.0",
24
24
  "rollup-plugin-delete": "2.0.0",
25
25
  "rollup-plugin-generate-package-json": "3.2.0",
26
26
  "rollup-plugin-peer-deps-external": "2.2.4",
27
27
  "tslib": "2.6.2",
28
- "typescript": "4.7.4"
28
+ "typescript": "5.2.2"
29
29
  },
30
30
  "peerDependencies": {
31
- "@iabbb/bds": "0.42.0",
31
+ "@iabbb/bds": "0.43.0",
32
32
  "react": "^18.0.0"
33
33
  }
34
34
  }