@zealicsolutions/web-ui 0.2.103 → 0.2.105

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.
@@ -5,4 +5,5 @@ export declare type CircleBoxProps = {
5
5
  type: CircleType;
6
6
  };
7
7
  export declare const Circle: ({ index, type }: CircleBoxProps) => JSX.Element;
8
+ export declare const CirclesWrapper: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
8
9
  export {};
@@ -8,6 +8,7 @@ export declare type TextFormat = Partial<{
8
8
  variable: VariablePayload;
9
9
  tag: {
10
10
  id: string;
11
+ label: string;
11
12
  };
12
13
  'numbered-list': boolean;
13
14
  'bulleted-list': boolean;
@@ -1,9 +1,9 @@
1
1
  /// <reference types="react" />
2
- import { FileObjectDTO, Molecule } from 'containers';
2
+ import { Molecule } from 'containers';
3
3
  import { TabGroupProps } from 'molecules';
4
4
  export declare const getFullLink: (url: string) => string;
5
5
  export declare const navigateToPage: (url: string) => void;
6
- export declare const downloadFile: (fileData: FileObjectDTO) => Promise<void>;
6
+ export declare const downloadFile: (url?: string, name?: string) => Promise<void>;
7
7
  export declare const MoleculeItem: ({ type, config, attributes, tabsProps, form, id: moleculeId, }: Molecule & {
8
8
  tabsProps?: Pick<TabGroupProps<string, string>, "tabs" | "activeTabKey" | "onTabChange"> | undefined;
9
9
  }) => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { SelectOption } from 'atoms';
2
- import { ButtonProps, CheckboxFieldProps, ImageProps, InputFieldProps, RadioButtonFieldProps, SelectFieldProps, TabGroupProps, TextMoleculeProps } from 'molecules';
2
+ import { AdditionalTabContainerProps, ButtonProps, CheckboxFieldProps, ImageProps, InputFieldProps, RadioButtonFieldProps, SelectFieldProps, TabGroupProps, TextMoleculeProps } from 'molecules';
3
3
  import { UseFormReturn } from 'react-hook-form';
4
4
  import { CSSProperties } from 'styled-components';
5
5
  import type { AnyObject, Nullable, StrictUnion } from 'typescript';
@@ -147,14 +147,8 @@ export interface TabGroupMolecule extends BaseMolecule {
147
147
  type: 'header_tab_group';
148
148
  config: {
149
149
  props: TabGroupProps;
150
- wide: {
151
- containerStyle?: CSSProperties;
152
- containerProps?: Record<string, unknown>;
153
- };
154
- compact: {
155
- containerStyle?: CSSProperties;
156
- containerProps?: Record<string, unknown>;
157
- };
150
+ wide: AdditionalTabContainerProps;
151
+ compact: AdditionalTabContainerProps;
158
152
  };
159
153
  }
160
154
  export interface TextInputMolecule extends BaseMolecule {
@@ -2,6 +2,9 @@ export declare type AnnotationsList = {
2
2
  tags: {
3
3
  id: string;
4
4
  label: string;
5
+ entityIds: string[];
6
+ moleculeIds: string[];
7
+ referencedByIds: string[];
5
8
  }[];
6
9
  links: {
7
10
  referencedById: string;
@@ -1,9 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import type { StoryFn } from '@storybook/react';
3
- import { Button as ButtonComponent } from 'molecules/Button/Button';
3
+ import { Button as ButtonComponent } from 'molecules';
4
4
  declare const _default: {
5
5
  title: string;
6
- component: ({ text: textProp, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, state, href, ...props }: import("molecules/Button/Button").ButtonProps) => JSX.Element | null;
6
+ component: ({ text: textProp, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, state, href, ...props }: import("molecules").ButtonProps) => JSX.Element | null;
7
7
  };
8
8
  export default _default;
9
9
  export declare const Button: StoryFn<typeof ButtonComponent>;
@@ -1,11 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import { TabProps, TabTheme } from 'atoms';
3
- import { CSSProperties } from 'styled-components';
4
3
  import { FontSizesTypes, SizesTypes, ThemeColors } from 'theme/types';
5
4
  import { StylesType } from 'typescript';
6
5
  export declare type TabType<T = string, K = string> = Pick<TabProps<T, K>, 'text' | 'tabKey' | 'disabled' | 'options' | 'divider'>;
7
- declare type AdditionalTabContainerProps = {
8
- containerStyle?: CSSProperties;
6
+ export declare type AdditionalTabContainerProps = {
7
+ containerStyle?: StylesType;
9
8
  containerProps?: Record<string, unknown>;
10
9
  };
11
10
  export declare type TabGroupProps<T = string, K = string> = {
@@ -27,4 +26,3 @@ export declare type TabGroupProps<T = string, K = string> = {
27
26
  compact?: AdditionalTabContainerProps;
28
27
  };
29
28
  export declare const TabGroup: <T extends string, K extends string>({ tabs, vertical, activeTabKey, onTabChange, tabTheme, wide, compact, tabSpacing, ...props }: TabGroupProps<T, K>) => JSX.Element;
30
- export {};
@@ -1,11 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  import { TabTheme } from 'atoms/Tab/Tab';
3
3
  import { SizesTypes, ThemeColors } from 'theme/types';
4
- export declare const TabsWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
4
+ import { OverrideStyles, StyledTransientProps } from 'typescript';
5
+ export declare const TabsWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, StyledTransientProps<{
5
6
  spacing: SizesTypes;
6
7
  vertical: boolean;
7
- }, never>;
8
- export declare const TabGroupContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8
+ }> & OverrideStyles, never>;
9
9
  declare type TabSliderProps = {
10
10
  width: number;
11
11
  left: number;
@@ -1,10 +1,13 @@
1
1
  import { ModalProps as MUIModalProps } from '@mui/material';
2
2
  import { KeyboardEvent, PropsWithChildren } from 'react';
3
3
  import { CSSProperties } from 'styled-components';
4
- export declare type ZealUIModalProps = PropsWithChildren<Pick<MUIModalProps, 'open' | 'onClose'>> & {
4
+ import { Callback, OverrideStyles } from '../../typescript';
5
+ export declare type ZealUIModalProps = PropsWithChildren<Pick<MUIModalProps, 'open'>> & {
5
6
  padding?: number | string;
6
7
  wrapperStyles?: CSSProperties;
7
8
  onKeyDown?: <T extends HTMLElement>(event: KeyboardEvent<T>) => void;
8
9
  modalStyles?: CSSProperties;
10
+ onClose?: Callback;
9
11
  };
10
- export declare const ZealUIModal: ({ children, wrapperStyles, padding, onKeyDown, modalStyles, ...rest }: ZealUIModalProps) => JSX.Element;
12
+ export declare const ZealUIModal: ({ children, wrapperStyles, padding, onKeyDown, modalStyles, onClose, ...rest }: ZealUIModalProps) => JSX.Element;
13
+ export declare const ModalWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, OverrideStyles, never>;