@rte-ds/react 1.3.2 → 1.3.4
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/react/src/components/assistivetext/AssistiveText.d.ts +1 -1
- package/dist/react/src/components/badge/Badge.d.ts +1 -1
- package/dist/react/src/components/banner/Banner.d.ts +1 -1
- package/dist/react/src/components/breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/dist/react/src/components/breadcrumbs/breadcrumbItem/BreadcrumbItem.d.ts +1 -1
- package/dist/react/src/components/button/Button.d.ts +1 -1
- package/dist/react/src/components/card/Card.d.ts +1 -1
- package/dist/react/src/components/checkbox/Checkbox.d.ts +1 -1
- package/dist/react/src/components/checkboxGroup/CheckboxGroup.d.ts +1 -1
- package/dist/react/src/components/chip/Chip.d.ts +1 -1
- package/dist/react/src/components/divider/Divider.d.ts +1 -1
- package/dist/react/src/components/dropdown/Dropdown.d.ts +1 -1
- package/dist/react/src/components/dropdown/dropdownItem/DropdownItem.d.ts +1 -1
- package/dist/react/src/components/grid/Grid.d.ts +1 -1
- package/dist/react/src/components/icon/Icon.d.ts +1 -1
- package/dist/react/src/components/iconButton/IconButton.d.ts +1 -1
- package/dist/react/src/components/iconButtonToggle/IconButtonToggle.d.ts +1 -1
- package/dist/react/src/components/link/Link.d.ts +1 -1
- package/dist/react/src/components/loader/Loader.d.ts +1 -1
- package/dist/react/src/components/modal/Modal.d.ts +1 -1
- package/dist/react/src/components/popover/Popover.d.ts +1 -1
- package/dist/react/src/components/radioButton/RadioButton.d.ts +1 -1
- package/dist/react/src/components/radioButtonGroup/RadioButtonGroup.d.ts +1 -1
- package/dist/react/src/components/requiredindicator/RequiredIndicator.d.ts +1 -1
- package/dist/react/src/components/searchbar/Searchbar.d.ts +1 -1
- package/dist/react/src/components/segmentedControl/Segment.d.ts +1 -1
- package/dist/react/src/components/segmentedControl/SegmentedControl.d.ts +1 -1
- package/dist/react/src/components/select/Select.d.ts +1 -1
- package/dist/react/src/components/sideNav/SideNav.d.ts +1 -1
- package/dist/react/src/components/sideNav/baseSideNav/BaseSideNav.d.ts +1 -1
- package/dist/react/src/components/sideNav/navItem/NavItem.d.ts +1 -1
- package/dist/react/src/components/sideNav/navMenu/NavMenu.d.ts +1 -1
- package/dist/react/src/components/sideNav/stories/helpers/decorators.d.ts +1 -1
- package/dist/react/src/components/splitButton/SplitButton.d.ts +1 -1
- package/dist/react/src/components/switch/Switch.d.ts +1 -1
- package/dist/react/src/components/tab/Tab.d.ts +1 -1
- package/dist/react/src/components/tab/tabitem/TabItem.d.ts +1 -1
- package/dist/react/src/components/tag/Tag.d.ts +1 -1
- package/dist/react/src/components/textInput/TextInput.d.ts +1 -1
- package/dist/react/src/components/textInput/baseTextuInput/BaseTextInput.d.ts +1 -1
- package/dist/react/src/components/textarea/Textarea.d.ts +1 -1
- package/dist/react/src/components/toast/Toast.d.ts +1 -1
- package/dist/react/src/components/toast/hooks/useHandleTimer.d.ts +1 -1
- package/dist/react/src/components/tooltip/Tooltip.d.ts +1 -1
- package/dist/react-package.cjs +1 -1
- package/dist/react-package.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { AssistiveTextProps } from '
|
|
1
|
+
import { AssistiveTextProps } from '@rte-ds/core/components/assistive-text/assistive-text.interface';
|
|
2
2
|
declare const AssistiveText: ({ label, appearance, showIcon, href, width }: AssistiveTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default AssistiveText;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BadgeProps as BadgePropsCore } from '
|
|
1
|
+
import { BadgeProps as BadgePropsCore } from '@rte-ds/core/components/badge/badge.interface';
|
|
2
2
|
export interface BadgeProps extends BadgePropsCore, Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "content"> {
|
|
3
3
|
children?: React.ReactNode;
|
|
4
4
|
icon?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BannerProps as CoreBannerProps } from '
|
|
1
|
+
import { BannerProps as CoreBannerProps } from '@rte-ds/core/components/banner/banner.interface';
|
|
2
2
|
interface BannerProps extends CoreBannerProps, React.HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
}
|
|
4
4
|
declare const Banner: import('react').ForwardRefExoticComponent<BannerProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BreadcrumbsProps as BreadcrumbsPropsCore } from '
|
|
1
|
+
import { BreadcrumbsProps as BreadcrumbsPropsCore } from '@rte-ds/core/components/breadcrumbs/breadcrumbs.interface';
|
|
2
2
|
export interface BreadcrumbsProps extends BreadcrumbsPropsCore, React.HTMLAttributes<HTMLElement> {
|
|
3
3
|
}
|
|
4
4
|
declare const Breadcrumbs: import('react').ForwardRefExoticComponent<BreadcrumbsProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { BreadcrumbProps } from '
|
|
1
|
+
import { BreadcrumbProps } from '@rte-ds/core/components/breadcrumbs/breadcrumbs.interface';
|
|
2
2
|
declare const BreadcrumbItem: ({ item, isLast, breadcrumbItemMaxWidth }: BreadcrumbProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default BreadcrumbItem;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonProps as CoreButtonProps } from '
|
|
1
|
+
import { ButtonProps as CoreButtonProps } from '@rte-ds/core/components/button/button.interface';
|
|
2
2
|
interface ButtonProps extends Omit<CoreButtonProps, "disabled">, Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onClick"> {
|
|
3
3
|
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
4
4
|
icon?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CardProps as CardPropsCore } from '
|
|
1
|
+
import { CardProps as CardPropsCore } from '@rte-ds/core/components/card/card.interface';
|
|
2
2
|
import { HTMLAttributes } from 'react';
|
|
3
3
|
interface CardProps extends CardPropsCore, Omit<HTMLAttributes<HTMLDivElement>, "onClick"> {
|
|
4
4
|
onClick?: () => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CheckboxProps as CoreCheckboxProps } from '
|
|
1
|
+
import { CheckboxProps as CoreCheckboxProps } from '@rte-ds/core/components/checkbox/checkbox.interface';
|
|
2
2
|
interface CheckboxProps extends CoreCheckboxProps, Omit<React.InputHTMLAttributes<HTMLInputElement>, "id"> {
|
|
3
3
|
}
|
|
4
4
|
declare const Checkbox: ({ id, label, showLabel, disabled, description, error, errorMessage, readOnly, indeterminate, ...props }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CheckboxGroupProps as CoreCheckboxGroupProps } from '
|
|
1
|
+
import { CheckboxGroupProps as CoreCheckboxGroupProps } from '@rte-ds/core/components/checkbox-group/checkbox-group.interface';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
interface CheckboxGroupProps extends CoreCheckboxGroupProps, React.InputHTMLAttributes<HTMLDivElement> {
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChipProps as CoreChipProps } from '
|
|
1
|
+
import { ChipProps as CoreChipProps } from '@rte-ds/core/components/chip/chip.interface';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
interface ChipProps extends Omit<CoreChipProps, "onClick" | "onClose">, Omit<React.HTMLAttributes<HTMLSpanElement>, "id"> {
|
|
4
4
|
onClick?: (event: React.MouseEvent<HTMLSpanElement> | React.KeyboardEvent<HTMLSpanElement>) => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DividerProps } from '
|
|
1
|
+
import { DividerProps } from '@rte-ds/core/components/divider/divider.interface';
|
|
2
2
|
declare const Divider: import('react').ForwardRefExoticComponent<DividerProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
3
3
|
export default Divider;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DropdownProps as CoreDropdownProps } from '
|
|
1
|
+
import { DropdownProps as CoreDropdownProps } from '@rte-ds/core/components/dropdown/dropdown.interface';
|
|
2
2
|
interface DropdownProps extends CoreDropdownProps, React.HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
trigger: React.ReactNode;
|
|
4
4
|
header?: React.ReactNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DropdownItemProps as CoreDropdownItemProps } from '
|
|
1
|
+
import { DropdownItemProps as CoreDropdownItemProps } from '@rte-ds/core/components/dropdown/dropdown.interface';
|
|
2
2
|
interface DropdownItemProps extends Omit<CoreDropdownItemProps, "onClick">, React.HTMLAttributes<HTMLLIElement> {
|
|
3
3
|
onClick?: (event: React.MouseEvent<HTMLLIElement> | React.KeyboardEvent<HTMLLIElement>) => void;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridProps as CoreGridProps, ColProps as CoreColProps } from '
|
|
1
|
+
import { GridProps as CoreGridProps, ColProps as CoreColProps } from '@rte-ds/core/components/grid/grid.interface';
|
|
2
2
|
interface GridProps extends CoreGridProps, Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
3
3
|
children: React.ReactNode[];
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IconProps as coreIconProps, IconWrapperProps as CoreIconWrapperProps } from '
|
|
1
|
+
import { IconProps as coreIconProps, IconWrapperProps as CoreIconWrapperProps } from '@rte-ds/core/components/icon/icon.interface';
|
|
2
2
|
import { RegularIcons, TogglableIcons } from './IconMap';
|
|
3
3
|
export type RegularIconIdKey = keyof typeof RegularIcons;
|
|
4
4
|
export type TogglableIconIdKey = keyof typeof TogglableIcons;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IconButtonProps as CoreIconButtonProps } from '
|
|
1
|
+
import { IconButtonProps as CoreIconButtonProps } from '@rte-ds/core/components/button/icon-button/icon-button.interface';
|
|
2
2
|
import { RegularIconIdKey, TogglableIconIdKey } from '../icon/Icon';
|
|
3
3
|
interface IconButtonProps extends Omit<CoreIconButtonProps, "disabled" | "name">, Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onClick"> {
|
|
4
4
|
name: RegularIconIdKey | TogglableIconIdKey;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IconButtonToggleProps as CoreIconButtonToggleProps } from '
|
|
1
|
+
import { IconButtonToggleProps as CoreIconButtonToggleProps } from '@rte-ds/core/components/button/icon-button/icon-button.interface';
|
|
2
2
|
import { TogglableIconIdKey } from '../icon/Icon';
|
|
3
3
|
interface IconButtonToggleProps extends Omit<CoreIconButtonToggleProps, "icon">, Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onClick"> {
|
|
4
4
|
name: TogglableIconIdKey;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LinkProps as CoreLinkProps } from '
|
|
1
|
+
import { LinkProps as CoreLinkProps } from '@rte-ds/core/components/link/link.interface';
|
|
2
2
|
interface LinkProps extends CoreLinkProps, React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
3
3
|
}
|
|
4
4
|
declare const Link: import('react').ForwardRefExoticComponent<LinkProps & import('react').RefAttributes<HTMLAnchorElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LoaderProps as CoreLoaderProps } from '
|
|
1
|
+
import { LoaderProps as CoreLoaderProps } from '@rte-ds/core/components/loader/loader.interface';
|
|
2
2
|
interface LoaderProps extends CoreLoaderProps, React.HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
}
|
|
4
4
|
declare const Loader: import('react').ForwardRefExoticComponent<LoaderProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ModalProps as coreModalProps } from '
|
|
1
|
+
import { ModalProps as coreModalProps } from '@rte-ds/core/components/modal/modal.interface';
|
|
2
2
|
import { default as Button } from '../button/Button';
|
|
3
3
|
type DSButtonElement = React.ReactElement<React.ComponentProps<typeof Button>, typeof Button>;
|
|
4
4
|
interface ModalProps extends coreModalProps, Omit<React.HTMLAttributes<HTMLDialogElement>, "id" | "title"> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PopoverProps as CorePopoverProps } from '
|
|
1
|
+
import { PopoverProps as CorePopoverProps } from '@rte-ds/core/components/popover/popover.interface';
|
|
2
2
|
interface PopoverProps extends CorePopoverProps, Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "content"> {
|
|
3
3
|
content: string;
|
|
4
4
|
children: React.ReactNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RadioButtonProps as CoreRadioButtonProps } from '
|
|
1
|
+
import { RadioButtonProps as CoreRadioButtonProps } from '@rte-ds/core/components/radio-button/radio-button.interface';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
interface RadioButtonProps extends CoreRadioButtonProps, React.InputHTMLAttributes<HTMLInputElement> {
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RadioButtonGroupProps as CoreRadioButtonGroupProps } from '
|
|
1
|
+
import { RadioButtonGroupProps as CoreRadioButtonGroupProps } from '@rte-ds/core/components/radio-button-group/radio-button-group.interface';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
interface RadioButtonGroupProps extends CoreRadioButtonGroupProps, React.InputHTMLAttributes<HTMLDivElement> {
|
|
4
4
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { RequiredIndicatorProps } from '
|
|
1
|
+
import { RequiredIndicatorProps } from '@rte-ds/core/components/required-indicator/required-indicator.interface';
|
|
2
2
|
declare const RequiredIndicator: ({ required, showLabelRequirement }: RequiredIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default RequiredIndicator;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SearchBarProps as CoreSearchBarProps } from '
|
|
1
|
+
import { SearchBarProps as CoreSearchBarProps } from '@rte-ds/core/components/searchbar/searchbar.interface';
|
|
2
2
|
import { InputHTMLAttributes } from 'react';
|
|
3
3
|
interface SearchbarProps extends CoreSearchBarProps, Omit<InputHTMLAttributes<HTMLInputElement>, "id" | "onChange" | "value" | "defaultValue" | "placeholder"> {
|
|
4
4
|
onSearch?: (input: string | undefined) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SegmentProps as CoreSegmentProps } from '
|
|
1
|
+
import { SegmentProps as CoreSegmentProps } from '@rte-ds/core/components/segmented-control/segmented-control.interface';
|
|
2
2
|
interface SegmentProps extends CoreSegmentProps {
|
|
3
3
|
onClick?: (event: React.MouseEvent<HTMLDivElement> | React.KeyboardEvent<HTMLDivElement>) => void;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SegmentedControlProps as CoreSegmentedControlProps } from '
|
|
1
|
+
import { SegmentedControlProps as CoreSegmentedControlProps } from '@rte-ds/core/components/segmented-control/segmented-control.interface';
|
|
2
2
|
interface SegmentedControlProps extends CoreSegmentedControlProps, Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
3
3
|
onChange: (id: string) => void;
|
|
4
4
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { SelectProps as coreSelectProps } from '
|
|
1
|
+
import { SelectProps as coreSelectProps } from '@rte-ds/core/components/select/select.interface';
|
|
2
2
|
declare const Select: import('react').ForwardRefExoticComponent<coreSelectProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
3
3
|
export default Select;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SideNavProps as CoreSideNavProps } from '
|
|
1
|
+
import { SideNavProps as CoreSideNavProps } from '@rte-ds/core/components/side-nav/side-nav.interface';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
interface SideNavProps extends Partial<CoreSideNavProps>, Omit<React.HTMLAttributes<HTMLDivElement>, "content"> {
|
|
4
4
|
children?: ReactNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseSideNavProps as CoreSideNavProps } from '
|
|
1
|
+
import { BaseSideNavProps as CoreSideNavProps } from '@rte-ds/core/components/side-nav/side-nav.interface';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
interface BaseSideNavProps extends Partial<Omit<CoreSideNavProps, "items">>, Omit<React.HTMLAttributes<HTMLDivElement>, "content"> {
|
|
4
4
|
header?: ReactNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NavItemProps as CoreNavItemProps } from '
|
|
1
|
+
import { NavItemProps as CoreNavItemProps } from '@rte-ds/core/components/side-nav/nav-item/nav-item.interface';
|
|
2
2
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
3
3
|
interface NavItemProps extends CoreNavItemProps, Omit<HTMLAttributes<HTMLDivElement>, "onClick" | "id"> {
|
|
4
4
|
children?: ReactNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NavMenuProps as CoreNavMenuProps } from '
|
|
1
|
+
import { NavMenuProps as CoreNavMenuProps } from '@rte-ds/core/components/side-nav/nav-menu/nav-menu.interface';
|
|
2
2
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
3
3
|
interface NavMenuProps extends CoreNavMenuProps, Omit<HTMLAttributes<HTMLLIElement>, "onClick"> {
|
|
4
4
|
children?: ReactNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NavItemProps } from '
|
|
1
|
+
import { NavItemProps } from '@rte-ds/core/components/side-nav/nav-item/nav-item.interface';
|
|
2
2
|
import { Decorator } from '@storybook/react';
|
|
3
3
|
declare function createCollapsedStateDecorator(): Decorator;
|
|
4
4
|
declare function createActiveItemStateDecorator(navigationItems: NavItemProps[]): Decorator;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SplitButtonProps as CoreSplitButtonProps, SplitButtonItemProps as CoreSplitButtonOptionProps } from '
|
|
1
|
+
import { SplitButtonProps as CoreSplitButtonProps, SplitButtonItemProps as CoreSplitButtonOptionProps } from '@rte-ds/core/components/split-button/split-button.interface';
|
|
2
2
|
import { ButtonHTMLAttributes, KeyboardEvent, MouseEvent } from 'react';
|
|
3
3
|
import { RegularIcons, TogglableIcons } from '../icon/IconMap';
|
|
4
4
|
interface SplitButtonOption extends CoreSplitButtonOptionProps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SwitchProps as CoreSwitchProps } from '
|
|
1
|
+
import { SwitchProps as CoreSwitchProps } from '@rte-ds/core/components/switch/switch.interface';
|
|
2
2
|
import { InputHTMLAttributes } from 'react';
|
|
3
3
|
interface SwitchProps extends CoreSwitchProps, InputHTMLAttributes<HTMLInputElement> {
|
|
4
4
|
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TabProps as CoreTabProps } from '
|
|
1
|
+
import { TabProps as CoreTabProps } from '@rte-ds/core/components/tab/tab.interface';
|
|
2
2
|
import { HTMLAttributes } from 'react';
|
|
3
3
|
interface TabProps extends CoreTabProps, Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
4
4
|
onChange: (id: string) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TabItemProps as CoreTabItemProps } from '
|
|
1
|
+
import { TabItemProps as CoreTabItemProps } from '@rte-ds/core/components/tab/tab.interface';
|
|
2
2
|
import { HTMLAttributes, MouseEvent, KeyboardEvent } from 'react';
|
|
3
3
|
interface TabItemProps extends CoreTabItemProps, Omit<HTMLAttributes<HTMLButtonElement>, "id" | "onClick"> {
|
|
4
4
|
onClick: (event: MouseEvent<HTMLButtonElement> | KeyboardEvent<HTMLButtonElement>) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TagProps as TagPropsCore } from '
|
|
1
|
+
import { TagProps as TagPropsCore } from '@rte-ds/core/components/tag/tag.interface';
|
|
2
2
|
import { RegularIconIdKey, TogglableIconIdKey } from '../icon/Icon';
|
|
3
3
|
interface TagProps extends Omit<TagPropsCore, "iconName">, Omit<React.HTMLAttributes<HTMLDivElement>, "color"> {
|
|
4
4
|
iconName?: RegularIconIdKey | TogglableIconIdKey;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TextInputProps as CoreTextInputProps } from '
|
|
1
|
+
import { TextInputProps as CoreTextInputProps } from '@rte-ds/core/components/text-input/text-input.interface';
|
|
2
2
|
import { InputHTMLAttributes } from 'react';
|
|
3
3
|
interface TextInputProps extends CoreTextInputProps, Omit<InputHTMLAttributes<HTMLInputElement>, "id" | "onChange" | "value" | "defaultValue" | "placeholder"> {
|
|
4
4
|
onChange?: (value: string) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseTextInputProps as CoreTextInputProps } from '
|
|
1
|
+
import { BaseTextInputProps as CoreTextInputProps } from '@rte-ds/core/components/text-input/text-input.interface';
|
|
2
2
|
import { CSSProperties, InputHTMLAttributes, ReactNode } from 'react';
|
|
3
3
|
interface BaseTextInputProps extends CoreTextInputProps, Omit<InputHTMLAttributes<HTMLInputElement>, "id" | "onChange" | "value" | "defaultValue" | "placeholder"> {
|
|
4
4
|
onChange?: (value: string) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TextareaProps as CoreTextareaProps } from '
|
|
1
|
+
import { TextareaProps as CoreTextareaProps } from '@rte-ds/core/components/textarea/textarea.interface';
|
|
2
2
|
import { ChangeEvent, TextareaHTMLAttributes } from 'react';
|
|
3
3
|
interface TextareaProps extends CoreTextareaProps, Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange" | "value" | "defaultValue" | "placeholder"> {
|
|
4
4
|
onChange?: (event: ChangeEvent<HTMLTextAreaElement>) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ToastProps as coreToastProps } from '
|
|
1
|
+
import { ToastProps as coreToastProps } from '@rte-ds/core/components/toast/toast.interface';
|
|
2
2
|
interface ToastProps extends coreToastProps, React.HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
showActionButton?: boolean;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TooltipProps as CoreTooltipProps } from '
|
|
1
|
+
import { TooltipProps as CoreTooltipProps } from '@rte-ds/core/components/tooltip/tooltip.interface';
|
|
2
2
|
interface TooltipProps extends CoreTooltipProps, Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
triggerStyles?: React.CSSProperties;
|