@zealicsolutions/web-ui 0.1.53 → 0.1.54

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,11 +1,12 @@
1
- export declare type FeedContentTemplateTypes = 'full_width' | 'standard' | 'autoplay';
1
+ import { Nullable } from 'typescript';
2
+ export declare type FeedContentTemplateTypes = 'full_width' | 'standard' | 'autoplay' | '';
2
3
  export declare type FeedContentProps = {
3
4
  template: FeedContentTemplateTypes;
4
5
  image?: string;
5
6
  video?: string;
6
7
  document?: string;
7
- title?: string;
8
- description: string;
8
+ title?: Nullable<string>;
9
+ description: Nullable<string>;
9
10
  lastUpdated: string;
10
11
  buttonConfig: {
11
12
  disabled?: boolean;
@@ -1,3 +1,4 @@
1
1
  import { DefaultTheme, ThemedCssFunction } from 'styled-components';
2
2
  export declare type StylesType = ReturnType<ThemedCssFunction<DefaultTheme>>;
3
3
  export declare type Callback = () => void;
4
+ export declare type Nullable<T> = T | null;
@@ -1,11 +1,12 @@
1
- export declare type FeedContentTemplateTypes = 'full_width' | 'standard' | 'autoplay';
1
+ import { Nullable } from 'typescript';
2
+ export declare type FeedContentTemplateTypes = 'full_width' | 'standard' | 'autoplay' | '';
2
3
  export declare type FeedContentProps = {
3
4
  template: FeedContentTemplateTypes;
4
5
  image?: string;
5
6
  video?: string;
6
7
  document?: string;
7
- title?: string;
8
- description: string;
8
+ title?: Nullable<string>;
9
+ description: Nullable<string>;
9
10
  lastUpdated: string;
10
11
  buttonConfig: {
11
12
  disabled?: boolean;
@@ -1,3 +1,4 @@
1
1
  import { DefaultTheme, ThemedCssFunction } from 'styled-components';
2
2
  export declare type StylesType = ReturnType<ThemedCssFunction<DefaultTheme>>;
3
3
  export declare type Callback = () => void;
4
+ export declare type Nullable<T> = T | null;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { Callback, StylesType } from 'typescript';
2
+ import { Callback, StylesType, Nullable } from 'typescript';
3
3
  import * as react from 'react';
4
4
  import react__default, { PropsWithChildren, ReactNode, Dispatch, SetStateAction } from 'react';
5
5
  import * as styled_components from 'styled-components';
@@ -655,14 +655,14 @@ declare const LoginForm: ({ logoUrl, fields, isTooltipVisible, onSubmit, options
655
655
  declare type FooterProps = FooterAProps | FooterBProps | FooterCProps;
656
656
  declare const Footer: (props: FooterProps) => JSX.Element;
657
657
 
658
- declare type FeedContentTemplateTypes = 'full_width' | 'standard' | 'autoplay';
658
+ declare type FeedContentTemplateTypes = 'full_width' | 'standard' | 'autoplay' | '';
659
659
  declare type FeedContentProps = {
660
660
  template: FeedContentTemplateTypes;
661
661
  image?: string;
662
662
  video?: string;
663
663
  document?: string;
664
- title?: string;
665
- description: string;
664
+ title?: Nullable<string>;
665
+ description: Nullable<string>;
666
666
  lastUpdated: string;
667
667
  buttonConfig: {
668
668
  disabled?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.1.53",
3
+ "version": "0.1.54",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"