@tedi-design-system/react 14.2.1 → 14.3.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) 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.es14.js +2 -2
  15. package/_virtual/index.es5.js +4 -2
  16. package/_virtual/index.es6.js +1 -1
  17. package/_virtual/index.es7.js +1 -1
  18. package/_virtual/index.es8.js +1 -1
  19. package/_virtual/index.es9.js +1 -1
  20. package/bundle-stats.html +1 -1
  21. package/external/@mui/system/colorManipulator.cjs.js +1 -1
  22. package/external/@mui/system/colorManipulator.es.js +2 -2
  23. package/external/@mui/system/createStyled.cjs.js +1 -1
  24. package/external/@mui/system/createStyled.es.js +6 -6
  25. package/external/@mui/system/useThemeWithoutDefault.cjs.js +1 -1
  26. package/external/@mui/system/useThemeWithoutDefault.es.js +1 -1
  27. package/external/react-is/index.cjs.js +1 -1
  28. package/external/react-is/index.es.js +1 -1
  29. package/external/toposort/index.cjs.js +1 -1
  30. package/external/toposort/index.es.js +1 -1
  31. package/index.css +1 -1
  32. package/package.json +4 -4
  33. package/src/community/components/accordion/accordion-item/accordion-item.d.ts +1 -1
  34. package/src/community/components/accordion/accordion.d.ts +1 -1
  35. package/src/community/components/anchor/anchor-helpers.d.ts +6 -9
  36. package/src/community/components/anchor/anchor.d.ts +1 -1
  37. package/src/community/components/button/button.d.ts +1 -1
  38. package/src/community/components/button-content/button-content.d.ts +1 -1
  39. package/src/community/components/card/card-content/card-content.d.ts +1 -1
  40. package/src/community/components/card/card-context.d.ts +2 -2
  41. package/src/community/components/card/card-header/card-header.d.ts +1 -1
  42. package/src/community/components/card/card.d.ts +1 -1
  43. package/src/community/components/collapse/collapse.d.ts +1 -1
  44. package/src/community/components/dropdown/dropdown.d.ts +1 -1
  45. package/src/community/components/ellipsis/ellipsis.d.ts +1 -1
  46. package/src/community/components/form/choice-group/choice-group-context.d.ts +1 -1
  47. package/src/community/components/form/choice-group/choice-group.d.ts +1 -1
  48. package/src/community/components/form/choice-group/components/choice-group-check/choice-group-check.d.ts +1 -1
  49. package/src/community/components/form/choice-group/components/choice-group-radio/choice-group-radio.d.ts +1 -1
  50. package/src/community/components/form/choice-group/components/filter-item/filter-item.d.ts +1 -1
  51. package/src/community/components/form/choice-group/components/light-item/light-item.d.ts +1 -1
  52. package/src/community/components/form/choice-group/components/selector-item/selector-item.d.ts +1 -1
  53. package/src/community/components/form/choice-input.types.d.ts +1 -1
  54. package/src/community/components/form/file-upload/examples/multiple-handled.d.ts +1 -1
  55. package/src/community/components/form/hidden-field/examples/hidden-select.d.ts +1 -1
  56. package/src/community/components/form/hidden-field/hidden-field.d.ts +1 -1
  57. package/src/community/components/form/pickers/calendar/calendar.d.ts +1 -1
  58. package/src/community/components/form/pickers/datetimepicker/datetimepicker.d.ts +1 -1
  59. package/src/community/components/form/pickers/mui-input-transition/mui-input-transition.d.ts +2 -2
  60. package/src/community/components/form/pickers/timepicker/timepicker.d.ts +1 -1
  61. package/src/community/components/form/select/examples/async.d.ts +1 -1
  62. package/src/community/components/form/select/examples/custom-option.d.ts +1 -1
  63. package/src/community/components/form/select/examples/editable.d.ts +1 -1
  64. package/src/community/components/form/select/examples/multiple-handled.d.ts +1 -1
  65. package/src/community/components/form/select/select.d.ts +1 -1
  66. package/src/community/components/form/text-editor/text-editor.d.ts +0 -1
  67. package/src/community/components/form/toggle/toggle.d.ts +1 -1
  68. package/src/community/components/icon/icon.d.ts +1 -1
  69. package/src/community/components/layout/breadcrumbs/breadcrumbs.d.ts +1 -1
  70. package/src/community/components/layout/breadcrumbs/crumb/crumb.d.ts +1 -1
  71. package/src/community/components/layout/footer/footer.d.ts +1 -1
  72. package/src/community/components/layout/header/components/header-bottom-content/header-bottom-content.d.ts +1 -1
  73. package/src/community/components/layout/header/components/header-dropdown/header-dropdown.d.ts +1 -1
  74. package/src/community/components/layout/header/components/header-language/header-language.d.ts +1 -1
  75. package/src/community/components/layout/header/components/header-modal/header-modal.d.ts +1 -1
  76. package/src/community/components/layout/header/components/header-notification/header-notification.d.ts +1 -1
  77. package/src/community/components/layout/header/components/header-role/header-role.d.ts +1 -1
  78. package/src/community/components/layout/header/components/header-settings/header-settings.d.ts +1 -1
  79. package/src/community/components/layout/header/components/logo/logo.d.ts +1 -1
  80. package/src/community/components/layout/header/header/header.d.ts +1 -1
  81. package/src/community/components/layout/layout/layout.d.ts +1 -1
  82. package/src/community/components/layout/layout-context.d.ts +1 -1
  83. package/src/community/components/layout/sidenav/sidenav.d.ts +1 -1
  84. package/src/community/components/map-components/carousel/carousel.d.ts +1 -1
  85. package/src/community/components/map-components/comparison/comparison.d.ts +1 -1
  86. package/src/community/components/map-components/map-accordion/map-accordion-item-header.d.ts +1 -1
  87. package/src/community/components/map-components/map-accordion/map-accordion-item.d.ts +1 -1
  88. package/src/community/components/map-components/map-accordion/map-accordion.d.ts +4 -4
  89. package/src/community/components/map-components/map-dropdown/map-dropdown.d.ts +1 -1
  90. package/src/community/components/map-components/map-info/map-info.d.ts +1 -1
  91. package/src/community/components/map-components/map-preview/map-preview.d.ts +1 -1
  92. package/src/community/components/map-components/right-panel/right-panel.d.ts +1 -1
  93. package/src/community/components/map-components/scale-bar/scale-bar.d.ts +1 -1
  94. package/src/community/components/map-components/timeline/timeline.d.ts +1 -1
  95. package/src/community/components/modal/modal-closer.d.ts +1 -1
  96. package/src/community/components/modal/modal-provider.d.ts +1 -1
  97. package/src/community/components/modal/modal.d.ts +1 -1
  98. package/src/community/components/placeholder/placeholder.d.ts +1 -1
  99. package/src/community/components/stepper/step.d.ts +1 -1
  100. package/src/community/components/stepper/stepper-context.d.ts +1 -1
  101. package/src/community/components/stepper/stepper.d.ts +1 -1
  102. package/src/community/components/table/components/customize-table-cell/customize-table-cell.d.ts +1 -1
  103. package/src/community/components/table/components/helpers.d.ts +1 -1
  104. package/src/community/components/table/components/table-filter/table-filter-context.d.ts +1 -1
  105. package/src/community/components/table/table-context.d.ts +1 -1
  106. package/src/community/components/table/table.types.d.ts +1 -1
  107. package/src/community/components/table-of-contents/table-of-contents-items.d.ts +1 -1
  108. package/src/community/components/table-of-contents/table-of-contents.d.ts +1 -1
  109. package/src/community/components/tabs/tabs/tabs.d.ts +1 -1
  110. package/src/community/components/tabs/tabs-context.d.ts +1 -1
  111. package/src/community/components/tabs/tabs-item/tabs-item.d.ts +1 -1
  112. package/src/community/components/tabs/tabs-nav/tabs-nav-item.d.ts +1 -1
  113. package/src/community/components/tag/tag.d.ts +1 -1
  114. package/src/community/components/tooltip/tooltip-provider.d.ts +1 -1
  115. package/src/community/components/tooltip/tooltip.d.ts +1 -1
  116. package/src/community/components/typography/text/text.d.ts +1 -1
  117. package/src/community/components/vertical-progress/vertical-progress-item.d.ts +1 -1
  118. package/src/community/components/vertical-progress/vertical-progress.d.ts +1 -1
  119. package/src/community/components/vertical-stepper/step-item/step-item.d.ts +1 -1
  120. package/src/community/helpers/polymorphic/types.d.ts +1 -4
  121. package/src/community/providers/style-provider/style-provider.d.ts +1 -2
  122. package/src/tedi/components/base/icon/icon.d.ts +1 -1
  123. package/src/tedi/components/base/typography/text/text.d.ts +2 -2
  124. package/src/tedi/components/buttons/button/button.d.ts +1 -1
  125. package/src/tedi/components/buttons/button-content/button-content.d.ts +1 -1
  126. package/src/tedi/components/buttons/closing-button/closing-button.d.ts +1 -2
  127. package/src/tedi/components/buttons/collapse/collapse.d.ts +1 -1
  128. package/src/tedi/components/buttons/info-button/info-button.d.ts +1 -1
  129. package/src/tedi/components/cards/card/card-content/card-content.d.ts +1 -1
  130. package/src/tedi/components/cards/card/card-context.d.ts +2 -2
  131. package/src/tedi/components/cards/card/card.d.ts +2 -2
  132. package/src/tedi/components/content/label/label.d.ts +1 -1
  133. package/src/tedi/components/content/section/section.d.ts +1 -1
  134. package/src/tedi/components/content/text-group/text-group.d.ts +1 -1
  135. package/src/tedi/components/content/truncate/truncate.d.ts +1 -1
  136. package/src/tedi/components/form/choice-group/choice-group-context.d.ts +1 -1
  137. package/src/tedi/components/form/choice-group/choice-group.d.ts +1 -1
  138. package/src/tedi/components/form/choice-group/components/choice-group-item/choice-group-item.d.ts +1 -1
  139. package/src/tedi/components/form/file-upload/examples/multiple-handled.d.ts +1 -1
  140. package/src/tedi/components/form/form-label/form-label.d.ts +1 -1
  141. package/src/tedi/components/form/number-field/number-field.d.ts +1 -1
  142. package/src/tedi/components/form/search/search.d.ts +1 -1
  143. package/src/tedi/components/form/select/examples/async.d.ts +1 -1
  144. package/src/tedi/components/form/select/examples/custom-option.d.ts +1 -1
  145. package/src/tedi/components/form/select/examples/editable.d.ts +1 -1
  146. package/src/tedi/components/form/select/examples/multiple-handled.d.ts +1 -1
  147. package/src/tedi/components/form/select/select.cjs.js +1 -1
  148. package/src/tedi/components/form/select/select.d.ts +1 -1
  149. package/src/tedi/components/form/select/select.es.js +12 -12
  150. package/src/tedi/components/form/textarea/textarea.d.ts +1 -1
  151. package/src/tedi/components/form/textfield/textfield.d.ts +1 -1
  152. package/src/tedi/components/layout/grid/col.d.ts +1 -1
  153. package/src/tedi/components/layout/grid/row-context.d.ts +1 -1
  154. package/src/tedi/components/layout/grid/row.d.ts +1 -1
  155. package/src/tedi/components/layout/sidenav/components/sidenav-dropdown/sidenav-dropdown.d.ts +1 -1
  156. package/src/tedi/components/layout/sidenav/components/sidenav-item/sidenav-item.d.ts +1 -1
  157. package/src/tedi/components/layout/sidenav/components/sidenav-mobile/sidenav-mobile.d.ts +1 -1
  158. package/src/tedi/components/layout/sidenav/components/sidenav-toggle/sidenav-toggle.d.ts +1 -1
  159. package/src/tedi/components/layout/sidenav/sidenav.d.ts +2 -2
  160. package/src/tedi/components/layout/sidenav/sidenav.module.scss.cjs.js +1 -1
  161. package/src/tedi/components/layout/sidenav/sidenav.module.scss.es.js +0 -1
  162. package/src/tedi/components/layout/vertical-spacing/vertical-spacing.d.ts +1 -1
  163. package/src/tedi/components/loaders/skeleton/skeleton-block/skeleton-block.d.ts +1 -1
  164. package/src/tedi/components/loaders/skeleton/skeleton.d.ts +2 -2
  165. package/src/tedi/components/misc/ellipsis/ellipsis.d.ts +1 -1
  166. package/src/tedi/components/misc/print/print.d.ts +1 -1
  167. package/src/tedi/components/misc/scroll-fade/scroll-fade.d.ts +1 -1
  168. package/src/tedi/components/misc/stretch-content/stretch-content.d.ts +1 -1
  169. package/src/tedi/components/navigation/link/link-helpers.d.ts +6 -9
  170. package/src/tedi/components/navigation/link/link.d.ts +1 -1
  171. package/src/tedi/components/notifications/alert/alert.d.ts +1 -1
  172. package/src/tedi/components/notifications/toast/toast.d.ts +0 -1
  173. package/src/tedi/components/overlays/overlay/overlay.d.ts +3 -3
  174. package/src/tedi/components/overlays/popover/popover.d.ts +2 -2
  175. package/src/tedi/components/overlays/tooltip/tooltip.d.ts +2 -2
  176. package/src/tedi/docs/colors/color-tokens.d.ts +1 -1
  177. package/src/tedi/helpers/hooks/use-file-upload.d.ts +1 -1
  178. package/src/tedi/helpers/hooks/use-sidenav-state.d.ts +12 -12
  179. package/src/tedi/helpers/polymorphic/types.d.ts +1 -4
  180. package/src/tedi/providers/accessibility-provider/accessibility-provider.d.ts +1 -1
  181. package/src/tedi/providers/label-provider/label-provider.d.ts +1 -3
  182. package/src/tedi/providers/label-provider/labels-map.d.ts +3 -3
  183. package/src/tedi/providers/storybook-provider/storybook-provider.d.ts +1 -1
  184. package/src/tedi/providers/style-provider/style-provider.d.ts +1 -2
  185. package/src/tedi/providers/theme-provider/theme-provider.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tedi-design-system/react",
3
- "version": "14.2.1",
3
+ "version": "14.3.0-rc.2",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": {
@@ -96,7 +96,7 @@
96
96
  "@testing-library/user-event": "^14.5.2",
97
97
  "@types/css-modules": "^1.0.5",
98
98
  "@types/dompurify": "^3.2.0",
99
- "@types/draft-js": "^0.11.18",
99
+ "@types/draft-js": "^0.11.20",
100
100
  "@types/jest": "29.5.14",
101
101
  "@types/lodash-es": "^4.17.12",
102
102
  "@types/node": "20.11.28",
@@ -107,7 +107,7 @@
107
107
  "@typescript-eslint/eslint-plugin": "^6.21.0",
108
108
  "@typescript-eslint/parser": "^6.21.0",
109
109
  "@vitejs/plugin-react": "^4.3.4",
110
- "chromatic": "^11.25.2",
110
+ "chromatic": "^13.3.4",
111
111
  "cross-env": "^7.0.3",
112
112
  "dompurify": "^3.3.0",
113
113
  "eslint": "8.48.0",
@@ -149,7 +149,7 @@
149
149
  "typescript-plugin-css-modules": "^5.1.0",
150
150
  "vite": "^5.4.11",
151
151
  "vite-plugin-checker": "^0.6.4",
152
- "vite-plugin-dts": "3.7.3",
152
+ "vite-plugin-dts": "4.5.4",
153
153
  "vite-plugin-eslint": "^1.8.1",
154
154
  "vite-plugin-static-copy": "^2.2.0",
155
155
  "vite-tsconfig-paths": "4.3.2"
@@ -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 { AccordionItemContentProps } from '../accordion-item-content/accordion-item-content';
4
4
  import { AccordionItemHeaderProps } from '../accordion-item-header/accordion-item-header';
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { VerticalSpacingSize } from '../../../tedi/components/layout/vertical-spacing';
3
3
  export interface AccordionProps {
4
4
  /**
@@ -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 { AnchorProps } from './anchor';
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 { IntentionalAny } from '../../types';
3
3
  import { ButtonContentProps } from '../button-content/button-content';
4
4
  export type InternalAnchorProps = {
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { ButtonContentProps } from '../button-content/button-content';
3
3
  export type ButtonType = 'primary' | 'secondary' | 'tertiary' | 'link';
4
4
  export type ButtonColor = 'default' | 'important' | 'positive' | 'inverted' | 'text-color';
@@ -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 { IntentionalAny } from '../../types';
4
4
  import { ButtonColor, ButtonType } from '../button/button';
@@ -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 { TColorsBackground } from '../../commonTypes';
4
4
  export type CardContentPaddingNumber = 0 | 0.5 | 0.75 | 1 | 1.5 | 2 | 2.5 | 3;
@@ -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 from 'react';
1
+ import { default as React } from 'react';
2
2
  import { BreakpointSupport } from '../../../helpers';
3
3
  import { TColorsBackground } from '../../commonTypes';
4
4
  import { CardContentProps } from '../card-content/card-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 { TColorsBorder } from '../commonTypes';
4
4
  import { CardContentProps } from './card-content/card-content';
@@ -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
  export interface CollapseProps {
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { FloatingFocusManager } from '@floating-ui/react';
2
- import React from 'react';
2
+ import { default as React } from 'react';
3
3
  import { ButtonProps } from '../button/button';
4
4
  export type DropdownItem = {
5
5
  /**
@@ -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
  * Any content
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { TChoiceGroupType, TChoiceGroupValue } from './choice-group';
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 { Direction, RowProps } from '../../../../tedi/components/layout/grid';
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { ChoiceGroupItemProps } from '../../choice-group.types';
3
3
  export declare const ChoiceGroupCheck: (props: ChoiceGroupItemProps) => React.ReactElement;
4
4
  export default ChoiceGroupCheck;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { ChoiceGroupItemProps } from '../../choice-group.types';
3
3
  export declare const ChoiceGroupRadio: (props: ChoiceGroupItemProps) => React.ReactElement;
4
4
  export default ChoiceGroupRadio;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { ChoiceGroupItemProps } from '../../choice-group.types';
3
3
  export declare const FilterItem: (props: ChoiceGroupItemProps) => React.ReactElement;
4
4
  export default FilterItem;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { ChoiceGroupItemProps } from '../../choice-group.types';
3
3
  export declare const LightItem: (props: ChoiceGroupItemProps) => React.ReactElement;
4
4
  export default LightItem;
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { ChoiceGroupItemProps } from '../../choice-group.types';
3
3
  export declare const SelectorItem: (props: ChoiceGroupItemProps) => React.ReactElement;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export interface ChoiceInputProps {
3
3
  /**
4
4
  * ID property
@@ -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>;
@@ -1,3 +1,3 @@
1
1
  import { StoryFn } from '@storybook/react';
2
- import HiddenField from '../hidden-field';
2
+ import { default as HiddenField } from '../hidden-field';
3
3
  export declare const HiddenSelect: StoryFn<typeof HiddenField>;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { TextFieldProps } from '../../../../tedi/components/form/textfield/textfield';
3
3
  import { DateTimePickerProps } from '../pickers';
4
4
  import { SelectProps } from '../select/select';
@@ -1,4 +1,4 @@
1
- import type { Dayjs } from 'dayjs';
1
+ import { Dayjs } from 'dayjs';
2
2
  export type CalendarValue = Dayjs | null;
3
3
  export type CalendarStatus = 'error' | 'success' | 'inactive';
4
4
  export interface CalendarProps {
@@ -1,6 +1,6 @@
1
1
  import { ClockPickerView } from '@mui/x-date-pickers';
2
2
  import { DateTimeValidationError } from '@mui/x-date-pickers/internals/hooks/validation/useDateTimeValidation';
3
- import type { Dayjs } from 'dayjs';
3
+ import { Dayjs } from 'dayjs';
4
4
  import { TextFieldProps } from '../../../../../tedi/components/form/textfield/textfield';
5
5
  export type DateTimepickerValue = Dayjs | null;
6
6
  export interface DateTimePickerProps extends Omit<TextFieldProps, 'defaultValue' | 'value' | 'onChange'> {
@@ -1,5 +1,5 @@
1
- import type { TextFieldProps as MuiTextFieldPropsType } from '@mui/material';
2
- import type { Dayjs } from 'dayjs';
1
+ import { TextFieldProps as MuiTextFieldPropsType } from '@mui/material';
2
+ import { Dayjs } from 'dayjs';
3
3
  import { TextFieldProps } from '../../../../../tedi/components/form/textfield/textfield';
4
4
  export interface MuiInputTransitionProps {
5
5
  muiTextfieldProps: MuiTextFieldPropsType;
@@ -1,6 +1,6 @@
1
1
  import { ClockPickerView } from '@mui/x-date-pickers';
2
2
  import { TimeValidationError } from '@mui/x-date-pickers/internals/hooks/validation/useTimeValidation';
3
- import type { Dayjs } from 'dayjs';
3
+ import { Dayjs } from 'dayjs';
4
4
  import { TextFieldProps } from '../../../../../tedi/components/form/textfield/textfield';
5
5
  export type TimePickerValue = Dayjs | null;
6
6
  export interface TimePickerProps extends Omit<TextFieldProps, 'defaultValue' | 'value' | 'onChange'> {
@@ -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,7 +1,6 @@
1
1
  import { DraftBlockType, DraftInlineStyleType } from 'draft-js';
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
- import 'draft-js/dist/Draft.css';
5
4
  export interface TextEditorProps extends FormLabelProps {
6
5
  /**
7
6
  * ID attribute.
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export interface ToggleProps {
3
3
  /**
4
4
  * Aria Label
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { TextColor } from '../typography/text/text';
3
3
  export type IconSize = 12 | 14 | 16 | 18 | 24 | 36 | 48;
4
4
  export interface IconProps {
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { Layouts } from '../../../helpers/hooks/use-layout';
3
3
  import { AllowedHTMLTags } from '../../../helpers/polymorphic/types';
4
4
  import { IntentionalAny } from '../../../types';
@@ -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
  export type CrumbProps<C extends React.ElementType = 'a'> = {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { IconProps } from '../../icon/icon';
3
3
  export type FooterCategory = {
4
4
  /**
@@ -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 HeaderBottomContentProps {
4
4
  /**
@@ -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
  import { TooltipProps } from '../../../../tooltip';
4
4
  export interface HeaderDropdownProps {
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export interface Language {
3
3
  label: string;
4
4
  onClick: (props: {
@@ -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 HeaderModalProps {
4
4
  /**
@@ -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 HeaderNotificationProps {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export interface HeaderRoleProps {
3
3
  /**
4
4
  * Primary info of user
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export interface HeaderSettingsProps {
3
3
  /**
4
4
  * Called on different actions depending on type of the Header.
@@ -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
  export interface LogoProps<H extends React.ElementType = 'a'> {
4
4
  /**
@@ -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 { HeaderBottomContentProps } from '../components/header-bottom-content/header-bottom-content';
4
4
  import { HeaderNotificationProps } from '../components/header-notification/header-notification';
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { BreadcrumbsProps } from '../breadcrumbs/breadcrumbs';
3
3
  import { FooterProps } from '../footer/footer';
4
4
  import { HeaderProps } from '../header';
@@ -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
  import { IntentionalAny } from '../../types';
4
4
  import { SideNavProps } from './sidenav/sidenav';
5
5
  export interface ILayoutContext {
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { Layouts } from '../../../helpers/hooks/use-layout';
3
3
  import { AllowedHTMLTags } from '../../../helpers/polymorphic/types';
4
4
  import { IntentionalAny } from '../../../types';
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export interface CarouselProps {
3
3
  /**
4
4
  * Number of items visible at once in the carousel viewport.
@@ -1,4 +1,4 @@
1
- import React, { JSX } from 'react';
1
+ import { default as React, JSX } from 'react';
2
2
  export interface ComparisonProps {
3
3
  /**
4
4
  * React node rendered on the left side of the comparison view.
@@ -1,4 +1,4 @@
1
- import React, { JSX } from 'react';
1
+ import { default as React, JSX } from 'react';
2
2
  import { MapDropdownItem } from '../map-dropdown/map-dropdown';
3
3
  export interface MapAccordionItemHeaderProps {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import React, { JSX } from 'react';
1
+ import { default as React, JSX } from 'react';
2
2
  import { MapAccordionItemContentProps } from './map-accordion-item-content';
3
3
  import { MapAccordionItemHeaderProps } from './map-accordion-item-header';
4
4
  export interface MapAccordionItemProps {
@@ -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;