@zealicsolutions/web-ui 0.1.76 → 0.1.77
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 +11 -11
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/organisms/DynamicContentZone/DynamicContentZone.d.ts +21 -0
- package/dist/cjs/src/organisms/DynamicContentZone/DynamicContentZone.stories.d.ts +9 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/organisms/DynamicContentZone/DynamicContentZone.d.ts +21 -0
- package/dist/esm/src/organisms/DynamicContentZone/DynamicContentZone.stories.d.ts +9 -0
- package/package.json +1 -1
@@ -0,0 +1,21 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { AlertProps } from 'molecules';
|
3
|
+
import { ProcessTrackerProps } from 'organisms';
|
4
|
+
import { FeedContentProps } from 'organisms/FeedContent/types';
|
5
|
+
import { CSSProperties } from 'styled-components';
|
6
|
+
export declare type DynamicElementProps = (AlertProps & {
|
7
|
+
elementType: 'alert';
|
8
|
+
}) | (ProcessTrackerProps & {
|
9
|
+
elementType: 'tracker';
|
10
|
+
}) | (FeedContentProps & {
|
11
|
+
elementType: 'feed_content';
|
12
|
+
});
|
13
|
+
export declare type DynamicContentZoneProps = {
|
14
|
+
elements: {
|
15
|
+
data: DynamicElementProps[];
|
16
|
+
spacer?: number;
|
17
|
+
};
|
18
|
+
horizontalPaddings?: number;
|
19
|
+
containerStyles?: CSSProperties;
|
20
|
+
};
|
21
|
+
export declare const DynamicContentZone: ({ elements, horizontalPaddings, containerStyles, }: DynamicContentZoneProps) => JSX.Element;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory } from '@storybook/react';
|
3
|
+
import { DynamicContentZone as DynamicContentZoneComponent } from './DynamicContentZone';
|
4
|
+
declare const _default: {
|
5
|
+
title: string;
|
6
|
+
component: ({ elements, horizontalPaddings, containerStyles, }: import("./DynamicContentZone").DynamicContentZoneProps) => JSX.Element;
|
7
|
+
};
|
8
|
+
export default _default;
|
9
|
+
export declare const DynamicContentZone: ComponentStory<typeof DynamicContentZoneComponent>;
|