react-magma-dom 4.7.0-next.15 → 4.7.0-next.17

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,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { magma, ThemeInterface } from '../../theme/magma';
2
+ import { Colors, ThemeInterface } from '../../theme/magma';
3
3
  /**
4
4
  * @children required
5
5
  */
@@ -7,7 +7,7 @@ export interface BlockQuoteProps extends React.HTMLAttributes<HTMLDivElement> {
7
7
  /**
8
8
  * Style properties for the left border color which accept custom CSS hex values.
9
9
  */
10
- borderStyle?: keyof typeof magma.colors | string;
10
+ borderStyle?: keyof Colors | string;
11
11
  isInverse?: boolean;
12
12
  /**
13
13
  * @internal
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ListProps } from './';
3
- import { magma } from '../../theme/magma';
3
+ import { Colors } from '../../theme/magma';
4
4
  /**
5
5
  * @children required
6
6
  */
@@ -16,10 +16,10 @@ export interface ListItemProps extends ListProps, React.HTMLAttributes<HTMLDivEl
16
16
  /**
17
17
  * Option for changing icon background with all Magma colors.
18
18
  */
19
- iconBackground?: keyof typeof magma.colors;
19
+ iconBackground?: keyof Colors;
20
20
  /**
21
21
  * Option for changing icon color with all Magma colors.
22
22
  */
23
- iconColor?: keyof typeof magma.colors;
23
+ iconColor?: keyof Colors;
24
24
  }
25
25
  export declare const ListItem: React.ForwardRefExoticComponent<ListItemProps & React.RefAttributes<HTMLDivElement>>;