@entur/modal 2.1.1 → 2.1.2

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.
@@ -14,10 +14,10 @@ export type ModalContentProps = {
14
14
  align?: 'start' | 'center' | 'end';
15
15
  } & Omit<React.HTMLAttributes<HTMLDivElement>, 'title'>;
16
16
  export declare const headingsMap: {
17
- extraSmall: <E extends React.ElementType = "h4">({ margin, children, as, ...rest }: import('../../typography').Heading4Props<E>) => JSX.Element;
18
- small: <E extends React.ElementType = "h3">({ margin, children, as, ...rest }: import('../../typography').Heading3Props<E>) => JSX.Element;
19
- medium: <E extends React.ElementType = "h2">({ margin, children, as, ...rest }: import('../../typography').Heading2Props<E>) => JSX.Element;
20
- large: <E extends React.ElementType = "h2">({ margin, children, as, ...rest }: import('../../typography').Heading2Props<E>) => JSX.Element;
21
- extraLarge: <E extends React.ElementType = "h2">({ margin, children, as, ...rest }: import('../../typography').Heading2Props<E>) => JSX.Element;
17
+ extraSmall: <E extends React.ElementType = "h4">({ margin, children, as, ...rest }: import('../../typography').Heading4Props<E>) => React.JSX.Element;
18
+ small: <E extends React.ElementType = "h3">({ margin, children, as, ...rest }: import('../../typography').Heading3Props<E>) => React.JSX.Element;
19
+ medium: <E extends React.ElementType = "h2">({ margin, children, as, ...rest }: import('../../typography').Heading2Props<E>) => React.JSX.Element;
20
+ large: <E extends React.ElementType = "h2">({ margin, children, as, ...rest }: import('../../typography').Heading2Props<E>) => React.JSX.Element;
21
+ extraLarge: <E extends React.ElementType = "h2">({ margin, children, as, ...rest }: import('../../typography').Heading2Props<E>) => React.JSX.Element;
22
22
  };
23
23
  export declare const ModalContent: ({ children, className, size, title, align, ...rest }: ModalContentProps) => import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/modal",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/modal.cjs",
6
6
  "module": "dist/modal.mjs",
@@ -19,20 +19,21 @@
19
19
  "scripts": {
20
20
  "start": "vite build --watch",
21
21
  "build": "vite build",
22
- "test": "jest"
22
+ "test": "jest",
23
+ "typecheck": "tsc -p tsconfig.json --noEmit --rootDir ../.."
23
24
  },
24
25
  "peerDependencies": {
25
26
  "react": ">=18.0.0",
26
27
  "react-dom": ">=18.0.0"
27
28
  },
28
29
  "dependencies": {
29
- "@entur/a11y": "^0.4.1",
30
- "@entur/button": "^5.2.1",
31
- "@entur/icons": "^10.1.1",
32
- "@entur/layout": "^5.1.1",
33
- "@entur/tokens": "^4.3.1",
34
- "@entur/typography": "^3.2.0",
35
- "@entur/utils": "^0.15.4",
30
+ "@entur/a11y": "^0.4.2",
31
+ "@entur/button": "^5.2.2",
32
+ "@entur/icons": "^10.1.2",
33
+ "@entur/layout": "^5.1.2",
34
+ "@entur/tokens": "^4.4.0",
35
+ "@entur/typography": "^3.2.1",
36
+ "@entur/utils": "^0.16.0",
36
37
  "classnames": "^2.5.1"
37
38
  },
38
39
  "devDependencies": {
@@ -60,5 +61,5 @@
60
61
  "./dist/styles.no-base-tokens.css": "./dist/styles.no-base-tokens.css",
61
62
  "./package.json": "./package.json"
62
63
  },
63
- "gitHead": "7e7707d92a67c091c7097ff839ade0aa496a8f0c"
64
+ "gitHead": "6bd3e1062ff4ee94e96ff26b8f961dd4e57c33e1"
64
65
  }