@availity/mui-disclaimer 0.1.0 → 0.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.1.2](https://github.com/Availity/element/compare/@availity/mui-disclaimer@0.1.1...@availity/mui-disclaimer@0.1.2) (2024-07-22)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `mui-link` updated to version `0.1.1`
10
+ ## [0.1.1](https://github.com/Availity/element/compare/@availity/mui-disclaimer@0.1.0...@availity/mui-disclaimer@0.1.1) (2024-06-14)
11
+
12
+ ### Dependency Updates
13
+
14
+ * `mui-typography` updated to version `0.1.0`
5
15
  ## 0.1.0 (2024-06-12)
6
16
 
7
17
  ### Dependency Updates
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { ReactNode } from 'react';
1
2
  import { LinkProps } from '@availity/mui-link';
2
3
 
3
4
  type AvDisclaimerProps = {
@@ -5,12 +6,14 @@ type AvDisclaimerProps = {
5
6
  accent?: boolean;
6
7
  /** If true, the Disclaimer displays with less padding */
7
8
  dense?: boolean;
9
+ /** The id of the element */
10
+ id?: string;
8
11
  };
9
12
  interface DisclaimerProps extends AvDisclaimerProps {
10
13
  /** The text to display in the header */
11
14
  headerText?: string;
12
15
  /** The text to display in the body */
13
- description: string;
16
+ description: ReactNode;
14
17
  /** The link to display */
15
18
  link?: LinkProps;
16
19
  }
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { ReactNode } from 'react';
1
2
  import { LinkProps } from '@availity/mui-link';
2
3
 
3
4
  type AvDisclaimerProps = {
@@ -5,12 +6,14 @@ type AvDisclaimerProps = {
5
6
  accent?: boolean;
6
7
  /** If true, the Disclaimer displays with less padding */
7
8
  dense?: boolean;
9
+ /** The id of the element */
10
+ id?: string;
8
11
  };
9
12
  interface DisclaimerProps extends AvDisclaimerProps {
10
13
  /** The text to display in the header */
11
14
  headerText?: string;
12
15
  /** The text to display in the body */
13
- description: string;
16
+ description: ReactNode;
14
17
  /** The link to display */
15
18
  link?: LinkProps;
16
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/mui-disclaimer",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Availity MUI Disclaimer Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
@@ -46,7 +46,7 @@
46
46
  "access": "public"
47
47
  },
48
48
  "dependencies": {
49
- "@availity/mui-link": "^0.4.0",
50
- "@availity/mui-typography": "^0.1.8"
49
+ "@availity/mui-link": "^0.4.1",
50
+ "@availity/mui-typography": "^0.2.0"
51
51
  }
52
52
  }
@@ -1,4 +1,5 @@
1
1
  // For bundling purposes, always use the direct import for an mui component, i.e. '@mui/material/xxx'
2
+ import type { ReactNode } from 'react';
2
3
  import { Typography, TypographyProps } from '@availity/mui-typography';
3
4
  import { Link, LinkProps } from '@availity/mui-link';
4
5
  import { styled } from '@mui/material/styles';
@@ -8,13 +9,15 @@ type AvDisclaimerProps = {
8
9
  accent?: boolean;
9
10
  /** If true, the Disclaimer displays with less padding */
10
11
  dense?: boolean;
12
+ /** The id of the element */
13
+ id?: string;
11
14
  };
12
15
 
13
16
  export interface DisclaimerProps extends AvDisclaimerProps {
14
17
  /** The text to display in the header */
15
18
  headerText?: string;
16
19
  /** The text to display in the body */
17
- description: string;
20
+ description: ReactNode;
18
21
  /** The link to display */
19
22
  link?: LinkProps;
20
23
  }