@rte-ds/react 1.3.14 → 1.3.18
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/dist/components/card/Card.d.ts +2 -2
- package/dist/components/switch/Switch.d.ts +1 -1
- package/dist/react-package.cjs +1 -1
- package/dist/react-package.js +2452 -2437
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CardProps as CardPropsCore } from '../../../../core/components/card/card.interface';
|
|
2
|
-
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { default as React, HTMLAttributes } from 'react';
|
|
3
3
|
interface CardProps extends CardPropsCore, Omit<HTMLAttributes<HTMLDivElement>, "onClick"> {
|
|
4
4
|
onClick?: () => void;
|
|
5
5
|
}
|
|
6
|
-
declare const Card:
|
|
6
|
+
declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
export default Card;
|
|
@@ -4,5 +4,5 @@ interface SwitchProps extends CoreSwitchProps, InputHTMLAttributes<HTMLInputElem
|
|
|
4
4
|
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
5
5
|
tooltipTextLabel?: string;
|
|
6
6
|
}
|
|
7
|
-
declare const Switch: ({ label, appearance, showLabel, showIcon, disabled, readOnly, checked, required, showLabelRequirement, onChange, tooltipTextLabel, ...props }: SwitchProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare const Switch: ({ label, appearance, showLabel, showIcon, disabled, readOnly, checked, required, showLabelRequirement, onChange, tooltipTextLabel, labelStyle, ...props }: SwitchProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export default Switch;
|