@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.
Files changed (158) hide show
  1. package/_virtual/index.es13.js +2 -2
  2. package/_virtual/index.es14.js +2 -2
  3. package/bundle-stats.html +1 -1
  4. package/external/react-is/index.cjs.js +1 -1
  5. package/external/react-is/index.es.js +1 -1
  6. package/external/toposort/index.cjs.js +1 -1
  7. package/external/toposort/index.es.js +1 -1
  8. package/index.css +1 -1
  9. package/package.json +5 -5
  10. package/src/community/components/accordion/accordion-item/accordion-item.d.ts +1 -1
  11. package/src/community/components/accordion/accordion.d.ts +1 -1
  12. package/src/community/components/anchor/anchor-helpers.d.ts +6 -9
  13. package/src/community/components/anchor/anchor.d.ts +1 -1
  14. package/src/community/components/button/button.d.ts +1 -1
  15. package/src/community/components/button-content/button-content.d.ts +1 -1
  16. package/src/community/components/card/card-content/card-content.d.ts +1 -1
  17. package/src/community/components/card/card-context.d.ts +2 -2
  18. package/src/community/components/card/card-header/card-header.d.ts +1 -1
  19. package/src/community/components/card/card.d.ts +1 -1
  20. package/src/community/components/collapse/collapse.d.ts +1 -1
  21. package/src/community/components/dropdown/dropdown.d.ts +1 -1
  22. package/src/community/components/ellipsis/ellipsis.d.ts +1 -1
  23. package/src/community/components/form/choice-group/choice-group-context.d.ts +1 -1
  24. package/src/community/components/form/choice-group/choice-group.d.ts +1 -1
  25. package/src/community/components/form/choice-group/components/choice-group-check/choice-group-check.d.ts +1 -1
  26. package/src/community/components/form/choice-group/components/choice-group-radio/choice-group-radio.d.ts +1 -1
  27. package/src/community/components/form/choice-group/components/filter-item/filter-item.d.ts +1 -1
  28. package/src/community/components/form/choice-group/components/light-item/light-item.d.ts +1 -1
  29. package/src/community/components/form/choice-group/components/selector-item/selector-item.d.ts +1 -1
  30. package/src/community/components/form/choice-input.types.d.ts +1 -1
  31. package/src/community/components/form/file-upload/examples/multiple-handled.d.ts +1 -1
  32. package/src/community/components/form/hidden-field/examples/hidden-select.d.ts +1 -1
  33. package/src/community/components/form/hidden-field/hidden-field.d.ts +1 -1
  34. package/src/community/components/form/pickers/calendar/calendar.d.ts +1 -1
  35. package/src/community/components/form/pickers/datetimepicker/datetimepicker.d.ts +1 -1
  36. package/src/community/components/form/pickers/mui-input-transition/mui-input-transition.d.ts +2 -2
  37. package/src/community/components/form/pickers/timepicker/timepicker.d.ts +1 -1
  38. package/src/community/components/form/select/examples/async.d.ts +1 -1
  39. package/src/community/components/form/select/examples/custom-option.d.ts +1 -1
  40. package/src/community/components/form/select/examples/editable.d.ts +1 -1
  41. package/src/community/components/form/select/examples/multiple-handled.d.ts +1 -1
  42. package/src/community/components/form/select/select.d.ts +1 -1
  43. package/src/community/components/form/text-editor/text-editor.d.ts +0 -1
  44. package/src/community/components/form/toggle/toggle.d.ts +1 -1
  45. package/src/community/components/icon/icon.d.ts +1 -1
  46. package/src/community/components/layout/breadcrumbs/breadcrumbs.d.ts +1 -1
  47. package/src/community/components/layout/breadcrumbs/crumb/crumb.d.ts +1 -1
  48. package/src/community/components/layout/footer/footer.d.ts +1 -1
  49. package/src/community/components/layout/header/components/header-bottom-content/header-bottom-content.d.ts +1 -1
  50. package/src/community/components/layout/header/components/header-dropdown/header-dropdown.d.ts +1 -1
  51. package/src/community/components/layout/header/components/header-language/header-language.d.ts +1 -1
  52. package/src/community/components/layout/header/components/header-modal/header-modal.d.ts +1 -1
  53. package/src/community/components/layout/header/components/header-notification/header-notification.d.ts +1 -1
  54. package/src/community/components/layout/header/components/header-role/header-role.d.ts +1 -1
  55. package/src/community/components/layout/header/components/header-settings/header-settings.d.ts +1 -1
  56. package/src/community/components/layout/header/components/logo/logo.d.ts +1 -1
  57. package/src/community/components/layout/header/header/header.d.ts +1 -1
  58. package/src/community/components/layout/layout/layout.d.ts +1 -1
  59. package/src/community/components/layout/layout-context.d.ts +1 -1
  60. package/src/community/components/layout/sidenav/sidenav.d.ts +1 -1
  61. package/src/community/components/map-components/carousel/carousel.d.ts +1 -1
  62. package/src/community/components/map-components/comparison/comparison.d.ts +1 -1
  63. package/src/community/components/map-components/map-accordion/map-accordion-item-header.d.ts +1 -1
  64. package/src/community/components/map-components/map-accordion/map-accordion-item.d.ts +1 -1
  65. package/src/community/components/map-components/map-accordion/map-accordion.d.ts +4 -4
  66. package/src/community/components/map-components/map-dropdown/map-dropdown.d.ts +1 -1
  67. package/src/community/components/map-components/map-info/map-info.d.ts +1 -1
  68. package/src/community/components/map-components/map-preview/map-preview.d.ts +1 -1
  69. package/src/community/components/map-components/right-panel/right-panel.d.ts +1 -1
  70. package/src/community/components/map-components/scale-bar/scale-bar.d.ts +1 -1
  71. package/src/community/components/map-components/timeline/timeline.d.ts +1 -1
  72. package/src/community/components/modal/modal-closer.d.ts +1 -1
  73. package/src/community/components/modal/modal-provider.d.ts +1 -1
  74. package/src/community/components/modal/modal.d.ts +1 -1
  75. package/src/community/components/placeholder/placeholder.d.ts +1 -1
  76. package/src/community/components/stepper/step.d.ts +1 -1
  77. package/src/community/components/stepper/stepper-context.d.ts +1 -1
  78. package/src/community/components/stepper/stepper.d.ts +1 -1
  79. package/src/community/components/table/components/customize-table-cell/customize-table-cell.d.ts +1 -1
  80. package/src/community/components/table/components/helpers.d.ts +1 -1
  81. package/src/community/components/table/components/table-filter/table-filter-context.d.ts +1 -1
  82. package/src/community/components/table/table-context.d.ts +1 -1
  83. package/src/community/components/table/table.types.d.ts +1 -1
  84. package/src/community/components/table-of-contents/table-of-contents-items.d.ts +1 -1
  85. package/src/community/components/table-of-contents/table-of-contents.d.ts +1 -1
  86. package/src/community/components/tabs/tabs/tabs.d.ts +1 -1
  87. package/src/community/components/tabs/tabs-context.d.ts +1 -1
  88. package/src/community/components/tabs/tabs-item/tabs-item.d.ts +1 -1
  89. package/src/community/components/tabs/tabs-nav/tabs-nav-item.d.ts +1 -1
  90. package/src/community/components/tag/tag.d.ts +1 -1
  91. package/src/community/components/tooltip/tooltip-provider.d.ts +1 -1
  92. package/src/community/components/tooltip/tooltip.d.ts +1 -1
  93. package/src/community/components/typography/text/text.d.ts +1 -1
  94. package/src/community/components/vertical-progress/vertical-progress-item.d.ts +1 -1
  95. package/src/community/components/vertical-progress/vertical-progress.d.ts +1 -1
  96. package/src/community/components/vertical-stepper/step-item/step-item.d.ts +1 -1
  97. package/src/community/helpers/polymorphic/types.d.ts +1 -4
  98. package/src/community/providers/style-provider/style-provider.d.ts +1 -2
  99. package/src/tedi/components/base/icon/icon.d.ts +1 -1
  100. package/src/tedi/components/base/typography/text/text.d.ts +2 -2
  101. package/src/tedi/components/buttons/button/button.d.ts +1 -1
  102. package/src/tedi/components/buttons/button-content/button-content.d.ts +1 -1
  103. package/src/tedi/components/buttons/closing-button/closing-button.d.ts +1 -2
  104. package/src/tedi/components/buttons/collapse/collapse.d.ts +1 -1
  105. package/src/tedi/components/buttons/info-button/info-button.d.ts +1 -1
  106. package/src/tedi/components/cards/card/card-content/card-content.d.ts +1 -1
  107. package/src/tedi/components/cards/card/card-context.d.ts +2 -2
  108. package/src/tedi/components/cards/card/card.d.ts +2 -2
  109. package/src/tedi/components/content/label/label.d.ts +1 -1
  110. package/src/tedi/components/content/section/section.d.ts +1 -1
  111. package/src/tedi/components/content/text-group/text-group.d.ts +1 -1
  112. package/src/tedi/components/content/truncate/truncate.d.ts +1 -1
  113. package/src/tedi/components/form/choice-group/choice-group-context.d.ts +1 -1
  114. package/src/tedi/components/form/choice-group/choice-group.d.ts +1 -1
  115. package/src/tedi/components/form/choice-group/components/choice-group-item/choice-group-item.d.ts +1 -1
  116. package/src/tedi/components/form/file-upload/examples/multiple-handled.d.ts +1 -1
  117. package/src/tedi/components/form/form-label/form-label.d.ts +1 -1
  118. package/src/tedi/components/form/number-field/number-field.d.ts +1 -1
  119. package/src/tedi/components/form/search/search.d.ts +1 -1
  120. package/src/tedi/components/form/select/examples/async.d.ts +1 -1
  121. package/src/tedi/components/form/select/examples/custom-option.d.ts +1 -1
  122. package/src/tedi/components/form/select/examples/editable.d.ts +1 -1
  123. package/src/tedi/components/form/select/examples/multiple-handled.d.ts +1 -1
  124. package/src/tedi/components/form/select/select.d.ts +1 -1
  125. package/src/tedi/components/form/textarea/textarea.d.ts +1 -1
  126. package/src/tedi/components/form/textfield/textfield.d.ts +1 -1
  127. package/src/tedi/components/layout/grid/col.d.ts +1 -1
  128. package/src/tedi/components/layout/grid/row-context.d.ts +1 -1
  129. package/src/tedi/components/layout/grid/row.d.ts +1 -1
  130. package/src/tedi/components/layout/sidenav/components/sidenav-dropdown/sidenav-dropdown.d.ts +1 -1
  131. package/src/tedi/components/layout/sidenav/components/sidenav-item/sidenav-item.d.ts +1 -1
  132. package/src/tedi/components/layout/sidenav/components/sidenav-mobile/sidenav-mobile.d.ts +1 -1
  133. package/src/tedi/components/layout/sidenav/components/sidenav-toggle/sidenav-toggle.d.ts +1 -1
  134. package/src/tedi/components/layout/sidenav/sidenav.d.ts +2 -2
  135. package/src/tedi/components/layout/vertical-spacing/vertical-spacing.d.ts +1 -1
  136. package/src/tedi/components/loaders/skeleton/skeleton-block/skeleton-block.d.ts +1 -1
  137. package/src/tedi/components/loaders/skeleton/skeleton.d.ts +2 -2
  138. package/src/tedi/components/misc/ellipsis/ellipsis.d.ts +1 -1
  139. package/src/tedi/components/misc/print/print.d.ts +1 -1
  140. package/src/tedi/components/misc/scroll-fade/scroll-fade.d.ts +1 -1
  141. package/src/tedi/components/misc/stretch-content/stretch-content.d.ts +1 -1
  142. package/src/tedi/components/navigation/link/link-helpers.d.ts +6 -9
  143. package/src/tedi/components/navigation/link/link.d.ts +1 -1
  144. package/src/tedi/components/notifications/alert/alert.d.ts +1 -1
  145. package/src/tedi/components/notifications/toast/toast.d.ts +0 -1
  146. package/src/tedi/components/overlays/overlay/overlay.d.ts +3 -3
  147. package/src/tedi/components/overlays/popover/popover.d.ts +2 -2
  148. package/src/tedi/components/overlays/tooltip/tooltip.d.ts +2 -2
  149. package/src/tedi/docs/colors/color-tokens.d.ts +1 -1
  150. package/src/tedi/helpers/hooks/use-file-upload.d.ts +1 -1
  151. package/src/tedi/helpers/hooks/use-sidenav-state.d.ts +12 -12
  152. package/src/tedi/helpers/polymorphic/types.d.ts +1 -4
  153. package/src/tedi/providers/accessibility-provider/accessibility-provider.d.ts +1 -1
  154. package/src/tedi/providers/label-provider/label-provider.d.ts +1 -3
  155. package/src/tedi/providers/label-provider/labels-map.d.ts +3 -3
  156. package/src/tedi/providers/storybook-provider/storybook-provider.d.ts +1 -1
  157. package/src/tedi/providers/style-provider/style-provider.d.ts +1 -2
  158. package/src/tedi/providers/theme-provider/theme-provider.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  import { Column, Row } from '@tanstack/react-table';
2
- import React from 'react';
2
+ import { default as React } from 'react';
3
3
  import { DefaultTData } from '../../table.types';
4
4
  export interface DateRangeFilterValues {
5
5
  from: string | null;
@@ -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 { Layouts } from '../../helpers';
3
3
  import { ModalProps, ModalProviderProps } from '../modal';
4
4
  import { TableOfContentsItemProps } from './table-of-contents-item';
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { PrintProps } from '../../../../tedi/components/misc/print/print';
3
3
  export interface TabsProps {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  interface ITabsContext {
3
3
  currentTab: string;
4
4
  setCurrentTab: (id: string) => void;
@@ -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 { CardContentProps } from '../../card';
4
4
  type TabsItemBreakpointProps = Pick<CardContentProps, 'padding' | 'background'>;
@@ -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,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { CardProps } from '../card';
3
3
  export interface TooltipProps {
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { BreakpointSupport } from '../../../helpers';
2
- import type { HeadingLevel } from '../heading/heading';
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,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export interface VerticalProgressItemProps {
3
3
  /**
4
4
  * The index of the item. Index is used to pass to onItemOpen callback
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export interface VerticalProgressProps {
3
3
  /**
4
4
  * VerticalProgress children (VerticalProgressItem)
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export interface StepItemProps {
3
3
  /**
4
4
  * SubItems
@@ -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
  */
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
- import '../../styles/index.scss';
1
+ import { default as React } from 'react';
3
2
  export interface StyleProviderProps {
4
3
  children: React.ReactNode;
5
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("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<HTMLDivElement>>;
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 type { HeadingLevel } from '../heading/heading';
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 from 'react';
1
+ import { default as React } from 'react';
2
2
  import { BreakpointSupport } from '../../../helpers';
3
3
  import { RowProps } from '../../layout/grid';
4
4
  type CollapseBreakpointProps = {
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { ButtonProps } from '../button/button';
3
3
  export interface InfoButtonProps extends Omit<ButtonProps, 'size'> {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import React, { CSSProperties } from '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 type { CardContentProps } from './card-content/card-content';
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, { CSSProperties } from '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("./card-notification/card-notification").CardNotificationProps) => JSX.Element;
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("react").ForwardRefExoticComponent<LabelProps & import("react").RefAttributes<HTMLSpanElement | HTMLLabelElement>>;
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
  export interface SectionProps {
3
3
  /**
4
4
  * Section content
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { BreakpointSupport } from '../../../helpers';
3
3
  type TextGroupType = 'vertical' | 'horizontal';
4
4
  type TextGroupBreakpointProps = {
@@ -1,4 +1,4 @@
1
- import React, { ReactNode } from 'react';
1
+ import { default as React, ReactNode } from 'react';
2
2
  import { BreakpointSupport } from '../../../helpers';
3
3
  import { ButtonProps } from '../../buttons/button/button';
4
4
  type TruncateBreakpointProps = {
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { ChoiceGroupItemType, ChoiceGroupValue } from './choice-group.types';
3
3
  export interface IChoiceGroupContext {
4
4
  name: string;
@@ -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';
@@ -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 { ColProps, Direction } from '../../../../layout/grid';
4
4
  import { ChoiceInputProps } from '../../../choice-input.types';
@@ -1,3 +1,3 @@
1
1
  import { StoryFn } from '@storybook/react';
2
- import FileUpload from '../file-upload';
2
+ import { default as FileUpload } from '../file-upload';
3
3
  export declare const MultipleHandledTemplate: StoryFn<typeof FileUpload>;
@@ -40,5 +40,5 @@ export interface FormLabelProps {
40
40
  */
41
41
  tooltip?: string;
42
42
  }
43
- export declare const FormLabel: import("react").ForwardRefExoticComponent<FormLabelProps & import("react").RefAttributes<HTMLLabelElement>>;
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 { BreakpointSupport } from '../../../helpers';
3
3
  import { FeedbackTextProps } from '../feedback-text/feedback-text';
4
4
  import { FormLabelProps } from '../form-label/form-label';
@@ -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,3 +1,3 @@
1
1
  import { StoryFn } from '@storybook/react';
2
- import Select from '../select';
2
+ import { default as Select } from '../select';
3
3
  export declare const AsyncSelectTemplate: StoryFn<typeof Select>;
@@ -1,3 +1,3 @@
1
1
  import { StoryFn } from '@storybook/react';
2
- import Select from '../select';
2
+ import { default as Select } from '../select';
3
3
  export declare const CustomOptionSelectTemplate: StoryFn<typeof Select>;
@@ -1,3 +1,3 @@
1
1
  import { StoryFn } from '@storybook/react';
2
- import Select from '../select';
2
+ import { default as Select } from '../select';
3
3
  export declare const EditableSelectTemplate: StoryFn<typeof Select>;
@@ -1,4 +1,4 @@
1
1
  import { StoryFn } from '@storybook/react';
2
- import Select, { ISelectOption } from '../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
  import { TextFieldForwardRef, TextFieldProps } from '../textfield/textfield';
3
3
  export interface TextAreaProps extends TextFieldProps {
4
4
  /**
@@ -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 { IconWithoutBackgroundProps } from '../../base/icon/icon';
4
4
  import { FeedbackTextProps } from '../feedback-text/feedback-text';
@@ -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 { RowElement } from './row';
3
3
  interface IRowContext {
4
4
  element: RowElement;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { ColProps } from './col';
3
3
  export type Cols = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 'auto';
4
4
  export type Spacer = 0 | 1 | 2 | 3 | 4 | 5;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { SideNavItemProps } from '../sidenav-item/sidenav-item';
3
3
  type SideNavDropdownProps<C extends React.ElementType = 'a'> = {
4
4
  trigger: React.ReactNode;
@@ -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 { LinkProps } from '../../../../navigation/link/link';
4
4
  import { SideNavItemSize } from '../../sidenav';
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { SideNavItemProps } from '../sidenav-item/sidenav-item';
3
3
  type SideNavMobileProps<C extends React.ElementType = 'a'> = {
4
4
  navItems: SideNavItemProps<C>[];
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { UnknownType } from '../../../../../../tedi/types/commonTypes';
3
3
  export type SidenavToggleVariant = 'mobile' | 'collapse';
4
4
  export type SidenavToggleProps = {
@@ -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("./components/sidenav-toggle/sidenav-toggle").SidenavToggleProps) => import("react/jsx-runtime").JSX.Element;
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("./vertical-spacing-item").VerticalSpacingItemProps) => JSX.Element;
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
  import { BreakpointSupport } from '../../../../helpers';
3
3
  type SkeletonBlockBreakpointProps = {
4
4
  /**
@@ -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("./skeleton-block/skeleton-block").SkeletonBlockProps) => import("react/jsx-runtime").JSX.Element;
34
+ Block: (props: import('./skeleton-block/skeleton-block').SkeletonBlockProps) => import("react/jsx-runtime").JSX.Element;
35
35
  };
36
36
  export default Skeleton;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export interface EllipsisProps {
3
3
  /**
4
4
  * The content to be displayed inside the ellipsis container.
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export type BreakTypes = 'auto' | 'avoid' | 'avoid-column' | 'avoid-page' | 'avoid-region';
3
3
  export interface PrintProps {
4
4
  /**
@@ -31,5 +31,5 @@ export interface ScrollFadeProps {
31
31
  */
32
32
  onScrollToBottom?: () => void;
33
33
  }
34
- export declare const ScrollFade: import("react").ForwardRefExoticComponent<ScrollFadeProps & import("react").RefAttributes<HTMLDivElement>>;
34
+ export declare const ScrollFade: import('react').ForwardRefExoticComponent<ScrollFadeProps & import('react').RefAttributes<HTMLDivElement>>;
35
35
  export default ScrollFade;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { BreakpointSupport } from '../../../helpers';
3
3
  type StretchContentDirection = 'both' | 'horizontal' | 'vertical';
4
4
  interface StretchContentBreakpointProps {
@@ -1,12 +1,9 @@
1
- /**
2
- * This file contains only Anchor helper components that are shared between different stories. These are not exported in the component library
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("url").UrlObject;
9
- as?: string | import("url").UrlObject;
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("url").UrlObject;
22
- as?: string | import("url").UrlObject;
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,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { BreakpointSupport } from '../../../helpers';
3
3
  import { UnknownType } from '../../../types/commonTypes';
4
4
  import { ButtonContentProps } from '../../buttons/button-content/button-content';
@@ -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 { IconWithoutBackgroundProps } from '../../base/icon/icon';
4
4
  export type AlertType = 'info' | 'success' | 'warning' | 'danger';
@@ -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("react").Context<OverlayContextType>;
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("./overlay-trigger").OverlayTriggerProps) => import("react/jsx-runtime").JSX.Element;
96
- Content: (props: import("./overlay-content").OverlayContentProps) => import("react/jsx-runtime").JSX.Element | null;
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("../overlay/overlay-trigger").OverlayTriggerProps) => import("react/jsx-runtime").JSX.Element;
18
- Content: (props: import("./popover-content").PopoverContentProps) => import("react/jsx-runtime").JSX.Element;
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("../overlay/overlay-trigger").OverlayTriggerProps) => import("react/jsx-runtime").JSX.Element;
18
- Content: (props: import("./tooltip-content").TooltipContentProps) => import("react/jsx-runtime").JSX.Element;
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;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  interface Color {
3
3
  name: string;
4
4
  value: string;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { FeedbackTextProps } from '../../components/form/feedback-text/feedback-text';
3
3
  export interface FileUploadFile extends Partial<File> {
4
4
  id?: string;