@hexure/ui 1.13.89 → 1.13.90

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.
@@ -1,4 +1,5 @@
1
1
  import React, { FC } from 'react';
2
+ import { CSSProperties } from 'styled-components';
2
3
  import { AccessibleProps } from '../../utils/Accessibility';
3
4
  export interface HeadingProps extends AccessibleProps {
4
5
  /** Toggle between bold and normal font weights */
@@ -13,6 +14,8 @@ export interface HeadingProps extends AccessibleProps {
13
14
  type?: 'primary' | 'secondary' | 'tertiary';
14
15
  /** Optional ID for automation purposes */
15
16
  dataItemid?: string;
17
+ /** Optional style for the header title */
18
+ style?: CSSProperties;
16
19
  }
17
20
  declare const Heading: FC<HeadingProps>;
18
21
  export default Heading;
@@ -1,4 +1,5 @@
1
1
  import { FC, ReactNode } from 'react';
2
+ import { CSSProperties } from 'styled-components';
2
3
  import { AccessibleProps } from '../../utils/Accessibility';
3
4
  import { StepProps } from '../ProgressBar/ProgressBar';
4
5
  interface ButtonProps {
@@ -34,6 +35,12 @@ export interface ModalProps extends AccessibleProps {
34
35
  steps?: StepProps[];
35
36
  /** Optional ID for automation purposes */
36
37
  dataItemid?: string;
38
+ /** Optional style for the modal */
39
+ modalStyle?: CSSProperties;
40
+ /** Optional style for the header */
41
+ headerStyle?: CSSProperties;
42
+ /** Optional style for the header title */
43
+ headerTitleStyle?: CSSProperties;
37
44
  }
38
45
  declare const Modal: FC<ModalProps>;
39
46
  export default Modal;
package/dist/index.d.ts CHANGED
@@ -400,6 +400,8 @@ interface HeadingProps extends AccessibleProps {
400
400
  type?: 'primary' | 'secondary' | 'tertiary';
401
401
  /** Optional ID for automation purposes */
402
402
  dataItemid?: string;
403
+ /** Optional style for the header title */
404
+ style?: CSSProperties;
403
405
  }
404
406
  declare const Heading: FC<HeadingProps>;
405
407
 
@@ -516,6 +518,12 @@ interface ModalProps extends AccessibleProps {
516
518
  steps?: StepProps[];
517
519
  /** Optional ID for automation purposes */
518
520
  dataItemid?: string;
521
+ /** Optional style for the modal */
522
+ modalStyle?: CSSProperties;
523
+ /** Optional style for the header */
524
+ headerStyle?: CSSProperties;
525
+ /** Optional style for the header title */
526
+ headerTitleStyle?: CSSProperties;
519
527
  }
520
528
  declare const Modal: FC<ModalProps>;
521
529
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hexure/ui",
3
- "version": "1.13.89",
3
+ "version": "1.13.90",
4
4
  "description": "A library of shared UI components used within Hexure products.",
5
5
  "scripts": {
6
6
  "rollup": "rollup -c rollup.config.mjs",