@mailstep/design-system 0.6.1 → 0.6.2-beta.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mailstep/design-system",
3
- "version": "0.6.1",
3
+ "version": "0.6.2-beta.2",
4
4
  "license": "ISC",
5
5
  "type": "module",
6
6
  "main": "./ui/index.js",
@@ -1,3 +1,3 @@
1
- import { IAlert } from './types';
1
+ import type { IAlert } from './types';
2
2
  declare const Alert: IAlert;
3
3
  export default Alert;
@@ -1,3 +1,3 @@
1
- import { BorderedBoxProps } from './types';
1
+ import type { BorderedBoxProps } from './types';
2
2
  declare const BorderedBox: ({ children, className, id, ...rest }: BorderedBoxProps) => JSX.Element;
3
3
  export default BorderedBox;
@@ -1,3 +1,3 @@
1
- import { Props } from './types';
1
+ import type { Props } from './types';
2
2
  declare const Button: ({ isLoading, loadingText, icon, appearance, disabled, sizing, buttonRef, onClick, fullWidth, ...props }: Props) => JSX.Element;
3
3
  export default Button;
@@ -1,5 +1,5 @@
1
1
  import Button from './Button';
2
- import { AppearanceValue } from './types';
2
+ import type { AppearanceValue } from './types';
3
3
  export { Button };
4
4
  export type { AppearanceValue };
5
5
  export default Button;
@@ -1,6 +1,6 @@
1
1
  import moment from 'moment';
2
2
  import React from 'react';
3
- import { DatetimepickerProps } from './types';
3
+ import type { DatetimepickerProps } from './types';
4
4
  export default class Datetime extends React.Component<DatetimepickerProps> {
5
5
  static defaultProps: {
6
6
  onOpen: () => void;
@@ -1,3 +1,3 @@
1
- import { DropdownProps } from './types';
1
+ import type { DropdownProps } from './types';
2
2
  declare const Dropdown: ({ show, className, wrapRef, children, showArrow, verticalShift, customDropdownPosition, }: DropdownProps) => JSX.Element;
3
3
  export default Dropdown;
@@ -1,2 +1,2 @@
1
- import { DropdownMenuProps, Item } from './types';
1
+ import type { DropdownMenuProps, Item } from './types';
2
2
  export declare const DropdownMenu: <T extends Item>({ items, showMenu, className, ItemComponent, header, footer, ...rest }: DropdownMenuProps<T>) => JSX.Element;
@@ -1,3 +1,3 @@
1
- import { Props } from './types';
1
+ import type { Props } from './types';
2
2
  declare const ErrorMessage: ({ children, appearance }: Props) => JSX.Element;
3
3
  export default ErrorMessage;
@@ -1,4 +1,4 @@
1
- import { IconProps } from './types';
1
+ import type { IconProps } from './types';
2
2
  type Props = {
3
3
  badge: 'warning';
4
4
  } & IconProps;
@@ -1,6 +1,6 @@
1
1
  import { IconDefinition } from '@fortawesome/fontawesome-common-types';
2
2
  import { FlipProp } from '@fortawesome/fontawesome-svg-core';
3
- import { IconProps } from './types';
3
+ import type { IconProps } from './types';
4
4
  export declare const iconDictionary: {
5
5
  [name: string]: IconDefinition | [IconDefinition, FlipProp];
6
6
  };
@@ -1,3 +1,3 @@
1
- import { ImageProps } from './types';
1
+ import type { ImageProps } from './types';
2
2
  declare const Image: (props: ImageProps) => JSX.Element;
3
3
  export default Image;
@@ -1,3 +1,3 @@
1
- import { ILine } from './types';
1
+ import type { ILine } from './types';
2
2
  declare const Line: ILine;
3
3
  export default Line;
@@ -1,3 +1,3 @@
1
- import { LogoProps } from './types';
1
+ import type { LogoProps } from './types';
2
2
  declare const Logo: ({ brand, variant, size, width, height, ...rest }: LogoProps) => JSX.Element | null;
3
3
  export default Logo;
@@ -1,3 +1,3 @@
1
- import { Props } from './types';
1
+ import type { Props } from './types';
2
2
  declare const SpaceAroundWrap: ({ children, spaceBetween, spaceAround, ...rest }: Props) => JSX.Element;
3
3
  export default SpaceAroundWrap;
@@ -1,4 +1,4 @@
1
- import { ISpinner } from './types';
1
+ import type { ISpinner } from './types';
2
2
  export declare const appearanceToColorMap: {
3
3
  error: string;
4
4
  concept: string;
@@ -1,3 +1,3 @@
1
- import { Props } from './types';
1
+ import type { Props } from './types';
2
2
  declare const Toggle: ({ onChange, label, name, checked, defaultChecked, spaceAround, disabled, labelPosition, variant, spaceBetween, readOnly, ...rest }: Props) => JSX.Element;
3
3
  export default Toggle;