@televet/kibble-ui 5.0.30-sc.1 → 5.0.30-sc.2
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/types/components/Alert/alert.component.d.ts +1 -1
- package/dist/types/components/Alert/components/AlertButton/alertButton.component.d.ts +1 -1
- package/dist/types/components/Avatar/avatar.component.d.ts +1 -1
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.component.d.ts +1 -1
- package/dist/types/components/Avatar/components/AvatarRemoveButton/avatarRemoveButton.component.d.ts +1 -1
- package/dist/types/components/Avatar/components/AvatarTooltipTriggerWrapper/avatarTooltipTriggerWrapper.component.d.ts +1 -1
- package/dist/types/components/AvatarGroup/avatarGroup.component.d.ts +1 -1
- package/dist/types/components/Button/button.component.d.ts +1 -1
- package/dist/types/components/ButtonGroup/buttonGroup.component.d.ts +1 -1
- package/dist/types/components/Calendar/calendar.component.d.ts +1 -1
- package/dist/types/components/Calendar/calendarFooterButton.component.d.ts +1 -1
- package/dist/types/components/Card/card.component.d.ts +1 -1
- package/dist/types/components/CharacterCounter/characterCounter.component.d.ts +1 -1
- package/dist/types/components/Checkbox/checkbox.component.d.ts +1 -1
- package/dist/types/components/CheckboxGroup/checkboxGroup.component.d.ts +1 -1
- package/dist/types/components/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.d.ts +1 -1
- package/dist/types/components/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.d.ts +1 -1
- package/dist/types/components/ConversationCard/components/ConversationCardContent/conversationCardContent.component.d.ts +1 -1
- package/dist/types/components/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +1 -1
- package/dist/types/components/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.d.ts +1 -1
- package/dist/types/components/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +1 -1
- package/dist/types/components/ConversationCard/conversationCard.component.d.ts +1 -1
- package/dist/types/components/DatePicker/components/DatePickerCalendar/datePickerCalendar.component.d.ts +1 -1
- package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.component.d.ts +1 -1
- package/dist/types/components/DatePicker/components/DatePickerFooter/datePickerFooter.component.d.ts +1 -1
- package/dist/types/components/DatePicker/components/DatePickerHeader/datePickerHeader.component.d.ts +1 -1
- package/dist/types/components/DatePicker/components/DatePickerInput/datePickerInput.component.d.ts +1 -1
- package/dist/types/components/DatePicker/components/DatePickerMonth/datePickerCalendarMonth.component.d.ts +1 -1
- package/dist/types/components/DatePicker/context/datePicker.context.d.ts +1 -1
- package/dist/types/components/DatePicker/context/datePicker.provider.d.ts +1 -1
- package/dist/types/components/DatePicker/datePicker.component.d.ts +1 -1
- package/dist/types/components/DateTimePicker/components/DateTimePickerCustomView/dateTimePickerCustomView.component.d.ts +1 -1
- package/dist/types/components/DateTimePicker/components/DateTimePickerQuickOptions/dateTimePickerQuickOptions.component.d.ts +1 -1
- package/dist/types/components/DateTimePicker/components/DateTimePickerRangeSelector/dateTimePickerRangeSelector.component.d.ts +1 -1
- package/dist/types/components/DateTimePicker/dateTimePicker.component.d.ts +1 -1
- package/dist/types/components/Divider/divider.component.d.ts +1 -1
- package/dist/types/components/Heading/heading.component.d.ts +1 -1
- package/dist/types/components/Icon/icon.component.d.ts +1 -1
- package/dist/types/components/Link/components/LinkIcon/linkIcon.component.d.ts +1 -1
- package/dist/types/components/Link/link.component.d.ts +1 -1
- package/dist/types/components/Logo/logo.component.d.ts +1 -1
- package/dist/types/components/MaintenanceBanner/maintenanceBanner.component.d.ts +1 -1
- package/dist/types/components/Menu/components/MenuButton/menuButton.component.d.ts +1 -1
- package/dist/types/components/Menu/components/MenuItem/menuItem.component.d.ts +1 -1
- package/dist/types/components/Menu/menu.component.d.ts +1 -1
- package/dist/types/components/Modal/components/ModalFooter/modalFooter.component.d.ts +1 -1
- package/dist/types/components/Modal/modal.component.d.ts +1 -1
- package/dist/types/components/NotificationCounter/notificationCounter.component.d.ts +1 -1
- package/dist/types/components/NumberInput/numberInput.component.d.ts +1 -1
- package/dist/types/components/Picture/picture.component.d.ts +1 -1
- package/dist/types/components/PinInput/pinInput.component.d.ts +1 -1
- package/dist/types/components/Popover/components/PopoverFooter/popoverFooter.component.d.ts +1 -1
- package/dist/types/components/Popover/components/PopoverHeader/popoverHeader.component.d.ts +1 -1
- package/dist/types/components/Popover/popover.component.d.ts +1 -1
- package/dist/types/components/Progress/progress.component.d.ts +1 -1
- package/dist/types/components/RadioGroup/components/Radio/radio.component.d.ts +1 -1
- package/dist/types/components/RadioGroup/radioGroup.component.d.ts +1 -1
- package/dist/types/components/Rating/rating.component.d.ts +1 -1
- package/dist/types/components/RatingDots/components/RatingDot/ratingDot.component.d.ts +1 -1
- package/dist/types/components/RatingDots/ratingDots.component.d.ts +1 -1
- package/dist/types/components/Select/components/SelectItemContent/selectItemContent.component.d.ts +1 -1
- package/dist/types/components/Select/components/SelectTrigger/selectTrigger.component.d.ts +1 -1
- package/dist/types/components/Select/select.component.d.ts +1 -1
- package/dist/types/components/SortableList/components/SortableListDragHandle/sortableListDragHandle.component.d.ts +1 -1
- package/dist/types/components/SortableList/components/SortableListItem/sortableListItem.component.d.ts +1 -1
- package/dist/types/components/SortableList/components/SortableListItem/sortableListItem.context.d.ts +1 -1
- package/dist/types/components/SortableList/sortableList.component.d.ts +1 -1
- package/dist/types/components/Spinner/spinner.component.d.ts +1 -1
- package/dist/types/components/StyledAvatar/styledAvatar.component.d.ts +1 -1
- package/dist/types/components/Swatch/swatch.component.d.ts +1 -1
- package/dist/types/components/Switch/switch.component.d.ts +1 -1
- package/dist/types/components/Tabs/components/Tab/tab.component.d.ts +1 -1
- package/dist/types/components/Tabs/tabs.component.d.ts +1 -1
- package/dist/types/components/Tag/tag.component.d.ts +1 -1
- package/dist/types/components/TagBlock/tagBlock.component.d.ts +1 -1
- package/dist/types/components/Text/text.component.d.ts +1 -1
- package/dist/types/components/TextInput/textInput.component.d.ts +1 -1
- package/dist/types/components/Textarea/textarea.component.d.ts +1 -1
- package/dist/types/components/TimePicker/components/TimeList/timeList.component.d.ts +1 -1
- package/dist/types/components/TimePicker/components/TimeOption/timeOption.component.d.ts +1 -1
- package/dist/types/components/TimePicker/timePicker.component.d.ts +1 -1
- package/dist/types/components/TimeRange/timeRange.component.d.ts +1 -1
- package/dist/types/components/Timestamp/timestamp.component.d.ts +1 -1
- package/dist/types/components/Toast/components/ToastAction/toastAction.component.d.ts +1 -1
- package/dist/types/components/Toast/components/Toaster/toaster.component.d.ts +1 -1
- package/dist/types/components/Toast/toast.component.d.ts +1 -1
- package/dist/types/components/Tooltip/tooltip.component.d.ts +1 -1
- package/dist/types/hocs/withDarkMode/withDarkMode.d.ts +1 -1
- package/dist/types/hocs/withFormControl/withFormControl.d.ts +1 -1
- package/dist/types/hocs/withLightMode/withLightMode.d.ts +1 -1
- package/dist/types/hocs/withTruncation.d.ts +1 -1
- package/dist/types/hooks/usePortalContentRef.d.ts +1 -1
- package/dist/types/shared/components/withVariantStory.d.ts +1 -1
- package/dist/types/theme/providers/colorMode.provider.d.ts +1 -1
- package/dist/types/theme/providers/theme.provider.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { Alert as CAlert } from '@chakra-ui/react/alert';
|
|
3
3
|
import { HeadingProps } from '../Heading/heading.component';
|
|
4
4
|
import { IconProps } from '../Icon/icon.component';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { AlertButtonPosition } from '../../alert.types';
|
|
3
3
|
import { ButtonProps } from '../../../Button/button.component';
|
|
4
4
|
import { Status } from '../../../../shared/types/status';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { IconName } from '../../../Icon';
|
|
3
3
|
import { AvatarSize } from '../../avatar.types';
|
|
4
4
|
import { ConditionalValue } from '@chakra-ui/react/styled-system';
|
package/dist/types/components/Avatar/components/AvatarRemoveButton/avatarRemoveButton.component.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { AvatarSize } from '../../avatar.types';
|
|
3
3
|
interface AvatarRemoveButtonProps {
|
|
4
4
|
/** Callback function to be called when the remove button is clicked. */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { CenterProps } from '@chakra-ui/react/center';
|
|
2
|
-
export declare const AvatarTooltipTriggerWrapper: import('
|
|
2
|
+
export declare const AvatarTooltipTriggerWrapper: import('react').ForwardRefExoticComponent<CenterProps & import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { AvatarGroupProps as CAvatarGroupProps } from '@chakra-ui/react/avatar';
|
|
3
3
|
import { AvatarProps } from '../Avatar/avatar.component';
|
|
4
4
|
import { AvatarSize, AvatarVariant } from '../Avatar/avatar.types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { ButtonProps as CButtonProps } from '@chakra-ui/react/button';
|
|
3
3
|
import { IconName } from '../Icon/icon.types';
|
|
4
4
|
import { ButtonIconPosition, ButtonSize, ButtonSpinnerPlacement, ButtonVariant } from './button.types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { ButtonGroupProps as CButtonGroupProps } from '@chakra-ui/react/button';
|
|
3
3
|
import { GroupedButton } from './buttonGroup.types';
|
|
4
4
|
import { ButtonSize, ButtonVariant } from '../Button/button.types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { DateProps } from '../DatePicker/datePicker.types';
|
|
3
3
|
import { CalendarFooterConfig } from './calendarFooterButton.component';
|
|
4
4
|
export interface CalendarProps extends DateProps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { Checkbox as CCheckbox } from '@chakra-ui/react/checkbox';
|
|
3
3
|
import { WithFormControlProps } from '../../hocs/withFormControl/withFormControl';
|
|
4
4
|
import { FormControlSize } from '../../hocs/withFormControl/withFormControl.types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { CheckboxGroupProps as CCheckboxGroupProps } from '@chakra-ui/react/checkbox';
|
|
3
3
|
import { WithFormControlProps } from '../../hocs/withFormControl/withFormControl';
|
|
4
4
|
import { FlexDirection } from '../../shared/types/alignment';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { IconProps } from '../../../Icon/icon.component';
|
|
3
3
|
import { TextProps } from '../../../Text/text.component';
|
|
4
4
|
export interface ConversationCardFooterProps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { TimestampProps } from '../../../Timestamp/timestamp.component';
|
|
3
3
|
import { ConversationCardAvatarGroupProps } from '../ConversationCardAvatarGroup/conversationCardAvatarGroup.component';
|
|
4
4
|
export interface ConversationCardHeaderProps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { MenuProps } from '../Menu/menu.component';
|
|
3
3
|
import { ConversationCardHeaderProps } from './components/ConversationCardHeader/conversationCardHeader.component';
|
|
4
4
|
import { ConversationCardOverlayProps, ConversationCardPinProps } from './components/ConversationCardButtons/conversationCardButtons.component';
|
package/dist/types/components/DatePicker/components/DatePickerHeader/datePickerHeader.component.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { MenuButtonProps } from '../../../Menu/components/MenuButton/menuButton.component';
|
|
3
3
|
interface DatePickerHeaderProps {
|
|
4
4
|
/** Props to be passed to the menu buttons. */
|
package/dist/types/components/DatePicker/components/DatePickerInput/datePickerInput.component.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { TextInputProps } from '../../../TextInput/textInput.component';
|
|
3
3
|
interface DatePickerInputProps {
|
|
4
4
|
/** Props to customize the input field. See `TextInput` for more information. */
|
|
@@ -46,5 +46,5 @@ export declare const defaultFocusedDate: Date;
|
|
|
46
46
|
export declare const defaultMinYear: number;
|
|
47
47
|
export declare const defaultMaxYear: number;
|
|
48
48
|
export declare const defaultDateFormat = DateFormats['ShortDate'];
|
|
49
|
-
export declare const DatePickerContext: import('
|
|
49
|
+
export declare const DatePickerContext: import('react').Context<IDatePickerContext>;
|
|
50
50
|
export declare const useDatePickerContext: () => IDatePickerContext;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { DatePickerProps } from '../datePicker.component';
|
|
3
3
|
import { FocusedInput } from './datePicker.context';
|
|
4
4
|
type DatePickerProviderProps = DatePickerProps & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { DateProps } from './datePicker.types';
|
|
3
3
|
import { TextInputProps } from '../TextInput/textInput.component';
|
|
4
4
|
import { Placement } from '../../shared/types/placement';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { DateTimePickerDefaultOptionValue } from '../../dateTimePicker.types';
|
|
3
3
|
interface DateTimePickerQuickOptionsProps {
|
|
4
4
|
/** The currently selected quick option. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { FocusedInput } from '../../../DatePicker/context/datePicker.context';
|
|
3
3
|
interface DateTimePickerRangeSelectorProps {
|
|
4
4
|
/** Label for the range selector. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { CalendarView } from './dateTimePicker.types';
|
|
3
3
|
import { DateProps } from '../DatePicker/datePicker.types';
|
|
4
4
|
import { Placement } from '../../shared/types/placement';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { ConditionalValue } from '@chakra-ui/react/styled-system';
|
|
3
3
|
import { HeadingProps as CHeadingProps } from '@chakra-ui/react/heading';
|
|
4
4
|
import { HeadingSize } from './heading.types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { IconName, IconSize } from './icon.types';
|
|
3
3
|
import { BoxProps } from '@chakra-ui/react/box';
|
|
4
4
|
import { TypographyVariant } from '../../shared/types/typography';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { LinkProps as CLinkProps } from '@chakra-ui/react/link';
|
|
3
3
|
import { TypographyVariant } from '../../shared/types';
|
|
4
4
|
import { TextSize } from '../Text/text.types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { AlertProps } from '../Alert/alert.component';
|
|
3
3
|
export interface MaintenanceBannerProps extends Omit<AlertProps, 'title' | 'description' | 'status' | 'hideCloseButton' | 'children'> {
|
|
4
4
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ButtonProps } from '../../../Button/button.component';
|
|
2
2
|
import { TextProps } from '../../../Text/text.component';
|
|
3
3
|
import { TooltipProps } from '../../../Tooltip/tooltip.component';
|
|
4
|
-
import { default as React } from '
|
|
4
|
+
import { default as React } from 'react';
|
|
5
5
|
export interface MenuButtonProps extends Omit<ButtonProps, 'children'> {
|
|
6
6
|
/** If true, the caret will be hidden.
|
|
7
7
|
* @default false
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Menu as CMenu } from '@chakra-ui/react/menu';
|
|
2
|
-
import { default as React } from '
|
|
2
|
+
import { default as React } from 'react';
|
|
3
3
|
import { MenuItemType } from './menuItem.types';
|
|
4
4
|
import { MenuProps } from '../..';
|
|
5
5
|
import { TypographyVariant } from '../../../../shared/types/typography';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { Menu as CMenu } from '@chakra-ui/react/menu';
|
|
3
3
|
import { MenuButtonProps } from './components/MenuButton/menuButton.component';
|
|
4
4
|
import { MenuListOnOpenChangeProps } from './menu.types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { Dialog } from '@chakra-ui/react/dialog';
|
|
3
3
|
export interface ModalFooterProps extends Dialog.FooterProps {
|
|
4
4
|
/** Content to be rendered in the footer. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { Dialog } from '@chakra-ui/react/dialog';
|
|
3
3
|
import { ConditionalValue } from '@chakra-ui/react/styled-system';
|
|
4
4
|
import { ModalFooterProps } from './components/ModalFooter/modalFooter.component';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { FlexProps } from '@chakra-ui/react/flex';
|
|
3
3
|
import { NotificationCounterSize, NotificationCounterVariant } from './notificationCounter.types';
|
|
4
4
|
export interface NotificationCounterProps extends FlexProps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { WithFormControlProps } from '../../hocs/withFormControl/withFormControl';
|
|
3
3
|
import { NumberInputRootProps as CNumberInputRootProps, NumberInputValueChangeDetails } from '@chakra-ui/react/number-input';
|
|
4
4
|
import { FormControlSize } from '../../hocs/withFormControl/withFormControl.types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { ImageProps } from '@chakra-ui/react/image';
|
|
3
3
|
export interface PictureProps extends ImageProps {
|
|
4
4
|
/** A webp file source. If no webp source is provided, the src file will be used. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { PinInput as CPinInput } from '@chakra-ui/react/pin-input';
|
|
3
3
|
import { WithFormControlProps } from '../../hocs/withFormControl/withFormControl';
|
|
4
4
|
import { FormControlSize } from '../../shared/types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React, ReactNode } from '
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
2
|
import { FlexProps } from '@chakra-ui/react/flex';
|
|
3
3
|
import { PopoverTriggerType } from '../../popover.types';
|
|
4
4
|
export interface PopoverFooterProps extends FlexProps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React, ReactNode } from '
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
2
|
import { HeadingSize } from '../../../Heading';
|
|
3
3
|
import { FlexProps } from '@chakra-ui/react/flex';
|
|
4
4
|
import { PopoverTriggerType } from '../../popover.types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { Popover as CPopover } from '@chakra-ui/react/popover';
|
|
3
3
|
import { HoverCard } from '@chakra-ui/react/hover-card';
|
|
4
4
|
import { Placement } from '../../shared/types/placement';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Progress as CProgress, ProgressRangeProps } from '@chakra-ui/react/progress';
|
|
2
|
-
import { default as React } from '
|
|
2
|
+
import { default as React } from 'react';
|
|
3
3
|
import { ProgressVariant } from './progress.types';
|
|
4
4
|
export interface ProgressProps extends Omit<CProgress.RootProps, 'variant'> {
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { RadioGroup } from '@chakra-ui/react/radio-group';
|
|
3
3
|
import { FormControlSize } from '../../../../hocs/withFormControl/withFormControl.types';
|
|
4
4
|
import { WithFormControlProps } from '../../../../hocs/withFormControl/withFormControl';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { WithFormControlProps } from '../../hocs/withFormControl/withFormControl';
|
|
3
3
|
import { RadioProps } from './components/Radio/radio.component';
|
|
4
4
|
import { RadioGroup as CRadioGroup } from '@chakra-ui/react/radio-group';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { RatingGroup } from '@chakra-ui/react/rating-group';
|
|
3
3
|
import { WithFormControlProps } from '../../hocs/withFormControl/withFormControl';
|
|
4
4
|
import { IconName } from '../Icon';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { WithFormControlProps } from '../../hocs/withFormControl/withFormControl';
|
|
3
3
|
export interface RatingDotsProps extends WithFormControlProps {
|
|
4
4
|
/** Label to be displayed centered below the dots. */
|
package/dist/types/components/Select/components/SelectItemContent/selectItemContent.component.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { SelectOption } from '../../select.types';
|
|
3
3
|
import { FormControlSize } from '../../../../hocs/withFormControl/withFormControl.types';
|
|
4
4
|
interface SelectItemContentProps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { FormControlSize } from '../../../../hocs/withFormControl/withFormControl.types';
|
|
3
3
|
interface SelectTriggerProps {
|
|
4
4
|
/** Placeholder text to display in the trigger. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { Select as CSelect } from '@chakra-ui/react/select';
|
|
3
3
|
import { WithFormControlProps } from '../../hocs/withFormControl/withFormControl';
|
|
4
4
|
import { FormControlSize } from '../../hocs/withFormControl/withFormControl.types';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { ButtonProps } from '../../../Button/button.component';
|
|
3
3
|
export declare const SortableListDragHandle: ({ ["data-testid"]: dataTestId, ...rest }: ButtonProps) => React.JSX.Element;
|
package/dist/types/components/SortableList/components/SortableListItem/sortableListItem.context.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ interface Context {
|
|
|
4
4
|
listeners: DraggableSyntheticListeners;
|
|
5
5
|
ref(node: HTMLElement | null): void;
|
|
6
6
|
}
|
|
7
|
-
export declare const SortableItemContext: import('
|
|
7
|
+
export declare const SortableItemContext: import('react').Context<Context>;
|
|
8
8
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { List } from '@chakra-ui/react/list';
|
|
3
3
|
import { SortableListItemProps } from './components/SortableListItem/sortableListItem.component';
|
|
4
4
|
export interface SortableListProps extends Omit<List.RootProps, 'onChange'> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { AvatarProps } from '../Avatar/avatar.component';
|
|
3
3
|
import { StyledAvatarType } from './styledAvatar.types';
|
|
4
4
|
export interface StyledAvatarProps extends AvatarProps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { Switch as CSwitch } from '@chakra-ui/react/switch';
|
|
3
3
|
import { WithFormControlProps } from '../../hocs/withFormControl/withFormControl';
|
|
4
4
|
import { FormControlSize } from '../../hocs/withFormControl/withFormControl.types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { Tabs } from '@chakra-ui/react/tabs';
|
|
3
3
|
import { IconName } from '../../../Icon';
|
|
4
4
|
import { NotificationCounterProps } from '../../../NotificationCounter/notificationCounter.component';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { Tabs as CTabs } from '@chakra-ui/react/tabs';
|
|
3
3
|
import { TabSize } from './components/Tab/tab.types';
|
|
4
4
|
import { TabProps } from './components/Tab/tab.component';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { Tag as CTag } from '@chakra-ui/react/tag';
|
|
3
3
|
import { CloseButtonDisplay, TagSize } from './tag.types';
|
|
4
4
|
import { Status } from '../../shared/types/status';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { TextProps as CTextProps } from '@chakra-ui/react/text';
|
|
3
3
|
import { WithTruncationProps } from '../../hocs/withTruncation';
|
|
4
4
|
import { TextSize } from './text.types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { WithFormControlProps } from '../../hocs/withFormControl/withFormControl';
|
|
3
3
|
import { InputProps as CInputProps } from '@chakra-ui/react/input';
|
|
4
4
|
import { FormControlSize } from '../../hocs/withFormControl/withFormControl.types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { TextareaProps as CTextareaProps } from '@chakra-ui/react/textarea';
|
|
3
3
|
import { FormControlSize } from '../../hocs/withFormControl/withFormControl.types';
|
|
4
4
|
import { WithFormControlProps } from '../../hocs/withFormControl/withFormControl';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { TextInputProps } from '../TextInput/textInput.component';
|
|
3
3
|
import { Placement } from '../../shared/types/placement';
|
|
4
4
|
export interface TimePickerProps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { FlexProps } from '@chakra-ui/react/flex';
|
|
3
3
|
import { TimePickerProps } from '../TimePicker/timePicker.component';
|
|
4
4
|
export interface TimeRangeProps extends FlexProps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { TextProps } from '../Text/text.component';
|
|
3
3
|
export interface TimestampProps {
|
|
4
4
|
/** The date to be shown. If it's today, it'll only show the time not the full date */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { ButtonProps } from '../../../Button/button.component';
|
|
3
3
|
import { Status } from '../../../../shared/types/status';
|
|
4
4
|
export interface ToastActionProps extends Omit<ButtonProps, 'children'> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { IconProps } from '../Icon/icon.component';
|
|
3
3
|
import { Status } from '../../shared/types/status';
|
|
4
4
|
import { ToastActionProps } from './components/ToastAction/toastAction.component';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { HoverCard } from '@chakra-ui/react/hover-card';
|
|
3
3
|
import { Placement } from '../../shared/types/placement';
|
|
4
4
|
export interface TooltipProps extends Omit<HoverCard.RootProps, 'children'> {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
export declare const withDarkMode: (children: React.ReactNode) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { FormControlLabelPosition, FormControlSize } from './withFormControl.types';
|
|
3
3
|
import { SystemStyleObject } from '@chakra-ui/react/styled-system';
|
|
4
4
|
import { TypographyVariant } from '../../shared/types/typography';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
export declare const withLightMode: (children: React.ReactNode) => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface PortalContextType {
|
|
2
2
|
contentRef: React.RefObject<HTMLDivElement> | null;
|
|
3
3
|
}
|
|
4
|
-
export declare const PortalContext: import('
|
|
4
|
+
export declare const PortalContext: import('react').Context<PortalContextType | undefined>;
|
|
5
5
|
export declare const usePortalContentRef: () => PortalContextType;
|
|
6
6
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { ThemeProviderProps } from 'next-themes';
|
|
3
3
|
export type ColorModeProviderProps = ThemeProviderProps;
|
|
4
4
|
export declare const ColorModeProvider: (props: ColorModeProviderProps) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { ChakraProviderProps } from '@chakra-ui/react';
|
|
3
3
|
import { SystemContext } from '@chakra-ui/react/styled-system';
|
|
4
4
|
import { ColorModeProviderProps } from './colorMode.provider';
|