@zealicsolutions/web-ui 0.1.80 → 0.1.81

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,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { FeedContentProps } from 'organisms/FeedContent/types';
3
- export declare const ExpandedContent: ({ document, lastUpdated, description, title, image, video, isMobile, buttonConfig, template, type, }: Omit<FeedContentProps, 'isExpanded'>) => JSX.Element;
3
+ export declare const ExpandedContent: ({ document, lastUpdated, description, title, image, video, isMobile, buttonConfig, template, type, imageStyles, videoStyles, }: Omit<FeedContentProps, 'isExpanded'>) => JSX.Element;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { FeedContentProps } from 'organisms/FeedContent/types';
3
- export declare const FullWidthContentTemplate: (props: Omit<FeedContentProps, 'type'>) => JSX.Element;
3
+ export declare const FullWidthContentTemplate: (props: FeedContentProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ export declare const defaultTitle = "[{\"type\":\"paragraph\",\"children\":[{\"text\":\"Feed Title\",\"bold\":true}]}]";
2
+ export declare const defaultDescription = "[{\"type\":\"paragraph\",\"children\":[{\"text\":\"Feed Description\"}]}]";
@@ -1,6 +1,7 @@
1
1
  import { FilteredFeedContentType } from 'organisms';
2
+ import { CSSProperties } from 'styled-components';
2
3
  import { Callback, Nullable } from 'typescript';
3
- export declare type FeedContentTemplateTypes = 'full_width' | 'standard' | 'autoplay' | '';
4
+ export declare type FeedContentTemplateTypes = 'full_width_content' | 'standard_content' | 'auto_play' | '';
4
5
  export declare type FeedContentProps = {
5
6
  type: Omit<FilteredFeedContentType, 'all'>;
6
7
  template: FeedContentTemplateTypes;
@@ -18,4 +19,6 @@ export declare type FeedContentProps = {
18
19
  isExpanded: boolean;
19
20
  destinationLink?: string;
20
21
  onDestinationHandler?: Callback;
22
+ imageStyles?: CSSProperties;
23
+ videoStyles?: CSSProperties;
21
24
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { FeedContentHeaderProps } from 'molecules';
3
3
  import { FeedContentProps } from 'organisms/FeedContent/types';
4
- export declare type FilteredFeedContentType = 'article' | 'document' | 'video' | 'all';
4
+ export declare type FilteredFeedContentType = 'article_content' | 'document_content' | 'video_content' | 'all';
5
5
  export declare type FeedContentContainerProps = {
6
6
  type: 'feed';
7
7
  feedHeader: Omit<FeedContentHeaderProps, 'isMobile'>;
package/dist/index.d.ts CHANGED
@@ -680,7 +680,7 @@ declare const LoginForm: ({ logoUrl, fields, isTooltipVisible, onSubmit, options
680
680
  declare type FooterProps = FooterAProps | FooterBProps | FooterCProps;
681
681
  declare const Footer: (props: FooterProps) => JSX.Element;
682
682
 
683
- declare type FeedContentTemplateTypes = 'full_width' | 'standard' | 'autoplay' | '';
683
+ declare type FeedContentTemplateTypes = 'full_width_content' | 'standard_content' | 'auto_play' | '';
684
684
  declare type FeedContentProps = {
685
685
  type: Omit<FilteredFeedContentType$1, 'all'>;
686
686
  template: FeedContentTemplateTypes;
@@ -698,6 +698,8 @@ declare type FeedContentProps = {
698
698
  isExpanded: boolean;
699
699
  destinationLink?: string;
700
700
  onDestinationHandler?: Callback;
701
+ imageStyles?: CSSProperties;
702
+ videoStyles?: CSSProperties;
701
703
  };
702
704
 
703
705
  declare const FeedContent: ({ template, ...props }: FeedContentProps) => JSX.Element;
@@ -833,7 +835,7 @@ declare type ProcessTrackerProps = {
833
835
  };
834
836
  declare const ProcessTracker: ({ title, statuses, isMobile, description, currentStep, style, withCloseIcon, }: ProcessTrackerProps) => JSX.Element;
835
837
 
836
- declare type FilteredFeedContentType = 'article' | 'document' | 'video' | 'all';
838
+ declare type FilteredFeedContentType = 'article_content' | 'document_content' | 'video_content' | 'all';
837
839
  declare type FeedContentContainerProps = {
838
840
  type: 'feed';
839
841
  feedHeader: Omit<FeedContentHeaderProps$1, 'isMobile'>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.1.80",
3
+ "version": "0.1.81",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"