@tedi-design-system/react 14.2.0 → 14.3.0-rc.1
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/_virtual/index.es13.js +2 -2
- package/_virtual/index.es14.js +2 -2
- package/bundle-stats.html +1 -1
- package/external/react-is/index.cjs.js +1 -1
- package/external/react-is/index.es.js +1 -1
- package/external/toposort/index.cjs.js +1 -1
- package/external/toposort/index.es.js +1 -1
- package/index.css +1 -1
- package/package.json +5 -5
- package/src/community/components/accordion/accordion-item/accordion-item.d.ts +1 -1
- package/src/community/components/accordion/accordion.d.ts +1 -1
- package/src/community/components/anchor/anchor-helpers.d.ts +6 -9
- package/src/community/components/anchor/anchor.d.ts +1 -1
- package/src/community/components/button/button.d.ts +1 -1
- package/src/community/components/button-content/button-content.d.ts +1 -1
- package/src/community/components/card/card-content/card-content.d.ts +1 -1
- package/src/community/components/card/card-context.d.ts +2 -2
- package/src/community/components/card/card-header/card-header.d.ts +1 -1
- package/src/community/components/card/card.d.ts +1 -1
- package/src/community/components/collapse/collapse.d.ts +1 -1
- package/src/community/components/dropdown/dropdown.d.ts +1 -1
- package/src/community/components/ellipsis/ellipsis.d.ts +1 -1
- package/src/community/components/form/choice-group/choice-group-context.d.ts +1 -1
- package/src/community/components/form/choice-group/choice-group.d.ts +1 -1
- package/src/community/components/form/choice-group/components/choice-group-check/choice-group-check.d.ts +1 -1
- package/src/community/components/form/choice-group/components/choice-group-radio/choice-group-radio.d.ts +1 -1
- package/src/community/components/form/choice-group/components/filter-item/filter-item.d.ts +1 -1
- package/src/community/components/form/choice-group/components/light-item/light-item.d.ts +1 -1
- package/src/community/components/form/choice-group/components/selector-item/selector-item.d.ts +1 -1
- package/src/community/components/form/choice-input.types.d.ts +1 -1
- package/src/community/components/form/file-upload/examples/multiple-handled.d.ts +1 -1
- package/src/community/components/form/hidden-field/examples/hidden-select.d.ts +1 -1
- package/src/community/components/form/hidden-field/hidden-field.d.ts +1 -1
- package/src/community/components/form/pickers/calendar/calendar.d.ts +1 -1
- package/src/community/components/form/pickers/datetimepicker/datetimepicker.d.ts +1 -1
- package/src/community/components/form/pickers/mui-input-transition/mui-input-transition.d.ts +2 -2
- package/src/community/components/form/pickers/timepicker/timepicker.d.ts +1 -1
- package/src/community/components/form/select/examples/async.d.ts +1 -1
- package/src/community/components/form/select/examples/custom-option.d.ts +1 -1
- package/src/community/components/form/select/examples/editable.d.ts +1 -1
- package/src/community/components/form/select/examples/multiple-handled.d.ts +1 -1
- package/src/community/components/form/select/select.d.ts +1 -1
- package/src/community/components/form/text-editor/text-editor.d.ts +0 -1
- package/src/community/components/form/toggle/toggle.d.ts +1 -1
- package/src/community/components/icon/icon.d.ts +1 -1
- package/src/community/components/layout/breadcrumbs/breadcrumbs.d.ts +1 -1
- package/src/community/components/layout/breadcrumbs/crumb/crumb.d.ts +1 -1
- package/src/community/components/layout/footer/footer.d.ts +1 -1
- package/src/community/components/layout/header/components/header-bottom-content/header-bottom-content.d.ts +1 -1
- package/src/community/components/layout/header/components/header-dropdown/header-dropdown.d.ts +1 -1
- package/src/community/components/layout/header/components/header-language/header-language.d.ts +1 -1
- package/src/community/components/layout/header/components/header-modal/header-modal.d.ts +1 -1
- package/src/community/components/layout/header/components/header-notification/header-notification.d.ts +1 -1
- package/src/community/components/layout/header/components/header-role/header-role.d.ts +1 -1
- package/src/community/components/layout/header/components/header-settings/header-settings.d.ts +1 -1
- package/src/community/components/layout/header/components/logo/logo.d.ts +1 -1
- package/src/community/components/layout/header/header/header.d.ts +1 -1
- package/src/community/components/layout/layout/layout.d.ts +1 -1
- package/src/community/components/layout/layout-context.d.ts +1 -1
- package/src/community/components/layout/sidenav/sidenav.d.ts +1 -1
- package/src/community/components/map-components/carousel/carousel.d.ts +1 -1
- package/src/community/components/map-components/comparison/comparison.d.ts +1 -1
- package/src/community/components/map-components/map-accordion/map-accordion-item-header.d.ts +1 -1
- package/src/community/components/map-components/map-accordion/map-accordion-item.d.ts +1 -1
- package/src/community/components/map-components/map-accordion/map-accordion.d.ts +4 -4
- package/src/community/components/map-components/map-dropdown/map-dropdown.d.ts +1 -1
- package/src/community/components/map-components/map-info/map-info.d.ts +1 -1
- package/src/community/components/map-components/map-preview/map-preview.d.ts +1 -1
- package/src/community/components/map-components/right-panel/right-panel.d.ts +1 -1
- package/src/community/components/map-components/scale-bar/scale-bar.d.ts +1 -1
- package/src/community/components/map-components/timeline/timeline.d.ts +1 -1
- package/src/community/components/modal/modal-closer.d.ts +1 -1
- package/src/community/components/modal/modal-provider.d.ts +1 -1
- package/src/community/components/modal/modal.d.ts +1 -1
- package/src/community/components/placeholder/placeholder.d.ts +1 -1
- package/src/community/components/stepper/step.d.ts +1 -1
- package/src/community/components/stepper/stepper-context.d.ts +1 -1
- package/src/community/components/stepper/stepper.d.ts +1 -1
- package/src/community/components/table/components/customize-table-cell/customize-table-cell.d.ts +1 -1
- package/src/community/components/table/components/helpers.d.ts +1 -1
- package/src/community/components/table/components/table-filter/table-filter-context.d.ts +1 -1
- package/src/community/components/table/table-context.d.ts +1 -1
- package/src/community/components/table/table.types.d.ts +1 -1
- package/src/community/components/table-of-contents/table-of-contents-items.d.ts +1 -1
- package/src/community/components/table-of-contents/table-of-contents.d.ts +1 -1
- package/src/community/components/tabs/tabs/tabs.d.ts +1 -1
- package/src/community/components/tabs/tabs-context.d.ts +1 -1
- package/src/community/components/tabs/tabs-item/tabs-item.d.ts +1 -1
- package/src/community/components/tabs/tabs-nav/tabs-nav-item.d.ts +1 -1
- package/src/community/components/tag/tag.d.ts +1 -1
- package/src/community/components/tooltip/tooltip-provider.d.ts +1 -1
- package/src/community/components/tooltip/tooltip.d.ts +1 -1
- package/src/community/components/typography/text/text.d.ts +1 -1
- package/src/community/components/vertical-progress/vertical-progress-item.d.ts +1 -1
- package/src/community/components/vertical-progress/vertical-progress.d.ts +1 -1
- package/src/community/components/vertical-stepper/step-item/step-item.d.ts +1 -1
- package/src/community/helpers/polymorphic/types.d.ts +1 -4
- package/src/community/providers/style-provider/style-provider.d.ts +1 -2
- package/src/tedi/components/base/icon/icon.d.ts +1 -1
- package/src/tedi/components/base/typography/text/text.d.ts +2 -2
- package/src/tedi/components/buttons/button/button.d.ts +1 -1
- package/src/tedi/components/buttons/button-content/button-content.d.ts +1 -1
- package/src/tedi/components/buttons/closing-button/closing-button.d.ts +1 -2
- package/src/tedi/components/buttons/collapse/collapse.d.ts +1 -1
- package/src/tedi/components/buttons/info-button/info-button.d.ts +1 -1
- package/src/tedi/components/cards/card/card-content/card-content.d.ts +1 -1
- package/src/tedi/components/cards/card/card-context.d.ts +2 -2
- package/src/tedi/components/cards/card/card.d.ts +2 -2
- package/src/tedi/components/content/label/label.d.ts +1 -1
- package/src/tedi/components/content/section/section.d.ts +1 -1
- package/src/tedi/components/content/text-group/text-group.d.ts +1 -1
- package/src/tedi/components/content/truncate/truncate.d.ts +1 -1
- package/src/tedi/components/form/choice-group/choice-group-context.d.ts +1 -1
- package/src/tedi/components/form/choice-group/choice-group.d.ts +1 -1
- package/src/tedi/components/form/choice-group/components/choice-group-item/choice-group-item.d.ts +1 -1
- package/src/tedi/components/form/file-upload/examples/multiple-handled.d.ts +1 -1
- package/src/tedi/components/form/form-label/form-label.d.ts +1 -1
- package/src/tedi/components/form/number-field/number-field.d.ts +1 -1
- package/src/tedi/components/form/search/search.d.ts +1 -1
- package/src/tedi/components/form/select/examples/async.d.ts +1 -1
- package/src/tedi/components/form/select/examples/custom-option.d.ts +1 -1
- package/src/tedi/components/form/select/examples/editable.d.ts +1 -1
- package/src/tedi/components/form/select/examples/multiple-handled.d.ts +1 -1
- package/src/tedi/components/form/select/select.d.ts +1 -1
- package/src/tedi/components/form/textarea/textarea.d.ts +1 -1
- package/src/tedi/components/form/textfield/textfield.d.ts +1 -1
- package/src/tedi/components/layout/grid/col.d.ts +1 -1
- package/src/tedi/components/layout/grid/row-context.d.ts +1 -1
- package/src/tedi/components/layout/grid/row.d.ts +1 -1
- package/src/tedi/components/layout/sidenav/components/sidenav-dropdown/sidenav-dropdown.d.ts +1 -1
- package/src/tedi/components/layout/sidenav/components/sidenav-item/sidenav-item.d.ts +1 -1
- package/src/tedi/components/layout/sidenav/components/sidenav-mobile/sidenav-mobile.d.ts +1 -1
- package/src/tedi/components/layout/sidenav/components/sidenav-toggle/sidenav-toggle.d.ts +1 -1
- package/src/tedi/components/layout/sidenav/sidenav.d.ts +2 -2
- package/src/tedi/components/layout/vertical-spacing/vertical-spacing.d.ts +1 -1
- package/src/tedi/components/loaders/skeleton/skeleton-block/skeleton-block.d.ts +1 -1
- package/src/tedi/components/loaders/skeleton/skeleton.d.ts +2 -2
- package/src/tedi/components/misc/ellipsis/ellipsis.d.ts +1 -1
- package/src/tedi/components/misc/print/print.d.ts +1 -1
- package/src/tedi/components/misc/scroll-fade/scroll-fade.d.ts +1 -1
- package/src/tedi/components/misc/stretch-content/stretch-content.d.ts +1 -1
- package/src/tedi/components/navigation/link/link-helpers.d.ts +6 -9
- package/src/tedi/components/navigation/link/link.d.ts +1 -1
- package/src/tedi/components/notifications/alert/alert.d.ts +1 -1
- package/src/tedi/components/notifications/toast/toast.d.ts +0 -1
- package/src/tedi/components/overlays/overlay/overlay.d.ts +3 -3
- package/src/tedi/components/overlays/popover/popover.d.ts +2 -2
- package/src/tedi/components/overlays/tooltip/tooltip.d.ts +2 -2
- package/src/tedi/docs/colors/color-tokens.d.ts +1 -1
- package/src/tedi/helpers/hooks/use-file-upload.d.ts +1 -1
- package/src/tedi/helpers/hooks/use-sidenav-state.d.ts +12 -12
- package/src/tedi/helpers/polymorphic/types.d.ts +1 -4
- package/src/tedi/providers/accessibility-provider/accessibility-provider.d.ts +1 -1
- package/src/tedi/providers/label-provider/label-provider.d.ts +1 -3
- package/src/tedi/providers/label-provider/labels-map.d.ts +3 -3
- package/src/tedi/providers/storybook-provider/storybook-provider.d.ts +1 -1
- package/src/tedi/providers/style-provider/style-provider.d.ts +1 -2
- package/src/tedi/providers/theme-provider/theme-provider.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Table as TableType } from '@tanstack/table-core';
|
|
2
|
-
import React from 'react';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
3
|
import { DefaultTData, TableProps } from './table.types';
|
|
4
4
|
export interface ITableContext<TData extends DefaultTData<TData>> extends Pick<TableProps<TData>, 'id' | 'isLoading' | 'isError' | 'hideRowBorder' | 'caption' | 'placeholder' | 'errorPlaceholder' | 'renderSubComponent' | 'renderGroupHeading' | 'onRowClick' | 'size'> {
|
|
5
5
|
table: TableType<TData> | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ColumnDef, ColumnFiltersState, ColumnPinningState, ExpandedState, FilterFn, PaginationState, Row, RowData, RowSelectionState, SortingState, VisibilityState } from '@tanstack/react-table';
|
|
2
|
-
import React from 'react';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
3
|
import { IntentionalAny } from '../../types';
|
|
4
4
|
import { CardProps } from '../card';
|
|
5
5
|
import { ChoiceGroupItemProps } from '../form/choice-group';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { TableOfContentsProps } from './table-of-contents';
|
|
3
3
|
export declare const TableOfContentsItems: (props: TableOfContentsProps & {
|
|
4
4
|
setReturnFocus?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { AnchorProps } from '../../anchor/anchor';
|
|
3
3
|
import { TabsItemProps } from '../tabs-item/tabs-item';
|
|
4
4
|
export type TabsNavItemProps<C extends React.ElementType = 'a'> = AnchorProps<C> & Pick<TabsItemProps, 'id'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
export type TagColor = 'default' | 'primary' | 'accent' | 'positive' | 'warning' | 'important';
|
|
3
3
|
export type TagType = 'default' | 'secondary' | 'ghost' | 'invisible' | 'borderless';
|
|
4
4
|
export type TagSize = 'default' | 'large';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FloatingContext, FloatingFocusManager, OffsetOptions, Placement, ReferenceType, Strategy, UseRoleProps } from '@floating-ui/react';
|
|
2
|
-
import React from 'react';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
3
|
export type TooltipOpenWith = 'click' | 'hover';
|
|
4
4
|
export declare const ARROW_HEIGHT = 7;
|
|
5
5
|
export declare const ARROW_WIDTH = 14;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BreakpointSupport } from '../../../helpers';
|
|
2
|
-
import
|
|
2
|
+
import { HeadingLevel } from '../heading/heading';
|
|
3
3
|
export type HeadingModifiers = `h${HeadingLevel}`;
|
|
4
4
|
export type TextModifiers = HeadingModifiers | 'normal' | 'small' | 'bold' | 'thin' | 'italic' | 'center' | 'left' | 'right' | 'nowrap' | 'break-all' | 'break-word' | 'break-spaces' | 'uppercase' | 'lowercase' | 'capitalize' | 'capitalize-first' | 'inline-block' | 'inline' | 'line-normal' | 'line-condensed';
|
|
5
5
|
export type TextColor = 'default' | 'primary' | 'muted' | 'subtle' | 'disabled' | 'inverted' | 'positive' | 'important' | 'warning';
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file should contain only helpers that are used for developing components. They don't get exported separately from component library
|
|
3
|
-
*/
|
|
4
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
5
2
|
/**
|
|
6
3
|
* Types for polymorphic components
|
|
7
4
|
*/
|
|
@@ -58,4 +58,4 @@ export interface IconWithoutBackgroundProps extends IconSharedProps {
|
|
|
58
58
|
display?: 'block' | 'inline';
|
|
59
59
|
}
|
|
60
60
|
export type IconProps = IconSharedProps & (IconWithBackgroundProps | IconWithoutBackgroundProps);
|
|
61
|
-
export declare const Icon: import(
|
|
61
|
+
export declare const Icon: import('react').ForwardRefExoticComponent<IconProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BreakpointSupport } from '../../../../helpers';
|
|
2
|
-
import
|
|
2
|
+
import { HeadingLevel } from '../heading/heading';
|
|
3
3
|
export type HeadingModifiers = `h${HeadingLevel}`;
|
|
4
|
-
export type TextModifiers = HeadingModifiers | 'normal' | 'small' | 'bold' | 'thin' | 'italic' | 'center' | 'left' | 'right' | 'nowrap' | 'break-all' | 'break-word' | 'break-spaces' | 'uppercase' | 'lowercase' | 'capitalize' | 'capitalize-first' | 'inline-block' | 'inline' | 'line-normal' | 'line-condensed' | 'subtitle';
|
|
4
|
+
export type TextModifiers = HeadingModifiers | 'normal' | 'small' | 'extra-small' | 'bold' | 'thin' | 'italic' | 'center' | 'left' | 'right' | 'nowrap' | 'break-all' | 'break-word' | 'break-spaces' | 'uppercase' | 'lowercase' | 'capitalize' | 'capitalize-first' | 'inline-block' | 'inline' | 'line-normal' | 'line-condensed' | 'subtitle';
|
|
5
5
|
export type TextColor = 'primary' | 'secondary' | 'tertiary' | 'white' | 'disabled' | 'brand' | 'success' | 'warning' | 'danger' | 'info' | 'neutral';
|
|
6
6
|
export type TextElement = 'div' | 'p' | 'span' | 'li' | 'label' | HeadingModifiers;
|
|
7
7
|
type TextBreakpointProps = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { BreakpointSupport } from '../../../helpers';
|
|
3
3
|
import { ButtonContentProps } from '../button-content/button-content';
|
|
4
4
|
export type ButtonType = 'primary' | 'secondary' | 'neutral' | 'link';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { AllowedHTMLTags, PolymorphicComponentPropWithRef } from '../../../helpers/polymorphic/types';
|
|
3
3
|
import { UnknownType } from '../../../types/commonTypes';
|
|
4
4
|
import { IconWithoutBackgroundProps } from '../../base/icon/icon';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { MouseEventHandler } from 'react';
|
|
2
|
-
import { ButtonHTMLAttributes } from 'react';
|
|
1
|
+
import { MouseEventHandler, ButtonHTMLAttributes } from 'react';
|
|
3
2
|
type ClosingButtonSize = 'medium' | 'large';
|
|
4
3
|
export interface ClosingButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
5
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React,
|
|
1
|
+
import { default as React, CSSProperties } from 'react';
|
|
2
2
|
import { BreakpointSupport } from '../../../../helpers';
|
|
3
3
|
import { SharedCardProps } from '../card';
|
|
4
4
|
export interface CardContentProps extends BreakpointSupport<SharedCardProps> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CardContentProps } from './card-content/card-content';
|
|
3
3
|
type CardContext = Pick<CardContentProps, 'padding' | 'background'>;
|
|
4
4
|
export declare const CardContext: React.Context<CardContext>;
|
|
5
5
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React,
|
|
1
|
+
import { default as React, CSSProperties } from 'react';
|
|
2
2
|
import { BreakpointSupport } from '../../../helpers';
|
|
3
3
|
import { CardContentProps } from './card-content/card-content';
|
|
4
4
|
import { CardBackground, CardBorderType, CardContentPaddingNumber } from './utility';
|
|
@@ -80,6 +80,6 @@ export interface CardProps extends BreakpointSupport<CardBreakpointProps> {
|
|
|
80
80
|
export declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>> & {
|
|
81
81
|
Content: (props: CardContentProps) => JSX.Element;
|
|
82
82
|
Header: (props: CardContentProps) => JSX.Element;
|
|
83
|
-
Notification: (props: import(
|
|
83
|
+
Notification: (props: import('./card-notification/card-notification').CardNotificationProps) => JSX.Element;
|
|
84
84
|
};
|
|
85
85
|
export default Card;
|
|
@@ -32,5 +32,5 @@ export interface LabelProps extends BreakpointSupport<LabelBreakpointProps>, Lab
|
|
|
32
32
|
*/
|
|
33
33
|
tooltip?: string;
|
|
34
34
|
}
|
|
35
|
-
export declare const Label: import(
|
|
35
|
+
export declare const Label: import('react').ForwardRefExoticComponent<LabelProps & import('react').RefAttributes<HTMLSpanElement | HTMLLabelElement>>;
|
|
36
36
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { FeedbackTextProps } from '../../../../tedi/components/form/feedback-text/feedback-text';
|
|
3
3
|
import { FormLabelProps } from '../../../../tedi/components/form/form-label/form-label';
|
|
4
4
|
import { BreakpointSupport } from '../../../helpers';
|
|
@@ -40,5 +40,5 @@ export interface FormLabelProps {
|
|
|
40
40
|
*/
|
|
41
41
|
tooltip?: string;
|
|
42
42
|
}
|
|
43
|
-
export declare const FormLabel: import(
|
|
43
|
+
export declare const FormLabel: import('react').ForwardRefExoticComponent<FormLabelProps & import('react').RefAttributes<HTMLLabelElement>>;
|
|
44
44
|
export default FormLabel;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { IconWithoutBackgroundProps } from '../../base/icon/icon';
|
|
3
3
|
import { ButtonProps } from '../../buttons/button/button';
|
|
4
4
|
import { TextFieldForwardRef, TextFieldProps } from '../textfield/textfield';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { StoryFn } from '@storybook/react';
|
|
2
|
-
import Select,
|
|
2
|
+
import { default as Select, ISelectOption } from '../select';
|
|
3
3
|
export declare const colourOptions: ISelectOption[];
|
|
4
4
|
export declare const MultipleHandledTemplate: StoryFn<typeof Select>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { GroupBase, InputActionMeta, MenuListProps, OptionProps, OptionsOrGroups, SelectInstance } from 'react-select';
|
|
3
3
|
import { FeedbackTextProps } from '../../../../tedi/components/form/feedback-text/feedback-text';
|
|
4
4
|
import { FormLabelProps } from '../../../../tedi/components/form/form-label/form-label';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
export type NumberAttr = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
3
3
|
export type ColOrderNumber = number | '1' | '2' | '3' | '4' | '5';
|
|
4
4
|
export type ColOrder = ColOrderNumber | 'first' | 'last';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { AllowedHTMLTags } from '../../../helpers/polymorphic/types';
|
|
3
3
|
import { UnknownType } from '../../../types/commonTypes';
|
|
4
4
|
import { SideNavItemProps } from './components/sidenav-item/sidenav-item';
|
|
@@ -80,7 +80,7 @@ export type SideNavProps<C extends React.ElementType = 'a'> = ConditionalTypes<C
|
|
|
80
80
|
sideNavItemSize?: SideNavItemSize;
|
|
81
81
|
};
|
|
82
82
|
export declare const SideNav: (<C extends React.ElementType = "a">(props: SideNavProps<C>) => React.ReactElement | null) & {
|
|
83
|
-
Toggle: ({ menuOpen, toggleMenu, referenceRef, getReferenceProps, variant, }: import(
|
|
83
|
+
Toggle: ({ menuOpen, toggleMenu, referenceRef, getReferenceProps, variant, }: import('./components/sidenav-toggle/sidenav-toggle').SidenavToggleProps) => import("react/jsx-runtime").JSX.Element;
|
|
84
84
|
Item: <C extends React.ElementType = "a">(props: SideNavItemProps<C> & {
|
|
85
85
|
onItemClick?: () => void;
|
|
86
86
|
level?: number;
|
|
@@ -25,6 +25,6 @@ export interface VerticalSpacingProps extends BreakpointSupport<VerticalSpacingB
|
|
|
25
25
|
}
|
|
26
26
|
export declare const VerticalSpacing: {
|
|
27
27
|
(props: VerticalSpacingProps): JSX.Element;
|
|
28
|
-
Item: (props: import(
|
|
28
|
+
Item: (props: import('./vertical-spacing-item').VerticalSpacingItemProps) => JSX.Element;
|
|
29
29
|
};
|
|
30
30
|
export default VerticalSpacing;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
export interface SkeletonProps {
|
|
3
3
|
/**
|
|
4
4
|
* The content to be rendered inside the skeleton placeholder.
|
|
@@ -31,6 +31,6 @@ export interface SkeletonProps {
|
|
|
31
31
|
}
|
|
32
32
|
export declare const Skeleton: {
|
|
33
33
|
(props: SkeletonProps): JSX.Element;
|
|
34
|
-
Block: (props: import(
|
|
34
|
+
Block: (props: import('./skeleton-block/skeleton-block').SkeletonBlockProps) => import("react/jsx-runtime").JSX.Element;
|
|
35
35
|
};
|
|
36
36
|
export default Skeleton;
|
|
@@ -31,5 +31,5 @@ export interface ScrollFadeProps {
|
|
|
31
31
|
*/
|
|
32
32
|
onScrollToBottom?: () => void;
|
|
33
33
|
}
|
|
34
|
-
export declare const ScrollFade: import(
|
|
34
|
+
export declare const ScrollFade: import('react').ForwardRefExoticComponent<ScrollFadeProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
35
35
|
export default ScrollFade;
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
import Link from 'next/link';
|
|
5
|
-
import React from 'react';
|
|
1
|
+
import { default as Link } from 'next/link';
|
|
2
|
+
import { default as React } from 'react';
|
|
6
3
|
import { LinkProps } from './link';
|
|
7
4
|
declare const LinkBehaviour: React.ForwardRefExoticComponent<Omit<Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, keyof {
|
|
8
|
-
href: string | import(
|
|
9
|
-
as?: string | import(
|
|
5
|
+
href: string | import('url').UrlObject;
|
|
6
|
+
as?: string | import('url').UrlObject;
|
|
10
7
|
replace?: boolean;
|
|
11
8
|
scroll?: boolean;
|
|
12
9
|
shallow?: boolean;
|
|
@@ -18,8 +15,8 @@ declare const LinkBehaviour: React.ForwardRefExoticComponent<Omit<Omit<React.Anc
|
|
|
18
15
|
onTouchStart?: React.TouchEventHandler<HTMLAnchorElement>;
|
|
19
16
|
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
20
17
|
}> & {
|
|
21
|
-
href: string | import(
|
|
22
|
-
as?: string | import(
|
|
18
|
+
href: string | import('url').UrlObject;
|
|
19
|
+
as?: string | import('url').UrlObject;
|
|
23
20
|
replace?: boolean;
|
|
24
21
|
scroll?: boolean;
|
|
25
22
|
shallow?: boolean;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ToastContainer, ToastOptions } from 'react-toastify';
|
|
2
2
|
import { AlertProps } from '../alert/alert';
|
|
3
|
-
import 'react-toastify/dist/ReactToastify.css';
|
|
4
3
|
export declare const sendNotification: (props: AlertProps, toastOptions?: ToastOptions) => void;
|
|
5
4
|
export { ToastContainer };
|
|
@@ -89,10 +89,10 @@ export interface OverlayContextType {
|
|
|
89
89
|
context: FloatingContext<ReferenceType>;
|
|
90
90
|
scrollLock?: boolean;
|
|
91
91
|
}
|
|
92
|
-
export declare const OverlayContext: import(
|
|
92
|
+
export declare const OverlayContext: import('react').Context<OverlayContextType>;
|
|
93
93
|
export declare const Overlay: {
|
|
94
94
|
(props: OverlayProps): import("react/jsx-runtime").JSX.Element;
|
|
95
|
-
Trigger: (props: import(
|
|
96
|
-
Content: (props: import(
|
|
95
|
+
Trigger: (props: import('./overlay-trigger').OverlayTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
96
|
+
Content: (props: import('./overlay-content').OverlayContentProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
97
97
|
};
|
|
98
98
|
export default Overlay;
|
|
@@ -14,7 +14,7 @@ export interface PopoverProps extends Omit<OverlayProps, 'arrowDimensions' | 'op
|
|
|
14
14
|
}
|
|
15
15
|
export declare const Popover: {
|
|
16
16
|
(props: PopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
Trigger: (props: import(
|
|
18
|
-
Content: (props: import(
|
|
17
|
+
Trigger: (props: import('../overlay/overlay-trigger').OverlayTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
Content: (props: import('./popover-content').PopoverContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
};
|
|
20
20
|
export default Popover;
|
|
@@ -14,7 +14,7 @@ export interface TooltipProps extends Omit<OverlayProps, 'arrowDimensions' | 'op
|
|
|
14
14
|
}
|
|
15
15
|
export declare const Tooltip: {
|
|
16
16
|
(props: TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
Trigger: (props: import(
|
|
18
|
-
Content: (props: import(
|
|
17
|
+
Trigger: (props: import('../overlay/overlay-trigger').OverlayTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
Content: (props: import('./tooltip-content').TooltipContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
};
|
|
20
20
|
export default Tooltip;
|