@zealicsolutions/web-ui 0.1.66 → 0.1.68
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/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/molecules/Alert/Alert.d.ts +3 -1
- package/dist/cjs/src/molecules/Alert/Alert.stories.d.ts +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/molecules/Alert/Alert.d.ts +3 -1
- package/dist/esm/src/molecules/Alert/Alert.stories.d.ts +1 -1
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
@@ -1,5 +1,6 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { CSSProperties } from 'styled-components';
|
3
|
+
import { ThemeColors } from 'theme';
|
3
4
|
import type { Callback } from 'typescript';
|
4
5
|
export declare type AlertProps = {
|
5
6
|
style?: CSSProperties;
|
@@ -13,5 +14,6 @@ export declare type AlertProps = {
|
|
13
14
|
withCloseIcon?: {
|
14
15
|
onClose: Callback;
|
15
16
|
};
|
17
|
+
fontColor?: ThemeColors;
|
16
18
|
};
|
17
|
-
export declare const Alert: ({ logo, title, withCloseIcon, description, style, ...props }: AlertProps) => JSX.Element;
|
19
|
+
export declare const Alert: ({ logo, title, withCloseIcon, description, style, fontColor, ...props }: AlertProps) => JSX.Element;
|
@@ -3,7 +3,7 @@ import type { ComponentStory } from '@storybook/react';
|
|
3
3
|
import { Alert as AlertComponent, AlertProps } from './Alert';
|
4
4
|
declare const _default: {
|
5
5
|
title: string;
|
6
|
-
component: ({ logo, title, withCloseIcon, description, style, ...props }: AlertProps) => JSX.Element;
|
6
|
+
component: ({ logo, title, withCloseIcon, description, style, fontColor, ...props }: AlertProps) => JSX.Element;
|
7
7
|
};
|
8
8
|
export default _default;
|
9
9
|
export declare const Alert: ComponentStory<typeof AlertComponent>;
|
package/dist/index.d.ts
CHANGED
@@ -568,8 +568,9 @@ declare type AlertProps = {
|
|
568
568
|
withCloseIcon?: {
|
569
569
|
onClose: Callback;
|
570
570
|
};
|
571
|
+
fontColor?: ThemeColors$2;
|
571
572
|
};
|
572
|
-
declare const Alert: ({ logo, title, withCloseIcon, description, style, ...props }: AlertProps) => JSX.Element;
|
573
|
+
declare const Alert: ({ logo, title, withCloseIcon, description, style, fontColor, ...props }: AlertProps) => JSX.Element;
|
573
574
|
|
574
575
|
declare type OrientationType = 'horizontal' | 'vertical';
|
575
576
|
declare type StepperProps = {
|