@equisoft/design-elements-react 5.1.0 → 5.1.1-snapshot.20230209134948

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.
@@ -8,6 +8,7 @@ interface Props {
8
8
  className?: string;
9
9
  defaultOpen?: boolean;
10
10
  iconName?: IconName;
11
+ inverted?: boolean;
11
12
  options: MenuOption[];
12
13
  }
13
14
  export declare const MenuButton: FunctionComponent<PropsWithChildren<Props>>;
@@ -0,0 +1,18 @@
1
+ import { FunctionComponent, ReactNode } from 'react';
2
+ import { IconName } from '../icon/icon';
3
+ export declare type ToggletipPlacement = 'top' | 'right' | 'bottom' | 'left';
4
+ export interface ToggletipProps {
5
+ label?: string;
6
+ iconName?: IconName;
7
+ children?: ReactNode | ReactNode[];
8
+ className?: string;
9
+ /** Set toggletip open by default */
10
+ defaultOpen?: boolean;
11
+ /**
12
+ * Toggletip placement on desktop (always top on mobile)
13
+ * @default right
14
+ */
15
+ desktopPlacement?: ToggletipPlacement;
16
+ disabled?: boolean;
17
+ }
18
+ export declare const Toggletip: FunctionComponent<ToggletipProps>;
package/dist/index.d.ts CHANGED
@@ -46,6 +46,7 @@ export * from './components/progress/progress';
46
46
  export { SideDrawer } from './components/side-drawer/side-drawer';
47
47
  export { GlobalBanner, GlobalBannerType } from './components/global-banner/global-banner';
48
48
  export * from './components/tooltip/tooltip';
49
+ export * from './components/toggletip/toggletip';
49
50
  export * from './components/table/table';
50
51
  export { Modal } from './components/modal/modal';
51
52
  export { ModalDialog } from './components/modal/modal-dialog';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equisoft/design-elements-react",
3
- "version": "5.1.0",
3
+ "version": "5.1.1-snapshot.20230209134948",
4
4
  "description": "React implementation of the Equisoft design system.",
5
5
  "license": "UNLICENSED",
6
6
  "main": "dist/bundle.js",