@equisoft/design-elements-react 3.5.1-snapshot.20211014194248 → 3.5.1-snapshot.20211019190632

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,6 +1,7 @@
1
1
  import { FunctionComponent } from 'react';
2
2
  import { ExternalItemProps, NavItemProps } from '../dropdown-menu/list-items';
3
3
  interface BentoMenuButtonProps {
4
+ title?: string;
4
5
  productLinks: NavItemProps[];
5
6
  externalLinks: ExternalItemProps[];
6
7
  }
@@ -1,13 +1,11 @@
1
- import React, { ButtonHTMLAttributes } from 'react';
2
1
  import { FlattenInterpolation, ThemeProps } from 'styled-components';
3
2
  import { Theme } from '../../themes';
4
3
  export declare const defaultButtonStyles: FlattenInterpolation<import("styled-components").ThemedStyledProps<{
5
4
  isMobile: boolean;
6
5
  }, import("styled-components").DefaultTheme>>;
7
- interface AbstractButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
6
+ export declare const AbstractButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
8
7
  isMobile: boolean;
9
- }
10
- export declare const AbstractButton: React.ForwardRefExoticComponent<AbstractButtonProps & React.RefAttributes<HTMLButtonElement>>;
8
+ }, never>;
11
9
  declare type ButtonType = 'primary' | 'secondary' | 'tertiary' | 'destructive';
12
10
  export interface ButtonTypeStyles {
13
11
  buttonType: ButtonType;
@@ -1,2 +1,6 @@
1
1
  import { FunctionComponent } from 'react';
2
- export declare const Lozenge: FunctionComponent;
2
+ interface Props {
3
+ className?: string;
4
+ }
5
+ export declare const Lozenge: FunctionComponent<Props>;
6
+ export {};
@@ -1,8 +1,6 @@
1
- import { ReactElement, ReactNode } from 'react';
1
+ import { FunctionComponent } from 'react';
2
2
  export declare type TooltipPlacement = 'top' | 'right' | 'bottom' | 'left';
3
3
  interface TooltipProps {
4
- /** Tooltip text content */
5
- children: ReactNode;
6
4
  className?: string;
7
5
  /** Set tooltip open by default */
8
6
  defaultOpen?: boolean;
@@ -11,6 +9,11 @@ interface TooltipProps {
11
9
  * @default right
12
10
  */
13
11
  desktopPlacement?: TooltipPlacement;
12
+ /** Adds delay to tooltip */
13
+ delayed?: boolean;
14
+ disabled?: boolean;
15
+ /** Tooltip text content */
16
+ label: string;
14
17
  }
15
- export declare function Tooltip({ children, className, defaultOpen, desktopPlacement, }: TooltipProps): ReactElement;
18
+ export declare const Tooltip: FunctionComponent<TooltipProps>;
16
19
  export {};
package/dist/index.d.ts CHANGED
@@ -62,5 +62,6 @@ export { Pagination } from './components/pagination/pagination';
62
62
  export { equisoftTheme } from './themes/equisoft';
63
63
  export { testTheme } from './themes/test-theme';
64
64
  export { injectMainCss } from './styles';
65
+ export { Theme } from './themes/theme';
65
66
  export { useTheme } from './hooks/use-theme';
66
67
  export * from './components/design-system';
@@ -1,4 +1,4 @@
1
1
  import { Theme } from '../themes';
2
2
  export declare const focus: ({ theme }: {
3
3
  theme: Theme;
4
- }, hasBorder?: boolean, selector?: string | undefined) => string;
4
+ }, hasBorder?: boolean, selector?: string | undefined, inset?: boolean) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equisoft/design-elements-react",
3
- "version": "3.5.1-snapshot.20211014194248",
3
+ "version": "3.5.1-snapshot.20211019190632",
4
4
  "description": "React implementation of the Equisoft design system.",
5
5
  "license": "MIT",
6
6
  "main": "dist/bundle.js",