@tedi-design-system/react 14.2.1 → 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 (177) hide show
  1. package/_virtual/index.cjs10.js +1 -1
  2. package/_virtual/index.cjs11.js +1 -1
  3. package/_virtual/index.cjs12.js +1 -1
  4. package/_virtual/index.cjs13.js +1 -1
  5. package/_virtual/index.cjs5.js +1 -1
  6. package/_virtual/index.cjs6.js +1 -1
  7. package/_virtual/index.cjs7.js +1 -1
  8. package/_virtual/index.cjs8.js +1 -1
  9. package/_virtual/index.cjs9.js +1 -1
  10. package/_virtual/index.es10.js +1 -1
  11. package/_virtual/index.es11.js +1 -1
  12. package/_virtual/index.es12.js +1 -1
  13. package/_virtual/index.es13.js +2 -4
  14. package/_virtual/index.es5.js +4 -2
  15. package/_virtual/index.es6.js +1 -1
  16. package/_virtual/index.es7.js +1 -1
  17. package/_virtual/index.es8.js +1 -1
  18. package/_virtual/index.es9.js +1 -1
  19. package/bundle-stats.html +1 -1
  20. package/external/@mui/system/colorManipulator.cjs.js +1 -1
  21. package/external/@mui/system/colorManipulator.es.js +2 -2
  22. package/external/@mui/system/createStyled.cjs.js +1 -1
  23. package/external/@mui/system/createStyled.es.js +6 -6
  24. package/external/@mui/system/useThemeWithoutDefault.cjs.js +1 -1
  25. package/external/@mui/system/useThemeWithoutDefault.es.js +1 -1
  26. package/external/toposort/index.cjs.js +1 -1
  27. package/external/toposort/index.es.js +1 -1
  28. package/package.json +4 -4
  29. package/src/community/components/accordion/accordion-item/accordion-item.d.ts +1 -1
  30. package/src/community/components/accordion/accordion.d.ts +1 -1
  31. package/src/community/components/anchor/anchor-helpers.d.ts +6 -9
  32. package/src/community/components/anchor/anchor.d.ts +1 -1
  33. package/src/community/components/button/button.d.ts +1 -1
  34. package/src/community/components/button-content/button-content.d.ts +1 -1
  35. package/src/community/components/card/card-content/card-content.d.ts +1 -1
  36. package/src/community/components/card/card-context.d.ts +2 -2
  37. package/src/community/components/card/card-header/card-header.d.ts +1 -1
  38. package/src/community/components/card/card.d.ts +1 -1
  39. package/src/community/components/collapse/collapse.d.ts +1 -1
  40. package/src/community/components/dropdown/dropdown.d.ts +1 -1
  41. package/src/community/components/ellipsis/ellipsis.d.ts +1 -1
  42. package/src/community/components/form/choice-group/choice-group-context.d.ts +1 -1
  43. package/src/community/components/form/choice-group/choice-group.d.ts +1 -1
  44. package/src/community/components/form/choice-group/components/choice-group-check/choice-group-check.d.ts +1 -1
  45. package/src/community/components/form/choice-group/components/choice-group-radio/choice-group-radio.d.ts +1 -1
  46. package/src/community/components/form/choice-group/components/filter-item/filter-item.d.ts +1 -1
  47. package/src/community/components/form/choice-group/components/light-item/light-item.d.ts +1 -1
  48. package/src/community/components/form/choice-group/components/selector-item/selector-item.d.ts +1 -1
  49. package/src/community/components/form/choice-input.types.d.ts +1 -1
  50. package/src/community/components/form/file-upload/examples/multiple-handled.d.ts +1 -1
  51. package/src/community/components/form/hidden-field/examples/hidden-select.d.ts +1 -1
  52. package/src/community/components/form/hidden-field/hidden-field.d.ts +1 -1
  53. package/src/community/components/form/pickers/calendar/calendar.d.ts +1 -1
  54. package/src/community/components/form/pickers/datetimepicker/datetimepicker.d.ts +1 -1
  55. package/src/community/components/form/pickers/mui-input-transition/mui-input-transition.d.ts +2 -2
  56. package/src/community/components/form/pickers/timepicker/timepicker.d.ts +1 -1
  57. package/src/community/components/form/select/examples/async.d.ts +1 -1
  58. package/src/community/components/form/select/examples/custom-option.d.ts +1 -1
  59. package/src/community/components/form/select/examples/editable.d.ts +1 -1
  60. package/src/community/components/form/select/examples/multiple-handled.d.ts +1 -1
  61. package/src/community/components/form/select/select.d.ts +1 -1
  62. package/src/community/components/form/text-editor/text-editor.d.ts +0 -1
  63. package/src/community/components/form/toggle/toggle.d.ts +1 -1
  64. package/src/community/components/icon/icon.d.ts +1 -1
  65. package/src/community/components/layout/breadcrumbs/breadcrumbs.d.ts +1 -1
  66. package/src/community/components/layout/breadcrumbs/crumb/crumb.d.ts +1 -1
  67. package/src/community/components/layout/footer/footer.d.ts +1 -1
  68. package/src/community/components/layout/header/components/header-bottom-content/header-bottom-content.d.ts +1 -1
  69. package/src/community/components/layout/header/components/header-dropdown/header-dropdown.d.ts +1 -1
  70. package/src/community/components/layout/header/components/header-language/header-language.d.ts +1 -1
  71. package/src/community/components/layout/header/components/header-modal/header-modal.d.ts +1 -1
  72. package/src/community/components/layout/header/components/header-notification/header-notification.d.ts +1 -1
  73. package/src/community/components/layout/header/components/header-role/header-role.d.ts +1 -1
  74. package/src/community/components/layout/header/components/header-settings/header-settings.d.ts +1 -1
  75. package/src/community/components/layout/header/components/logo/logo.d.ts +1 -1
  76. package/src/community/components/layout/header/header/header.d.ts +1 -1
  77. package/src/community/components/layout/layout/layout.d.ts +1 -1
  78. package/src/community/components/layout/layout-context.d.ts +1 -1
  79. package/src/community/components/layout/sidenav/sidenav.d.ts +1 -1
  80. package/src/community/components/map-components/carousel/carousel.d.ts +1 -1
  81. package/src/community/components/map-components/comparison/comparison.d.ts +1 -1
  82. package/src/community/components/map-components/map-accordion/map-accordion-item-header.d.ts +1 -1
  83. package/src/community/components/map-components/map-accordion/map-accordion-item.d.ts +1 -1
  84. package/src/community/components/map-components/map-accordion/map-accordion.d.ts +4 -4
  85. package/src/community/components/map-components/map-dropdown/map-dropdown.d.ts +1 -1
  86. package/src/community/components/map-components/map-info/map-info.d.ts +1 -1
  87. package/src/community/components/map-components/map-preview/map-preview.d.ts +1 -1
  88. package/src/community/components/map-components/right-panel/right-panel.d.ts +1 -1
  89. package/src/community/components/map-components/scale-bar/scale-bar.d.ts +1 -1
  90. package/src/community/components/map-components/timeline/timeline.d.ts +1 -1
  91. package/src/community/components/modal/modal-closer.d.ts +1 -1
  92. package/src/community/components/modal/modal-provider.d.ts +1 -1
  93. package/src/community/components/modal/modal.d.ts +1 -1
  94. package/src/community/components/placeholder/placeholder.d.ts +1 -1
  95. package/src/community/components/stepper/step.d.ts +1 -1
  96. package/src/community/components/stepper/stepper-context.d.ts +1 -1
  97. package/src/community/components/stepper/stepper.d.ts +1 -1
  98. package/src/community/components/table/components/customize-table-cell/customize-table-cell.d.ts +1 -1
  99. package/src/community/components/table/components/helpers.d.ts +1 -1
  100. package/src/community/components/table/components/table-filter/table-filter-context.d.ts +1 -1
  101. package/src/community/components/table/table-context.d.ts +1 -1
  102. package/src/community/components/table/table.types.d.ts +1 -1
  103. package/src/community/components/table-of-contents/table-of-contents-items.d.ts +1 -1
  104. package/src/community/components/table-of-contents/table-of-contents.d.ts +1 -1
  105. package/src/community/components/tabs/tabs/tabs.d.ts +1 -1
  106. package/src/community/components/tabs/tabs-context.d.ts +1 -1
  107. package/src/community/components/tabs/tabs-item/tabs-item.d.ts +1 -1
  108. package/src/community/components/tabs/tabs-nav/tabs-nav-item.d.ts +1 -1
  109. package/src/community/components/tag/tag.d.ts +1 -1
  110. package/src/community/components/tooltip/tooltip-provider.d.ts +1 -1
  111. package/src/community/components/tooltip/tooltip.d.ts +1 -1
  112. package/src/community/components/typography/text/text.d.ts +1 -1
  113. package/src/community/components/vertical-progress/vertical-progress-item.d.ts +1 -1
  114. package/src/community/components/vertical-progress/vertical-progress.d.ts +1 -1
  115. package/src/community/components/vertical-stepper/step-item/step-item.d.ts +1 -1
  116. package/src/community/helpers/polymorphic/types.d.ts +1 -4
  117. package/src/community/providers/style-provider/style-provider.d.ts +1 -2
  118. package/src/tedi/components/base/icon/icon.d.ts +1 -1
  119. package/src/tedi/components/base/typography/text/text.d.ts +2 -2
  120. package/src/tedi/components/buttons/button/button.d.ts +1 -1
  121. package/src/tedi/components/buttons/button-content/button-content.d.ts +1 -1
  122. package/src/tedi/components/buttons/closing-button/closing-button.d.ts +1 -2
  123. package/src/tedi/components/buttons/collapse/collapse.d.ts +1 -1
  124. package/src/tedi/components/buttons/info-button/info-button.d.ts +1 -1
  125. package/src/tedi/components/cards/card/card-content/card-content.d.ts +1 -1
  126. package/src/tedi/components/cards/card/card-context.d.ts +2 -2
  127. package/src/tedi/components/cards/card/card.d.ts +2 -2
  128. package/src/tedi/components/content/label/label.d.ts +1 -1
  129. package/src/tedi/components/content/section/section.d.ts +1 -1
  130. package/src/tedi/components/content/text-group/text-group.d.ts +1 -1
  131. package/src/tedi/components/content/truncate/truncate.d.ts +1 -1
  132. package/src/tedi/components/form/choice-group/choice-group-context.d.ts +1 -1
  133. package/src/tedi/components/form/choice-group/choice-group.d.ts +1 -1
  134. package/src/tedi/components/form/choice-group/components/choice-group-item/choice-group-item.d.ts +1 -1
  135. package/src/tedi/components/form/file-upload/examples/multiple-handled.d.ts +1 -1
  136. package/src/tedi/components/form/form-label/form-label.d.ts +1 -1
  137. package/src/tedi/components/form/number-field/number-field.d.ts +1 -1
  138. package/src/tedi/components/form/search/search.d.ts +1 -1
  139. package/src/tedi/components/form/select/examples/async.d.ts +1 -1
  140. package/src/tedi/components/form/select/examples/custom-option.d.ts +1 -1
  141. package/src/tedi/components/form/select/examples/editable.d.ts +1 -1
  142. package/src/tedi/components/form/select/examples/multiple-handled.d.ts +1 -1
  143. package/src/tedi/components/form/select/select.d.ts +1 -1
  144. package/src/tedi/components/form/textarea/textarea.d.ts +1 -1
  145. package/src/tedi/components/form/textfield/textfield.d.ts +1 -1
  146. package/src/tedi/components/layout/grid/col.d.ts +1 -1
  147. package/src/tedi/components/layout/grid/row-context.d.ts +1 -1
  148. package/src/tedi/components/layout/grid/row.d.ts +1 -1
  149. package/src/tedi/components/layout/sidenav/components/sidenav-dropdown/sidenav-dropdown.d.ts +1 -1
  150. package/src/tedi/components/layout/sidenav/components/sidenav-item/sidenav-item.d.ts +1 -1
  151. package/src/tedi/components/layout/sidenav/components/sidenav-mobile/sidenav-mobile.d.ts +1 -1
  152. package/src/tedi/components/layout/sidenav/components/sidenav-toggle/sidenav-toggle.d.ts +1 -1
  153. package/src/tedi/components/layout/sidenav/sidenav.d.ts +2 -2
  154. package/src/tedi/components/layout/vertical-spacing/vertical-spacing.d.ts +1 -1
  155. package/src/tedi/components/loaders/skeleton/skeleton-block/skeleton-block.d.ts +1 -1
  156. package/src/tedi/components/loaders/skeleton/skeleton.d.ts +2 -2
  157. package/src/tedi/components/misc/ellipsis/ellipsis.d.ts +1 -1
  158. package/src/tedi/components/misc/print/print.d.ts +1 -1
  159. package/src/tedi/components/misc/scroll-fade/scroll-fade.d.ts +1 -1
  160. package/src/tedi/components/misc/stretch-content/stretch-content.d.ts +1 -1
  161. package/src/tedi/components/navigation/link/link-helpers.d.ts +6 -9
  162. package/src/tedi/components/navigation/link/link.d.ts +1 -1
  163. package/src/tedi/components/notifications/alert/alert.d.ts +1 -1
  164. package/src/tedi/components/notifications/toast/toast.d.ts +0 -1
  165. package/src/tedi/components/overlays/overlay/overlay.d.ts +3 -3
  166. package/src/tedi/components/overlays/popover/popover.d.ts +2 -2
  167. package/src/tedi/components/overlays/tooltip/tooltip.d.ts +2 -2
  168. package/src/tedi/docs/colors/color-tokens.d.ts +1 -1
  169. package/src/tedi/helpers/hooks/use-file-upload.d.ts +1 -1
  170. package/src/tedi/helpers/hooks/use-sidenav-state.d.ts +12 -12
  171. package/src/tedi/helpers/polymorphic/types.d.ts +1 -4
  172. package/src/tedi/providers/accessibility-provider/accessibility-provider.d.ts +1 -1
  173. package/src/tedi/providers/label-provider/label-provider.d.ts +1 -3
  174. package/src/tedi/providers/label-provider/labels-map.d.ts +3 -3
  175. package/src/tedi/providers/storybook-provider/storybook-provider.d.ts +1 -1
  176. package/src/tedi/providers/style-provider/style-provider.d.ts +1 -2
  177. package/src/tedi/providers/theme-provider/theme-provider.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- import React, { JSX } from 'react';
1
+ import { default as React, JSX } from 'react';
2
2
  export interface MapAccordionProps {
3
3
  /**
4
4
  * Accordion children – typically a list of AccordionItem components.
@@ -61,8 +61,8 @@ export declare const MapAccordion: {
61
61
  (props: MapAccordionProps): JSX.Element;
62
62
  displayName: string;
63
63
  } & {
64
- Item: (props: import("./map-accordion-item").MapAccordionItemProps) => JSX.Element;
65
- Content: (props: import("./map-accordion-item-content").MapAccordionItemContentProps) => JSX.Element;
66
- Header: (props: import("./map-accordion-item-header").MapAccordionItemHeaderProps) => JSX.Element;
64
+ Item: (props: import('./map-accordion-item').MapAccordionItemProps) => JSX.Element;
65
+ Content: (props: import('./map-accordion-item-content').MapAccordionItemContentProps) => JSX.Element;
66
+ Header: (props: import('./map-accordion-item-header').MapAccordionItemHeaderProps) => JSX.Element;
67
67
  };
68
68
  export default MapAccordion;
@@ -1,5 +1,5 @@
1
1
  import { FloatingFocusManager, Placement } from '@floating-ui/react';
2
- import React from 'react';
2
+ import { default as React } from 'react';
3
3
  export type MapDropdownItem = {
4
4
  /**
5
5
  * Content of the item
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { PopoverContentProps } from '../../../../tedi';
3
3
  export interface MapInfoProps {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import React, { JSX } from 'react';
1
+ import { default as React, JSX } from 'react';
2
2
  export interface MapPreviewProps {
3
3
  /**
4
4
  * The content to be displayed when the overlay is in the open state.
@@ -1,4 +1,4 @@
1
- import React, { JSX } from 'react';
1
+ import { default as React, JSX } from 'react';
2
2
  interface AccordionItemData {
3
3
  /**
4
4
  * Unique identifier for the accordion item.
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  interface ScaleBarProps {
3
3
  /**
4
4
  * The current zoom level of the map.
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { PopoverContentProps } from '../../../../tedi';
3
3
  type IntervalType = 'day' | 'week' | 'year';
4
4
  interface TimelineProps {
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export interface ModalCloserProps {
3
3
  /**
4
4
  * The element that closes the modal.
@@ -1,5 +1,5 @@
1
1
  import { FloatingContext, ReferenceType } from '@floating-ui/react';
2
- import React from 'react';
2
+ import { default as React } from 'react';
3
3
  export interface ModalProviderProps {
4
4
  /**
5
5
  * ModalTrigger and Modal components
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { CardProps } from '../card/card';
3
3
  export interface ModalProps {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { RowProps } from '../../../tedi/components/layout/grid';
3
3
  import { CardProps } from '../card';
4
4
  import { IconProps } from '../icon/icon';
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export interface StepProps {
3
3
  /**
4
4
  * ID of step
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export type AllowStepLabelClick = boolean | 'completed' | 'completed-or-next';
3
3
  export interface IStepperContext {
4
4
  activeStep: number;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { CardProps } from '../card';
3
3
  import { StepProps } from './step';
4
4
  import { AllowStepLabelClick } from './stepper-context';
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export type AlignCell = 'top' | 'middle' | 'bottom' | 'baseline';
3
3
  interface CustomizeTableCellProps {
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { ColumnDef, ColumnFiltersState, PaginationState, SortingState } from '@tanstack/react-table';
2
- import React from 'react';
2
+ import { default as React } from 'react';
3
3
  export declare function getExpandColumn<TData>(id?: string, showExpandAll?: boolean): ColumnDef<TData, any>;
4
4
  export declare function getRowSelectionColumn<TData>(id?: string, showSelectAll?: boolean): ColumnDef<TData, any>;
5
5
  export declare function useDefaultPagination(initial?: PaginationState,
@@ -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.