@equisoft/design-elements-react 6.4.2-snapshot.20240619193733 → 6.4.2-snapshot.20240621234855

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,12 +1,13 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { AvatarProps } from '../avatar/avatar';
3
3
  import { IconName, IconProps } from '../icon/icon';
4
- import { ButtonProps } from './button';
4
+ import { ButtonProps, Size } from './button';
5
5
  export interface IconButtonProps extends ButtonProps {
6
6
  children?: ReactElement<IconProps | AvatarProps>;
7
7
  /**
8
8
  * Name of the desired icon (refer to icon library)
9
9
  */
10
10
  iconName: IconName;
11
+ size?: Size;
11
12
  }
12
13
  export declare const IconButton: import("react").ForwardRefExoticComponent<IconButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,8 +1,9 @@
1
- import { VoidFunctionComponent } from 'react';
1
+ import React, { VoidFunctionComponent } from 'react';
2
2
  interface StepperButtonsProps {
3
3
  disabled?: boolean;
4
- onIncrement?(): void;
5
- onDecrement?(): void;
4
+ onIncrement?(event: React.MouseEvent<HTMLButtonElement>): void;
5
+ onDecrement?(event: React.MouseEvent<HTMLButtonElement>): void;
6
+ onStop?(): void;
6
7
  }
7
8
  export declare const StepperButtons: VoidFunctionComponent<StepperButtonsProps>;
8
9
  export {};
@@ -1,5 +1,7 @@
1
1
  import { FunctionComponent, ReactNode } from 'react';
2
2
  import { IconName } from '../icon/icon';
3
+ type Size = 'small' | 'medium';
4
+ type MaxWidth = 'small' | 'medium' | 'large';
3
5
  export type ToggletipPlacement = 'top' | 'right' | 'bottom' | 'left';
4
6
  export interface ToggletipProps {
5
7
  label?: string;
@@ -15,5 +17,8 @@ export interface ToggletipProps {
15
17
  desktopPlacement?: ToggletipPlacement;
16
18
  disabled?: boolean;
17
19
  invertedIcon?: boolean;
20
+ size?: Size;
21
+ maxWidth?: MaxWidth;
18
22
  }
19
23
  export declare const Toggletip: FunctionComponent<ToggletipProps>;
24
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equisoft/design-elements-react",
3
- "version": "6.4.2-snapshot.20240619193733",
3
+ "version": "6.4.2-snapshot.20240621234855",
4
4
  "description": "React implementation of the Equisoft design system.",
5
5
  "license": "UNLICENSED",
6
6
  "main": "dist/bundle.js",