@dfds-ui/react-components 2.0.12 → 2.0.13

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,7 +1,7 @@
1
1
  import React, { ElementType, FunctionComponent, ReactNode } from 'react';
2
2
  import { Intent } from '../../common/intent';
3
3
  export declare type BannerVariant = 'lowEmphasis' | 'mediumEmphasis' | 'highEmphasis' | 'default' | 'inverted';
4
- export declare type BannerStickyPosition = 'top' | 'bottom';
4
+ export declare type BannerStickyPosition = 'top' | 'bottom' | 'bottom-right';
5
5
  export declare type BannerProps = {
6
6
  /**
7
7
  * Specifies the intent of the Banner (change the color of the banner icon to match intended status)
@@ -59,6 +59,10 @@ export declare type BannerProps = {
59
59
  * Content of the Banner
60
60
  */
61
61
  children?: ReactNode;
62
+ /**
63
+ * Specifies if the banner should be narrow
64
+ */
65
+ isNarrow?: boolean;
62
66
  };
63
67
  interface BannerContextInterface {
64
68
  intent: NonNullable<BannerProps['intent']>;